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.

  1. Connect jumper wires to digital I/O pins to points 2, 3, & 4.
  2. Connect jumper wire to analog pin A0.
  3. 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.
  4. Connect the jumper pins of the digital I/O connections to the anode (long-leg) of the LEDs.
  5. 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.
  6. 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

  1. Connect the Arduino to the computer via a USB.
  2. Open the Arduino IDE
  3. Download the txt file attached and bring it into the IDE.
  4. Run the file in the IDE.
  5. Within the code, you can set the temperature on line 9. Temperature in set in degrees Celsius.
  6. Open the serial monitor in the IDE to watch the temperature update every second.

Comments