How laskakit/esplan works
ESPlan v2.1 is an industrial ESP32 development board; the README documents its power, wired networking, RS485, storage, and expansion interfaces. The repository also includes firmware examples for relay control and weather/wind sensing. The sampled Modbus implementations show RS485 serial transactions, but the example entry points’ wiring to their helpers was not excerpted, so those calls are not asserted. Hardware relationships below follow the README; firmware relationships are limited to those visible in sampled source.
Main entry points: ESPlan_RS485_Relay/mb_client.cpp Relay Modbus client · ESPlan_WeatherStation/mb_client.cpp Weather Modbus client · ESPlan_ZTS3000_WindSensor/mb_client.cpp Wind Modbus client
Components 20
Board hardware
- USB-C power
- Terminal power
- Optional PoE module
- Power rails
- ESP32 module
Connectivity and expansion
- Ethernet PHY
- RS485 transceiver
- microSD interface
- I²C, SPI, GPIO
Firmware examples
- Relay firmware
SW/ESPlan_RS485_Relay/ESPlan_RS485_Relay.ino - Weather firmware
SW/ESPlan_WeatherStation/ESPlan_WeatherStation.ino - Wind firmware
SW/ESPlan_ZTS3000_WindSensor/ESPlan_ZTS3000_WindSensor.ino
Firmware drivers
- Relay operations
SW/ESPlan_RS485_Relay/relay.cpp - Weather sensor logic
SW/ESPlan_WeatherStation/snr.cpp - Wind sensor logic
SW/ESPlan_ZTS3000_WindSensor/snr.cpp - Relay Modbus client
SW/ESPlan_RS485_Relay/mb_client.cpp - Weather Modbus client
SW/ESPlan_WeatherStation/mb_client.cpp - Wind Modbus client
SW/ESPlan_ZTS3000_WindSensor/mb_client.cpp
Other components
- Integrator
- Field devices
Connections 13
- Integrator → ESP32 module: integrates
README.md - USB-C power → Power rails: supplies 5V
README.md - Terminal power → Power rails: steps down
README.md - Optional PoE module → Power rails: feeds converter
README.md - Power rails → ESP32 module: powers
README.md - ESP32 module → Ethernet PHY: connects Ethernet
README.md - ESP32 module → RS485 transceiver: connects RS485
README.md - Field devices → RS485 transceiver: exchanges bus data
README.md - ESP32 module → microSD interface: uses SPI
README.md - ESP32 module → I²C, SPI, GPIO: exposes interfaces
README.md - Relay Modbus client → RS485 transceiver: writes serial frames
SW/ESPlan_RS485_Relay/mb_client.cpp - Weather Modbus client → RS485 transceiver: writes serial frames
SW/ESPlan_WeatherStation/mb_client.cpp - Wind Modbus client → RS485 transceiver: writes serial frames
SW/ESPlan_ZTS3000_WindSensor/mb_client.cpp