Is possible to use analogs ports to output 0 ..5 v on a PIC 16F877 ?
kender
Joined: 09 Aug 2004 Posts: 768 Location: Silicon Valley
Posted: Thu Feb 02, 2006 2:34 pm
No. The analog ports on 16F877 (and I think on the rest of the PICs to) are either analog inputs or digital I/O. However, aside from buying a separate DAC chip, you can build a cruide DAC out of a PWM output, a low-pass filter and feedback to the PIC's A/D. This technique has been discussed in this forum:
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum