MAX5250 DAC - Not working with BS2sx
Thane
Posts: 4
Hello. I'm trying to interface the OEM Basic Stamp 2sx with the MAX5250 DAC. I followed the wiring instructions from the PDF, nv59.pdf, found·on Parallax's website.
I'm using the sample code, but I cannot get this to work. All I get is a reading of 25.4mV as an output voltage.
Has anyone gotten this to work? Is there a better way to convert digital to voltage?
Thanks.·
I'm using the sample code, but I cannot get this to work. All I get is a reading of 25.4mV as an output voltage.
Has anyone gotten this to work? Is there a better way to convert digital to voltage?
Thanks.·
Comments
There are all sorts of ways to do digital to analog conversion. What are you trying to accomplish?
The PWM statement, for example, is a simple mechanism for doing it. Read the chapter in the PBasic manual on it.
Nuts and Volts #18 discusses the use of a digital potentiometer to get an analog output.
I will recheck everything again.
Thanks.
-·Thane