Built-in project · no microcontroller

A logic probe

A clock through an inverter with a logic probe on the output and another on a pin nothing is driving: H, L, pulsing, and the floating input a voltmeter cannot find. There is no microcontroller in it: the simulator solves the 6 parts as a circuit, so it runs the moment you press Run, and nothing needs compiling.

BeginnerRuns in your browser. Free, and no account needed.

A logic probelive0.000 s 0.00x
Click to open it in the editor
The circuit itself, running here on the simulator. Press what can be pressed; click anything else to open it in the editor.

How it works

There is no microcontroller in this one, so nothing is compiled: the simulator solves the circuit itself. The file in the editor is the notes that come with it.

sketch.ino
// A logic probe, and the fault a voltmeter cannot see.
//
// A 3 Hz clock into one gate of a 74HC04, and an LED on the output so you can
// watch it. Two probes:
//
//   the left one   on the inverter's output. It flips between H and L three
//                  times a second and PULSE stays lit, because the probe
//                  stretches every edge to a fifth of a second so an eye can
//                  see it.
//   the right one  on pin 3, the input of the next inverter along, which is
//                  wired to nothing. Every lamp is dark. Not low: dark.
//
// That is the difference the probe exists for. Put a voltmeter on a floating
// CMOS input and you get a number, and the number means nothing: nothing is
// driving the pin, so what is on it is whatever leaked there. The probe says
// so by saying nothing, and no other instrument on this bench does.
//
// The thresholds are not the probe's. What each lamp is showing is the level
// the *driver* declared, so a 3.3 V board's pin is a clean H here for the same
// reason it is one on the board. There is no TTL/CMOS switch to get wrong,
// because there is no number inside the probe to be wrong. The voltage under
// the lamps is there for the case with no declared level at all: a divider, a
// capacitor charging, an analog node on its way somewhere.
//
// Things to try. Wire pin 3 to the ground rail and the right-hand probe goes
// from dark to L. Wire it to the 5 V rail instead and it goes to H. Wire it to
// both at once and it goes to ?: two drivers disagreeing, which is
// contention, and which is a real fault a real probe shows the same way.

Parts list

8 parts, plus the jumper wires. Every one is in the editor's parts bin.

How it is wired

5 connections, pin by pin, read from the circuit itself. Each line is one set of pins joined together, by a jumper wire or a breadboard strip.

  • 5 V: Resistor, 10k Ω (1) pin 1; NE555 timer pin RESET; NE555 timer pin VCC
  • Ground: NE555 timer pin GND; Capacitor, 100 nF pin 2; Logic probe (1) pin GND; Logic probe (2) pin GND
  • Resistor, 10k Ω (1) pin 2; NE555 timer pin DIS; Resistor, 10k Ω (2) pin 1
  • NE555 timer pin TRIG; NE555 timer pin THR; Resistor, 10k Ω (2) pin 2; Capacitor, 100 nF pin 1
  • NE555 timer pin OUT; Logic probe (1) pin TIP

Change it and keep it

Open it in the editor, change the circuit or the code, and keep your version in a free account.