Rotary Encoder connection
A rotary encoder, also called a shaft encoder, is an electro-mechanical device that converts the angular position or motion of a shaft or axle to an analog or digital signal. Rotary Encoder connections forward every event generated by rotary changes. These events are forwarded to a selected Ozeki connection.
Events can either represent clockwise or counter-clockwise turns or they can also represent the button pressed on the Rotary Encoder, since you can also press the spinning mechanism.
How to setup
Step 2: Upload programcode to the microcontroller (Here is the code to upload)
Step 3: Start Ozeki on your computer to try the rotary encoder
If Ozeki 10 is running on your computer (such as on a Raspberry Pi) and you have plugged a microcontroller to it than Ozeki can be set to find serial devices on windows/linux and place them into a connection list so you can interact and control them through the software GUI. The Rotary Encoder can communicate with Ozeki through the following protocol.