BoardRepo electronics project sharing
100%
Open file
han-to-rs485 Schematic SVG view

Imported from GitHub: yyberi/han-to-RS485 · commit ad8068a · license CERN-OHL-P-2.0

Description

KiCAD project of PCB that reads data from the Aidon electricity meter's HAN port and converts it to an RS485 bus, enabling integration with home automation systems, data loggers, and industrial equipment.

README

Aidon HAN to RS485 Adapter

A small PCB that reads data from the Aidon electricity meter's HAN port and converts it to an RS485 bus, enabling integration with home automation systems, data loggers, and industrial equipment.

PCB size: 45 × 25 mm, 4-layer
Designed: November 2022 by Yyberi


Background

Aidon smart electricity meters (used by many Nordic utilities) expose a HAN port — a standard RJ12 connector that outputs UART serial data (DLMS/COSEM P1 telegrams) at 115200 baud. This board taps into that port and re-transmits the data over RS485, which is suited for longer cable runs and multi-drop topologies.


How It Works

Aidon meter
  HAN port (RJ12)
       │
       ├─ +5V ──────────────────── powers the board
       └─ TX (UART 115200 baud) ── NPN buffer (Q1) ──► MAX13487E ──► RS485 (A/B)
  1. The meter provides 5 V on the HAN port — no external power supply needed.
  2. The UART TX line from the meter is buffered through an NPN transistor (Q1) that also handles the logic-level inversion.
  3. The MAX13487EESA+T RS485 transceiver with automatic direction control retransmits the data on the RS485 bus.
  4. TVS diode (D3) protects the RS485 lines against ESD and transients.
  5. Two LEDs indicate power (D2) and data transmission activity (D1).

Connectors

RefConnectorFunction
J1RJ12 (DS1133-S60BPX)HAN port — plugs into meter
J22-pin header 2.54 mmAlternative/external power input (optional)
J3Phoenix Contact 3-pin 5.08 mmRS485 output: A, B, GND

J1 — HAN Port Pinout (RJ12)

PinSignalDescription
1+5VPower from meter
2Not connected
3DATAUART TX from meter (115200 8N1)
4Not connected
5GNDGround
6Not connected

J3 — RS485 Output

PinSignalBoard silkscreen (top→bottom)
1GNDGND (bottom)
2A (+)A (middle)
3B (–)B (top)

Bill of Materials

RefValue / PartPackageLCSC #Qty
IC1Maxim MAX13487EESA+TSOIC-8C183471
J1CONNFLY DS1133-S60BPX (RJ12)HorizontalC778591
J2Molex 222840202×1 pin header 2.54 mmC2341821
J3Phoenix Contact 17117383-pin 5.08 mmC911561
Q1MMS9013-H-TP (NPN)SOT-23C901601
D3ProTek PSM712-LF-T7 (TVS)SOT-23C326771
D1, D2NationStar NCD0805R1 (LED red)0805C842562
R1, R3510 Ω0805C177342
R24.7 kΩ0805C176731
R4120 Ω (RS485 termination)0805C174371
C1, C2100 nF0805C496782

All LCSC part numbers are compatible with JLCPCB SMT assembly.


Manufacturing

Gerber files, drill files, and pick-and-place position files are in the AidonToRS485v2-gerbers/ folder.

Ordering from JLCPCB

  1. Zip the contents of AidonToRS485v2-gerbers/.
  2. Upload to jlcpcb.com and select 4 layers.
  3. For SMT assembly, upload the BOM (BOM_AidonToRS485v2.xlsx) and the position files (*-top-pos.csv).

Recommended PCB stackup: standard JLC04161H-7628 (or equivalent).


Data Format

The Aidon meter outputs DLMS/COSEM P1 telegrams (similar to DSMR P1). Data is sent as UART at 115200 baud, 8N1 (8 data bits, no parity, 1 stop bit).

Library for parsing Aidon data:


Getting Started

  1. Plug the RJ12 cable into the meter's HAN port and the board's J1.
  2. Connect your RS485 device or bus to J3 (A, B, GND).
  3. Power is sourced directly from the meter. No external supply needed.
  4. Configure your RS485 receiver for 115200 baud, 8N1.
  5. Data telegrams arrive automatically — the meter pushes data every 10 seconds (or as configured by the utility).

Note: Some utilities require you to request HAN port activation from your grid operator before data is available.


Repository Contents

AidonToRS485_v2/
├── AidonToRS485.kicad_pro       # KiCad project file
├── AidonToRS485.kicad_sch       # Schematic
├── AidonToRS485.kicad_pcb       # PCB layout
├── AidonToRS485.step            # 3D model (STEP)
├── BOM_AidonToRS485v2.xlsx      # Bill of materials (JLCPCB format)
├── BOM_AidonToRS485.csv         # Bill of materials (CSV)
└── AidonToRS485v2-gerbers/      # Gerber + drill + position files

License

This hardware design is released under the CERN Open Hardware Licence v2 – Permissive (CERN-OHL-P). You are free to use, modify, and manufacture this design, with or without attribution, and without requiring derivatives to be open source.

See ohwr.org/cern_ohl_p_v2.txt for the full license text.