Skip to content
Projects

About

Interactive electronics classroom: learn circuits through hands-on simulations you can experiment with.

Learning & Education

How these counts are measured

Measured star growth

in 24h
Collecting history
in 7 days
Collecting history
in 15 days
Collecting history
in 1 month
Collecting history

Net star changes over overlapping periods, not daily totals. Missing measurements are left blank. Stars measure attention, not software quality.

README.en.md

Original

Ohmwork

An interactive electronics course. Every idea comes with a small experiment you can drag, tune and watch move. It runs from voltage and current through semiconductors, microcontrollers, sensors, radio and PCB design, and ends by taking three real open-source boards apart, block by block. Beginners can go in order; people who already build things can jump back to a chapter.

The Ohmwork home page: drag the voltage slider and the current, Ohm's law and the I–V line change together

Try it: https://ohmwork.linjiejim.com/en · Contents · Developer docs (in Chinese) · Releases · 中文说明

The screenshots below are from the Chinese edition; every lesson, tool and reference page reads the same in English.

Why

Learning circuits usually means one of two kinds of material:

  • Textbooks: the pictures are static. "Voltage is like water pressure, current like the flow" reads fine, but it doesn't tell you what the other two quantities do when you change one.
  • Simulators: accurate, but you have to learn netlists, models and waveform viewers before you learn circuits.

The gap between them is where you want to nudge something and see what happens, without first becoming an engineer. Ohmwork tries to fill it. Every concept has a model you can play with: drag the voltage and the current, the formula and the I–V curve move together; RC filters come with a response curve you can retune; timing comes with waveforms you can line up; antennas, spectra and radio waves can be turned around in 3D. The schematics are drawn in SVG and the math is set with KaTeX, so everything stays sharp at any size.

What's in a lesson

  • A one-minute narrated animation opens each of the 57 lessons, with subtitles and a transcript. The narration is in Chinese for now, so it's hidden on the English pages.
  • Live experiments: sliders, switches and waveforms update the whole lesson at once. No screenshots, no embedded videos.
  • Computed, not drawn: every number on a picture comes from the formula in the component, and matches the worked examples in the text.
  • Quizzes: at least two multiple-choice questions per lesson, each with an explanation.
  • About ten minutes each: level and reading time are in the table of contents.
  • Works on a phone: the controls dock under the picture so you can drag and watch on one screen.

A lesson page: the table of contents and progress on the left, the narrated animation at the top, the page outline on the right

The RC filter bench: drag R, C and the input frequency; the Bode plot, cutoff frequency and output waveform follow The Ohm's law bench on a phone: circuit, I–V line and sliders on one screen
RC filter: drag R, C and the input frequency, switch between low- and high-pass; the Bode plot, cutoff and output waveform move together On a phone: the sliders dock under the picture

3D views

Where the third dimension is the point, a lab has a 2D / 3D switch in its title bar. Drag to turn the model; it opens from the same angle as the flat picture, then swings round. The 3D code loads only when asked for, so lessons don't get any slower.

A dipole's radiation pattern in 3D, a quarter cut away so the cut face is the flat polar plot A square wave's harmonics lined up along a frequency axis, their sum in front
Antennas: the pattern is a doughnut threaded on the wire, with a quarter cut away to show the flat plot on the cut; lengthen the antenna and watch it flatten, grow side lobes and split Spectrum: the harmonics in a row along frequency; from the front, the waveform they add up to; from the side, the spectrum
An electromagnetic wave: electric and magnetic field arrows at right angles, travelling along the axis Return current: the top layer lifted off the ground plane, the return detouring around a slot
Radio waves: the electric field swings up and down, the magnetic field side to side, both at right angles to the direction of travel; drag the frequency to see how many waves fit in a metre Return path: the top layer lifted off the ground plane; at high frequency the return runs right under the trace, and detours around a slot

There's one more in the motion-sensor lesson: a board you can turn around, with gravity split between the accelerometer's X and Z axes.

Teardowns

The last part takes open-source development boards with public design files (Arduino Uno, Raspberry Pi Pico, ESP32-DevKitC) and reads them block by block: predict first, then walk the schematic step by step, try the circuit, and find the same block on the official schematic.

A step-by-step schematic walk: press Next, the parts involved light up, and a sentence says why each is there

The board map at the top of each teardown also has a 3D view: the real board, built from the manufacturer's design files. Pick a block and the camera flies there, the other parts fade, and the way power and signals go lights up; click a part to see what it is and what it does. The LEDs light too: the Uno's ON LED stays on and its L LED blinks, as the factory Blink sketch makes it.

The Arduino Uno in 3D, Power block: the DC jack, USB, regulators, comparator and fuse lit, the 5 V copper glowing

The Raspberry Pi Pico in 3D, Power block: power from USB through D1 and the buck-boost chip to the RP2040 The ESP32-DevKitC in 3D: black board, WROOM-32E module, pin headers pointing down
Raspberry Pi Pico: built from the official STEP model, with the castellations, BOOTSEL and RP2040 where they really are; the power path is drawn as arcs between parts ESP32-DevKitC: built from Espressif's PCB layout, with pads, traces and silkscreen on both sides in place, and the module's antenna past the board's end

The Uno comes from Arduino's own board file: every trace, via, pour and line of silkscreen is where it really is, and what lights up is the real copper. How the data is taken from the design files: developer docs (in Chinese).

Reference pages

  • Toolbox: 12 everyday calculators (resistor color code, LED resistor, voltage divider, RC cutoff, LC resonance, decibels, frequency and wavelength, the 555…), each linking back to the lesson that teaches it.
  • Symbol guide: common schematic symbols, with the IEC and ANSI styles side by side.
  • Glossary: terms in Chinese and English, most linking to the lesson that teaches them.
  • ⌘K search: lessons, pages, tools and terms, in either language.

The toolbox, LED resistor: enter the supply, the forward voltage and the target current to get the resistance, the standard value, the actual current and the power

Contents

Five parts, 13 chapters and 57 lessons, listed in src/curriculum/curriculum.ts:

  1. Circuit basics: electricity basics, basic components, AC and signals
  2. Semiconductors and analog: semiconductor devices, analog circuits, power supplies
  3. Digital, microcontrollers and sensors: digital circuits, microcontrollers and buses, sensors
  4. Wireless and real design: RF and wireless, reading schematics, circuit and PCB design
  5. Teardowns: Arduino Uno, Raspberry Pi Pico, ESP32-DevKitC

No account needed: progress stays in your browser. Signing in (username and password, shared across Jim's courses through jim-learn) is optional and syncs it across devices.

Run it

npm install
npm run dev      # http://localhost:5273, English under /en
npm test
  • Developer docs: trying sign-in locally, checks, screenshot scripts, deployment, the 3D board data, the source layout, adding a lesson.
  • Authoring guide: lessons, labs, 3D views, narrated animations, teardowns, translations.
  • Design: how the design system is used, and the exceptions.

These docs are in Chinese.

Built with Vite, React 19, TypeScript, Tailwind CSS v4, MDX, KaTeX, three.js and jim-uiux.

License

MIT, including the lesson text and drawings. The exceptions are teardown material adapted from someone else's design, which keeps its original terms, stated at the end of each lesson: the Arduino Uno lesson's drawings and 3D board are CC BY-SA 4.0; Raspberry Pi publishes the Pico's design files with no limitations; the ESP32-DevKitC's originals carry no stated license, so they are linked, not reproduced.

Explore related projects

Loading…