BPM calculator, displaying BPM on LCD.

Beats Per Minute, mostly musical use, possibly for live mixing DJ's.
This was my very first project with my BS2. After ALOT of help here I finally finished the BPM calculator.
I then integrated a cheap 5$ graphical display into it. http://forums.parallax.com/showthread.php?p=556815
The finished BS2 code, and schematic is attached.
The BS2 code could use ALOT of optimization im sure.
The circuit NEEDS a button debouncer i think, then the BPM might be even more exact.
(the 555 timer gives the stamp a external way to count the cycles that happen in between each button press, creating "on the fly" bpm counting. I added some averaging code to smooth out the results.)
Right now the BPM is within about 4 BPM of the real BPM. (2 up and 2 down)
If anyone has any suggestions on how I can get more accurate with it, let me know please.
Post Edited (BPM) : 11/21/2005 11:41:27 PM GMT
This was my very first project with my BS2. After ALOT of help here I finally finished the BPM calculator.
I then integrated a cheap 5$ graphical display into it. http://forums.parallax.com/showthread.php?p=556815
The finished BS2 code, and schematic is attached.
The BS2 code could use ALOT of optimization im sure.
The circuit NEEDS a button debouncer i think, then the BPM might be even more exact.
(the 555 timer gives the stamp a external way to count the cycles that happen in between each button press, creating "on the fly" bpm counting. I added some averaging code to smooth out the results.)
Right now the BPM is within about 4 BPM of the real BPM. (2 up and 2 down)
If anyone has any suggestions on how I can get more accurate with it, let me know please.
Post Edited (BPM) : 11/21/2005 11:41:27 PM GMT
Comments
·· Do you have any filtering capacitors in your power supply system?· I noticed there are none on the voltage regulator...But I can't remember what the LM317 requires off the top of my head.
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Chris Savage
Parallax Tech Support
csavage@parallax.com
It now shows two .1uf NP caps on both 5v and 2.5v supplies.
Post Edited (BPM) : 11/21/2005 11:42:12 PM GMT
Go here for more info on the LCD.
http://forums.parallax.com/showthread.php?p=556815
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Meh. Nothing here, move along.
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Definetly a E3 (Electronics Engineer Extrodinare!)
"I laugh in the face of imposible,... not because i know it all, ... but because I don't know well enough!"
Any pictures of the finished unit ?
Thanks for sharing this!
Ryan
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Ryan Clarke
Parallax Tech Support
RClarke@Parallax.com
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Meh. Nothing here, move along.
Have you considered the time required for the beep in the total BPM.