peplow labs

KiCad 9 and ordering PCBs to Poland: notes and real costs

· 4 min read · #kicad #pcb #rp2040

Moved from the old blog in October 2026.

The temperature logger on my balcony ran last winter on a piece of perfboard with flying wires, and one of them broke in January at −12 °C. For this winter I made a proper board. It was also my first project in KiCad 9, which came out in February.

The BALKON-LOG v2 board, top side

BALKON-LOG v2, 100 × 62 mm, two layers. Pico on castellated pads, DS3231 RTC with a coin cell, 4-pin connector for the SHT40 cable.

Nothing special on it: a Raspberry Pi Pico soldered flat on its castellated pads, a DS3231SN real-time clock (so the timestamps survive a power cut), CR2032 holder, a JST-XH connector for the sensor cable and some passives. The Pico I solder myself, the passives and the RTC were assembled by JLCPCB.

KiCad 9, short notes

I came from KiCad 7, I skipped 8. Things I noticed:

  • Jobsets. You define once “Gerbers + drill + position file + BOM into this folder, then zip it” and run it with one click. Before, I had a text file with the export settings and still forgot the drill file once. The fab caught it, but it cost me a day. This alone is worth the update.
  • Embedded files. Fonts and datasheets can be stored inside the project file. I put the PDF of the DS3231 in, so when I open the project in five years the datasheet is there.
  • Zone manager. One dialog for all copper zones with their priorities. On a 2-layer board with two zones not a big deal, but it is clearer than before.
  • Annoying: the 3D models of my own footprints disappeared, because the path variable is now called KICAD9_3DMODEL_DIR and my footprints referenced KICAD7_3DMODEL_DIR. Fix: Preferences → Configure Paths, add the old name pointing to the same folder. Two minutes once you know it, twenty minutes before.

The design rules I use for JLCPCB standard 2-layer: 0.15 mm track and clearance (they can do 0.127, I don’t need it), 0.3 mm minimum drill, 0.6 mm via diameter. With these I never had a DFM complaint.

Position file for assembly

KiCad exports the position file as CSV with columns Ref,Val,Package,PosX,PosY,Rot,Side. JLCPCB wants Designator,Mid X,Mid Y,Layer,Rotation. The names are the smaller problem. The bigger one: for some packages their rotation zero is not the same as KiCad’s, and the part comes out turned by 90 or 180 degrees. In their preview before payment you can see it, if you look. I didn’t look for my first assembly order in 2022 and got five boards with a SOT-23 regulator turned around.

My script:

import csv
import sys

# footprint name prefix -> degrees to add for JLCPCB
ROT_FIX = {
    "SOIC-16W": 270,
    "SOT-23": 180,
}

def fix_rot(package, rot):
    for prefix, add in ROT_FIX.items():
        if package.startswith(prefix):
            return (rot + add) % 360
    return rot

src, dst = sys.argv[1], sys.argv[2]
with open(src, newline="") as f, open(dst, "w", newline="") as out:
    w = csv.writer(out)
    w.writerow(["Designator", "Mid X", "Mid Y", "Layer", "Rotation"])
    for r in csv.DictReader(f):
        w.writerow([r["Ref"], r["PosX"] + "mm", r["PosY"] + "mm",
                    "Top" if r["Side"] == "top" else "Bottom",
                    "%g" % fix_rot(r["Package"], float(r["Rot"]))])

The table of corrections grows with every new footprint. The values are what was right for my footprints, don’t copy them blindly, check the preview.

What it costs to get boards to Warsaw

Since July 2021 every package from outside the EU pays VAT in Poland, there is no small-value exemption any more. Below 150 € there is no customs duty, only the 23 % VAT. The question is only who collects it and what they charge for it. My three last orders:

Order Content Paid to JLCPCB Paid at delivery Door to door
Oct 2023 5 boards 50×40, 2 layers, no assembly, cheapest shipping 48.60 zł 0 11 days
Jun 2024 5 boards + stencil, DHL Express 156.20 zł 65.93 zł 5 days
Mar 2025 5 boards (BALKON v2), 2 assembled, tracked shipping 214.37 zł 0 13 days

In 2023 and 2025 the VAT was added at checkout, so the parcel came without any extra payment, the last one into a paczkomat. In June 2024 with DHL Express it was not. DHL sent an SMS with a payment link: 35.93 zł VAT plus 30 zł for their customs clearance service. That made the fast shipping really expensive for such a small order.

So my rule now: if the board is not urgent, take the shipping option where VAT is collected at checkout. Prices and options change, so look at the checkout page, not at my table.

All three orders were paid in dollars on a Polish card; the zł numbers are from my bank statement, so they include the bank’s exchange rate.

Did it work?

Yes, first time, which is rare for me. One mistake on the silkscreen: the pin labels for the sensor connector are in the wrong order compared with the cable I made. The copper is right, only the text is wrong. I’ll fix it in v3, if there is a v3. The logger is now on the balcony with the new board, and next spring I’ll write how the winter looked.

Questions or corrections: marek@peplow-labs.info. There are no comments here, but I read the mail.