Arduino Thermometer
Hey everyone! In this opportunity i would like to share my first arduino project this semester. This is actually not my first hands-on arduino experience, the most recent one being 1.5 years ago. I had a lot of fun with my partners (Alfian, Ifan, and Dzaka) doing this project. It’s not that difficult to do so I recommend you to do it if you want to experiment using the arduino! :)
Step 1: Gather all the parts
You will need:
- Arduino UNO
- USB A-B cable
- Breadboard
- LM35 temperature sensor
- Single digit 7 segment display (2 pieces)
- 220 ohm resistor
- Jumper wires
Step 2: Time to program!
The code requires you to have the Arduino Seven Segment Library installed.

Source code could be found here: https://github.com/IfanRamza/Interaksi-Manusia-dan-Komputer/blob/master/P1.ino
Step 3: Put all the parts together!


Step 4: Have fun! >_<
Problems
- At first, the seven segment library won’t work (sevseg.h). It turned out the library we had was not compatible, so it wouldn’t compile. :( After we installed the recently updated version, the code worked just fine!
- We mixed up setting the jumper wires (connected to the ground and the 5V pin) to LM35, which caused LM35 to overheat. We solved this problem by switching the 5V pin with the ground pin.
- We also made a (minor) mistake in connecting the jumper wires to the digital pins.