I could use help for a birthday party request.
lockadoc
Posts: 115
- My brothers wife just asked me if I could make a countdown timer for her sons party next week.It seems her two sons are really into the " Minute To Win It " show. I have all the hardware needed·(Prop, Bs2,·Led Displays,·and so on) I have the time to make the case just not enough time to make a program and debug it. I've looked at the Object exchange and·searched the forums with no luck,even searched the NutNvolts back issues, only found one for a pic·or a nonprogramable design.
- I know there must be one out there·that some-one came up with by now. All it need to do is Start a·display at 60 and count down until it reaches 0 then set of a buzzer.·If some-one could·point me to where I coud find one it would make two little boys very happy.
Thank you
··· BillS Louisville Ky.
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Life is fun with a Prop.
BillS
··· Louisville KY.
Comments
If they are really into TV, then you could have your display on a TV using the TV Object, perform the countdown, and then have the TV flash "HAPPY BIRTHDAY TV ADDICTS!"
or whatever message seems appropriate at the time. You can play with the TV colors, too, so the whole thing looks quite festive.
Hope that helps,
Mark
Of course, that's not true code, just a rough idea maybe to get you started.
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Jon McPhalen
Hollywood, CA
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Life is fun with a Prop.
BillS
··· Louisville KY.
I can't tell exactly what size those ones are and I don't see a datasheet. I've had no trouble driving the small displays on the propeller professional development board, although I did multiplex them rather than driving more than one at a time.
Most of the common 7-segment displays are quite small (0.30" or 0.56" for example). Is that going to be enough to impress your youngsters? You can get larger displays up to 4" tall from some of the parts suppliers. For example Jameco has 2.24" tall CA displays (p/n 97199) for $4.49 each. If you were to get ones that were common-anode, then you could easily drive the cathodes with some ULN2803 chips. ULN2803 is an octal darlington transistor array, pretty easy to interface to most microcontrollers, and capable of sinking more current than you'd probably ever need for any conceivable LED displays.
Max current on Vdd or Vss is 300mA
14 segments @ 10mA would be a total of 140mA. If the displays require much more than 15mA per segment I would suggest using a driver such as a ULN2803 and 2 PNP transistors (like 2N3906) and multiplex the 2 digits instead of directly using the 14 output pins.
You need a timing loop anyway so it would not require much more code for multiplexing the display.
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Jon McPhalen
Hollywood, CA
Just count to 60 seconds and light up LEDs as you go.
You can lay out a perfect circle of LEDs easily on a prototype board.
I'll try your object.
I'll let you know how it turns out next week.
I also like your Idea HollyMinkowski.
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Life is fun with a Prop.
BillS
··· Louisville KY.