Shop OBEX P1 Docs P2 Docs Learn Events
reading voltage with prop — Parallax Forums

reading voltage with prop

science_geekscience_geek Posts: 247
edited 2009-10-20 04:55 in Propeller 1
a friend came up to me the other day and was wondering about an airplane we are building, he was wondering if i would be able to build a circuit to monitor the voltage of the batteries. since this is a test plane and the prop is already on board for relaying gyro/accelerometer info back to the display, i was wondering if there was a simple circuit i could use to measure when the batteries got to 6.3 volts and then to 6.0, since we are using a two cell lipo that is not supposed to go below 6 volts. the 6.3 could be changed and probably will depending on the actual strain of the electronics and motor on the battery. basically we are building a plane monitor that transmits stupid info to a display...any help is greatly appreciated.

edit: would a simple adc work and then just do some testing to figure out the voltage to adc values

Comments

  • Mike GreenMike Green Posts: 23,101
    edited 2009-10-20 04:32
    Download and read the application note (AN001) on the Propeller's cog counters. This discusses using them to implement an ADC that could be used for measuring the battery voltage. Go to the main Propeller page on Parallax's website and click on Downloads & Articles.
  • photomankcphotomankc Posts: 943
    edited 2009-10-20 04:55
    An RC-Time circuit will work and has the advantage of not needing the very strict placement requirements of the AN001 solution. It will cost less than an ADC chip.
Sign In or Register to comment.