Shop OBEX P1 Docs P2 Docs Learn Events
Demonstrating the R-2R Resistor Analog to Digital converter — Parallax Forums

Demonstrating the R-2R Resistor Analog to Digital converter

tempesttempest Posts: 10
edited 2004-12-22 06:42 in Learn with BlocklyProp
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?

Comments

  • Jon WilliamsJon Williams Posts: 6,491
    edited 2004-12-22 03:07
    Google "R2R network" -- you'll find lots of information.

    ▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
    Jon Williams
    Applications Engineer, Parallax
    Dallas Office
  • edited 2004-12-22 06:42
    If you are demonstrating an R2R network, Chapter 4 in·Basic Analog and Digital has some background information and examples you might find useful. It's available for free download from www.parallax.com -> Downloads -> Stamps in Class Tutorials.

    Post Edited (Andy Lindsay) : 12/22/2004 6:44:00 AM GMT
Sign In or Register to comment.