*New 11.4 series Release:
2020-07-03: XigmaNAS 11.4.0.4.7633 - released!

*New 12.1 series Release:
2020-04-17: XigmaNAS 12.1.0.4.7542 - released


We really need "Your" help on XigmaNAS https://translations.launchpad.net/xigmanas translations. Please help today!

Producing and hosting XigmaNAS costs money. Please consider donating for our project so that we can continue to offer you the best.
We need your support! eg: PAYPAL

Simple 2N2222A Switching Relay

Forum rules
Set-Up GuideFAQsForum Rules
Post Reply
User avatar
JoseMR
Hardware & Software Guru
Hardware & Software Guru
Posts: 1146
Joined: 16 Apr 2014 04:15
Location: PR
Contact:
Status: Offline

Simple 2N2222A Switching Relay

#1

Post by JoseMR »

Hi, I've recently bough an Emotiva audio preamplifier to replace some older audio equipment, this new preamp also have a 12v trigger output to power ON other audio equipment with such similar feature, however since most Pro audio gear/amplifiers does not support this features I had to made a custom circuit to trigger a small SPDT 12v relay for such purpose, so my goal was to use the 12v trigger from the Emotiva PT-100 preamp to activate the small SPDT relay without putting any load on the preamp trigger output.

This small remote circuit can handle up to 120V 10A, however I have 2 old school Samson S2000 amplifiers who need a much higher in-rush and running current, so this small relay will activate a second 120V 30A contactor which will take care of switching up the pro gear/amplifiers.

Note: You can Google: "2N2222A as a Switch" and you will see a bast amount of similar project in this regards.

I will include the circuit schematic and some pictures of the assembled project below:

EDIT: Diagram and pictures are the latest version.
Simple_Remote_PCB-1.jpg
Simple_Remote_PCB-2.jpg
Simple_Remote_Sch.png

Final project will be enclosed in a wall mounted electrical panel with additional Surge suppressors, 30A EMI filter module and fuse/breakers for protection.

Regards
You do not have the required permissions to view the files attached to this post.
Last edited by JoseMR on 07 Jul 2018 08:48, edited 7 times in total.
System: FreeBSD 12 RootOnZFS Mirror, MB: Supermicro X8SI6-F, Xeon X3450, 16GB DDR3 ECC RDIMMs.
XigmaNAS RootOnZFS
Addons at GitHub
BastilleBSD
Boot Environments Intro
Resources Home Page

User avatar
alexey123
Moderator
Moderator
Posts: 1560
Joined: 19 Aug 2012 08:22
Location: Israel, Karmiel
Contact:
Status: Offline

Re: Simple 2N2222A Switching Relay

#2

Post by alexey123 »

Hi
Please use my diagram
It work better - transistor will guaranteed close when input voltage will logic low
You do not have the required permissions to view the files attached to this post.
Home12.1.0.4 - Ingva (revision 7091)/ x64-embedded on AMD A8-7600 Radeon R7 A88XM-PLUS/ 16G RAM / UPS Ippon Back Power Pro 600
Lab 12.1.0.4 - Ingva (revision 7091) /x64-embedded on Intel(R) Core(TM) i3-3220 CPU @ 3.30GHz / H61M-DS2 / 4G RAM / UPS Ippon Back Power Pro 600

User avatar
JoseMR
Hardware & Software Guru
Hardware & Software Guru
Posts: 1146
Joined: 16 Apr 2014 04:15
Location: PR
Contact:
Status: Offline

Re: Simple 2N2222A Switching Relay

#3

Post by JoseMR »

Hi, nice diagram draw, I used paint :lol: , I will test that circuit, indeed I will need the shunt resistor to ensure open state wen no input voltage, also I will add a forward diode to the Base input as well for equipment reverse voltage protection just in case of transistor failure. :)

Regards
System: FreeBSD 12 RootOnZFS Mirror, MB: Supermicro X8SI6-F, Xeon X3450, 16GB DDR3 ECC RDIMMs.
XigmaNAS RootOnZFS
Addons at GitHub
BastilleBSD
Boot Environments Intro
Resources Home Page

User avatar
alexey123
Moderator
Moderator
Posts: 1560
Joined: 19 Aug 2012 08:22
Location: Israel, Karmiel
Contact:
Status: Offline

Re: Simple 2N2222A Switching Relay

#4

Post by alexey123 »

JoseMR wrote:
12 Apr 2017 18:38
Hi, nice diagram draw, I used paint
I use https://www.expresspcb.com/expresssch
Home12.1.0.4 - Ingva (revision 7091)/ x64-embedded on AMD A8-7600 Radeon R7 A88XM-PLUS/ 16G RAM / UPS Ippon Back Power Pro 600
Lab 12.1.0.4 - Ingva (revision 7091) /x64-embedded on Intel(R) Core(TM) i3-3220 CPU @ 3.30GHz / H61M-DS2 / 4G RAM / UPS Ippon Back Power Pro 600

