BorePilot - ESP32-S3 Smart Borewell Pump Controller
BorePilot is an open-source controller board for a single-phase submersible (borewell) pump. An ESP32-S3 switches two relays, reads voltage, current, power and energy from a PZEM-004T module, watches two float switches and reports everything to Home Assistant over Wi-Fi with ESPHome. One board supports three displays (16x2 I2C LCD, I2C OLED or 128x64 ST7920), has START / STOP / MENU buttons, status LEDs and an optional buzzer. A Hi-Link HLK-5M05 makes the 5 V from the mains and USB-C is used for flashing and logs.
Why I made it
Pumps in my area run from a borewell and a tank. I wanted one board that starts and stops the pump from Home Assistant, shows live voltage, current and energy, and stops the pump when it runs dry, with real buttons and a display at the pump as a backup.
What it does
- Two SPDT relays (Songle SRD-05VDC-SL-C) with NO / COM / NC on 5.08 mm screw terminals: START and STOP for a contactor or a small pump.
- PZEM-004T v3 header: voltage, current, power, energy and frequency. Dry-run and over-current protection are planned in the firmware.
- ESP32-S3-WROOM-1U-N16R8 with an external antenna, Wi-Fi, ESPHome and Home Assistant.
- Display options on one board: 16x2 I2C LCD, I2C OLED or 128x64 ST7920. START / STOP / MENU / RESET / BOOT buttons, red status LED, optional buzzer.
- Two float-switch inputs and a spare GPIO header. Optional wireless tank-level node over ESP-NOW (see my TankPilot project).
- Hi-Link HLK-5M05 5 V / 1 A module, 470 uF bulk capacitor, SGM2212 3.3 V LDO, USB-C with ESD protection for programming.

