Summary of DS1802 Digital Volume Control using microcontroller
This project describes a digital controlled potentiometer using the Dallas DS1802 chip, which offers 64 wiper positions with 1 dB steps for attenuation. The DS1802 is digitally controlled via serial data, facilitating microcontroller interface. The circuit integrates a traditional potentiometer for user control of the DS1802 digipot. The article also provides software resources, including the DS1802 datasheet and microcontroller hex code for programming.
Parts used in the Digital Controlled Potmeter:
- AT90S1200
- DS1802 (Dallas)
- 78L05
- 8MHz ceramic resonator
- 22pF capacitor
- 47uF/16V capacitor
- 47n polycarbonate capacitor
- 4x 100n multilayer capacitors
- 100 ohm resistor
- 10k ohm resistor
- 820 ohm resistor
- 100k trimpot
- 10k linear potentiometer
1x AT90S1200
1x DS1802 (Dallas)
1x 78L05
1x 8MHz ceramic resonator
1x 22pF
1x 47uF/16V
1x 47n polycarbonate
4x 100n multilayer
1x 100 ohm
1x 10k ohm
1x 820 ohm
1x 100k trimpot
1x 10k lin. potmeter
Digital Controlled Potmeter:
(also known as XDCP ‘s or Digipots)
With this circuit you’re able to control a Dallas DS1802 digipot with a normal potmeter. The DS1802 has 64 wiper positions (6bit), each step is -1dB attentuation, and is controlled by serial data, thus easy to steer with a microcontroller.
The software….
Here you can download the datasheet of the DS1802.
Here the hex-dump (GNU). You can upload this hex data into the AVR with this programmer.
For more detail: DS1802 Digital Volume Control using microcontroller