This project for reading data of Aidon electricity meter (Elenia) data using Firebeetle2 ESP32 v.4.0. HAN interface uses inversed UART with 5V GPIO to return EFS2 ASCII data bursts. I used DIY level shifter to uninverse UART and convert signal to 3.3V.
- Firebeetle2
- Resistor 4.7K
- Resistor 10K
- Resistor 47K
- Resistor 100K
- Transistor BC547B
- CAT6 cable
- RJ12 plug
| Sensor | Unit | Description |
|---|---|---|
| Power | W | Instantaneous import active power from OBIS 1-0:1.7.0. Positive when consuming power from the grid. |
| Net Power | W | Net active power = Import − Export. Positive = importing from the grid, negative = exporting to the grid (e.g., when solar panels backfeed). |
| Import Energy | kWh | Total imported energy from OBIS 1-0:1.8.0. Always increases when you draw energy from the grid. |
| Export Energy | kWh | Total exported energy from OBIS 1-0:2.8.0. Always increases when you send excess power back to the grid (e.g., via solar inverter). |
| Voltage L1 | V | RMS voltage on phase L1 from OBIS 1-0:32.7.0. |
| Voltage L2 | V | RMS voltage on phase L2 from OBIS 1-0:52.7.0. |
| Voltage L3 | V | RMS voltage on phase L3 from OBIS 1-0:72.7.0. |
| Current L1 | A | Instantaneous current on phase L1 from OBIS 1-0:31.7.0. Can be negative when exporting power on this phase. |
| Current L2 | A | Instantaneous current on phase L2 from OBIS 1-0:51.7.0. Can be negative when exporting power on this phase. |
| Current L3 | A | Instantaneous current on phase L3 from OBIS 1-0:71.7.0. Can be negative when exporting power on this phase. |
Han has also other information available but I only needed these
RJ12 Connector Plug Front RJ12
+---+---+---+---+---+---+ +----------------------------------+
| 1 | 2 | 3 | 4 | 5 | 6 | | 1 -> VIN |
+---+---+---+---+---+---+ | 2 -> VIN |
| | | 3 -> GND |
----------------- | 6 -> GND |
| 5 -> Junction of 4.7K and 47K |
+----------------------------------+
AIDON / ELENIA HAN (RJ12)
┌─────────────────────────┐
Pin 1 +5V ----┤ 1 +5V ───────────────┼───────────────┐
│ │ │
Pin 2 DR ----┤ 2 DATA REQUEST ──┬────┘ │
│ [10k] │
│ │ │
Pin 3 GND ----┤ 3 GND ───────────┼────────────────────┴─── GND (common)
│ │
Pin 4 NC ----┤ 4 NC │
│ │
Pin 5 DATA ----┤ 5 DATA (open-collector) ──[4.7k]─── +5V (pull-up)
│ │
Pin 6 GND ----┤ 6 GND ───────────┘
└─────────────────────────┘
LEVEL SHIFT + INVERT
(BC547B)
From RJ12 Pin 5 DATA o───────[47k]───────┬───> BC547B base
|
[100k]
|
GND
C
ESP32 RX <────────────o──────────────┬───────┤< BC547B
| E
[10k]
|
+3.3V
HAN onnections:
Pin Name Notes
1 +5 V out Supply for pull-ups / data request
2 Data Request Pull high to enable HAN stream
3 GND Common ground
4 Not used —
5 Data Out Open collector UART from meter
6 GND Common ground