SIMPLE LED THERMOMETER

Not rated 5,413

Circuit Image

The circuit is powered by a 9-V battery (B1) but can also operate with any 7- to 10-V DC power supply. At the core of the thermometer is IC1, an LM34 temperature sensor, which generates a voltage between the Vout and GND terminals that is linearly proportional to temperature. The output typically measures 10 mV/°F; however, IC1 is configured within a resistor network (comprising R1 to R3) that amplifies this output to 40 mV/°F. Capacitor C1 serves as a noise bypass across R1 and R2. Since the voltage output from IC1 is used by the circuit to ascertain the ambient temperature, precise calibration of potentiometer R1 is necessary. The output from IC1 is directed to pin 5 of IC2, an LM3914 LED bar- or dot-graph driver, where the actual temperature determination occurs. IC2 contains 10 internal comparators, with output pins connected to LEDs 1 through 10. The input voltage at pin 5 is compared to the voltages at pins 4 and 6, which determines which LED or LEDs illuminate. The LEDs can be configured to light either one at a time (dot mode) or progressively (bar mode). When jumper JU1 is absent, dot mode is active; when installed, bar mode is enabled. In dot mode, the LED corresponding to the input voltage lights individually. As the input voltage rises, an LED for a higher temperature illuminates while the previously lit LED turns off. In bar mode, the LED for the current temperature lights up, and all lower LEDs remain illuminated. Each mode has its benefits: dot mode consumes less current since only one LED is lit, while bar mode offers easier readability. Resistor R8 and capacitor C2 provide decoupling for the LED power circuit. For bar mode operation, it is advisable to reduce the value of R8 to 15 ohms. To display a temperature range of 60 to 78 °F, pin 6 should have a reference voltage of 3.345 V, and pin 4 should have a reference voltage of 2.545 V. These values can be adjusted using potentiometers R5 and R7.

The circuit design effectively utilizes the LM34 temperature sensor (IC1) to convert temperature readings into a proportional voltage output. The resistor network involving R1, R2, and R3 not only amplifies the output voltage but also ensures that the system operates within the desired sensitivity range. The inclusion of capacitor C1 is critical for maintaining signal integrity by filtering out noise that could affect temperature readings.

The LM3914 (IC2) is a versatile driver capable of visualizing the output voltage through LED indicators. The choice between dot and bar modes allows users to tailor the display according to their preferences, with dot mode being energy-efficient and bar mode providing immediate visual feedback on temperature changes. The configuration of jumper JU1 plays a pivotal role in toggling between these two modes, making the circuit adaptable to different use cases.

Resistor R8's role in the LED supply circuit is essential for ensuring stable operation, especially when operating in bar mode, where multiple LEDs may be illuminated simultaneously. The adjustment of R8, along with the reference voltages set by R5 and R7, allows for precise calibration of the temperature range displayed, ensuring that the thermometer provides accurate and reliable readings across the specified range. Overall, this circuit exemplifies a well-engineered solution for temperature measurement and visualization, combining efficiency, adaptability, and user-friendly features.As shown, the circuit is powered by a 9-V battery, B1, but it can easily run off any 7- to 10-Vdc power supply. At the heart of the thermometer is IC1, an LM34 temperature sensor. That device produces a voltage between the Vout and GND terminals that is linearly proportional to temperature.

Al-though the output is usually 10 mV/ °F, IC1 is connect ed in a resistor network (made up of R1 to R3) with a gain that provides an output of 40 mV/` °F Capacitor C1 is used as a noise bypass across R1 and R2. Because the voltage output by IC1 will be used by the rest of the circuit to "determine" what the temperature in the room is, potentiometer R1 will have to be calibrated exactly.

The output of IC1 is fed to pin 5 of IC2, an LM3914 LED bar- or dot-graph driver, which is where the actual temperature-determining process occurs. IC2 has 10 internal comparators, the output pins of which are connected to LED1 to LED10. The voltage input to pin 5 is compared by IC2 to the voltages at pins 4 and 6; that process determines which LED or LEDs light.

The LEDs can be set to light either one at a time (dot mode) or progressively (bar mode). When jumper JU1 is not installed, dot mode is enabled. When the jumper is installed, the chip is in bar mode. In dot mode, the LED that corresponds to the correct input voltage lights by itself. When the input voltage increases, an LED representing a higher temperature will light and the LED previously lit will extinguish. In bar mode, the LED representing the temperature will light and all of the lower LEDs will stay lit.

Each mode has its advantages-the dot mode uses less current because only one LED is lit at a time, but the bar mode is easier to read at a glance. Resistor R8 and capacitor C2 provide decoupling for the LED-supply circuit. If bar-mode operation is desired, it is recommended that you reduce the value of R8 to 15 © For a range of 60 to 78 °F to be displayed, pin 6 must have a reference of 3.

345 V and pin 4 should have a reference of 2. 545 V. Those values are obtained through adjustments of potentiometers R5 and R7. 🔗 External reference