DPRG
DPRG List  



[DPRG] Processor Communication via ADC

Subject: [DPRG] Processor Communication via ADC
From: Eric Sumner kd5bjo at gmail.com
Date: Thu Feb 14 13:31:26 CST 2008

> Well you have to make sure the grounds stay the same.
>  And how accurate are you shooting for?  If you say 8 bits and use a 10
>  bit ADC and DAC then you have a chance.

Yes. 8/10 is exactly the situation that I'm looking at.

>  Why not use PWM?  A lot of processors have built in PWM generators, and
>  Capture units. You can look at the timing ratio between high and low or
>  between high and the total cycle. I think your accuracy would be better.

PWM is certainly another option.  To offset the accuracy gain, there
are two relatively minor disadvantages for my application:
  * I don't need PWM or Input Capture for anything else in the
project, so it requires developing the code separately, instead of
simply integrating it with "existing" code.
  * For bench testing, it is easier to come by a DC voltage source
than a pulse generator.

  -- Eric

More information about the DPRG mailing list

Copyright © 1984 - 2006 Dallas Personal Robotics Group. All rights reserved.
Website Design by NCC

For the latest robot news visit robots.net