Skip to content

11. Input devices - Collin K. and Evan P.

We decided to test how a rotary encoder worked using an oscilloscope. We used the rotary encoder from Collin’s week 11 and the oscilloscope as seen in the setup photo below.

Then we used the dials that control the amplitude of the graph, the zero of the graph, and the dial to control the period of time. We fiddled with these 3 dials until we finally got the pattern of the rotary encoder recorded.

This pattern shown tells us that the CLK and DT both provides temporary spikes in voltage that when read by the chip, are transalated into clockwise and counter clockwise values.

We also tested the SW pin which turns to high voltage when the button is pressed.

Lastly, using the oscilloscope taught us how a potentiometer that uses only digital ports can still read values.


Last update: May 3, 2024