Distance Measurement Vehicle via Websocket

Story When you measure distance between two point general way is to use a ruler. But you can use a lot of other ways: by laser, map, foot or walking meter. The walking meter is very useful when you are measuring curved (not straight) distance. But it might be very tired because you should walk the entire distance. Here is a movie which is measuring distance. You can see that the vehicle is being controlled ...

Read more

Rotary Encoder + Arduino

One of the first things anyone does when they start working with the Arduino is to connect it to a potentiometer and control the brightness of and LED or move a servo. Well, a rotary encoder may look like a potentiometer, but other than also having a knob, it is basically the complete opposite. A rotary encoder is a device that you can rotate infinitely. Simple ones like this one I got from sparkfun have no ...

Read more

Arduino UNO Tutorial 6 – Rotary Encoder

We have written a tutorial for Rotary Encoders using a Microchip microcontroller but now would be a good time to make an Arduino UNO version. With a rotary encoder we have two square wave outputs (A and B) which are 90 degrees out of phase with each other. The number of pulses or steps generated per complete turn varies. The Sparkfun Rotary Encoder has 12 steps but others may have more or less. The diagram ...

Read more

Rotary Encoder & Arduino

I am not sure, but it was in year 1999, a non-stop (360 degree rotation) potentiometer found in a stereo music system confused me a lot. At that time, I failed to keyed out the strange potentiometer manufactured by ALPS. Later, I learned that it’s a Rotary Encoder (thanks to internet), and bought one such component from an online store for $2. A rotary encoder (RT) is a device that you can rotate infinitely ...

Read more
Scroll to top