Shop OBEX P1 Docs P2 Docs Learn Events
how to switch a relay to LOGIC 0? — Parallax Forums

how to switch a relay to LOGIC 0?

ice-egozice-egoz Posts: 55
edited 2004-09-30 13:12 in BASIC Stamp
how do i set the pin to LOW and that will switch the relay to 0?
I did LOW 8 but it doesnt make the pin 0V therefore wont switch the relay.

▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
I need all ya guidance Masters. [noparse]:)[/noparse]

Comments

  • ionion Posts: 101
    edited 2004-09-30 03:45
    try this
    rel1 VAR OUT8

    Main:
    rel1 = 1 will turn relay on
    rel1 = 0 will turn relay off
  • Jon WilliamsJon Williams Posts: 6,491
    edited 2004-09-30 04:20
    You're not providing enough information. How is the relay connected? Can you provide a schematic?

    LOW 8

    will indeed make P8 go to 0v, no matter what is connected to it.

    ▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
    Jon Williams
    Applications Engineer, Parallax
    Dallas Office
  • nick bernardnick bernard Posts: 329
    edited 2004-09-30 13:12
    whats the voltage and coil current on the relay because stamps are funny like that; i use open drain FET circuits to pull relays and other higher current devices to isolate the load from the stamp.

    rox on
    nick B
Sign In or Register to comment.