Introduction: Arduino Temperature Gauge
This project is suitable for maintaining a gauge on the ambient temperature in a room. This is version one of this project,. Later versions intend to have an LCD display and temperature calibration at setup.
Step 1: Step 1: You Will Need.
- 1 x Arduino Uno microprocessor
- Several jumper wires or varying length
- 3 x LED (preferably, Red, Blue and Green, one of each)
- 3 x 220 ohm resistors (Red, Red, Brown, Gold colour bands)
- 1 x temperature sensor
- A non-soldering bread-board.
- An electrical schematic (attached to this Instructable)
- USB cable connect
- The Arduino IDE
Note: The design of the electrical schematic is the same as that found in the Love-o-Meter of the Arduino starter kit.
Step 2: Step 2: Put It Together.
- Connect jumper wires to digital I/O pins to points 2, 3, & 4.
- Connect jumper wire to analog pin A0.
- Connect the middle leg of the temperature sensor to the jumper wire attached to the A0. Be sure to have the flat end of the temperature sensor facing towards the Arduino. Connected the left leg of the pin positive end of the breadboard and ground the right leg to the negative pin.
- Connect the jumper pins of the digital I/O connections to the anode (long-leg) of the LEDs.
- Connect the resistors to the cathode (short leg) of the LEDs. Ground the other end of the resistor to negative terminals of the bread board.
- Supply power from the 5V connection to a positive terminal on the bread board. Provide a ground connection from the bread board to the microprocessor.
Step 3: Step 3: Finalize It
- Connect the Arduino to the computer via a USB.
- Open the Arduino IDE
- Download the txt file attached and bring it into the IDE.
- Run the file in the IDE.
- Within the code, you can set the temperature on line 9. Temperature in set in degrees Celsius.
- Open the serial monitor in the IDE to watch the temperature update every second.
We have a be nice policy.
Please be positive and constructive.