Duration: 2 hours 30 minutes
Materials:
- Arduino Uno Board
- 2 Stranded Jumper wires
- 3 Red LED lights
- 1 TMP36 (temperature sensor)
- 3 220 ohm Resistors
- 3 yellow wires (small)
- 1 Green wire (long)
- 2 Solid core jumper wires
- Breadboard
- USB cable
- Laptop with Arduino program downloaded
Procedures:
1) Wire up your breadboard to your Arduino Uno board connecting the wires as shown in the picture in the Arduino Project book.
2)Attach the cathode (short leg) of each of the LEDs being used to ground through a 220-ohm resistor. Connect the anodes of the LEDs to pins 2 through 4.
3) Place the TMP36 (temperature sensor) on the breadboard with the rounded part facing away from the Arduino. Connect the left pin of the flat facing side to power, and right pin to ground. Connect the center pin AO on your Arduino. This is analog input pin 0.
4)Connect your Arduino Uno to a laptop with the Arduino program downloaded via the USB cable and program the code to the Arduino program found in the Arduino Project book. Make sure to follow the code carefully and type it out.
(Arduino Project Book)
Analysis: Our group had some troubles in the coding of the love-o-meter at first and the baseline temperature was either too high or too low in degrees Celsius to get accurate results. After fixing the code and setting the baseline temperature to 15 degrees Celsius, the device worked and was able to light up and sense our body's temperature when we touched the temperature sensor. Our group member, Nnamdi, had the coldest body temperature out of our group around 13 degrees Celsius while I, Kenny, had the highest body temperature around 21 degrees Celsius.
No comments:
Post a Comment