Short pulse generator determined by voltage change

Okay, so basic idea is that when signal voltage is changing from 0V to 5V and vice versa (from 5V to 0V) its triggering some kind of circuit with external power source to generate 0,5s - 1,0s voltage pulse with a value of 5V and ability to handle around 100mA. Signal voltage change freq. is around 1 voltage change per 8 hours, so it does not have to be very fast ;) I couldn't find any device online, if something like this exists pls let me know, also I have no idea how to design such a circuit. I would appreciate any help.

Im not a native English speaker, so if someone feels hurt by grammar Im sorry:)

by Pl_eng
4 days, 22 hours ago

By these days, a very common and relatively cheap way to do that is by using an MCU (micro controller unit) like an Arduino. You will have to set two of its GPIO pins (General Purpose Input Output) to the signal and, by software, fire an interrupt on a raising edge (passing from 0 toward 5 V) and the other pin on the descending edge ( 5 V to 0 V). Next, in the interrupts handler subroutine, you may raise the signal on other pin(s), as long in time as you please, eventually to a BJT or MOSFET if you need more than 5 Volt. Since your montage will be based on the front (raising or descending) of the signal, if the signal STAYS low or stays high for a long time, that won't matter, since only the change would raise the interruption. And using software, that make the montage simple to modify ( duration of the generated pulse, include other "sensor", be depedant of the time of the day, or of the weekday, etc. ).

NOTE: for 100mA, you probably need to inferface the OUTPUT of the MCU to a transistor (BJT of MOSFET) since most MCU are of limited current for output.

NOTE: There is a new MCU star in town, the Raspberry Pi Pico, which allows you to use Python code, as software. That may be an interesting plus. And why not, allowing you to use WiFi too!

by vanderghast
4 days, 21 hours ago

Thanks a lot! I think I'll try to do this with arduino. Wish me luck :D

by Pl_eng
3 days, 7 hours ago

An Arduino is generally agreable to work with, even for experimentation or for acquiring experience. :-)

by vanderghast
3 days, 6 hours ago
Add comment...

Please sign in or create an account to comment.


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.