User avatar
JoseMR
Hardware & Software Guru
Hardware & Software Guru
Posts: 1146
Joined: 16 Apr 2014 04:15
Location: PR
Contact:
Status: Offline

Re: Simple 2N2222A Switching Relay

#5

Post by JoseMR »

That's a really nice software for schematics, I can't believe I did miss, I will try it, thanks. :)

P.S I improved circuit and updated forum pictures.

Regards
System: FreeBSD 12 RootOnZFS Mirror, MB: Supermicro X8SI6-F, Xeon X3450, 16GB DDR3 ECC RDIMMs.
XigmaNAS RootOnZFS
Addons at GitHub
BastilleBSD
Boot Environments Intro
Resources Home Page

pokeyboy
Starter
Starter
Posts: 25
Joined: 26 Nov 2014 01:58
Location: Apple Valley, MN USA
Status: Offline

Re: Simple 2N2222A Switching Relay

#6

Post by pokeyboy »

Hey JoseMr,

A little bit of trivia for you. At the company where I worked, back in 70’s or early 80’s, we used a circuit nearly identical to yours. We were designing and building a new industrial machine that used numerous pneumatic solenoid valves. The valves were computer controlled and interfaced with TTL IC’s to a switching circuit like yours.

When we first tried out the new design, there was a serious problem. You could only activate the solenoid valve one time and that was it. It turned out the designer had neglected to include the diode (D2) in his design. The Q1 transistor would turn on just fine and close the valve. However, when turning off the valve, the collapsing field of the solenoid coil would discharge through the transistor and burn it out.
We did burn through a few transistors before we solved that one. The diode was all it took. I don’t recall that we used or needed the C1 Cap.

Thanks for your posting; it brought back some old memories!

User avatar
alexey123
Moderator
Moderator
Posts: 1560
Joined: 19 Aug 2012 08:22
Location: Israel, Karmiel
Contact:
Status: Offline

Re: Simple 2N2222A Switching Relay

#7

Post by alexey123 »

pokeyboy wrote:
01 May 2017 19:11
I don’t recall that we used or needed the C1 Cap.
Hi, pokeyboy
Capacitor on power line, between plus and minus, must be in ALL projects.
Home12.1.0.4 - Ingva (revision 7091)/ x64-embedded on AMD A8-7600 Radeon R7 A88XM-PLUS/ 16G RAM / UPS Ippon Back Power Pro 600
Lab 12.1.0.4 - Ingva (revision 7091) /x64-embedded on Intel(R) Core(TM) i3-3220 CPU @ 3.30GHz / H61M-DS2 / 4G RAM / UPS Ippon Back Power Pro 600

was-armandh
Advanced User
Advanced User
Posts: 174
Joined: 19 Nov 2018 11:30
Location: St Louis County MO USA
Status: Offline

Re: Simple 2N2222A Switching Relay

#8

Post by was-armandh »

yep every project builder quickly learns about damper diodes
by using this free advise, you, your heirs, etc
absolve, save, and hold harmless the advisor.
CAVEAT EMPTOR
YMMV

User avatar
M*I*B
Starter
Starter
Posts: 26
Joined: 28 Feb 2019 01:02
Location: Germany
Status: Offline

Re: Simple 2N2222A Switching Relay

#9

Post by M*I*B »

... the electronican of today use a logiclevel N-fet ;o)
BTW: You can use every lowpower NPN for that, rust what is right in your scrapbox ...
Greetings...
Michael

User avatar
JoseMR
Hardware & Software Guru
Hardware & Software Guru
Posts: 1146
Joined: 16 Apr 2014 04:15
Location: PR
Contact:
Status: Offline

Re: Simple 2N2222A Switching Relay

#10

Post by JoseMR »

M*I*B wrote:
20 Feb 2020 21:45
... the electronican of today use a logiclevel N-fet ;o)
BTW: You can use every lowpower NPN for that, rust what is right in your scrapbox ...

Hi M*I*B, indeed there are several ways to do this general purpose switching, it just happens that the 2N2222 was popular here for homebrew solid state RF linear amplifiers switching and had few of those.

Between this little quick project was just made for making an remote operated DIY 20A Power Strip Project using an old/cheap UPS chassis salvaged.

Current was limited by the cable, but changed and currently working great as an auto-power ON/OFF for my audio amplifiers.

Regards
System: FreeBSD 12 RootOnZFS Mirror, MB: Supermicro X8SI6-F, Xeon X3450, 16GB DDR3 ECC RDIMMs.
XigmaNAS RootOnZFS
Addons at GitHub
BastilleBSD
Boot Environments Intro
Resources Home Page

User avatar
M*I*B
Starter
Starter
Posts: 26
Joined: 28 Feb 2019 01:02
Location: Germany
Status: Offline

Re: Simple 2N2222A Switching Relay

#11

Post by M*I*B »

... Of course you are right. Ultimately, the result also counts in terms of the material used and the costs. And if you have what you need in the craft box, it makes no sense to buy something new; I don't do it any differently (if I can find some in my genius chaos) :lol:
Greetings...
Michael

Post Reply

Return to “Do It Yourself Projects”