I'm sure there must be a smarter way to do this than my first design. I want to produce separate +ve going 12V pulses at the leading and trailing edges of a low impedance 12V input.
My first draft looks too complex:
- Use R/C/diode edge detector to produce OUT 1.
- Also take input to half a 4013 to produce FF
- Logic NOR the input with the inverted FF
- Use R/C/diode edge detector to produce OUT 2
Here's the timing chart:
I think those crude output pulses should be adequate without further cleaning up, as they go to the respective Set and Reset inputs of a simple 4001 bistable. Of course, squared up outputs would be a bonus; I might do that anyway if I have any spare 4001 gates.
For the curious, it's an add-on for my curtain controller, to open and close them either at dawn/dusk or at specific times of day.
Any simpler way to achieve this please?