Edit: here is a video of the keychain working: https://www.tiktok.com/@fritzenlab_net/video/7439695539651874103
I am a geek and love electronics, one of the things that I always wanted is to carry around gadgets I made myself. Recently I graduated from Electrical Engineering and decided to invest time and money into making such gadgets.
One such project is my ESP32-C6 development board which I also posted here on Hackster: https://www.hackster.io/clovisf/fritzenlab-esp32-c6-dev-board-f7ec07. I then decided I wanted to make something light and battery powered, that could be useful for me to carry around. This is when the thermometer idea came to my mind.
It is basically a thermometer reading surrounding temperature using an 0805 SMD NTC, via an Attiny85 microcontroller. Instead of featuring a display for temperature, I decided to show it (in degrees Celsius) in binary format, using six (6) LED. Such LEDs are charlieplexed so I only use three pins of the Attiny85. Schematic diagram is below.
Besides the NTC+10k resistor for reading temperature, there is also another resistor divider (10k + 10k) being read by another analog input. It serves to read the supply voltage, since it varies with battery wear. This way the temperature equation is always on par with battery state.
The way this device works is you press the push button (and hold) and it immediately starts showing temperature on the LEDs, up until you release the push button. It essentially cuts power from the Attiny85, saving (or not allowing) even quiescent current to happen.
Comments