5V REED relay question
Drud0616
Posts: 26
Is it safe to connect a 5V Reed Relay to the BS2 pins? Just wondering because that what I am planning to use in order to power water pumps at 9V when the pin is high. Thank you in advance
Comments
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Jon Williams
Applications Engineer, Parallax
Dallas Office
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Chris Savage
Knight Designs
324 West Main Street
P.O. Box 97
Montour Falls, NY 14865
(607) 535-6777
Business Page:·· http://www.knightdesigns.com
Personal Page:··· http://www.lightlink.com/dream/chris
Designs Page:··· http://www.lightlink.com/dream/designs
·
try a tpic6a596
its a high current (open drain) shift register by ti
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
League Bowling.... it's not a sport, it's a way of life
agentile
I would still just put a transistor/resistor combo, and don't forget your clamping diode.
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Chris Savage
Knight Designs
324 West Main Street
P.O. Box 97
Montour Falls, NY 14865
(607) 535-6777
Business Page:·· http://www.knightdesigns.com
Personal Page:··· http://www.lightlink.com/dream/chris
Designs Page:··· http://www.lightlink.com/dream/designs
·
www.geocities.com/SiliconValley/Orchard/6633/vbonoff.html
What is the easiest way to set up a transistor buffer. Calculations? ect
Thank you
of the pump?
You have to be careful when switching inductive loads with a tiny reed relay, the switching arc can weld the
contacts shut, unless you incorporate some type of suppression.
In my opinion, a conventional relay is a better choice for turning on a motor.
Dave G
HERES THE EXACT PUMP
http://www.allelectronics.com/cgi-bin/category.cgi?category=search&item=PMP-2&type=store
Dave, the explanation you gave about switching inductive loads may apply to what happend to me. I noticed that when I applied 5V across the coil the pump turns on using the 9V battery, but when I removed the 5V, the pump was still on for a short period of time(3-5 seconds). Could that have something to do with the contacts being welded together? If so what do you mean by a conventional relay?
One more thing, I noticed this problem after I connected a BJT before the relay in order to safely hook the pumps to the BS2 pins.
Post Edited (Drud0616) : 11/21/2004 3:24:40 AM GMT
The best way would be to measure it with a ammeter if you can.
A conventional relay has heftier contacts than a reed relay and its action is more mechanical. I would suggest that you
use either of the following relays, available at Radio Shack stores.
1. #275-005, coil: 7-9VDC @ 18ma, contacts rated at 2amps
2. #275-248, coil: 12VDC @ 30ma, contacts rated at 10amps
You can use a 2N2222A or 2N3904 transistor to drive either of these relays. Be sure to put the 1N4001 diode across
the relay coil, as shown in the diagram you referenced in your 12:28pm post. That diagram is correct and should work.
By the way, what type of 9volt battery are you using? It needs to be hefty enough to drive the motor. The type of
9v battery used in smoke detectors is much too small for your application. I would suggest using a Radio Shack
#273-1776 AC Adapter, 12 volts @ 1 amp.
Dave G
As for the relays that you spoke of...How would I·go about appying power to the transistor, relay, and pumps? I hope I don't need a seperate battery to all parts. Can I just hook up the coils, transisor collector, and pumps to the 12 VDC AC adapter?
Post Edited (Drud0616) : 11/22/2004 4:26:38 AM GMT
There are many other ways to solve your problem, but this solution
uses components available from most Radio Shack stores.
Dave G
Keep in mind that I'm doing all of this on a bread board right now
1) I am planning to buy the 9VDC adapter, cut the end of the wire and stick the lead directly into the bread-board. Now I was under the impression that Vin of the BS2 had to take a value of 5VDC, why else is the a 5V regulator on the board of education (which I have been using as well).
2)According to the schematic the BJT collector is connected to one end of the coil and 9V is connected to the other. Is that correct?
3)What is the device that is connected in series to the (+) lead of the pump?
Basically how is the relay connected to the BJT, 9VDC, and pump? I really appreciate all the help everyone has given me so far.
Just measure the resistance of the coil.
Then use the resistance in Ohm's law (V = I x R)
here is a page on ohm's law
http://64.233.179.104/search?q=cache:Q8cFlBfTL7gJ:www.grc.nasa.gov/Other_Groups/K-12/Sample_Projects/Ohms_Law/ohmslaw.html+ohms+law&hl=en
I guess this would of been more helpfull earlier
Please take note of it.
I would suggest that you download the schematics of the BS2 and BOE Board from Parallax so you
can see how they have the on-board regulators connected.
Essentially, the BS2 has its own tiny reguator, on the Stamp module. The input to the regulator is called Vin
and the output is Vdd(5V). Vdd powers all the chips on the module.
The BOE Board has another, larger on-board regulator which also regulates Vin down to Vdd(5V). However, this
regulator does not supply the Basic Stamp module. When you hook +9v to Vin on the BOE Board, it connects to
both regulators, separately.
The collector of the 2N3904 is connected to one lead of the relay coil and the other end of the coil is connected
to +9V, as shown in the schematic.
The device(s) connected to the + lead of the pump are the contacts of the relay, which are actuated by the relay coil.
I would suggest that you look into some basic electronics books to familiarize yourself with the various schematic symbols.
Although the symbols for relays do tend to vary quite a bit.
Dave G
The 5V is supposed to bring the coil voltage down to 4V in order to open the contact between the pump and the 9V adapter. Am I reading this right?
Post Edited (Drud0616) : 12/1/2004 1:09:48 AM GMT
transistor "turns on", causing current to flow through the relay coil. In turn, the relay contacts close and connect
the 9V power supply to the pump. When the transistor is "turned-on", the voltage at the collector should be about
0.15 volts, not 5V.
By the way, do not connect 5V directly to the base, without the 4.7K resistor, because it will fry the transistor.
To answer your question, 5V does not come out of the collector. The action of the transistor is more complicated
then that. I would suggest that you find a beginning electronics book and learn how transistors work.
A good reference is "Practical Electronics For Inventors" by Paul Scherz, available from Amazom.
Dave G
In some circuits, an inductive load, like your pump, can cause the voltage from the 9V power
supply to dip down several volts each time the pump comes on. This dip in voltage can
cause the Stamp to reset each time. One way to prevent these transient dips is to install a
large capacitor near the pump. The capacitor briefly supplies the energy to fill in the dip.
Dave G