LED based binary room temperature indicator
The birthday of another of my friends was coming up and I decided to give him a ‘geeky’ gift. I saw that I had this DS1820 temperature sensor with me(I have been using a lot of DS1820 sensors lately
) and decided to create a ambient room temperature sensor for my friend.
Now, I did not want to get into the trouble of interfacing a complete LCD for this. So, I decided I would use 8 LEDs to show the temperature in binary format. with 8 LEDS, one would be green, to indicate the ‘binary’ point. And the remaining 7 would be used to indicate the temperature. The arrangement would be something like: 6 + 1 + 1. Or the first 6 red LEDs would show the integral part of the temperature, then comes the green ‘binary’ point(which would always remain green and lighted to distinguish it from the rest) and then finally 1 more red LED for showing the fractional part of the temperature, which can be either 0.0 or 0.5.
I decided to re-use the circuit board from my previous project, the POV toy for this. So after a few minutes of soldering to add the temperature sensor, it was ready. The code was also simple enough. Unfortunately, I do not have any photo of this. However, I did manage to take a video of it before I gifted it to my friend.
Here is the video, from YouTube:
As you can see, I have used USB to power the gadget. Cool, eh ? My friend sure liked it and needless to say, this gift has a tremendously high geek value
Recent Comments