Roborear

KiCad Tutorial: KiCad PCB Routing | Trace Width, Design Rules, Copper Zones & DRC · Lesson 4 of 6

KiCad Tutorial: KiCad PCB Routing | Trace Width, Design Rules, Copper Zones & DRC

Loads from YouTube when you press play, and YouTube may then set cookies. Watch on YouTube

Now the ratsnest becomes real copper. You choose a track width, route the board, use a via, fill a ground zone, add your name and logo, and finish with a clean Design Rules Check.

What you will be able to do

  • Decide how wide a track should be.

  • Route on two layers and join them with a via.

  • Fill a ground zone.

  • Use DRC as a to-do list.

  • Put your own logo on the silkscreen.

Track width: physics first, factory second

A wider track carries more current with less heating. For this LED board the current is only a few milliamps, so the calculated minimum is far thinner than any factory can make. The factory’s limit decides here, not the current. JLCPCB listed about 0.1 mm as its minimum for 1 oz copper when I recorded this; check the current value before you order. I used 0.2 mm, and 0.5 mm from the battery.

About the simulation: LTspice gave 10.4 mA because I used its generic diode, which drops about 0.7 V. A real red LED drops about 2 V, so the real current is nearer (3 − 2) ÷ 220 ≈ 4.5 mA. The method is right; use a realistic LED model.

NetWidth hereOn a robot
Signals0.2 mm0.2–0.25 mm
Battery0.5 mm1 mm or more, from a calculator with the real current
GroundZoneZone on both layers

Shortcuts for this lesson

KeyWhat it does
XStart routing a track
VPlace a via while routing
WSwitch to the next track width
BFill all zones

Vias

A via is a plated hole that joins copper on different layers. Start a track on the front, press V, and continue on the back. A through-hole pad is already plated, so it connects both sides by itself.

A via joining a red front-layer track and a blue back-layer track between a resistor and an LED
Red is front copper, blue is back copper, and the via joins them.

Ground zone

  1. Select F.Cu and the zone tool.

  2. Choose the net GND.

  3. Draw around the board and close the shape.

  4. Press B to fill it.

The zone connects to every GND pad and keeps its distance from everything else. If parts move, press B again before you export.

Filled red ground zone with a gap around the resistor and a connection to the LED ground pad
The zone leaves a gap around other nets and joins the LED’s GND pad.

Design Rules Check

Run Inspect → Design Rules Checker often. At first it reports unrouted pins. At the end it must show 0 errors. DRC checks distances, widths and connections. It can’t know that you chose the wrong part.

Your logo on the board

  1. Convert a simple black-and-white image to BMP or PNG.

  2. Open Image Converter in the Project Manager, set the threshold and the size (about 8–10 mm), and choose F.Silkscreen.

  3. Export it as a footprint into your project’s library folder.

  4. Add it in the PCB Editor and hide its reference text.

Finished board in the 3D Viewer with the Roborear logo and the text ROBOREAR PCB
The finished board with its silkscreen text and logo.

Common mistakes

  • Exporting with an old zone fill. Refill, then run DRC.

  • A logo on F.Cu instead of F.Silkscreen. It becomes copper.

  • Silkscreen on pads. It’s cut away in production.

Try it

Route the board again using only the front layer. Then add a GND zone on the back too, and compare the two in the 3D Viewer.

Lesson quiz

Routing, zones and DRC quiz

Optional quiz

5 questions · pass mark 60% · Unlimited attempts

Five quick questions to check what you learned. It's optional, and you can try as many times as you like.

Sign in to take this quiz

Quizzes are free with a Roborear account.

Sign in to save your progress and add this course to My Courses.