Code block to help make it look better. forum removes empty spaces :)Code:
5+ ----|<------ GND
The option did come across my mind of using a transistor, i had never set one up before so i opted not to go that route. the 3.54 volts is from the output of the keyfob sensor without load. The manual just says its a 5v signal. Hopefully this relay i ordered will work if not ill try the transistor method. Thanks
One thing to be carefull of is the current draw on that keyfob output. Just because it says 5 volts or 3.54, doesn't mean it will be able to control a relay. You may end up burning out the keyfob by pulling too much current.
The output is probably made more for a digital signal to a processor that can handle turning on or off a relay.
Current draw from the relay can be figured out by (voltage * coil resistance) then take that number and check the manual of the keyfob for ouput current on the (5V or 3.45V) output.
a small circuit board from radioshack, resistor, 7805, npn transistor and your relay. do a :search: keywords: transistor, relay, schematic, (maybe PIC or LPT Port examples)
Ok i just picked up the stuff i needed. I got eveything soldered up i just want to double check to make sure i got this right before i power it up. http://i104.photobucket.com/albums/m...untitled-2.jpg Im thinking i might need something else. The transistor i have is 800ma on the collector is this ok to switch a 50 or 60amp relay for the starter
Ok cool finaly figured it out with a little help from a co worker that did electronics in the military, Its so simple now, 1 last question what type of diode should i use. will a 1N4003 Micro 1-Amp Diode work?
you can wire transistors any way round ... common collector or common emitter modes ... the voltage and current flows the same ...
I would personally use a 1k resistor on the base to limit the base current ... the transistor will saturate fine and pull the relay in ... it will also limit the current available from the FOB ... you could probably get away with a 3k3 resistor actually ... rule of thumb: 10v supply would need a 10k base resistor ... 5v = 4k7, etc, etc ... for most of the common switching transistors ...
The 800mA Ic current value is fine to switch the relay ... it's not the switching current rating of the relay itself, it's the coil resistance that determines the Ic (Collector current) value of the transistor ...
EDIT: The right hand setup will not work as discussed ...
Ok i think he is right, with the 3.5v even with out a resistor the transistor is only giving out 7.90v. Whats the minimum voltage needed to switch on the base. I tried it with a 5v and it worked. Maybe theres another transistor i could try?