Continue to Site

Welcome to EDAboard.com

Welcome to our site! EDAboard.com is an international Electronics Discussion Forum focused on EDA software, circuits, schematics, books, theory, papers, asic, pld, 8051, DSP, Network, RF, Analog Design, PCB, Service Manuals... and a whole lot more! To participate you need to register. Registration is free. Click here to register now.

beginner doubt ??????

Status
Not open for further replies.

Elimathew

Member level 5
Member level 5
Joined
Jun 21, 2011
Messages
88
Helped
2
Reputation
4
Reaction score
2
Trophy points
1,288
Location
India
Visit site
Activity points
1,894
Hey guys in my project I need my atmega168 to drive a 24V relay(30mA,1100ohms).I am using npn transistor which will satisfy the current requirement of the relay to turn it on.The problem is that one end of the relay is already grounded so I cant really use CE configuration and i am quite confused actually I have always used transistor as CE configuration as switch and I want the atmega168 to sink/source less amount of current
Thank you,
 

connect collector of PNP to one end of relay and GND the other end of relay. Connect emitter of PNP to +24V. Connect base of PNP say BC557 to ATMega through a 1k resistor. When NPN turns ON 0.4V drop accross CE junction and remaining 23.6V drop accross Relay coil.
 

The problem is that one end of the relay is already grounded so...
If you can not change the configuraton, it means you need high-side switching, you will need PNP or PMOS devices. Search with the keyword "high side switching".
 

you can use one zener diode 1 k resistance and one pnp tr. for any source current driving
if your port pin high 5V and driving relay voltage 24V you can use 24-5-.7v=18.3v zener ~18v
resistance for current limit untitled.JPG
 
Last edited:

Status
Not open for further replies.

Similar threads

Part and Inventory Search

Welcome to EDABoard.com

Sponsor

Back
Top