My dad is learning to play the guitar and a while back mentioned that he would like to make his own metronome. I did some searching on the forums, and the only code I found was in Harpit's thread about his Propeller for Beginners book
he was writing. It had a program for controlling a metronome by means of a pot and displaying the beats per minute on an LCD. The code looked simple, but I didn't do anything with it until I recently decided to make something for my dad's birthday on March 8th. I looked at the code again and on March 6th, 2010, I created a handheld metronome based on the code. Here are the details.
The circuit is the same from the original code, but I moved some of the pin usages around to make it easier to mount things onto the prototyping board. I actually soldered the entire circuit onto the board, adjusted IO pins in the code, then downloaded the code. Believe it or not, everything but the LCD worked the very first time. (see below about the LCD fiasco). The code has been modified and cleaned up a bit. I added a startup "splash screen" that says Happy Birthday since it was for my dad's birthday. Once that clears, I display "Grmpa Roy" (Grandpa Roy) on the first line instead of the raw value which is unnecessary in a finished version. The second line shows the Beats Per Minute. This is adjusted by turning the 5k pot.
WBA-TH1M Sensirion SHT11 Module
Special Olympics Polar Bear Plunge, Mar 20, 2010
Post Edited (WBA Consulting) : 3/14/2010 3:51:49 AM GMT