D/a Using 16f73
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 ?
Posted 06 March 2008 - 08:10 AM
Posted 07 March 2008 - 08:13 PM
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.
Mark Empson | administrator
Skype Contact = markempson | phone +64 274 363 067
LMPForum | Power Factor | L M Photonics Ltd | Empson family | Advanced Motor Control Ltd | Pressure Transducers | Smart Relay | GSM Control | Mark Empson Website | AuCom | Soft Starters
1 user(s) are reading this topic
0 members, 1 guests, 0 anonymous users