Fork me on GitHub

Project Notes

#062 SR Latch Flipper

Set/Reset latch with BJTs, controlled and monitored by an Arduino.

Here’s a quick video of the circuit in action:

SRLatchFlipper demo

Notes

This is a classic Set-Reset latch under Arduino control.

See the LEAP#061 SRLatch project for the implementation details and design notes on the flip-flop. SRLatch uses manual switch entry to control the flip-flop.

This version of the circuit uses an Arduino to drive the set/reset inputs, and monitor the output state. For simplicity, the circuit is powered from the Arduino’s 5V regulated pin. Output state is read with analog ports, and the data sent to the serial port for plotting with LEAP#090 PlotNValues (a simple Processing sketch).

The processing trace below demonstrates the behaviour using 4 traces. From bottom to top:

  • Lower plot: SET input
  • Lower-middle plot: RESET input
  • Upper-middle: Out1 output state Q
  • Upper plot: Out2 inverted output state -Q

processing trace

The plot demonstrates:

  • how repeated triggers have no effect on the output
  • SET sends Out1/Q high
  • RESET sends Out1/Q low
  • Out2/-Q is always the inverse of Out1/Q

Construction

The Breadboard

The Schematic

The Build

Credits and References

About LEAP#62 Digital LogicBJTArduino

This page is a web-friendly rendering of my project notes shared in the LEAP GitHub repository.

Project Source on GitHub Return to the LEAP Catalog
About LEAP

LEAP is my personal collection of electronics projects - usually involving an Arduino or other microprocessor in one way or another. Some are full-blown projects, while many are trivial breadboard experiments, intended to learn and explore something interesting.

Projects are often inspired by things found wild on the net, or ideas from the many great electronics podcasts and YouTube channels. Feel free to borrow liberally, and if you spot any issues do let me know or send a pull-request.

NOTE: For a while I included various scale modelling projects here too, but I've now split them off into a new repository: check out LittleModelArt if you are looking for these projects.

Project Gallery view the projects as an image gallery Notebook reference materials and other notes Follow the Blog follow projects and notes as they are published in your favourite feed reader