Maker Pro
Maker Pro

transistor/relay need help

maxott

Dec 2, 2013
2
Joined
Dec 2, 2013
Messages
2
hello people. i just need something done on my car and dont know how.

so, computer sends +5v to detail(periodically, 0.2ms durration), but it's nor recommended to connect directly.

so i need something like transistor that will turn on when +5v(or ground) provided from computer, and will send +voltage(5v or 12v) to detail(ignition coil)

any ideas?

thanks
 

Attachments

  • aa.jpg
    aa.jpg
    8.1 KB · Views: 173
Last edited:

Harald Kapp

Moderator
Moderator
Nov 17, 2011
13,700
Joined
Nov 17, 2011
Messages
13,700
A simple level shifter like this one:
attachment.php

Note that the values shown are exemplary only. Dependinmg on your needs you may have to use different transistors and/or resistor values.

It may be useful to add a pull-down resistor (e.g. 1kOhm) from the 12V output tpo ground to ensure 0V at the output when transistor Q2 is off (shown as optional R4).
 

Attachments

  • Level_Shift.gif
    Level_Shift.gif
    10.8 KB · Views: 209

maxott

Dec 2, 2013
2
Joined
Dec 2, 2013
Messages
2
A simple level shifter like this one:
attachment.php

Note that the values shown are exemplary only. Dependinmg on your needs you may have to use different transistors and/or resistor values.

It may be useful to add a pull-down resistor (e.g. 1kOhm) from the 12V output tpo ground to ensure 0V at the output when transistor Q2 is off (shown as optional R4).

thanks a lot! will test asap.

maybe much easier if i send ground from comp not 5v?
 

(*steve*)

¡sǝpodᴉʇuɐ ǝɥʇ ɹɐǝɥd
Moderator
Jan 21, 2010
25,510
Joined
Jan 21, 2010
Messages
25,510
maybe much easier if i send ground from comp not 5v?

If you do that then the output will never be 12V. the 5V_input is your signal that is periodically 5V, not the 5V supply.
 
Top