Electronics > Beginners

creating a pulse on state change with a comparator

(1/3) > >>

Simon:
Hi guys, I'm trying to generate a pulse, so when a signal goes high a pulse of "x" ms is produced, preferably using a comparator. Any ideas ?

Hypernova:
On your mcu:

-rising edge interrupt on input,
-on trip turn output high and start a timer, set over flow interrupt when timer counts to your desired time.
-on trip of overflow interrupt turn output off.

Gives you guaranteed timing to within microseconds even when in multi threaded environment.

Simon:
yes but I don't want an MCU in the design, this is strictly non MCU I've already designed an MCU version but feel like flexing the analogue muscles

Zero999:
I don't know why anyone would use an MCU for such a simple task when it's likely to be more expensive.

I'd probably use the CD4013 or its HC equivalent, a resistor, diode and a capacitor.

It should be possible to use a comparator though.

A hex inverter logic IC is another possibility.

Simon:
erm forgot to specify I am talking about a single impulse, which would need to reset and got again should another high to low transition occur

Navigation

[0] Message Index

[#] Next page

There was an error while thanking
Thanking...
Go to full version
Powered by SMFPacks Advanced Attachments Uploader Mod