??? 03/17/06 04:41 Modified: 03/17/06 04:44 Read: times |
#112352 - log-taper digital potentiometer |
Hello All,
Right now I am working on a project which involves controlling a digital potentiometer over i2c bus, I am using DS1808 chip. This chip has 32 wiper positions. I am working on the driver layer, have already written the I2C routines to interact with the chip. everythin is working fine. Problem: -------- The application layer calls my function to set the volume with a steps of 0-100. Now I need to convert this 0-100 steps to suit 0-32 steps possible on the DS1808 chip. The problem is that DS1808 provides 1db step for the first 12 taps, 2db per step for the next 12 taps and 3db per step for the bottom 8 taps, providing a total attenuation range of 0-60db. Is there any formula to do this kind of convertion? I presume that just a linear lookup table will not work here? Regards, Raj |
Topic | Author | Date |
log-taper digital potentiometer | 01/01/70 00:00 | |
Lookup table | 01/01/70 00:00 | |
Two ways | 01/01/70 00:00 | |
Spec | 01/01/70 00:00 | |
That'll be a look-up table, then...! | 01/01/70 00:00 | |
Not necessarily | 01/01/70 00:00 | |
thanks...![]() | 01/01/70 00:00 |