ES32C14 Building a Wi-Fi and RS485 Remote Monitoring and Control System
Share
Many automation projects need to do more than switch a relay. They may need to collect analog sensor signals, monitor digital inputs, adjust a control signal, and communicate with other industrial devices.
ES32C14 Eletechsup combines these functions on an ESP32 expansion board, providing a flexible hardware platform for developers building remote monitoring systems, smart control applications, and compact PLC-style projects.
With Wi-Fi provided by a compatible ESP32 core board and an onboard RS485 interface, the ES32C14 can form the foundation of a system that connects physical equipment to custom software and network services.
1. What Makes the ES32C14 Useful?
The ES32C14 integrates several I/O functions into one expansion board:
-
4 relay outputs for switching compatible loads
-
4 opto-isolated NPN digital inputs for monitoring external signals
-
2 current inputs supporting 0/4–20 mA signals
-
2 voltage inputs supporting 0–5 V / 0–10 V signals
-
2 configurable analog outputs supporting voltage or current output modes
-
1 RS485 interface for serial communication
-
ESP32 core board slot for user-programmable control and Wi-Fi connectivity
The board is available in 12 V and 24 V versions. A compatible 38-pin ESP32 core board is required; the ES32C14 is an expansion board, not a standalone controller.
These interfaces allow developers to combine sensing, switching, analog control, and communication without designing every circuit from scratch.
2. GitHub Inspiration: Connecting Modbus Devices to MQTT
A useful reference for this type of project is the open-source repository:
GitHub: Modbus-to-X
https://github.com/joachimda/modbus-to-x
This project demonstrates an ESP32-based architecture for communicating with Modbus RTU devices over RS485 and forwarding data to network services such as MQTT. It also illustrates how a web interface can simplify device configuration and monitoring.
The project uses its own hardware and firmware stack; it is not a ready-made ES32C14 integration. However, its architecture provides a useful reference for developers who want to build similar functions with the ES32C14.
A comparable application could follow this structure:
-
The ES32C14 reads its connected sensors and digital inputs.
-
The ESP32 firmware processes the measurements and control conditions.
-
Wi-Fi connects the application to a local network.
-
MQTT publishes selected measurements to a broker.
-
A dashboard displays the data and, if implemented, sends control commands back to the device.
The actual implementation requires suitable firmware, hardware pin mapping, and testing. MQTT, dashboards, and remote control are not automatically provided by the expansion board.
3. Application Example: Remote Analog Signal Monitoring
Many industrial sensors use current or voltage signals to communicate measured values.
The ES32C14 supports 0/4–20 mA current inputs and 0–5 V / 0–10 V voltage inputs, making it suitable for prototyping analog monitoring applications.
For example, a developer could connect a compatible pressure transmitter or another industrial sensor and use the ESP32 to convert the measured signal into an engineering value.
A typical workflow is:
-
Read the analog input.
-
Apply the sensor's scaling and calibration parameters.
-
Convert the raw measurement into a meaningful value.
-
Display the value locally or publish it through MQTT.
-
Trigger an alert if the measurement exceeds a configured threshold.
This approach can be adapted to pressure, flow, level, or other process measurements when the selected sensor provides a compatible signal.
The accuracy of the final reading depends on the board's measurement circuit, ESP32 ADC behavior, calibration, and the application firmware.
4. Application Example: Remote Relay Control
The four relay outputs can be used to control compatible external equipment.
For example, a developer could build a local web interface that allows an authorized user to switch lighting, ventilation, or other suitable loads.
A control sequence might work as follows:
-
A user sends a command through a custom interface.
-
The ESP32 receives the command over Wi-Fi.
-
The firmware checks the command and relevant operating conditions.
-
The selected relay changes state.
-
The software reports the resulting status.
Developers can add scheduling, interlocks, time delays, or automatic control rules in firmware.
For safety, the relay's actual load rating must be checked for the intended voltage and load type. Motor and other inductive loads may require additional protection, and mains wiring should be handled with appropriate electrical safety measures.
5. Application Example: Analog Output Control
The ES32C14 also provides two analog output channels, configurable for voltage or current output.
These outputs can be useful when a compatible controller or instrument accepts an analog command signal.
For example, a developer could calculate a setpoint in software and generate a corresponding output for a device that accepts 0–10 V or 0/4–20 mA.
Possible applications include:
-
Testing analog control logic.
-
Sending setpoints to compatible equipment.
-
Building sensor-feedback prototypes.
-
Combining analog measurement with closed-loop control experiments.
The voltage and current modes are configurable, so the required settings must be selected according to the hardware documentation. The output must also match the receiving device's input range and electrical requirements.
6. Application Example: RS485 Communication with External Equipment
RS485 is commonly used to connect controllers, meters, remote I/O modules, and other automation equipment.
With suitable ESP32 firmware, the ES32C14 can communicate with compatible RS485 devices while also using its local I/O resources.
For example, a prototype could collect local analog measurements, switch relay outputs, and exchange data with an external controller through RS485.
If the external device uses Modbus RTU, the firmware must implement the correct protocol, register mapping, baud rate, parity, and device address. RS485 is the electrical interface; it does not by itself guarantee Modbus compatibility.
For developers building an MQTT-connected monitoring system, this can provide a path between local field devices and higher-level software.
7. A Practical Development Workflow
For a new ES32C14 project, a step-by-step approach helps reduce debugging time.
Step 1 — Prepare the hardware. Install a compatible 38-pin ESP32 core board and select the correct 12 V or 24 V power version.
Step 2 — Test individual I/O functions. Begin with one digital input and one relay output. Then test analog inputs and outputs separately.
Step 3 — Develop the application firmware. Use an ESP32-compatible development environment such as Arduino IDE or ESP-IDF to implement the required control logic.
Step 4 — Add communication. Configure Wi-Fi and, if needed, MQTT. For RS485, implement and test the protocol required by the external device.
Step 5 — Validate the complete system. Check startup behavior, power cycling, communication loss, output states, sensor scaling, and protection requirements before connecting real equipment.
Eletechsup provides basic code for hardware testing. More advanced functions and application-specific integrations require development and verification by the user.
Conclusion
The Eletechsup ES32C14 combines four relay outputs, digital inputs, analog current and voltage interfaces, and RS485 communication with the flexibility of an ESP32-based platform.
It is a practical starting point for developers who want to build Wi-Fi monitoring systems, remote relay controllers, analog signal acquisition applications, or customized PLC-style automation projects.
Open-source projects such as Modbus-to-X demonstrate how ESP32, Modbus RTU, and MQTT can work together in a networked automation architecture. Although that repository does not directly support the ES32C14, its approach can help developers plan their own implementation.
Explore the ES32C14:
https://eletechsup.com/products/es32c14-expansion-board-with-relay-switch-for-arduino-plc-smart-home-dc-12v-24v-digital-analog-dac-adc-io-wifi-module
Related GitHub project:
https://github.com/joachimda/modbus-to-x
The GitHub project is an independent reference, not official ES32C14 software. Confirm the board revision, signal ranges, pin assignments, and external device compatibility before deployment.