Skip to content

Group assignment

The group assignment is here

Learnings

Although similar in appearance a potentiometer and rotary encoder work differently:
- the former is meant to be read as analog signal with the value proportional to the range of motion
- the latter requires 2 output digital signals that sit at logical 1 and temporarily drop to 0 once rotation is performed. The order in which each signal drops to zero determines the direction of the rotation. Also, the pulse width correlates to rotation speed. Slow rotation = wide pulses, fast rotation = narrow, tightly packed pulses

I learned that we can set interrupt handling with attachInterrupt function

II also learned a bit more about fiddling with time division on the oscilloscope, and starting and stopping measurements so that we could get a screenshot of the signal.