loading

How to make a game timer with 3 timer settings (1min, 45sec, 30sec) that will also buzz when the time is up?

I know nothing about circuitry and am trying to make this simple timer for a game idea that I want to produce. Instructions on how to build this or directions on who I could talk to about getting this mass produced would be great! I appreciate any help. 

rickharris4 months ago

Ok I have a little time to play here so I have partially answered you problem.

Hopefully you just may have followed the link I offered and have some inkling of microprocessors (assuming you found the manuals and tried to read at least the first few pages.

The diagram below shows the set up for using a Picaxe 08M to drive a piezo sounder, both very cheap and available in most parts of the world.

The missing parts are the 3 push buttons to select the times, 60, 45 and 30 seconds. I leave that to you to read the interface manual and the commands to see how to do that ( a learning experience you see).

You don't say how the timer is to be used so I assume the time is selected by the player.

The program assumes the buttons as follows: When the button is pressed the input goes to +5 volts when not pressed the input goes to 0 volts.

60 sec is connected to input 3

45 seconds to input 2

30 seconds to input 4

program:

start:

goto check_button

goto start

check_buttons:

if pin 3 is high then goto 60sec

if pin 2 is high then goto 45sec

if pin4 is high then goto 30sec

goto start

60sec:

for b0=1 to 60

wait 1

next b0

sound 1, (5,100)

goto start

40sec:

for b0=1 to 45

wait 1

next b0

sound 1, (5,100)

goto start

30sec:

for b0=1 to 30

wait 1

next b0

sound 1, (5,100)

goto start

That's it. press a button, the micro notes which button is pressed, jumps to a

suitable timer (wait simply times1 second) then makes a 5 second sound.

The rest is up to you. HOWEVER if you thinking of mass producing this you may like to get a company to put this into a pic micro for manufacturer beware my original advice - it will cost!

buzzer.jpg
iceng4 months ago

Buzz for how long ?

Take a Good Long Look here ======================>>>

under the Related column

One of those ibles may be help for you !

rickharris4 months ago

Having something bespoke made will always be the costly option unless you anticipate ordering 10,000+

It will be better to look around buy something already produced. e.g. a cooker timer.

HOWEVER a simple way would be to learn to program a microprocessor. A Picaxe 08M will do this with reasonable accuracy for about £180 + a cheap piezo buzzer.

http://www.picaxeforum.co.uk/