2

I need to design an edge detection circuit to detect when a square wave signal goes from Low to High (rising edge) and when it goes from High to Low (falling edge). The circuit should preferably use simple logic control such as 74LS series logic. I know people are gonna suggest using an arduino with interrupts but in my application this needs to be done in hardware rather than software.

Edit: The output is expected to be a short digital pulse, used as a trigger.

OM222O
  • 282
  • 2
  • 11
  • A resistor, a capacitor, and an xor gate should do the trick. – brhans Jul 03 '18 at 00:34
  • Did you ever bother to google for {edge detection with logic} ? Or Stack Exchange at least? https://electronics.stackexchange.com/q/270894/117785 I know it is not nice, but really? – Ale..chenski Jul 03 '18 at 00:35
  • 1
    @AliChen, no, it is actually a second attempt to ask the same question https://electronics.stackexchange.com/questions/382104 – Maple Jul 03 '18 at 01:07
  • @Maple, this is the second attempt by OP, true. But exactly this question was asked years ago and has perfect answers. – Ale..chenski Jul 03 '18 at 04:10

2 Answers2

1

How about this

schematic

simulate this circuit – Schematic created using CircuitLab

analogsystemsrf
  • 33,703
  • 2
  • 18
  • 46
  • the circuit looks good, but also explain the working. like if the input contains a clock how does the output change as the clock rises, stays positive and then falls. – Silver Moon Dec 04 '22 at 12:14
0

A simple differentiator circuit should do what you ask(the pulse will be fairly short but enough to trigger a bistable multivibrator or something). Read more at https://www.electronics-tutorials.ws/opamp/opamp_7.html: enter image description here