The ADA-PN100 is an ESP32-based device that generates S0 (countable) pulses from OBIS data read from the P1 port of smart meters. Its purpose is to provide compatible pulse signals from modern smart meter energy values to PLCs, measurement systems, data collectors, or SCADA systems.
In brief: P1 OBIS → processing → configurable duration (ms) and quantity (Wh/pulse) S0-like pulses on an isolated, potential-free PhotoMOS output (GAQY212GS).
What is it for?
Driving old S0 counters/PLC inputs from smart meter data.
Consumption/production pulse output (kWh-based), compatible with industrial 24 VDC digital inputs.
Phase-wise pulses (using three separate PN100 units)
1-0:32.7.0
Phase voltage L1 (V)
Counting voltage threshold events (for custom logic)
The ADA-PN100 firmware primarily outputs kWh-based pulses but can read arbitrary OBIS codes.
If you specify a non-kWh type code (e.g. kW), then to correct the quantity (Wh/pulse), it is advisable to extend the firmware with integral logic (project-dependent).
Selecting pulse density
The Wh/pulse value determines how frequently pulses occur. Example:
Load: 3 kW (≈ 3000 W) → 3000 Wh of energy per hour.
If 100 Wh/pulse, then 3000/100 = 30 pulses/hour → on average, one every 2 minutes.
If 10 Wh/pulse, then 3000/10 = 300 pulses/hour → on average, one every 12 seconds.
General PLCs can definitely count pulse lengths of 30–300 ms.
The firmware allows a range of 50–2000 ms.
Compatibility (examples, not exhaustive)
PLCs with 24 VDC digital inputs or dedicated S0 counter inputs:
Siemens LOGO!/S7 DI, WAGO, Omron, Schneider, FATEK, Unitronics, etc.
Data collectors / energy monitors expecting potential-free contact inputs.
Impulse counters connecting to SCADA systems.
Key: the PN100 output emulates a dry contact (PhotoMOS), making it widely compatible with the 24 VDC industrial environment.
Settings interface (OBIS, pulse ms, Wh/pulse, AP password) + live log
/save (POST)
Save settings to EEPROM (AP password 8–63 characters)
/test
Send single test pulse
/clear_log
Clear log file and RAM buffer
/log?format=html|text&rev=1|0
Show log (also in reverse order)
Installation and commissioning
Hardware wiring: Connect PN100 PhotoMOS output in series with the 24 V PLC input circuit.
Pay attention to the max. 60 V and 500 mA limits.
Power supply: USB or 5 V VIN to ESP32 module (typically < 200 mA).
Web setup: Connect to AP → http://192.168.4.1 → fill fields → Save.
Change AP password (optional): after saving, AP restarts, connect with new password.
Testing: press Test pulse button → check PLC counter increments.
Troubleshooting
No pulses: Does Test pulse work? If yes, the issue may be with P1/OBIS processing (kWh not increasing). Check OBIS code and assure it actually changes.
PLC does not count: Is input type correct? 24 VDC DI or S0 counter is required.
Minimum pulse length should be above 30–50 ms.
Occasional false pulses: At very high impedance inputs, PhotoMOS leakage may cause sensitivity. Add a weak pull-down resistor (e.g. 10–47 kΩ) between input and 0V.
Cannot connect to AP: hold RESET button ≥5 s and restart with factory password.
Safety and limits
Max. 60 VAC/DC output voltage! Do not connect to 230 VAC mains.
The pulse output is isolated PhotoMOS, potential-free, but in industrial environments pay attention to wiring (shielded or short cable, common reference with PLC if needed).
The firmware uses inverted DSMR 115200 8N1 setting for the P1 port.
The Swiss army knife of phase measurement
The PZIOT-E02 can provide great help in two situations:
1. If you don’t have an electricity meter with a P1 port
In this case, the PZIOT-E02 functions as a…
For owners of household-scale small power plants (HMKE), it is natural to monitor the feedback to the grid. This value shows how much of the produced energy the house does not use immediately, but sen…
In recent times, it has become increasingly important for more Hungarian households not only to see their electricity bill but also to understand what is actually happening behind the scenes. The Debr…
Comments
No comments yet. Be the first!