Trigger one shot rising edge only a solenoid

Hello. I have a button connected to 12V and want to fire a solenoid 24V ONCE every push of the button. No matter if the button is pushed 1 sec or one minute. The solenoid should fire more or less 1 sec and then go low EVEN if the button is still pressed. It's like a Trigger on the rising edge only. Is that text clear? I managed to do it with a microncontroller but I want to do it without a microcontroller. The examples using a 555 monostable with one shot didn't work if the button is still pressed (it keeps the solenoid ON until button is relased and I don't that that like that). Can you help with a solution with real values that I can simulate in Proteus? PS: I know it is a little off topics of this site. Thank you

by blackphoenixpt
May 03, 2022

You may take a look at


It may not work if the frequency is too fast.

As shown, the switch is "ON". The simulation kicks the votlage (from the source) at 5 seconds. You may note that, with the simulation, the voltage at the load is there for a little bit more than one second. The exact timing depends on the temperature, the PMOS, the capacitor C1 and the resistor C1 (with their tolerances).

I would personally use a Tiny-Arduino for more versatility and precision, even if this circuit is relatively simple, thanks to the DSDP switch.

by vanderghast
May 03, 2022

I suggest you put a flywheel diode around the solenoid. Otherwise, in real life you may find you get hard to diagnose component failures.

by Foxx
May 05, 2022

No Answers

No answers yet. Contribute your answer below!

Your Answer

You must log in or create an account (free!) to answer a question.

Log in Create an account

Go Ad-Free. Activate your CircuitLab membership. No more ads. Save unlimited circuits. Run unlimited simulations.

Search Questions & Answers

Ask a Question

Anyone can ask a question.

Did you already search (see above) to see if a similar question has already been answered? If you can't find the answer, you may ask a question.

About This Site

CircuitLab's Q&A site is a FREE questions and answers forum for electronics and electrical engineering students, hobbyists, and professionals.

We encourage you to use our built-in schematic & simulation software to add more detail to your questions and answers.

Acceptable Questions:

  • Concept or theory questions
  • Practical engineering questions
  • “Homework” questions
  • Software/hardware intersection
  • Best practices
  • Design choices & component selection
  • Troubleshooting

Unacceptable Questions:

  • Non-English language content
  • Non-question discussion
  • Non-electronics questions
  • Vendor-specific topics
  • Pure software questions
  • CircuitLab software support

Please respect that there are both seasoned experts and total newbies here: please be nice, be constructive, and be specific!

About CircuitLab

CircuitLab is an in-browser schematic capture and circuit simulation software tool to help you rapidly design and analyze analog and digital electronics systems.