Open Hardware · Carrier Board v1
Sankhya Intelligence is a SaaS platform. The PCB is a commodity delivery mechanism — we publish it because our moat is longitudinal per-tree data and agronomic AI, not copper traces.
The intelligence layer compounds over time. The hardware doesn't need to.
Board renders
Designed in EasyEDA. Manufactured and assembled by JLCPCB. 2-layer FR4, approximately 100 × 80 mm. Gerbers, BOM with LCSC part numbers, and PickAndPlace file included in the download.




Form factor: 100 × 71 mm, 2-layer FR4 1.6 mm, RoHS compliant
Weight: ~25g (PCB only; ~400g with battery and dongle)
Operating temperature: −10°C to +70°C (extended range variants available on request)
Enclosure: 200 × 155 × 80 mm IP67 ABS weatherproof + cable glands + silicone sealant
Input: 12V LiFePO₄ battery (12.8V nominal, 6Ah, internal BMS)
Solar charging: 20W panel (12V nominal, Voc ≤22V, Isc ≤1.5A) with Schottky blocking diode
Autonomy: 15–20 days at midnight-to-sunrise monsoon with zero sun
Regulator 1: LM2596S 12V → 5V, 3A continuous, ≤0.5°C drift 0–60°C ambient
Regulator 2: LM2596S 12V → 3.3V, 3A continuous, for ESP32 & sensors
Switching losses: Combined 5V + 3.3V rails: ~2–3W @ full WiFi load
Battery monitor: INA219 current-sense on 12V rail; logs total consumed kWh, peak current, battery health via I²C
Processor: Espressif ESP32-S3-WROOM-1U (single-core at 240 MHz, dual-core variant available)
PSRAM: 8 MB octal SPI for large buffers (logging, JSON parsing, OTA staging)
Flash: 16 MB for firmware + OTA rollback + filesystem
WiFi: 802.11b/g/n, −10 to +20 dBm TX, connects to TP-Link repeater mesh or local hotspot
Antenna: External U.FL 2.4 GHz for above-canopy mounting; 5 dBi omnidirectional
Sleep current: 10 μA in deep sleep (RTC on, PSRAM retained)
Bus: RS-485 Modbus RTU (half-duplex), 4800 baud, 8/N/1
Transceiver: MAX485 / SP3485 with hardware direction control (GPIO5 drives DE+RE)
Termination: 120 Ω resistor at end of sensor chain; hardware switch for branch termination
Sensor capacity: Up to 3 sensors per node (RS-485 slave IDs 1–3), or daisy-chained with higher IDs
Sensor power: Switched 12V via Q1 (TPS1H100B), controlled by GPIO18 for power-down cycles
Sensor reading interval: Configurable 1–60 minutes (firmware selectable, typically 1 hour)
Dongle: Any USB-A 4G LTE modem with tethering (tested: Quectel EC200U-EU, Huawei)
Power path: USB-A 5V from LM2596S 5V rail, switched via Q2 (GPIO17)
WiFi hotspot: Dongle creates SSID; TP-Link repeater extends to all other nodes
Data plan: One SIM card, shared across entire orchard via WiFi mesh (single point of failure, by design)
Bandwidth: ~5 MB/month per 50 nodes with 1-hour reading interval + AI chat
Base: Arduino SDK 2.x, ESP32 board package 2.0.18
Flash method: USB-C Web Serial API at flash.sankhyafarms.com (no IDE, no drivers)
OTA updates: Cloudflare Workers `/ota/check` endpoint; nodes auto-update on boot if newer version exists
Firmware size: ~550 KB (Haiku AI inference offline on node via TFLite, fallback to server)
Rollback: ESP32 dual-OTA partition with automatic revert on failed boot
Reporting: POST to Cloudflare Worker endpoint; includes sensor readings, battery voltage, WiFi RSSI, uptime
Report format: JSON gzip-compressed for metered 4G
Cadence: 1 report per sensor reading cycle (typically 1/hour); optional longer intervals in battery-saver mode
Latency: Sub-second from WiFi to Cloudflare D1 database (no serial polling delay)
Data retention: 2 years of historical sensor data + images + agronomic insights in Sankhya dashboard
Installation: Weatherproof enclosure with cable glands for barrel jack, RS-485 sensor terminals, and antenna feedthrough. Mounting: wall-mount or pole-mount at orchard periphery for WiFi coverage and sunlight.
Sensors: ZTS-3002 7-in-1 (moisture, EC, pH, temp), JXC-LS-RS232 or equivalent RS-485 Modbus. See sensor compatibility list →
Sunlight: 20W panel provides 15–20 days monsoon reserve; plan for 4–6 hours peak sun/day in Patdi region (adjust for local climate)
Mesh network: TP-Link TL-WR845N repeater covers 4+ nodes per repeater in open orchard with line-of-sight to a master node running 4G hotspot
Enclosure sealing: Cable glands + silicone sealant prevent water ingress during irrigation spray. Inspect quarterly for mold/corrosion in monsoon.
For advanced debugging or custom sensor configurations, open a support ticket at sankhyafarms.com/contact
Interactive component map
Click any highlighted component to learn what it does and why it was chosen. Every part was selected for unattended field deployment in an agricultural environment.
Diagram is a schematic representation. For exact component placement see PCB layout tab above.
Enclosure planning
The PCB is compact but the battery and 4G dongle add significant volume. Plan your weatherproof enclosure before ordering. We use a 200 × 155 × 80 mm waterproof ABS enclosure with cable glands, sealed with silicone sealant.
Pin assignments
These are fixed by the copper traces. Your firmware must use these exact GPIO numbers — or use flash.sankhyafarms.com which generates correct firmware automatically for your sensor selection.
| Function | GPIO | Arduino label | Connected to |
|---|---|---|---|
| RS-485 RX | GPIO44 | D0 | MAX485 RO — Receive Output |
| RS-485 TX | GPIO43 | D1 | MAX485 DI — Data Input |
| RS-485 Direction (DE/RE) | GPIO5 | D2 | MAX485 DE + RE tied together |
| Sensor 12V switch | GPIO18 | D9 | Q1 gate — switches 12V to soil sensors |
| USB-A 5V switch | GPIO17 | D8 | Q2 gate — switches 5V to USB-A port |
| INA219 SDA | GPIO11 | A4 | Battery monitor I²C data |
| INA219 SCL | GPIO12 | A5 | Battery monitor I²C clock |
Platform capabilities
The board is the edge. The intelligence lives server-side on Cloudflare's global edge and compounds with every season of data.
esp_https_ota() with automatic rollback on failure. Deployed nodes never need physical access for firmware updates.Ordering guide — JLCPCB
The download contains everything JLCPCB needs for a bare PCB or fully assembled (PCBA) order. A video walkthrough is coming — follow these steps in the meantime.
Download Sankhya_Intelligence_PCB_Gerbers v1 41526.zip and extract it. Inside you will find three files: Gerbers.zip, BOM.csv, and PickAndPlace.csv.
Go to jlcpcb.com → Quote Now → upload Gerbers.zip (the inner zip, not the outer one you just extracted). JLCPCB auto-detects board dimensions. Select: 2 layers, FR4, 1.6 mm thickness, HASL surface finish, your preferred quantity.
5 boards typically cost under $10 + shipping. Minimum order is 5 pieces.
Toggle PCB Assembly on the same order page. Upload BOM.csv and PickAndPlace.csv when prompted. JLCPCB will source and solder all SMD components from LCSC. Through-hole parts (terminal blocks, barrel jack, USB-A port) are not assembled by PCBA — you solder those yourself.
The Waveshare ESP32-S3-Nano is not included in the PCBA — it sockets into the board after delivery.
The Nano plugs into the 2×female 2.54 mm headers on the back of the board. Solder it in — friction fit alone will fail under vibration and thermal cycling in a field enclosure. Use the Waveshare ESP32-S3-Nano specifically — pin spacing and GPIO numbering differ from other Nano-form-factor modules.
Visit flash.sankhyafarms.com, connect via USB-C, select your sensor configuration, and flash. Then register the node with your Sankhya Intelligence account to begin continuous per-tree soil data collection and AI analysis.
Frequently asked questions