Shop OBEX P1 Docs P2 Docs Learn Events
Monitoring voltage — Parallax Forums

Monitoring voltage

digilinkdigilink Posts: 3
edited 2007-01-09 21:56 in BASIC Stamp
I'm new to basic stamps in general and I would like to design a circuit that will monitor voltage/current draw from a battery as my first project, but I honestly don't know where to begin.

I am thinking that I will need to use some sort of A/D converter, but not knowing how those work exactly has me wondering if there is another way to do it.

I would like to be able to measure and display voltages in the range of 0-15vdc and 0 to probably 40-50 amps of current draw, and then display the value on either an LCD display or send it to a PC application to be displayed.

Any ideas to get me started?

Comments

  • sam_sam_samsam_sam_sam Posts: 2,286
    edited 2007-01-09 21:15
    digilink

    I would like to be able to measure and display voltages in the range of 0-15vdc



    Go to link and see if this is what you are looking for


    http://forums.parallax.com/showthread.php?p=622885

    0 to probably 40-50 amps of current draw
    You would have to make a shunt with right voltage drop and this would work
    with this setup

    Look at this link for how to make your own shunt at the bottom of
    the page http://forums.parallax.com/showthread.php?p=603765




    I hope this will help you in what you want to do

    ▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
    ··Thanks for any·idea.gif·that you may have and all of your time finding them





    Sam

    Post Edited (sam_sam_sam) : 1/9/2007 9:30:13 PM GMT
  • Steve JoblinSteve Joblin Posts: 784
    edited 2007-01-09 21:56
    Two good sources are Tracy Allen and Beau Schwabe...

    Here is a link to Tracy' site: http://www.emesystems.com/BS2rct.htm#B_voltage

    Here is Beau Schwabe's... He·has a very simple, but effective solution that can be found at L.O.S.A (List of Stamp Applications) (http://www.hth.com/filelibrary/txtfiles/losa.txt):


    External Components:

    .01uF "ZTR" capacitor (Zero Temp Response)
    100K Resistor

    Directions:

    1 - Connect the CAPACITOR and RESISTOR in parallel.
    2 - Connect one side of the RC to Vin
    3 - Select an available pin on the BS2 for the other
    side of the RC.

    Program:

    Battery var byte

    Start:
    low {pin#}
    rctime {pin#},0,Battery
    Debug home,? Battery
    goto Start

    Typical Results:

    85 - Fresh 9 Volt Battery
    220 - Low 9 Volt Battery

    Note:· The number INCREASES as Battery weakens...

    Post Edited (Steve Joblin) : 1/12/2007 1:34:54 PM GMT
Sign In or Register to comment.