Shop OBEX P1 Docs P2 Docs Learn Events
RC time VS ADC — Parallax Forums

RC time VS ADC

FrannyFranny Posts: 127
edited 2013-08-03 14:38 in Propeller 1
Hi I noticed that the BS2 uses RC time for a joystick and some example on the propeller uses an ADC... What's the difference?

Comments

  • Mike GreenMike Green Posts: 23,101
    edited 2013-08-03 14:38
    The BS2 can use the RCTIME statement to measure resistances by measuring the time it takes to charge or discharge a capacitor through the resistor. The Propeller can do this as well, but it's much faster and can be more accurate to use either the Sigma-Delta technique to measure the voltage drop across the resistor using a few resistors and capacitors or an external ADC. See Application Note #8. Note that some external ADCs also use the Sigma-Delta technique.
Sign In or Register to comment.