Waves Header

Welcome

This is the new home for all kinds of projects that I manage to pull together. I've just started with Arduino and I realised that I need a place to store and hopefully share my work. Many times I've had a little trouble finding information helping me reach my project goals, and I hope that by documenting my work here, I'll be able to help others tackle similar problems. This is also a playground for trying out new web development aproaches. Enjoy :)

Charlieplexed Binary Temperature Monitor
Im very new to electronics prototyping and I bought my Arduino Uno about 2 months ago. I like this new hobby, for a Business IT student, its the perfect way to see the result of your programming in a physical form without spending that ever so valuable little cash I have. The binary temperature monitor is my first real project. The needs behind the project were: display the temperature reading using an thermistor, do that with what resources I had available (10 leds) and finally migrate the project to an Attiny85 microcontroller.
First I thought about making an led matrix to display the numbers in denary, but after pondering for some time, I realized that 10 leds in whichever arrangement would not be enough to display numbers, not to mention double digits. Then came the idea of using two rows to display readings in binary. That seemed much better, 2 rows with 4 leds each, equaling to 8 leds total. Just enough for my led quota.
The next steps included:
  • converting the analog reading from the thermistor to degrees celsius (this was a real pain with my limited knoledge and the behavior of my component)
  • further converting the decimal reading to binary
  • laying out the leds and resistors
  • mapping the pin configuration into an array
  • creating loops and polishing the program for charlieplexing

At this point my project was working and with some adjusting here and there, I was rather proud of myself. However, I wasnt ready. I wanted to migrate the project to the Attiny85 I had bought mainly for the use of standalone applications such as this one. I thought that Id understood the pin configuration of the Attiny85, but I was wrong, it took me quite a few hours to find out that in fact, digital pin 4 came before 3. Finally, I got the project working on the Attiny. Since then Ive changed the 220ohm resistors for 820ohms and added a voltage divider to pull 3v from my 4x1.2v rechargeable AA battery pack, resulting in an battery life of at least 30 days of accurate readings.
At some point I want to etch my own PCB for this project to make it permanent. Its quite soothing to watch while the leds shift as the temperature changes. I suspect it also enhances my work tempo as a morale booster. Thanks to all the Arduino community for all the help I found! I also hope that someone might benefit from this project. Also Id like to hear if youve got some ideas on how to modify/improve the project.