linjiejim/ohmwork
About
Interactive electronics classroom: learn circuits through hands-on simulations you can experiment with.
Learning & EducationMeasured 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
OriginalOhmwork
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.

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.

![]() |
![]() |
| 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.
![]() |
![]() |
| 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 |
![]() |
![]() |
| 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.

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.

![]() |
![]() |
| 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.

Contents
Five parts, 13 chapters and 57 lessons, listed in src/curriculum/curriculum.ts:
- Circuit basics: electricity basics, basic components, AC and signals
- Semiconductors and analog: semiconductor devices, analog circuits, power supplies
- Digital, microcontrollers and sensors: digital circuits, microcontrollers and buses, sensors
- Wireless and real design: RF and wireless, reading schematics, circuit and PCB design
- 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…







