Shop OBEX P1 Docs P2 Docs Learn Events
SX Analog IN function in Prop? — Parallax Forums

SX Analog IN function in Prop?

Brian CarpenterBrian Carpenter Posts: 728
edited 2007-04-25 04:41 in Propeller 1
Can i do something like the AnalogIn command that is in the SX/B with the propeller.· (read a voltage through a couple of resistors to monitor voltage)

▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔


It's Only A Stupid Question If You Have Not Googled It First!!

Comments

  • Mike GreenMike Green Posts: 23,101
    edited 2007-04-25 04:41
    Take a look at the AN001 Application Note about the use of the Cog counters (downloadable from the Propeller downloads page www.parallax.com/propeller/downloads.asp) There are also several examples of this kind of analog to digital conversion distributed with the Propeller Tool. It actually takes two pins, a resistor, and a capacitor.
Sign In or Register to comment.