PDA

View Full Version : making a DS1803 (digital potentiometer) communicate with a BS2??



kieranof
04-07-2007, 04:52 AM
Hi,
I'm trying to get a digital potentiometer (DS1803, 100 k ohm) communicate with a basic stamp 2 & am having some trouble. While I have already found the online code on this site that references this, I am still new to coding and need something really simple. I am trying to control sound volume & channels (from an iPod) with the digital potentiometer. Any help would be greatly appreciated.
thanks!
kiera.

Mike Green
04-07-2007, 05:05 AM
Have a look at this note: www.phanderson.com/stamp/i2c/ds1803_1.html (http://www.phanderson.com/stamp/i2c/ds1803_1.html).

There are also several articles in the Nuts and Volts series of columns on using I2C devices with a Stamp: www.parallax.com/html_pages/downloads/nvcolumns/Nuts_Volts_Downloads.asp (http://www.parallax.com/html_pages/downloads/nvcolumns/Nuts_Volts_Downloads.asp). In particular, look at column #115.

You will need to provide more information if you want specific help. In particular, what have you tried so far, a schematic showing how you've connected the DS1803, and your code.

kieranof
04-08-2007, 06:14 AM
thank you, actually that was the code I was using (the first link) but couldn't get it to work properly..