Jump to content


D/a Using 16f73

  • Please log in to reply
2 replies to this topic

#1 ndeepak


    Junior Member

  • Full Member
  • PipPip
  • 8 posts

Posted 03 March 2008 - 05:59 PM

i m using 16f73 for my x-y table and position is sensed with linear potentiometer.
now to drive dc motor to control speed i need D/A converter without loosing much (eight) pins.
is it posssible to use A/D somehow to get D/A ?

#2 Carl



  • Full Member
  • PipPipPipPip
  • 67 posts

Posted 06 March 2008 - 08:10 AM

you can get serial a/d converters have a look at analogue devices

#3 marke


    Posting Freak

  • Moderator
  • PipPipPipPipPipPip
  • 2,637 posts
  • Gender:Male
  • Location:Christchurch, New Zealand

Posted 07 March 2008 - 08:13 PM

Hello ndeepak

No, you can not use the A/D converter as a D/A converter

The 16f73 does have two PWM modules which can be used to give you an analog output.
The output voltage is controlled by the pulse width. Zero pulse width gives you zero output and 100% pulse width gives you the supply voltage output.
You will need to pass the pulses through a low pass filter to get "DC". The lower the cutoff frequency, the lower the ripple and the slower the response time.

Best regards,

1 user(s) are reading this topic

0 members, 1 guests, 0 anonymous users