Simple Timer
Twisted Pair
Posts: 177
I'm looking for information to build a simple count-up or count-down timer that uses a BS2/BS2P-24 Etc,·and a Serial LED Display Etc. Any information would be helpful.
Thank you
Twisted Pair
Thank you
Twisted Pair
Comments
By the way, do you mean "serial LCD display"?· That's what's used now more commonly.· If so, have a look at the datasheets that come with Parallax's serial LCD displays (downloadable from the webstore page for the item).
How fast and how accurately do you need to count?· If it's a second or 1/10 second count, you will do fine with the Stamp.· If it's faster or needs to have high resolution (milliseconds), you'll need to use some kind of external time counter and time source and the Stamp will act as the display controller.
I was hoping for something that was already in the forum or elsewhere. The display is a SLED-C4C LED Clock Display from Reynolds Electronics. The timing is not critical (not real time). Here is what I want to do. Have count-up timer which is user adjustable from zero to ten minutes and at the end of the cycle sound off a buzzer for a few seconds Etc. I have on hand a BOE board, BS2 and a BS2P-24 Module as well as a SLED-C4C LED Clock Display. I have the books from Parallax and many of the downloads. Do you know of any similar project that has already been done ?
1) Get the display working with the BS2p24 and your BOE.· You'll be able to use it for help in debugging.
2) Get the pushbuttons or keypad you want and get it to work so you can set the "alarm" count.
3) Do the up timer that's started with a pushbutton or key press.· Get it to look the way you want on the display.
4) Combine #s 1-3.
5) Add a compare of the current time to the alarm time.· If they're equal, use FREQOUT to generate a tone or a set of tones for the alarm.· I'm sure there's a diagram in the "What's a Microcontroller?" showing how to connect a small speaker to the Stamp and use it for noisemaking.
Somebody may have done something like this before, but why wait when you can do it easily enough with what you already have and learn in the process.
·
PS: Will I need an external timing crystal for the BS2p-24 ?
Thank you
Twisted Pair
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Chris Savage
Parallax Tech Support
Thanks again Chris....
Twisted Pair....
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Chris Savage
Parallax Tech Support
Thank You
Twisted Pair
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Chris Savage
Parallax Tech Support
Thank You
Twisted Pair
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Chris Savage
Parallax Tech Support
Thank You
Twisted Pair....
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Chris Savage
Parallax Tech Support