clicking relay
Archiver
Posts: 46,084
Friends, may have to come back to you on this one! Have built an interface
board for the BS2 with a couple of 5v relays and a ULN 2803a. driver. With
the command:
high 1
' relay 1 pulls up and the motor trundles backwards.....Great!
BUT there is an audible clicking of the relay all the time. The board has
its own 9v power supply, grounded to the Stamp. Stamp's battery has been
replaced. But why the clicking please?
FURTHERMORE if we add:
high 0
' relay 2 pulls up
high 1
' relay 1 pulls up and the motor trundles forwards....Great! But still the
clicking?
Finally, with the single command high 0 the reversing relay alone pulls up
but still this 1hz or so clicking all the time!! Please help or advise if
you can. Thanks.
Paul.
board for the BS2 with a couple of 5v relays and a ULN 2803a. driver. With
the command:
high 1
' relay 1 pulls up and the motor trundles backwards.....Great!
BUT there is an audible clicking of the relay all the time. The board has
its own 9v power supply, grounded to the Stamp. Stamp's battery has been
replaced. But why the clicking please?
FURTHERMORE if we add:
high 0
' relay 2 pulls up
high 1
' relay 1 pulls up and the motor trundles forwards....Great! But still the
clicking?
Finally, with the single command high 0 the reversing relay alone pulls up
but still this 1hz or so clicking all the time!! Please help or advise if
you can. Thanks.
Paul.
Comments
1)
Can you tell if you are resetting? Try this:
debug "reset",cr
high 0
If you are reseting, you might trying some of the suggestions in the Stamp
FAQ http://www.al-williams.com/wd5gnr/stampfaq.htm
2)
Is this the Stamp's sleepy reset issue? If you stop your program, the
outputs hold but every few seconds the Stamp resets, turns the outputs to
inputs, and then realizes it was asleep, puts the outputs back and sleeps
again. This is very visible if you put an LED on the output.
Try this:
debug "reset",cr
high 0
stopp: goto stopp
Now you aren't sleeping, so no blinking.
Hope that helps.
Regards,
Al Williams
AWC
* January sale final days: expand your Stamp I/O for 1/3 off, or find out
how to save 50% on a PAK-I math coprocessor
>
Original Message
> From: Haskew family [noparse]/noparse]mailto:[url=http://forums.parallaxinc.com/group/basicstamps/post?postID=pqMyfV1ZpTrqbIhyfLhDLCsbyP6uDVjS0SZEvwQH3rLnyAmAyzXhhoew-fSc1i2vNJOLSy72fvW9O9zi3kZYMk5tRU0]PandL.Haskew@b...[/url
> Sent: Saturday, January 27, 2001 9:36 AM
> To: basicstamps@yahoogroups.com
> Subject: [noparse][[/noparse]basicstamps] clicking relay
>
>
> Friends, may have to come back to you on this one! Have built an interface
> board for the BS2 with a couple of 5v relays and a ULN 2803a. driver. With
> the command:
> high 1
> ' relay 1 pulls up and the motor trundles backwards.....Great!
> BUT there is an audible clicking of the relay all the time. The board has
> its own 9v power supply, grounded to the Stamp. Stamp's battery has been
> replaced. But why the clicking please?
>
>
> FURTHERMORE if we add:
> high 0
> ' relay 2 pulls up
> high 1
> ' relay 1 pulls up and the motor trundles forwards....Great! But still the
> clicking?
> Finally, with the single command high 0 the reversing relay alone pulls up
> but still this 1hz or so clicking all the time!! Please help or advise if
> you can. Thanks.
> Paul.
>
>
>
>
>
>
top:
hi 1
goto top
If you have just:
hi 1
When the program reaches the last line of code, it will start over at the
beginning. When it does this, however, the pin is changed to an input
for a split second. Creating the infinite loop should solve this
problem.
Aaron
On Sat, 27 Jan 2001 15:36:16 -0000 "Haskew family"
<PandL.Haskew@b...> writes:
> Friends, may have to come back to you on this one! Have built an
> interface
> board for the BS2 with a couple of 5v relays and a ULN 2803a.
> driver. With
> the command:
> high
> 1
> ' relay 1 pulls up and the motor trundles backwards.....Great!
> BUT there is an audible clicking of the relay all the time. The
> board has
> its own 9v power supply, grounded to the Stamp. Stamp's battery has
> been
> replaced. But why the clicking please?
>
>
> FURTHERMORE if we add:
> high
> 0
> ' relay 2 pulls up
> high
> 1
> ' relay 1 pulls up and the motor trundles forwards....Great! But
> still the
> clicking?
> Finally, with the single command high 0 the reversing relay alone
> pulls up
> but still this 1hz or so clicking all the time!! Please help or
> advise if
> you can. Thanks.
> Paul.
>
>
>
>
>
>
>