The board
- 100 x 90 mm, 2 layers, 1.6 mm, four M3 mounting holes, 81 parts.
- Mains and relay contact tracks 1.5 mm, +5 V 0.8 mm, +3.3 V 0.6 mm, relay coil 0.5 mm, USB and signals 0.25 mm, ground pour on both layers.
- Two 8 x 1 mm slots around the coil pins of each relay, mains clearance goal 6.4 mm to the low-voltage side.
- Every connector pin and button is labelled on the silkscreen (NO, COM, NC, L, N, START, STOP, MENU, RESET, BOOT and more).
- DRC: 0 errors. The Gerber, BOM and pick-and-place files are attached to this project
.
Safety and status
The board switches 230 V AC. It has no on-board fuse or varistor (protect it upstream) and no protective earth through the PCB. Use low-voltage loads on the bench first, keep the terminals covered and have a qualified person review the mains section before you power it. The schematic is ERC clean and the PCB is DRC clean, but the board has not been built or tested yet and the firmware is not written ye
t.
Files and links
- GitHub (schematic, BOM, Gerber, pick and place, docs, build guides): https://github.com/ElectroIoT/ESP32-S3-BorePilot
- Gerber, BOM, pick and place file and the schematic PDF are attached to this project.
- Parts cost about 16 USD (LCSC listing prices, without the PCB and the PZEM module).
Next steps
Order a small batch, test with low-voltage loads, write the ESPHome firmware (latched pump state, start-up grace time, hysteresis, dry-run guard) and publish the test results.
BorePilot - ESP32-S3 Smart Borewell Pump Controller
Project images are for reference only. Actual production is based on the manufacturing files on the project page.
Please review the designer's notes (e.g., PCB thickness) and select the appropriate options.
PCBWay is not responsible
for issues caused by unsuitable parameter selections.
For more important ordering information, please refer to
Read More
Raspberry Pi 5 7 Inch Touch Screen IPS 1024x600 HD LCD HDMI-compatible Display for RPI 4B 3B+ OPI 5 AIDA64 PC Secondary Screen(Without Speaker)
BUY NOW- Comments(0)
- Likes(0)
- 0 USER VOTES
- YOUR VOTE 0.00 0.00
- 1
- 2
- 3
- 4
- 5
- 6
- 7
- 8
- 9
- 10
- 1
- 2
- 3
- 4
- 5
- 6
- 7
- 8
- 9
- 10
- 1
- 2
- 3
- 4
- 5
- 6
- 7
- 8
- 9
- 10
- 1
- 2
- 3
- 4
- 5
- 6
- 7
- 8
- 9
- 10
More by MANORANJAN DAS
-
BorePilot - ESP32-S3 Smart Borewell Pump Controller
BorePilot is an open-source controller board for a single-phase submersible (borewell) pump. An ESP3...
-
EasyArduino
EasyArduino by ElectroIoTThe ultimate beginner’s board to learn, build, and master Arduino the easy ...
-
TankPilot: Smart Water Tank Level Node with Auto Pump Start (ESP32-C3)
TankPilot: smart water tank level node with automatic pump startTankPilot is an open-source ESP32-C3...
-
Dual-Channel 12V LED Dimmer with ESP32-S3 (Open-Source, 100W per Channel)
OverviewA dual-channel 12 V LED dimmer built around an ESP32-S3. Each channel switches up to 100 W (...
-
AutoBath: PIR Bathroom Light and Exhaust Fan Controller PCB (GD32, 230 V relays)
AutoBath is a small controller board for a bathroom. A PIR sensor sees you walk in, the light switch...
-
DotGlow V1: ESP32-S3 + USB-C + Speaker Board for an LED Matrix Clock
Get the DotGlow Android app on Google Play: https://play.google.com/store/apps/details?id=com.electr...
-
🚀 ESP & Arduino Universal USB Flasher (CH340C Based)
OverviewThis project is a universal USB-to-Serial flasher board based on the CH340C USB-UART bridge....
-
Advanced 4-Channel 5V Relay Module with Onboard LM2596 Power Supply
IntroductionRelay modules are essential in home automation and electronics projects, allowing microc...
-
DIY XL4015 5V/5A USB Power Supply – Perfect for Raspberry Pi & More
DIY XL4015 5V/5A USB Power Supply – Perfect for Raspberry Pi & MoreBuilding a reliable 5V power ...
-
7805 Voltage Regulator SMD
Story️ Project DetailsName: 7805 Voltage RegulatorType: Linear Voltage RegulatorInput Voltage: 7V to...
-
Multi-Voltage-Regulator-PCB-(12V-9V-5V-3.3V)
Multi-Voltage Regulator PCB (12V, 9V, 5V, 3.3V) Project OverviewThis project demonstrates the design...
-
7805 Voltage Regulator
Project OverviewThis project demonstrates how to build a simple Voltage Regulator using the 7805 int...
-
🔌 ESP32-C3-Based 8-Channel Smart Home Automation Relay Board
Detailed Project DescriptionThis project is a compact, powerful, and cost-effective 8-channel smart ...
-
ESP8266 NTP Clock with 16x2 I2C LCD Display
This project uses an ESP8266 NodeMCU to create a 12-hour format NTP clock with AM/PM, date, and day ...
-
ESP8266 Nodemcu 4 Ch Relay Module For IoT Project
OverviewThis project allows you to control four relays using an ESP8266 (NodeMCU) via the Arduino Io...
-
ESP32 Water Level Monitor And Automictic Motor Control 30A relay
ESP32 Water Level Monitor And Automictic Motor Control 30A relayUsed ESP32 ModuleOled DisplayUltraso...
-
4 CH Relay Module With ESP32 For Home Automation ,Alexa,Google Home
Hello All My FriendThis is Simple Easy To USE 4 Ch Relay Module With ESP32 SupportUse This Board For...
-
8Ch Relay With ESP8266 Wemos D1 Mini Work With Amazon Alexa And Google Home
This Project8Ch Relay With ESP8266 Wemos D1 Mini Work With Amazon Alexa And Google HomeSimple parts ...
-
-
-
-
AudioLink – USB & Bluetooth LE Audio / Auracast Receiver with Balanced Line Outputs (nRF5340)
281 0 1 -
-
-
-
Émetteur Récepteur Optique Expérimental (communication UART ATtiny + fibre optique)
359 0 1 -
-
SmallOLED - Live PC Stats, Animated Clocks & Audio Visualizer
1431 0 3







