I am currently working on a project that I need an adjustable voltage (3V, 3.5V, 4V, 4.5V) to feed in to the reference voltage input of the comparator. See the circuit diagram below.
I was surfing the forum and the playground from the Arduino website, there are few ways I can achieve the DAC from the Arduino.http://arduino.cc/playground/Main/InterfacingWithHardware#adcdac
[u]Using OpAmp[/u] http://www.avdweb.nl/arduino/simple-10-bit-dac.html [u]R/2R Ladder[/u] http://blog.makezine.com/archive/2008/05/makeit-protodac-shield-fo.html?CMP=OTC-0D6B48984890
[u]Here are my problems.[/u] 1) Which method do you recommend for my application? R/2R Ladder or the one using the op amp? 2) Can the ADC output an DC voltage (0 to 5V) ? 3) Am I using the PWM output pin to achieve the process of DAC?
Best Regards, tayip