Quantcast
Channel: Raspberry Pi Forums
Viewing all articles
Browse latest Browse all 8037

Automation, sensing and robotics • Re: RE: USING ROTARY ENCODER TO DISPLAY LINEAR ACTUATOR MOVEMENT

$
0
0
Hi All,

I have a project where I need to use Linear actuators but want to manually control them with these as opposed to servo motors:

https://thepihut.com/products/cnc-rotar ... 60mm-black

I want to show the linear movement on a digital display. So say actuator thread pitch is 1.0mm then each click would be 0.01mm of linear movement.

I would like to know what other components I would require to interface between the rotary encoder and display. I am assuming a small power source would be all that's required for this application. Maybe a rechargeable battery.
Username does not check out.

So you have a linear actuator, and you want to set the position using a rotary encoder, and you want a small display to show the set position?

If you follow your link to the PiHut you will see a link to the Adafruit wiki:
https://learn.adafruit.com/rotary-encoder

This is a great resource for learning how rotary encoders work, and how to use them. There is also a list of rotary encoders sold by Adafruit, including the one you are interested in:
https://www.adafruit.com/product/5734

The second last image is a short video showing the encoder in use and changing the number on a small screen. Looks like this one:
https://www.adafruit.com/product/5691

That's an ESP32, but you could do the same with any micro, including a Pi Pico, or an actual Pi.

Then some software to update the desired position, based on movement of the encoder, update the display, then move the actuator to the new position.

Statistics: Posted by ame — Tue May 20, 2025 1:34 am



Viewing all articles
Browse latest Browse all 8037

Trending Articles