What is tscircuit?
tscircuit is an open-source electronics design toolchain. Write TypeScript and React components to create schematics, routed printed circuit boards (PCBs), 3D previews, and manufacturing files.
Your circuit is code: reuse a processor and RAM configuration across projects, generate repeated circuits with a loop, or review a board change in Git. Work in the browser, in your local editor, or with an AI assistant.
Try the browser editor or start a local project.
Design an RP2040 motor controller
This RP2040 motor controller by imrishabh18 combines a DRV8825 stepper-motor driver, separate USB-C data and USB-PD power ports, and winding-current and temperature sensing on a 42.30 × 42.32 mm, four-layer PCB. Its TypeScript project brings the controller, motor driver, power supplies, and sensing circuits into one board design.

Explore the source and all schematic sheets
Order your board
Export Gerbers, a bill of materials, and pick-and-place files to have your board fabricated and assembled. You can also export to KiCad, STEP, GLB, and SPICE, or arrange boards into a manufacturing panel.

An assembled RP2040 motor controller designed with tscircuit.
Start building
- In your browser: open the playground and explore community designs.
- In your editor: create a local project and preview changes with
tsci dev. - With AI: install the tscircuit skill for your assistant.
Learn the essential circuit elements, import real parts from JLCPCB, and combine automatic layout with manual placement and routing.