Shop OBEX P1 Docs P2 Docs Learn Events
relay/voltage controler — Parallax Forums

relay/voltage controler

brupbrup Posts: 14
edited 2011-07-03 12:16 in BASIC Stamp
I have a bs2 stamp and want to control a relay. I want the stamp to monitor a voltage and when the voltage gets to 12.5 volts turn off a relay. Any ideas where to find some information on this project?

Comments

  • Mike GreenMike Green Posts: 23,101
    edited 2011-07-02 21:52
    In terms of turning a relay on and off, look at Nuts and Volts Column #6 (look here).

    In terms of monitoring a voltage, you can use the RCTIME statement to measure a slowly changing voltage. EmeSystems has information on this (here). Look under the RCTIME statement and measuring battery voltage.

    Both the Nuts and Volts Columns and the EmeSystems website have lots of useful information on using Stamps. Browse through them.
  • ercoerco Posts: 20,256
    edited 2011-07-03 12:16
    Or bag the $50 Stamp and use a 39-cent LM339 comparator to drive the relay.
Sign In or Register to comment.