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.

using optocouplers with micro controller

Status
Not open for further replies.

mshh

Full Member level 6
Joined
May 30, 2010
Messages
349
Helped
0
Reputation
0
Reaction score
0
Trophy points
1,296
Location
usa
Activity points
3,871
i want optocoupler it's input is 5v that come from microcntroller and Vcc is also 5v.
 

What is the problem you have?
You can connect the optocoupler diode directly (with a resistor of course ) if your mcu can provide the current that you need for the diode, if not you have to use a transistor to provide more current.
A higher current in the diode will give a higher current in the optocoupler transistor.

Alex
 

does any optocoupler work with vcc 5v
 

The optocoupler doesn't have a power supply, it has a diode in the input that can work will a voltage of 2v (Check Vf in the datasheet) or more and the output is a transistor that can be connected to any voltage and configuration assuming that you don't exceed the transistor max ratings (voltage, current, power)

Alex
 

Hi,
You can use any standard opto-coupler. The input side of the opto-coupler is a LED. If you just limit the current flowing through to the LED, then you have no problem using it at 5v or (much) higher. The output side is the transistor. The maximum voltage that can be applied/connected to the transistor depends on which opto-coupler you are using. So, it's best to check the datasheet for that. You can find the datasheet from a site such as Datasheet catalog for integrated circuits, diodes, triacs, and other semiconductors, view . A few common opto-couples are 4N25, 4N35, MCT2E, PC817, TLP521, etc

Hope this helps.
Tahmid.
 

My favourite for rs232 is PC900V with 1K resistor @5V. also works 6N137.
Max speed is 115200B tested.
 

Status
Not open for further replies.

Part and Inventory Search

Welcome to EDABoard.com

Sponsor

Back
Top