Shop OBEX P1 Docs P2 Docs Learn Events
Analog voltage input — Parallax Forums

Analog voltage input

virtualcpvirtualcp Posts: 1
edited 2008-09-12 03:00 in Propeller 1
What is the best way to input an analog voltage into the propeller chip?

Comments

  • Mike GreenMike Green Posts: 23,101
    edited 2008-09-12 00:29
    The best way depends on your specific circumstances.

    You can use an external analog to digital converter of which there are many.· There are several objects in the Propeller Object Exchange that take care of interfacing to these.

    You can use the built-in sigma-delta analog to digital conversion techniques described in the AN001 application note on the cog counters (see the Propeller downloads).· There's an object in the Propeller Object Exchange that provides analog to digital conversion using this mechanism.· Download it and have a look at it.
  • rjo_rjo_ Posts: 1,825
    edited 2008-09-12 03:00
    Depends on the voltage.

    In the 0-5V range, U can mess around or buy an IC... ADC0831 gives about 8 bits, has a nice object, is well documented and a dream to use.
Sign In or Register to comment.