Connecting a temperature sensor to an Arduino is a great beginner-friendly project. Here's a simple step-by-step guide using the most common sensor types:
Image Not Showing
Possible Reasons
- The image was uploaded to a note which you don't have access to
- The note which the image was originally uploaded to has been deleted
Learn More →
Option 1: LM35 (Analog Temperature Sensor)
What You Need:
- Arduino Uno (or compatible)
- LM35 temperature sensor
- Breadboard + jumper wires
Wiring:
Image Not Showing
Possible Reasons
- The image was uploaded to a note which you don't have access to
- The note which the image was originally uploaded to has been deleted
Learn More →
Arduino Code:
Option 2: DS18B20 (Digital 1-Wire Sensor)
What You Need:
- Arduino
- DS18B20 sensor
- 4.7kΩ resistor (pull-up)
- Jumper wires
Wiring:
Image Not Showing
Possible Reasons
- The image was uploaded to a note which you don't have access to
- The note which the image was originally uploaded to has been deleted
Learn More →
Libraries Required:
- OneWire
- DallasTemperature
Install them via: Sketch > Include Library > Manage Libraries…
Arduino Code:
Other Temperature Sensors
Image Not Showing
Possible Reasons
- The image was uploaded to a note which you don't have access to
- The note which the image was originally uploaded to has been deleted
Learn More →