Summary
This project describes a digitally controlled potentiometer circuit using a Dallas DS1802 digipot, which provides 64 wiper positions with 1dB attenuation steps. The DS1802 is controlled via serial data by an AT90S1200 microcontroller, allowing precise adjustment through a standard potentiometer interface. The setup includes necessary supporting components like a voltage regulator and resonator. The project includes software to program the microcontroller for proper control of the DS1802, enabling digital volume control or other variable resistance applications.Parts used in the Digital Controlled Potmeter:
- 1x AT90S1200
- 1x DS1802 (Dallas)
- 1x 78L05
- 1x 8MHz ceramic resonator
- 1x 22pF
- 1x 47uF/16V
- 1x 47n polycarbonate capacitor
- 4x 100n multilayer capacitors
- 1x 100 ohm resistor
- 1x 10k ohm resistor
- 1x 820 ohm resistor
- 1x 100k trimpot
- 1x 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