Week 9

Reflection – Week 9

This week, we explored Arduino

In this workshop, we used the Arduino to build a simple "LoveOMeter" device. The task was to connect the TMP temperature sensor to the Arduino, and then connect three LEDs to the digital pins through resistors. After the circuit was set up, we uploaded the sample code and read the temperature using analogRead(). The LEDs would light up according to the temperature.

The entire process mainly involved practice, checking the direction of the LED, confirming whether the pins of the sensor were correctly positioned, and troubleshooting any wiring errors when the light did not light up. After connecting the circuit, simply holding the sensor with your hand would allow you to see the temperature rising and the LEDs lighting up. This exercise helped me understand the basic relationship between analog input and digital output in Arduino, and also gave me experience in using basic sensors.

pic1 pic2 pic3