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.

24 V to 5V

Status
Not open for further replies.
Its current is only 0.5mA so a resistor and a 5.1V zener diode or a 5V little 78L05 regulator with two capacitors will make 5V for it.
 
Many zener diodes do not work properly when their current is almost nothing.
Many 5.1V "400mW" zener diodes are tested at 45mA.
Use 1.8k for about 10mA in the zener diode.
 
The device you are trying to interface is not an "active encoder" that needs to be powered. It's just a double rotary switch mostly used on microcontroller boards (at 5Vdc) but it can be safely used at 24Vdc.

Just connect it to two standard inputs of your Omron PLC as if they were two standard pushbuttons.
 
Why were we trying to power a mechanical switch?
Its max allowed current is 5mA but its spec's are measured when its current is only 0.5mA.
 
Arkham, if that is indeed so, that would be a relief, i suppose i could just test it.

it was brought to my attention that i needed an open collector encoder and not a line driver,to be able to use it with the regular inputs. but i couldn't find that information in the datasheets.
if it is indeed a double rotary switch, i suppose there wouldn't be any info whether it's a line driver output or open collector.
can anyone confirm if this is so?

thanks,

frank
 
Ok, so it is just a mechanical switch?

somehow i got hung up on the idea that it was an encoder that needed to be powered.

in case you didn't read my reputation it says NEWBIE.
thanks for putting up with me.

frank
 
Status
Not open for further replies.

Latest threads

New Articles From Microcontroller Tips

Back
Top