PCB workspace
Design your own electronic product. Draw the circuit, lay out the board, program it, design its case, order it and solder it together.
- PCB workspace AdvancedPart workspace toolbar
| SchoolCAD | Onshape | Fusion | SOLIDWORKS |
|---|---|---|---|
| PCB workspace | Circuit board import (no PCB editor) | Electronics (EAGLE) | SOLIDWORKS PCB |
The PCB workspace takes a student from an idea to a working product they made themselves:
- Circuit: start from a sample or an idea, and draw the circuit.
- Test: switch the circuit on in the simulator and see what it does.
- Board: lay out a small 2-layer circuit board.
- Code (boards with a Raspberry Pi Pico): a starter program, written from the circuit, to change.
- Case: a starter case made to fit the board, opened in the Part workspace to redesign and 3D print.
- Order: one package for the teacher, who orders the boards from JLCPCB and the parts from LCSC.
- Build: a step-by-step soldering guide made for that board, then test it.
A strip across the top of the Guide shows these stages, which are done, and what comes next.
It is laid out like KiCad, with KiCad's colours, names, menus and keyboard shortcuts, so students who learn it here can move on to KiCad. It is SchoolCAD's own program, not KiCad. The footprints (the copper pads for each part) come from KiCad's libraries.
It opens in a new tab. Everything happens in your browser.
Open it#
- Click PCB at the top of the screen, next to Part workspace and Quick design. It is always there, in Standard and Advanced. Click it again later and it switches back to that tab, just as you left it.
- On the welcome screen (or Documents), More workspaces › Open PCB.
- In the Part workspace, switch to Advanced and click PCB (in the Transform ▾ group on the toolbar).
- Or go straight to app.schoolcad.com/pcb.
The first time, choose a sample circuit, or a blank one. The Guide on the left takes students through each stage, one step at a time. Underlined words open a short explanation.
| Sample | What it is | Level |
|---|---|---|
| Your name in lights | Initials or a first name spelt out in LEDs: a badge, desk sign or bag tag | Beginner |
| Plant water alarm | An LED lights when a pot plant's soil is dry; two nails in the soil are the sensor | Beginner |
| LED torch | Three AA batteries, a switch and two white LEDs | Beginner |
| USB night light | Turns two LEDs on when it gets dark: a light sensor and a transistor, powered by USB | Intermediate |
| 555 LED flasher | Two LEDs flashing in turn, from the classic 555 timer chip | Intermediate |
| Pico 2 W IoT starter | A Raspberry Pi Pico 2 W in sockets, with an LED, a button, a buzzer and a light sensor, ready to program for Wi-Fi projects | Advanced |
| Blank | Design your own | Any |
The stages#
The tabs across the top are the stages, in order.
| Tab | What happens |
|---|---|
| Schematic | The circuit diagram: which part joins to which. |
| Test | The circuit working: current flowing, LEDs lighting, and what it will do. |
| PCB | Where each part sits on the board, and the copper tracks between them. |
| Code | The starter program. Shown when the circuit has a Raspberry Pi Pico. |
| 3D and case | The board with its parts and a starter case, to check and take into the Part workspace. |
| Make it | The checks, a preview of the factory files, and the download for the teacher. |
| Assembly guide | Step-by-step soldering instructions, to view, print or save as a PDF. |
Your name in lights#
Choose Your name in lights and type your initials or a short name, so the board stays within 100 × 100 mm, JLCPCB's cheapest size: up to four letters or numbers with 3 mm LEDs (the default), or three with 5 mm LEDs. Pick the LED colour (red, green, blue or white). SchoolCAD shows the letters in dots, works out how many LEDs and resistors that takes, how big the board will be and how long the battery will last, and then makes the whole design:
- the schematic, with every LED joined correctly. The LEDs in each row of a letter are joined in a chain (in series) that shares one resistor, run from a 9 V battery: + → switch → resistor → LED → LED → LED → GND. A red LED uses about 2 V, so a whole row of three is one chain. Green, blue and white LEDs use about 3 V, so two fit in a chain, and a row of three needs a second chain with its own resistor.
- the board, with the LEDs in the letters' shapes on an even grid, each chain's resistor lying flat in the gap beside its letter, the tracks routed and the ground plane filled.
It passes the checks as it stands, so a student can order it as it is, or change it: their own letter shapes, a board shaped like a shield or a tag, a logo on the silkscreen.
Each sample opens with How this circuit works in the Guide, and comes with Make it your own ideas (a different LED colour, another button, a different speed), so students change the circuit rather than copy it.
Schematic#
| Key | Tool |
|---|---|
| A | Add a symbol: the parts library, with a picture of each part's symbol and footprint, what it does and its LCSC part number |
| P | Add power: +5V, +3V, +3V3 and GND labels. Every label with the same name is joined |
| W | Wire: click the end of a pin, click to turn corners, click another pin to finish. / changes the corner direction |
| L | Net label: joins wires by name without drawing them |
| Q | No-connect flag, for a pin you mean to leave empty |
| E or double-click | Edit a part: its value (68Ω, 10µF…), and pin count for headers |
| R | Rotate |
| Del | Delete |
| F8 | Update the PCB from the schematic |
Inspect › Electrical rules checker (ERC) finds pins with nothing on them, an LED without a resistor, a battery joined to itself, and a USB-C socket (Advanced) missing the resistors that make a charger switch on. Click a problem to go to it.
The LED resistor calculator in the Guide works out the resistor for an LED with Ohm's law, and shows its colour bands.
Test#
The Test tab switches the circuit on before anything is made. It works out the voltage on every wire and the current through every part, many times a second:
- Moving dots show the current flowing along the wires: faster dots mean more current.
- LEDs glow in their own colour, brighter with more current. Capacitors charge, the 555 timer flashes, the transistor switches, the buzzer beeps (turn Sound on to hear it).
- Click a slide switch to flick it. Hold a push button to press it. Sliders set the light on a light sensor and turn a trimmer.
- Point at a wire for its voltage and current, or at a part for the voltage across it and the current through it, like a multimeter.
What it does is worked out by trying every switch position: "D1 lights when it is dark", "D2 flashes about 1.5 times a second". Students check it against what they meant the circuit to do.
Problems finds the faults that would cost a new board, and for each one says what is wrong, why that stops the circuit working, and how to fix it, with the sums where they help ("Change R1 to about 100 Ω: 4.5 V − 3.0 V = 1.5 V across the resistor; 1.5 V ÷ 0.015 A ≈ 100 Ω"). Pointing at a problem rings the part on the drawing, and Go to … in the schematic takes the student to it. It finds:
- an LED that would burn out, is in backwards, has a leg on nothing, gets too little current to be seen, will be dim, or has too few volts for its colour
- a short circuit, a resistor that would overheat, an electrolytic capacitor in backwards
- a transistor that never switches on, is always on, has no base resistor, or has a leg on nothing
- a 555 that does not flash, and which pin is the reason (RESET, pins 2 and 6 not joined, no timing capacitor, DISCHARGE), or that flashes too fast to see
- a switch or sensor that changes nothing, a + label that nothing powers, no power at all
- too much current from a Raspberry Pi Pico pin, or too many volts into one
When one fault causes others, only the cause is listed ("This is why D1 and D2 never come on"). Make it will not give the download while the test finds an error.
On a board with a Raspberry Pi Pico, the Pico's pins do what SchoolCAD's starter program does (see Code), or each pin can be set high or low by hand. The Pico's processor is not emulated, so a student's own changes to the program are not run here: that is done on the real Pico with Thonny.
Through-hole only#
Through-hole parts have legs that go through holes in the board, which makes them easy to solder by hand. View › Through-hole only is on for every new design. The library still has a few surface mount parts (marked SMD) for advanced students; with the mode on, SchoolCAD warns before they are used.
PCB#
| Key | Tool |
|---|---|
| X | Route a track: click a pad, then click the pad at the end of the white ratsnest line. The track finds its own way round pads and other tracks, with 45° corners. Click along the way to choose the corners yourself. Double-click ends a track where it is; Esc cancels it |
| V | While routing: drop a via and carry on on the other side |
| PgUp / PgDn | Top (F.Cu, red) / bottom (B.Cu, blue) layer |
| Backspace | While routing: take back the last corner |
| B | Fill the zones (the ground plane) |
| H | Mounting hole (M3) |
| T | Text on the silkscreen |
| Place › Logo or artwork | A logo, or a name in any font, on the silkscreen |
| U | Select the whole of a track (or double-click it) |
| R | Rotate the selected part |
| Home | Zoom to fit |
Drag parts onto the board. The dashed outline round each part (its courtyard) should not overlap another. To keep parts evenly spaced, set the Grid box on the toolbar (0.635, 1.27, 2.54 or 5.08 mm): parts snap to it as they are dragged. Drag a box on empty board to select several parts (Shift adds to the selection), then use Line up in a row, Line up in a column, Space evenly across and Space evenly down (Properties, or the Edit menu). Dragging one selected part moves them all.
Tracks stay joined to a part's pads when it is moved or turned; run the DRC afterwards, as a stretched track can end up too close to something.
- Place parts for me packs the parts on the board.
- Route for me (the autorouter) routes the tracks. It may leave a connection or two on a crowded board for the student to route by hand.
- Ground plane fills the bottom of the board with copper joined to GND, so the GND connections need no tracks.
- Board setup sets the size, shape, corner radius and colour of the board.
- Inspect › Design rules checker (DRC) checks the gaps between copper (0.25 mm), track widths, holes, the board edge, and anything not yet connected.
A logo, a name or other artwork#
Place › Logo or artwork (the picture button on the right) puts a drawing on the silkscreen:
- Draw it in the Vector workspace: design a logo or write a name in any font, then choose File › Use in SchoolCAD there. Come back to the PCB tab and it is waiting to be put on the board.
- Use a picture or drawing file: an SVG, PNG or JPEG. A scanned pencil sketch works well.
The drawing is traced exactly as it looks, so fonts and line thicknesses come across. Drag it into place, turn it with R, and set its Width and Side (top or bottom) in Properties. Edit in the Vector workspace sends it back to be changed.
The silkscreen prints in one colour, so anything that is not white counts as ink. Ink is kept off the solder pads automatically. The DRC warns when lines are thinner than 0.15 mm, the narrowest a factory prints: make the artwork wider or bolder.
Tools › Finish it for me places, routes and fills the whole board, as a worked example. Students learn more by doing it themselves, and it can be undone.
Code#
When the circuit has a Raspberry Pi Pico, the Code tab appears. SchoolCAD reads the schematic to see what is on each of the Pico's pins (an LED, a button, a buzzer, a light sensor, an I²C socket) and writes a starter program in MicroPython that names each one, tries it once, and then runs a simple loop. Every line has a note. It changes when the schematic changes.
The page lists what is on each pin, shows the program (Download main.py or Copy), and gives the steps to load it with Thonny, the free Python editor. Students can do this before the boards arrive: a Pico on its own runs the program and flashes its own LED. The program ends with ideas for first changes.
3D and the case#
The 3D view shows the board with its tracks, pads and silkscreen, and 3D models of its parts. The mouse works as it does in the Part workspace: drag to turn it (right round to the underside), Ctrl+drag, Shift+drag or the middle button to move it, scroll to zoom. The Case brief beside it gives the board size, the tallest part, the mounting holes, and the openings the case needs (the USB socket, LEDs, buttons).
Show the starter case adds a plain case made to fit: a tray with a screw post under each mounting hole and a slot for the USB socket, and a lid with a hole over each LED, button and sensor. It leaves 0.5 mm round the board and 2 mm above the tallest part. Add mounting holes on the PCB tab to get posts.
Open in SchoolCAD opens the board, its parts and the starter case in the Part workspace as a new design, each a named part. The board keeps its looks: its top and underside come across as decals showing the tracks, pads and silkscreen. The lid starts hidden so the board is seen first (click its eye in the Parts list). The starter case is plain on purpose, and making it their own is the design task: round the corners with Fillet, add a Lip so the lid stays on, cut a name or logo into the lid, change its shape, or model a new case round the board. Then use 3D print. Download STEP saves the same model as a file.
Make it#
Make it checks the design before anything can be downloaded:
- the schematic passes the ERC
- every part is on the board and inside its edge
- every connection is routed
- the board passes the DRC
It also suggests mounting holes, the student's initials on the board, and a board within 100 × 100 mm (JLCPCB's cheapest size). It then shows each layer drawn from the factory files themselves, so what you see is what will be made.
Download teacher package gives one .zip, named after the student and the project:
| File | What it is for |
|---|---|
1-ORDER-THIS-ON-JLCPCB.zip | The Gerber and drill files, with KiCad's file names. Upload this one file at jlcpcb.com |
2-Parts-for-LCSC.csv | The parts list, with LCSC part numbers, for lcsc.com's BOM tool |
3-Board-3D-model.step | The board and its parts, for the case |
4-Design.schoolcad-pcb | The student's design (File › Open in the PCB workspace) |
5-Assembly-instructions.pdf | The soldering guide |
6-main.py | The starter program (boards with a Pico) |
README-for-the-teacher.txt | The JLCPCB order settings to choose, and the checks that passed |
For the teacher: ordering#
- At jlcpcb.com, choose Order now and upload
1-ORDER-THIS-ON-JLCPCB.zip. JLCPCB reads the size and layers from the files. - Leave the settings as they are, apart from those in the README: 2 layers, 1.6 mm, green, LeadFree HASL, 5 boards, no assembly.
- At lcsc.com, upload
2-Parts-for-LCSC.csvto the BOM tool, and check stock. Resistors have their manufacturer part numbers; where a value has no LCSC number yet, the BOM tool finds it from the part number.
Combining several students' orders in one JLCPCB cart keeps the postage down.
Assembly guide#
The guide is made from the design: a cover with the 3D board, tools and safety, how to make a good joint, a parts checklist with resistor colour bands, the schematic and the board, then the parts in soldering order (lowest first), each step showing exactly where its parts go and which way round. It finishes with how to test the board and what to do if it does not work.
View it on the Assembly guide tab, print it, or download it as a PDF. It is also in the teacher package.
Parts#
Every part is a standard through-hole part that can be bought cheaply from LCSC: resistors, ceramic and electrolytic capacitors, LEDs, diodes, an NPN transistor, the 555 timer (in a socket), push buttons, a slide switch, pin headers, screw terminals, a JST battery connector, a full-size USB-B power socket, a trimmer, a light sensor, a soil probe (two nails on a screw terminal) (LDR), a buzzer, wire pads for a battery pack, and the Raspberry Pi Pico 2 W.
There are no coin cell (button battery) parts: they are dangerous if a small child swallows one. Battery circuits use a pack of AA cells on wire pads, or USB power.
The Raspberry Pi Pico 2 W is the choice for bigger projects (Wi-Fi, sensors, IoT). It sits in two 20-pin sockets, so it can be taken out and reused, and is programmed in MicroPython. The Pico W (LCSC C7203003) fits the same sockets.
USB power uses the full-size USB-B socket (the square one on printers and Arduino boards): big pins that are easy to solder, and no extra parts. It takes a USB-A to USB-B cable. A USB-C socket is in the library for advanced students: its pins are fine and close together, and it needs two 5.1 kΩ resistors.
Licences#
The footprints are from the KiCad libraries, by the KiCad Library contributors, under CC-BY-SA 4.0 with the KiCad libraries exception: boards designed with them, and their Gerber files, are free of the licence. SchoolCAD PCB is not affiliated with or endorsed by the KiCad project. Help › About and licences in the PCB workspace has the details.