Shop OBEX P1 Docs P2 Docs Learn Events
stamp used to control relays in my car — Parallax Forums

stamp used to control relays in my car

ArchiverArchiver Posts: 46,084
edited 2003-03-21 14:39 in General Discussion
I am using a BS2 to control my car-puter and sunroof thru relays.
Everytime my roof is done closing, the stamp resets, and kills the
power to the computer. Any ideas?

Amrit

Comments

  • ArchiverArchiver Posts: 46,084
    edited 2003-03-20 21:09
    Amrit

    If you monitor the voltage to the stamp, it most likely is dropping out for
    a short time, causing the reset but it could also be that there is some
    counter emf being generated from motors or relay coils, also causing reset.
    Probably this happens when the relay is de-activated. For an example of the
    way to control these things with a stamp and not have problems caused by
    external devices, check out my web site.
    http://geocities.com/jimforkin2003/index.html

    Jim

    Original Message
    From: savealot00 [noparse]/noparse]mailto:[url=http://forums.parallaxinc.com/group/basicstamps/post?postID=ichKkwG3-UL075aDCxxiJz9aWLWEZv2t8lOey5MXtMuFVdoxerpmeO02xtwrLVu_mPXxfPtWBUx_opvNlQ]amrit50@f...[/url
    Sent: Thursday, March 20, 2003 3:42 PM
    To: basicstamps@yahoogroups.com
    Subject: [noparse][[/noparse]basicstamps] stamp used to control relays in my car


    I am using a BS2 to control my car-puter and sunroof thru relays.
    Everytime my roof is done closing, the stamp resets, and kills the
    power to the computer. Any ideas?

    Amrit


    To UNSUBSCRIBE, just send mail to:
    basicstamps-unsubscribe@yahoogroups.com
    from the same email address that you subscribed. Text in the Subject and
    Body of the message will be ignored.


    Your use of Yahoo! Groups is subject to http://docs.yahoo.com/info/terms/
  • ArchiverArchiver Posts: 46,084
    edited 2003-03-20 21:33
    Had the same problem on my bigger robot when I added a small 5-volt relay
    driven by a 2N2222 transistor to switch power to my motor control board.
    Running motors, sensors, servos, etc... were no problem, but a tiny relay
    caused a reset every time. I added a 1000 uf filter cap to the 5-volt line
    and all is well. I suspect a weak pull-up on the reset line will help also,
    but I will have to wait until I remove the board again to find out.

    Original Message

    > If you monitor the voltage to the stamp, it most likely is dropping out
    for
    > a short time, causing the reset but it could also be that there is some
    > counter emf being generated from motors or relay coils, also causing
    reset.
    > Probably this happens when the relay is de-activated. For an example of
    the
    > way to control these things with a stamp and not have problems caused by
    > external devices, check out my web site.
    > http://geocities.com/jimforkin2003/index.html

    > I am using a BS2 to control my car-puter and sunroof thru relays.
    > Everytime my roof is done closing, the stamp resets, and kills the
    > power to the computer. Any ideas?
  • ArchiverArchiver Posts: 46,084
    edited 2003-03-20 21:46
    In a message dated 3/20/2003 12:43:08 PM Pacific Standard Time,
    amrit50@f... writes:

    > am using a BS2 to control my car-puter and sunroof thru relays.
    > Everytime my roof is done closing, the stamp resets, and kills the
    > power to the computer. Any ideas?
    >
    > Amrit
    >

    Hey, its me.......I doubt you are losing voltage to the stamp since you are
    using the car battery. I will email you later with how to use an opto
    isolater. This is going on the assumption it is a "noise spike" causing the
    problem.


    [noparse][[/noparse]Non-text portions of this message have been removed]
  • ArchiverArchiver Posts: 46,084
    edited 2003-03-21 00:30
    What part of your website should I look at?

    Amrit

    --- In basicstamps@yahoogroups.com, "Jim Forkin" <jjf@p...> wrote:
    > Amrit
    >
    > If you monitor the voltage to the stamp, it most likely is
    dropping out for
    > a short time, causing the reset but it could also be that there is
    some
    > counter emf being generated from motors or relay coils, also
    causing reset.
    > Probably this happens when the relay is de-activated. For an
    example of the
    > way to control these things with a stamp and not have problems
    caused by
    > external devices, check out my web site.
    > http://geocities.com/jimforkin2003/index.html
    >
    > Jim
    >
    >
    Original Message
    > From: savealot00 [noparse][[/noparse]mailto:amrit50@f...]
    > Sent: Thursday, March 20, 2003 3:42 PM
    > To: basicstamps@yahoogroups.com
    > Subject: [noparse][[/noparse]basicstamps] stamp used to control relays in my car
    >
    >
    > I am using a BS2 to control my car-puter and sunroof thru relays.
    > Everytime my roof is done closing, the stamp resets, and kills the
    > power to the computer. Any ideas?
    >
    > Amrit
    >
    >
    > To UNSUBSCRIBE, just send mail to:
    > basicstamps-unsubscribe@yahoogroups.com
    > from the same email address that you subscribed. Text in the
    Subject and
    > Body of the message will be ignored.
    >
    >
    > Your use of Yahoo! Groups is subject to
    http://docs.yahoo.com/info/terms/
  • ArchiverArchiver Posts: 46,084
    edited 2003-03-21 14:39
    look at the schematic. It shows how to connect the diodes and transistors
    to protect the stamp. If you are using relays, you can connect a diode
    across the relay coil with cathode to the plus side and anode to the ground
    side. A 1N4000 diode is ok for this.

    Jim

    Original Message
    From: savealot00 [noparse]/noparse]mailto:[url=http://forums.parallaxinc.com/group/basicstamps/post?postID=QCoN2-9mOmBupZEfCPNs92dUzRxtWDDOms9r7CQCXh-fUNCLD5NqrmvZz2SYbUAtB24idx-FWyU0lw]amrit50@f...[/url
    Sent: Thursday, March 20, 2003 7:31 PM
    To: basicstamps@yahoogroups.com
    Subject: [noparse][[/noparse]basicstamps] Re: stamp used to control relays in my car


    What part of your website should I look at?

    Amrit

    --- In basicstamps@yahoogroups.com, "Jim Forkin" <jjf@p...> wrote:
    > Amrit
    >
    > If you monitor the voltage to the stamp, it most likely is
    dropping out for
    > a short time, causing the reset but it could also be that there is
    some
    > counter emf being generated from motors or relay coils, also
    causing reset.
    > Probably this happens when the relay is de-activated. For an
    example of the
    > way to control these things with a stamp and not have problems
    caused by
    > external devices, check out my web site.
    > http://geocities.com/jimforkin2003/index.html
    >
    > Jim
    >
    >
    Original Message
    > From: savealot00 [noparse][[/noparse]mailto:amrit50@f...]
    > Sent: Thursday, March 20, 2003 3:42 PM
    > To: basicstamps@yahoogroups.com
    > Subject: [noparse][[/noparse]basicstamps] stamp used to control relays in my car
    >
    >
    > I am using a BS2 to control my car-puter and sunroof thru relays.
    > Everytime my roof is done closing, the stamp resets, and kills the
    > power to the computer. Any ideas?
    >
    > Amrit
    >
    >
    > To UNSUBSCRIBE, just send mail to:
    > basicstamps-unsubscribe@yahoogroups.com
    > from the same email address that you subscribed. Text in the
    Subject and
    > Body of the message will be ignored.
    >
    >
    > Your use of Yahoo! Groups is subject to
    http://docs.yahoo.com/info/terms/


    To UNSUBSCRIBE, just send mail to:
    basicstamps-unsubscribe@yahoogroups.com
    from the same email address that you subscribed. Text in the Subject and
    Body of the message will be ignored.


    Your use of Yahoo! Groups is subject to http://docs.yahoo.com/info/terms/
Sign In or Register to comment.