Skip to main content
Visitor II
March 23, 2020
Question

Want to convert continuous HIGH or LOW signal to pulse.

  • March 23, 2020
  • 0 replies
  • 630 views

We are making ultra low power device, which has function to read change of state on pin. For better understanding please refer the attached photo. Well, in Case 1 we get pulse on the pin as wheel is rotating and it's fine to read. But the problem is when magnet comes near the reed switch and wheel is in stop condition, the reed switch will remains in close condition as shown in case 2. Due to this current will source from the controller continuously through internal pull-up resistor and this will discharge the battery in couple of hours and device will stop functioning. Therefore, we want some solution which gives a single pulse on GPIO, in both case continues open or close reed switch.

    This topic has been closed for replies.