Continue to Site

Welcome to our site!

Electro Tech is an online community (with over 170,000 members) who enjoy talking about and building electronic circuits, projects and gadgets. To participate you need to register. Registration is free. Click here to register now.

  • Welcome to our site! Electro Tech is an online community (with over 170,000 members) who enjoy talking about and building electronic circuits, projects and gadgets. To participate you need to register. Registration is free. Click here to register now.

relay control

Status
Not open for further replies.

sarz_17

New Member
plzzzzzzzzz can any one tell me how to control a relay using 8051 uc. i need circuit description i.e wether to use a transistor????????? plz help me im just beginner of uc.:eek:
 
Any old npn transistors will do the job if you just want to control one or two relays.

Connect base to output port via 1k resistor.
Connect relay between collector and V+ wirh parallel diode (cathode to V+).
Connect emitter to 0V (ground)

ULN2803 is convenient if you want to control lots of relays or other stuff that takes more than a few mA.
 
Status
Not open for further replies.

Latest threads

New Articles From Microcontroller Tips

Back
Top