Base carrier

v0.1 built, v0.2 designed. A shield that carries the sensor front end and plugs onto an off-the-shelf ESP32 board, which supplies the MCU, Wi-Fi and, on the LILYGO, the cellular modem. v0.1 is the one board in the lineage that has been fabricated. v0.2 is the next revision and has not been fabricated yet, and the files on this page are v0.2.

The carrier under a LILYGO T-SIM7080G-S3 on stacking pins, inside the white printed node case

The photo shows the fabricated board, a v0.1 with D2 removed, under a LILYGO T-SIM7080G-S3 in the node case.


Revisions

Revision What changed
v0.1 Came back from the fab, was assembled and tested. Testing found that D2, a BZT52C5V6 Zener, did not belong, and it was removed by hand. The board in the photo
v0.2 D2 removed from the design. Not fabricated yet. The revision to build

At a glance

   
CT current channels 2, differential, one per pump
CT connectors 3.5 mm jack or 3-pin JST XH, per channel
ADC 1x ADS1115
1-Wire 4 connectors on a single bus, plus a DS18B20 on the board itself
Base boards header sets for the LILYGO T-SIM7080G-S3 and the Freenove ESP32-S3 (FNK0085)
LoRa none
Protection TVS on every analog net and on the 1-Wire line, TVS and a resettable fuse on the power input
Board 76.2 x 63.5 mm, 4 layers, 4x 3.2 mm mounting holes

Bill of materials

The BOM lists 18 line items, 50 parts, every one with its LCSC part number. The pick-and-place file has 57 placements: the BOM leaves out the four ESP32 header sockets (U1_A1, U1_A2, U1_B1, U1_B2), the power connector PWR_IN and the JST alternatives for the CT inputs (J1B, J2B).

Part Qty Designators LCSC Role
ADS1115IDGST 1 U2 C468683 16-bit ADC for the two CT channels
DS18B20U 1 U3 C695836 Onboard temperature on the 1-Wire bus
PJ-307C 2 J1A, J2A C16684 3.5 mm jacks for the CT clamps
B3B-XH-A 4 J3A to J3D C144394 1-Wire probe connectors
SMAJ5.0CA 5 TVS2 to TVS6 C19077524 TVS on the four analog inputs and the 1-Wire line
SMBJ6.0A 1 TVS1 C3001967 TVS on the power input
BSMD1206-050-6V 1 F1 C883122 Resettable fuse on the power input
SS34 1 D1 C8678 Schottky diode on the power input
TS-1088-AR02016 2 SW1, SW2 C720477 Boot and reset buttons
KT-0805G 1 LED1 C2297 Status LED

The rest are 0603 and 1206 resistors and capacitors. The BOM file has all 18 lines with prices and stock as exported.


Connectors

Read off the netlist.

Connector Type Pins Goes to
J1A 3.5 mm jack (PJ-307C) contacts 1 and 5 CT 1, ADS1115 AIN0 and AIN1
J2A 3.5 mm jack (PJ-307C) contacts 1 and 5 CT 2, ADS1115 AIN2 and AIN3
J1B, J2B JST XH 3-pin, not in the BOM 1 3V3 through 100 Ω, 2 and 3 the CT pair Same inputs as J1A and J2A, for a sensor that wants supply
J3A to J3D JST XH 3-pin 1 GND, 2 DATA, 3 3V3 The one 1-Wire bus
PWR_IN JST XH 2-pin, not in the BOM 1 GND, 2 VCC Fuse F1, diode D1, then VSYS
U1_A1, U1_A2 1x16 sockets   LILYGO T-SIM7080G-S3
U1_B1, U1_B2 1x20 sockets   Freenove ESP32-S3 (FNK0085)

Each CT input is a differential pair: 100 Ω in series into the ADS1115, 10 kΩ from each input to a 1.65 V mid-rail (two 10 kΩ from 3V3), 100 nF across the pair and an SMAJ5.0CA from each input to ground.


Pinout

The ESP32 pins the carrier uses, and where they land on each base board.

Signal ESP32 GPIO LILYGO socket pin Freenove socket pin On the carrier
I2C SDA IO1 U1_A2-3 U1_B2-3 ADS1115 SDA, 4.7 kΩ pull-up
I2C SCL IO2 U1_A2-4 U1_B2-4 ADS1115 SCL, 4.7 kΩ pull-up
1-Wire IO9 U1_A1-8 U1_B1-7 22 Ω to the bus, 4.7 kΩ pull-up, TVS6, J3A to J3D and U3
Status LED IO21 U1_A2-14 U1_B2-17 LED1 from 3V3 through 1 kΩ, lit when IO21 is low
Boot button IO0 U1_A2-10 U1_B2-13 SW1 to GND, 10 kΩ pull-up
Reset button RST not on the LILYGO sockets U1_B1-19 SW2 to GND, 10 kΩ pull-up
Supply to the ESP32 board VSYS U1_A2-16 U1_B1-1 (5V) From PWR_IN through F1 and D1, SMBJ6.0A to GND
3V3 3V3 U1_A2-1, U1_A2-2, U1_A1-16 U1_B1-20 ADS1115, DS18B20, pull-ups, mid-rail

The ADS1115 has its ADDR pin tied to 3V3, so it answers at 0x49. SW2 resets only a Freenove, the LILYGO sockets carry no reset pin.


Firmware settings

The sensor pins are runtime config, not build flags. What the carrier needs in config.json:

Setting Carrier Firmware default
ads1115.i2c_sda, ads1115.i2c_scl 1, 2 1, 2, nothing to set
ads1115.address 73 (0x49) 72 (0x48), set it
ads1115.channels[].mux A0_A1 for J1A, A2_A3 for J2A  
temperature.pin 9 4, set it
Base board PlatformIO environment
LILYGO T-SIM7080G-S3 esp32-owb
Freenove ESP32-S3 esp32-s3-carrier: ADS1115 and DS18B20 on, no modem, PMU or SD

See Firmware Config for the full ads1115 and temperature blocks.


Files

All in base-carrier-v0.2/ on GitHub.

File What it is
base-carrier-v0.2.epro EasyEDA Pro project source
SCH_base-carrier-v0.2.pdf Schematic, 4 pages
PCB_base-carrier-v0.2.pdf Board layout
Gerber_base-carrier-v0.2.zip 4-layer Gerber and drill set, ready to order
BOM_base-carrier-v0.2.csv BOM with LCSC part numbers, tab-separated UTF-16
PnP_base-carrier-v0.2.csv Pick-and-place, 57 placements
netlist_base-carrier-v0.2.enet Netlist
3D_base-carrier-v0.2.step.zip STEP 3D model, zipped, for enclosure work

Licence: CERN-OHL-P-2.0. The carrier sits in the node case.