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.

how to use relay to drive LED by using micro-controller.

Status
Not open for further replies.

saba.asif

Newbie level 2
Newbie level 2
Joined
May 15, 2014
Messages
2
Helped
0
Reputation
0
Reaction score
0
Trophy points
1
Activity points
47
plz tell me that how to use relay. i want to drive led by using relay. input to relay is given by micro-controller.
 

why you want to use relay ? what is the power of the LED that you want to use ?
 

If you need to drive a LED or a relay from a microcontroller, you need a driver circuit.
One of such circuits use a "logic MOSFET" which s controlled by uC logic output, and can switch a larger current (10A) under a higher voltage (up to 60V). I use IRF 540 in such circuits.
Google IRF540 for a data sheet and application circuits. It is simple and you need only a small heat sink for currents >2 A.
 

Please check the attachment. It may help you.

I'm not sure why you need a relay to glow an led.
There are very easy methods to glow the led.
1. You can connect the led to uC pin through a resistor.
2. else, Using the transistor or mosfet.
 

Attachments

  • Sheet1.pdf
    51.9 KB · Views: 72

Please check the attachment. It may help you.

I'm not sure why you need a relay to glow an led.
There are very easy methods to glow the led.
1. You can connect the led to uC pin through a resistor.
2. else, Using the transistor or mosfet.
it is not evident that he can connect the LED to the pin of the microcontroller, it can be that the microcontroller cannot sink the current required by the LED
 

Status
Not open for further replies.

Part and Inventory Search

Welcome to EDABoard.com

Sponsor

Back
Top