PDA

View Full Version : Analog voltage OUT?



kevj
- 5th November 2008, 23:25
I'm looking for a simple way to create an analog voltage OUT. Basically a digital to analog converter. Not sure if any 16 or 18 family PIC's have a DAC onboard or if there is a super simple (and small) external part I could use, or if anyone has any tricks for possibly pulsing an output and using it to charge an RC network to maintain an estimated voltage.

The output doesn't have to be super stable, but it would be nice to get 255 or so levels between ground being 0 and the Vcc of the chip (3 volts in this case) being 255 or max.

Ideas?

Thanks!

mister_e
- 6th November 2008, 00:40
Two way
1. using an external DAC
2. Using PWM signal with RC filter

aratti
- 6th November 2008, 00:46
This application note shoul help you.

ww1.microchip.com/downloads/en/AppNotes/00538c.pdf

Al.