Skip to content

Instantly share code, notes, and snippets.

@ericfont
Created November 30, 2025 18:13
Show Gist options
  • Select an option

  • Save ericfont/4d9c3df15b1de5b688d83de93917845b to your computer and use it in GitHub Desktop.

Select an option

Save ericfont/4d9c3df15b1de5b688d83de93917845b to your computer and use it in GitHub Desktop.
add hysteresis to comparator with simple resistive feedback
Display the source blob
Display the rendered blob
Raw
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@ericfont
Copy link
Author

sim

@ericfont
Copy link
Author

Screencast_20251130_131540.webm

@ericfont
Copy link
Author

Screencast_20251130_140214.webm

@ericfont
Copy link
Author

@ericfont
Copy link
Author

ericfont commented Nov 30, 2025

mistake with above hysteresis...comparator output voltages were incorrect. Better:

circuit-20251130-1617

@ericfont
Copy link
Author

which produces:
image

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment