Component guide · Intermediate · 3 min read
Hi-Link AC-DC Power Modules (HLK-5LS05, HLK-PM03L)

Wiring and Mains Safety
By Geekobot Learning Team · Updated 29 Oct 2026
On this page
Hi-Link AC-DC modules turn 100 to 240 V AC mains into a small isolated DC output, such as 5 V for a relay board or 3.3 V for an ESP32, in a compact block. The HLK-LS series is fully enclosed; the HLK-PM03L is an open-frame 3.3 V 600 mA board. They are used inside smart switches and plugs, but mains wiring needs a fuse, an enclosure and care.
Key specs at a glance
- Input
- 100 to 240 V AC, 50/60 Hz
- Output
- 5 V 1 A (HLK-5LS05), 3.3 V 600 mA (HLK-PM03L), other versions
- Isolation
- About 3,000 V AC
- Power
- 2 to 5 W
- Protection
- Short circuit and over-current
- Mount
- PCB pins
This part is often wired to 230 V mains. Do all wiring with the plug pulled out, keep mains wires inside a closed box with strain relief, add a fuse, and never touch the board while it is plugged in. If you are new to mains wiring, have an electrician check it before you switch on.
Models in this guide
These are alternatives. Pick the one that fits your project; you only need one.
What the Hi-Link AC-DC power module is
A Hi-Link AC-DC module is a tiny encapsulated mains power supply: it turns 100 to 240 V AC into an isolated low DC voltage such as 5 V or 3.3 V, ready to solder onto a PCB.
Add a slow-blow fuse on the live input and a MOV (varistor) across the input for surge protection. Keep mains tracks at least 6 mm from low-voltage tracks.
Never touch the board while plugged in, and test the low-voltage side first with a bench supply.
Hi-Link AC-DC power module pinout
The pins on the Hi-Link AC-DC power module and what each one does.
| Pin | Function |
|---|---|
| AC (L, N) | Mains input |
| +Vo / -Vo | DC output |
- AC (L, N)
- Mains input
- +Vo / -Vo
- DC output
Wiring the Hi-Link AC-DC power module
Connect the Hi-Link AC-DC power module like this.
| Hi-Link AC-DC power module pin | 5 V module | 3.3 V module |
|---|---|---|
| L | Through a fuse | Through a fuse |
| N | Neutral | Neutral |
| +Vo | Relay module 5V | ESP32 3V3 (PM03L) |
- L
- 5 V module:
- Through a fuse
- 3.3 V module:
- Through a fuse
- N
- 5 V module:
- Neutral
- 3.3 V module:
- Neutral
- +Vo
- 5 V module:
- Relay module 5V
- 3.3 V module:
- ESP32 3V3 (PM03L)
Example code
A minimal sketch to check the part works.
1. Fuse on live.
2. MOV across L and N.
3. Output capacitor (100-470 uF).
4. Insulated enclosure, strain relief on the mains cable.Setup and tuning
put a slow-blow fuse (about 0.5 to 1 A) in the live input.
add a MOV varistor across L and N for surge protection.
add 100 to 470 µF on the DC output close to the module.
keep mains tracks at least 6 mm from low-voltage tracks.
use a fully insulated box with strain relief on the mains cable; test the low-voltage side from a bench supply first.
What you need
Shop this list4 of 4 found in our store · ₹946
Hi-Link AC-DC Power Module: the part this guide coversHi-Link AC-DC Power Module, More Models₹211Closest match, check the specs
Hi-Link HLK-PM03L Open Frame AC-DC Power Module – 3.3V 600mA Output: another version this guide coversHi-Link HLK-PM03L Open Frame AC-DC Power Module – 3.3V 600mA Output₹169
Digital multimeter: to check supply and signal voltagesDigital Multimeter₹177
ESP32-WROOM-32 38-pin development board: for Wi-Fi logging and dashboardsESP32-WROOM-32 38-Pin Development Board₹389
Alternatives and when to choose them
Common mistakes to avoid
- Leaving out the fuse.
- Running mains tracks close to low-voltage tracks.
- Testing with open mains wiring on the bench.
- Loading it beyond its rated current.
Frequently asked questions
Can a Hi-Link module run an ESP32?
Yes. Use the 3.3 V 600 mA HLK-PM03L into 3V3, or the 5 V module into VIN.
Is the output isolated from mains?
Yes. The modules are isolated to about 3,000 V AC, but the input pins and tracks are still at mains voltage.
What fuse should I use?
A slow-blow fuse of about 0.5 to 1 A on the live wire.
Can it power relay boards?
Yes. A 5 V 1 A module can run a few relays plus a microcontroller.
Is it safe for beginners?
Only with supervision, a fuse and a closed enclosure, because the input side carries mains voltage.
Parts for this guide
Keep learning
Sources
Written by the Geekobot team from manufacturer datasheets. Always check the datasheet for the exact part and variant you buy.
