Name: NetID:
Lab 2.1: 06/20/2023 Lab 2.2: 06/26/2023
Due Date: 7/11/2023
Statement of Purpose:
The lab included two sections. The first part introduced a mechanical quadrature encoder, which
is used to sense position. Using the encoder’s pushbutton, a circuit was built to turn on the built-
in LED of the Arduino for both pull-up and pull-down configurations. Next, using the same
encoder and Arduino Nano Every, a pulldown circuit was built to send a signal from the encoder
to the Arduino and plot the resulting phases. Those phases were then used to design a method
that would track the rotational position of the encoder.
The second part of the lab started with verifying whether the Arduino board was working
correctly by turning on its built-in LED and tuning the delay time to have the LED blink for a
period of 1 second. Next, a circuit comprising an Arduino Nano Every, a 7-segment display, and
resistors was built to count from numbers 0–9 using a single digit.
Plan
Figure 1: Fritzing schematic of the Pull-Down circuit to read out pin A and B waveforms.
, Figure 2: Fritzing breadboard of the Pull-Down circuit to read out pin A and B waveforms.
Figure 3: Fritzing schematic of the Circuit to count from numbers on the 7-segment displays.
Figure 4: Fritzing breadboard of the Circuit to count from numbers on the 7-segment displays.