Welcome! Log In Create A New Profile

Advanced

Analogue Output

Posted by TCKsteve 
Analogue Output
October 07, 2013 02:41PM
Is there an easy way to output an analogue voltage (for example to drive servo) for an output pin or interface for a DAC using minimum a minimum number of pins?
Re: Analogue Output
October 08, 2013 08:04AM
The PIC32 does not have a built in DAC so you have two options.
1) use the built in PWM that is described on this page.
2) use an R2R ladder network, but for 256 steps this will take up 8 pins. There is plenty of information on the net of what an R2R is and how to make one using 8 outputs.
Sorry, you do not have permission to post/reply in this forum.