Sankhya Farms / Open Hardware / JLCPCB walkthrough
Open Hardware · Manufacturing
JLCPCB PCBA
walkthrough.
A step-by-step walkthrough of ordering the Sankhya Intelligence v4 carrier board from JLCPCB, fully assembled. Covers the three files JLCPCB needs, the surface-finish and quantity choices that actually matter, the peripherals you connect once it arrives, the first-flash sequence, and a realistic delivered cost.
01
Why JLCPCB for low-volume production.
JLCPCB occupies a specific sweet spot for projects like this one. For a two-layer board with surface-mount components and modest volumes — anywhere from 5 to 500 units — there is no other fabrication-plus-assembly house that comes close on cost-per-finished-board. Bare-PCB-only options in India and China can be cheaper per unit, but bare PCBs do not solve the actual constraint, which is hand-placing 80+ small parts without reflow equipment.
The v4 carrier board ships from JLCPCB fully assembled, including all the through-hole connectors — the two DC barrel jacks, the TB_1 screw terminal, the USB-A port, and the two tactile buttons — so there is nothing left to hand-solder on arrival. Total turn-around from order placement to delivered boards is typically 10–14 days to most countries.
02
The three files JLCPCB needs.
For a turn-key assembly order, JLCPCB needs three files. They are all in the Sankhya-v4.zip download:
- Gerber zip — the manufacturing files for the bare board. Inside the outer zip there is an inner
Gerber_V4-ESP32_PCB_V4-ESP32_*.zip. Upload the inner zip, not the outer one. JLCPCB's DFM checker will reject the outer zip with a confusing error. - BOM (Bill of Materials) — a CSV listing every component, its quantity, its reference designators, and its LCSC part number. JLCPCB's assembly service draws components from LCSC's catalogue, so every entry must have a valid LCSC part number — not a generic part name, not a Mouser part number.
- Pick and Place (CPL) — a CSV listing the XY coordinates, rotation, and side (top or bottom) for every component the assembly line will place. This is what tells the pick-and-place machine where each part goes.
All three files in the v4 download are pre-validated. JLCPCB's DFM checker should report zero errors on the v4 board. If it reports any, stop and re-download — the file format is sensitive to whitespace and column ordering that some text editors silently mangle.
03
Step 1 — Upload the Gerber zip.
Go to jlcpcb.com and click Quote Now. Drag the inner Gerber zip onto the upload area. JLCPCB will auto-detect the board dimensions — for the v4 board, this is 60 mm × 80 mm.
Set the following parameters explicitly:
- Layers — 2. (The v4 board is intentionally two-layer to keep cost low.)
- Material — FR-4. (Default.)
- Thickness — 1.6 mm. (Default.)
- Surface finish — ENIG (gold). Not HASL. HASL is cheaper but leaves uneven pads that cause assembly defects on fine-pitch parts like the ESP32-S3 module's castellations. ENIG adds roughly $5–8 per order — pay it.
- Soldermask — green. (Any colour works; green is fastest and cheapest.)
- Silkscreen — white. (Default.)
- Quantity — 5 is the minimum. 10 is the common sweet spot — only marginally more expensive, gives you spares and a chance to test variations.
Leave everything else at defaults. Specifically, do not enable Castellated holes, Edge plating, or Impedance control — none of them apply to this board.
04
Step 2 — Enable PCBA (assembly).
Scroll down on the quote page and toggle PCB Assembly on. Select:
- Assembly side — Both sides. (The ESP32-S3 module sits on the bottom side; everything else is top.)
- Tooling holes — Added by JLCPCB. (Default.)
- Confirm parts placement — Yes. (Free service; lets a JLCPCB engineer flag any obvious BOM-PnP-Gerber mismatch before the line starts.)
- PCBA Qty — match the PCB quantity, or set to the number of boards you actually want assembled. Some people order 10 bare PCBs but only have 5 assembled, to keep spares in case of revisions.
The BOM and CPL you upload in this step are not split by mounting type — BOM_V4.csv and PickAndPlace_V4.csv already include the through-hole parts (the two DC barrel jacks, the TB_1 screw terminal, the USB-A port, and the two tactile buttons) alongside every SMD part. There's no separate request or extra toggle for through-hole assembly; the single PCB Assembly selection above covers all of it. The boards that arrive need nothing further soldered.
Click Next. JLCPCB will prompt you to upload the BOM and the CPL (Pick and Place). Upload BOM_V4.csv and PickAndPlace_V4.csv respectively. JLCPCB's online tool will parse them and show you a preview of every part it intends to populate, with a placement preview overlaid on the board outline.
Review the preview carefully. The two failure modes to look for are parts rotated 180° (compare the PnP rotation against the silkscreen orientation marker) and parts marked Do Not Place that should be placed. If anything looks wrong, stop and contact JLCPCB support — do not push through and hope.
05
Step 3 — Review and checkout.
JLCPCB will show a final order page with:
- PCB cost per piece
- PCB assembly setup fee (one-off, around $8–12)
- Stencil fee (required for assembly, around $8–10)
- Component cost per board
- Shipping (DHL Express to most countries is 4–7 days; standard shipping is 10–14 days)
For ten fully assembled boards, the total typically lands in the $150–220 range delivered, depending on shipping mode. The dominant variable is shipping; the boards themselves are roughly $8–10 each in the 10-piece quantity.
Pay with card. JLCPCB will email you when the order enters production, when it ships, and when it clears customs in your destination country. The whole pipeline is well-instrumented and rarely surprises you.
06
Step 4 — Connect your peripherals.
When the boards arrive, everything is already populated and soldered — the SMT components, the ESP32-S3 module, and the through-hole connectors (the two DC barrel jacks, the TB_1 screw terminal, the USB-A port, and the two tactile buttons). There is nothing left to solder. What's left is connecting the peripherals that turn a bare board into a working node.
RS-485 sensors connect to the TB_1 screw terminal. See RS-485 Modbus soil sensor wiring for the exact pinout, baud rates, and termination across each supported sensor family.
Power comes in through the DC barrel jack, which is 5.5 mm OD, 2.1 mm ID. Your battery pack or power source needs to match that connector to plug in — a 5.5/2.5 mm plug, which looks identical at a glance, will not seat correctly.
The antenna attaches to the U.FL connector on the right edge of the ESP32-S3 module.
The 4G dongle plugs into the USB-A port — typically on a single designated gateway node per orchard, with other nodes connecting over WiFi to that node's hotspot.
07
Step 5 — Flash firmware.
The ESP32-S3 module ships from JLCPCB with no firmware. The carrier board exposes USB-C for programming — plug a USB-C cable from your computer into the USB-C jack on the board.
From the Arduino IDE, select board ESP32S3 Dev Module, set USB CDC On Boot to Enabled, set Flash Size to 16 MB, and set PSRAM to OPI PSRAM (the DOIT module uses octal-SPI PSRAM, not the more common quad-SPI). Hold the BOOT button on the carrier board, briefly tap RESET, then release BOOT — this puts the module into download mode. Upload the firmware.
After upload, tap RESET once and the module boots into the application. The first-boot serial output should announce the node identity (resolved from its MAC address against the server-side node registry) and attempt a WiFi connection.
A browser-based flash tool that uses the Web Serial API is in development at flash.sankhyafarms.com — that will eventually remove the Arduino IDE step entirely.
08
A realistic cost expectation.
For someone ordering this board for the first time from JLCPCB, in the 10-piece quantity, with ENIG finish and full PCBA, delivered DHL Express to India or most of Asia:
| Line item | Approximate cost (USD) |
|---|---|
| 10 × bare PCB, 2-layer, ENIG, 60×80 mm | $10–14 total |
| Assembly setup fee | $8–12 |
| Stencil | $8–10 |
| Components (10 boards × ~$8 each) | ~$80 |
| DHL Express shipping | $30–50 |
| Total delivered, 10 fully assembled boards | ~$140–170 |
That works out to roughly $14–17 per fully-assembled-and-shipped board. The cell pack, solar panel, enclosure, and external antenna are additional — figure another $35–45 per node for those. All-in deployed cost per orchard sensor node settles in the $50–60 range at this volume; it falls below $40 once you cross 50 units per order.
09
What to read next.
For the full board specification — schematics, BOM, GPIO map, and power architecture rationale — see /open-hardware or the GitHub mirror at github.com/shsa1984/sankhya-node-hardware. For sensor wiring once the board arrives, see RS-485 Modbus soil sensor wiring. For the power-budget rationale and component-choice reasoning, see ESP32-S3 solar-powered sensor node design.