DS1802 Digital Volume Control using microcontroller

Summary of DS1802 Digital Volume Control using microcontroller


With this circuit you can control a Dallas DS1802 digital potentiometer using a standard analog potentiometer and an AT90S1200 microcontroller. The DS1802 offers 64 wiper positions (6-bit), each step giving about −1 dB attenuation, and is driven via serial data. The project includes an 8 MHz resonator, voltage regulator, capacitors, resistors, and pots. Firmware (hex) is provided for AVR programming and the DS1802 datasheet is referenced for details on operation.

Parts used in the Digital Controlled Potmeter:

  • AT90S1200
  • DS1802 (Dallas)
  • 78L05
  • 8MHz ceramic resonator
  • 22pF
  • 47uF 16V electrolytic capacitor
  • 47nF polycarbonate capacitor
  • 4x 100nF multilayer capacitors
  • 100 ohm resistor
  • 10k ohm resistor
  • 820 ohm resistor
  • 100k trimpot
  • 10k linear potmeter

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

Quick Solutions to Questions related to Digital Controlled Potmeter:

  • What does this project allow me to do?
    Control a Dallas DS1802 digipot using a normal potentiometer and an AVR microcontroller.
  • How many wiper positions does the DS1802 provide?
    The DS1802 has 64 wiper positions (6-bit).
  • How much attenuation does each step provide?
    Each step is approximately minus 1 dB attenuation.
  • What microcontroller is used in the project?
    The project uses an AT90S1200 microcontroller.
  • Is there firmware available for the AVR?
    Yes, a hex-dump (GNU) is provided for uploading into the AVR with a programmer.
  • What frequency clock is used for the AVR?
    An 8 MHz ceramic resonator is used.
  • Does the DS1802 require serial data control?
    Yes, the DS1802 is controlled by serial data.
  • Are detailed specifications available for the DS1802?
    Yes, the DS1802 datasheet is referenced and available for download.

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
Scroll to Top