Skip to content
All prices US$ - All orders receive free delivery, worldwide - Click here to learn more
All prices US$ - All orders receive free delivery, worldwide - Touch here to learn more
A Simple Two-Digit LED Thermometer

A Simple Two-Digit LED Thermometer

from hackster.io

A friend of hacker David Johnson-Davies’ now two year-old son recently had a birthday. While he can’t yet read words, he can (impressively) read numbers. Rather than merely running to the store or clicking an order button, Johnson-Davies came up with something truly unique for the little guy — a two-digit PCB thermometer.



The device’s PCB is nicely laid out, and measures just over 25mm x 25mm. This shape would be conducive to insertion in a waterproof case, and with a battery life of around a year on its CR2032 battery, it could be left outside to show what to be prepared for before opening the door.

The thermometer reveals the temperature using a pair of LED 7-segment displays, and everything is controlled by an ATtiny84 MCU. This give it just enough I/O pins to control the numbers, while still getting input from a DS12B20 temperature sensor.

In order to get ~one year of battery life, it’s programmed to stay in sleep mode most of the time, flashing the temperature only once every 24 seconds. As set up, it can display temperatures between -19°C and 99°C, using the left character to display a -1 with three segments.

It’s a brilliantly simple hack, but not Johnson-Davies’ first. For an even simpler (though a bit harder to read) gadget, check out his ATtiny10 Binary Thermometer here!

Finally - to keep up to date with interesting news, offers and new products - interact with us on facebook, instagram, and twitter.

Previous article A Beautiful, Microcontroller-Free Digital Clock
Next article Digital Quartz Clock Built Using Logic ICs and 7-Segment Displays

Leave a comment

Comments must be approved before appearing

* Required fields