Hi,
I’m trying to build a circuit to turns on an LED when a button is pressed (system “armed”)
There is a second button that is pressed several times in a row, every time that button is pressed it sounds a horn. It should sound for as long as the button is pressed.
The twist, on the first press of the second button, the light should turn off. It should NOT turn back on until the first button is pressed.
I’ve tried a 555 timer for the light flip - flop and that works fine. I have a mosfet to sound the horn.
But when I try to combine both functions, things go wrong. It upset the delicate balance of the 555 timer I guess.
I’m just getting started with electronics so don’t know very many “tricks”. Any pointers / suggestions are very welcome.
The application is for rowing. There is an existing (battery powered) horn that is triggered by somebody pushing a switch every time a boat crosses the finish line. Currently, a flag is raised a short while before the first boat crosses, the flag is dropped when the horn sounds for the first crossing.
Plan is to replace the flag with the light. Use the current plunger switch to drive the above project that mimics the plunger press to sound the horn (mosfet) and turn the light off.
tx
Bas
I’m trying to build a circuit to turns on an LED when a button is pressed (system “armed”)
There is a second button that is pressed several times in a row, every time that button is pressed it sounds a horn. It should sound for as long as the button is pressed.
The twist, on the first press of the second button, the light should turn off. It should NOT turn back on until the first button is pressed.
I’ve tried a 555 timer for the light flip - flop and that works fine. I have a mosfet to sound the horn.
But when I try to combine both functions, things go wrong. It upset the delicate balance of the 555 timer I guess.
I’m just getting started with electronics so don’t know very many “tricks”. Any pointers / suggestions are very welcome.
The application is for rowing. There is an existing (battery powered) horn that is triggered by somebody pushing a switch every time a boat crosses the finish line. Currently, a flag is raised a short while before the first boat crosses, the flag is dropped when the horn sounds for the first crossing.
Plan is to replace the flag with the light. Use the current plunger switch to drive the above project that mimics the plunger press to sound the horn (mosfet) and turn the light off.
tx
Bas