This week's labs mainly focus on controlling the input and output to let these components can have reactions to our movement!




Figure 17 shows the breadboard view of an Arduino Nano connected to a potentiometer and an LED.



During these exercises, I was a little confused with the potentiometer illustration. Because I remember I have already practice to connect the potentiometer and an LED in week1. So I tried to use the rotary encoder and got a breathing light LED.








After that, I tried to figure out what caused the light breath, and I found the encoder offers a pulse train signal, which might be the main reason for the breath light.



I also practice the force-sensing resistors, which I didn’t use it before!