How to run an encoder with 12-24v operating voltage with 5 volts arduino leonardo

İ do have a led psu so no problem with using 12 volts but how do i use it on encoder i dont think i can do it simply without voltage divider or else i need some guidance please

Correct you can't do it without a voltage divider unless you want to use an optical isolator which is more expensive and still requires two resistors as well.

1 Like

If the encoder has open collector or open drain A/B outputs, then a direct connection is possible.

3 Likes

Hi, @ozanshllglr
Welcome to the forum.

Can you post a link to data/specs of your encoder please?

As @jremington has pointed out, some sensors have "Open Collector/Drain" outputs to enable a different output signal voltage than the sensors supply voltage.

Tom... :smiley: :+1: :coffee: :australia:

E50S8-360-3-T-24 here is my encoders spesifications

Input voltage - #7 by bigred1212 what about this idea? Can i do that with my arduino leonardo and 12v 1A dapter

You have the E50S8-360-3-T-24 with "totem pole" output, which outputs the supply voltage.

If you had instead ordered E50S8-360-3-N-24 you could connect it directly to the Arduino


.

Didnt ordered found it from a friend :confused:

See post #2.

İ guess im bad at forum thing i didnt get #2

Your last post is post #10. Scroll up to post #2.

Okay so i need to buy another encoder

Or use a voltage divider or optocoupler, saving around $185.

Good luck with your project!

İ really not good at these things doing it for my son can you give me a circuit for voltage divider

Why not a simple diode (cathode to the encoder, anode to the Arduino) and the Arduino pullup resistor ?

Here

So the vin is my 12v psu s v+ side and the gnd is v- side of the psu

Yes that is it.

You also need to connect the ground of the Arduino to the V- side of the PSU.

Thanks man

This topic was automatically closed 180 days after the last reply. New replies are no longer allowed.