DS1802 Digital Volume Control using microcontroller

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

Part list:

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

ds 1802 pot
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

About The Author

Ibrar Ayyub

I am an experienced technical writer holding a Master's degree in computer science from BZU Multan, Pakistan University. With a background spanning various industries, particularly in home automation and engineering, I have honed my skills in crafting clear and concise content. Proficient in leveraging infographics and diagrams, I strive to simplify complex concepts for readers. My strength lies in thorough research and presenting information in a structured and logical format.

Follow Us:
LinkedinTwitter

Leave a Comment

Your email address will not be published. Required fields are marked *

Scroll to Top