Demonstrating the R-2R Resistor Analog to Digital converter
tempest
Posts: 10
Write a program to produce a number of different waveforms through the D/A converter. The waveforms will include:
·
1)················ triangle wave······························ 2)·· Positive ramp sawtooth
3)················ Negative ramp sawtooth··········· 4)·· Square wave
Begin with any waveform you wish and use a normally open pushbutton to step through the 4 different waveforms and then start back at the first one again. The frequency of the waveform is not important and it does not have to be variable. Apply the D/A Vout to an oscilloscope that has been set to the appropriate input voltage level and horizontal sweep rate to view the waveforms.
·
The LCD will still be connected to the Stamp in 4-bit mode. Each time the normally open button is pressed and a new waveform is produced, the LCD will simply display the title of the waveform type being outputted.
ok I dont know any thing about A/D converters, anywhere that I can look to find out about it?
·
1)················ triangle wave······························ 2)·· Positive ramp sawtooth
3)················ Negative ramp sawtooth··········· 4)·· Square wave
Begin with any waveform you wish and use a normally open pushbutton to step through the 4 different waveforms and then start back at the first one again. The frequency of the waveform is not important and it does not have to be variable. Apply the D/A Vout to an oscilloscope that has been set to the appropriate input voltage level and horizontal sweep rate to view the waveforms.
·
The LCD will still be connected to the Stamp in 4-bit mode. Each time the normally open button is pressed and a new waveform is produced, the LCD will simply display the title of the waveform type being outputted.
ok I dont know any thing about A/D converters, anywhere that I can look to find out about it?
Comments
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Jon Williams
Applications Engineer, Parallax
Dallas Office
Post Edited (Andy Lindsay) : 12/22/2004 6:44:00 AM GMT