We will create an Attiny85 thermometer with binary display using six LEDs. We will use only three microcontroller pins for the six LEDs, using the cha

FritzenLab electronics

submited by
Style Pass
2024-06-16 00:00:05

We will create an Attiny85 thermometer with binary display using six LEDs. We will use only three microcontroller pins for the six LEDs, using the charlieplexing technique. The temperature sensor will be the DHT11, communicating with the Digispark Attiny85 via a single wire.

Digispark Attiny85 was created by the Digistump group. This group started with a Kickstarter campaign, specifically for the Digispark Attiny85 product. Today the group no longer exists, so the community took over the maintenance of the project. That’s because the Attiny85 is a super useful card, it even has a USB.

I chose the Attiny85 for the binary thermometer project precisely because it is small, has low power consumption and has a sufficient number of pins for what I need. To also buy the board you can access this Aliexpress link. Here is how to use Digispark Attiny85. The connection of the six LEDs was inspired by this link, using only three Attiny85 pins. The image below is for reference only.

All project code is available here, made for the Arduino IDE. The path to be followed by information in this project is as follows:

Leave a Comment