Digital design of inlet 24 volts to 5 volts dc

Status
Not open for further replies.

masoud1234

Junior Member level 2
Joined
Jan 12, 2011
Messages
20
Helped
0
Reputation
0
Reaction score
0
Trophy points
1,281
Activity points
1,394
Hi
I need circuit 24v dc to 5 v dc for digital input plc .I want use optocoupler TL21 Please help me.
I want an input module with 24 volts to optocoupler, when the output voltage is 5 volts optocoupler be active in micro be used for input


input 24v dc optocoupler TL21 OUTPUT 5V DV T0 INPUT MICRO AVR
 

You don't always need an optocoupler, you could use a potential divider circuit.
For example, this circuit is for 12V to 5V.
 

thanks but I need a circuit 24v to 5v with optocoupler,like digital input plc
 

Is TL21 an obsolete part or something?! I can't find it..
 

Hello masoud1234,

here you see the circuit of a levelshifter with optocoupler.



Regards

Rainer
 

thanks from your circuit
 

Status
Not open for further replies.
Cookies are required to use this site. You must accept them to continue using the site. Learn more…