Examples
Each schematic below was rendered from its downloadable JSON netlist. Download a file, then run:
circuit validate FILE.json
circuit render FILE.json -o FILE.svg
Validation checks the netlist and available electrical rules. It does not simulate the circuit or guarantee electrical safety.
Battery, resistor, and LED
A 9 V battery drives a red LED through a 360 Ω resistor. This shows a complete supply and return path.
Download led.jsonRC low-pass filter
A resistor and capacitor form a first-order filter. At 1.6 kΩ and 100 nF, its ideal unloaded cutoff is about 995 Hz. The output is their junction.
Download rc_low_pass.jsonFull-wave bridge rectifier
Four diodes steer both halves of an isolated low-voltage AC input through a load resistor. The output is pulsating DC; there is no smoothing capacitor.
Download bridge_rectifier.jsonTransistor LED switch
A switch feeds an NPN transistor's base through a resistor. The transistor controls LED current; a pull-down resistor keeps the base low when the switch is open.
Download transistor_switch.jsonUnbalanced Wheatstone bridge
Four resistors make two divider branches, with a fifth joining their midpoints. The chosen ratios differ, so current can flow through the middle resistor.
Download wheatstone.jsonNon-inverting op-amp amplifier
An op-amp with +/-9 V supplies and a feedback divider has an ideal gain of 11. A 100 mV input would give about 1.1 V in an ideal linear amplifier. A real op-amp must support the chosen rails and signal range.
Download noninverting_opamp.jsonNE555 astable oscillator
An NE555, two timing resistors, and a 10 µF capacitor form an astable oscillator. The standard approximation gives about 0.69 Hz; the LED follows its output.
Download ne555.jsonArduino Uno with I2C sensor and LED
The Arduino shares 5 V and GND with a custom sensor, uses A4/A5 for I2C, and drives an LED from D9 through 330 Ω. This assumes a 5 V-compatible module with suitable I2C pull-ups fitted; otherwise add pull-ups and any required level shifting.
Download controller.json