Cirkit Designer LogoCirkit DesignerYour all-in-one circuit design IDE Launch Cirkit Designer App

How to Use HLK-PM12: Examples, Pinouts, and Specs

Image of HLK-PM12Design with HLK-PM12 in Cirkit Designer

Introduction

The HLK-PM12 is a compact, highly efficient AC-DC power supply module designed to convert alternating current (AC) from the mains to a stable 12 Volt direct current (DC). This module is widely used in low power applications such as smart home devices, control systems, and IoT projects due to its small form factor and ease of integration into existing circuits.

Explore Projects Built with HLK-PM12

Use Cirkit Designer to design, explore, and prototype these projects online. Some projects support real-time simulation. Click "Open Project" to start designing instantly!
Image of Cellular-Enabled IoT Device with Real-Time Clock and Power Management: A project utilizing HLK-PM12 in a practical application
Cellular-Enabled IoT Device with Real-Time Clock and Power Management

This circuit features a LilyGo-SIM7000G module for cellular communication and GPS functionality, interfaced with an RTC DS3231 for real-time clock capabilities. It includes voltage sensing through two voltage sensor modules, and uses an 8-channel opto-coupler for isolating different parts of the circuit. Power management is handled by a buck converter connected to a DC power source and batteries, with a fuse for protection and a rocker switch for on/off control. Additionally, there's an LED for indication purposes.

Open Project in Cirkit Designer

Common Applications and Use Cases

Technical Specifications

The HLK-PM12 module boasts the following technical specifications:

Parameter Specification
Input Voltage 100 - 240V AC
Output Voltage 12V DC
Output Current Up to 3A
Power Rating 36W
Efficiency >87%
Operating Temp. -20°C to +60°C
Humidity 5% to 95% Non-condensing
Isolation Voltage 3000V AC
Dimensions 34 x 20 x 15mm

Pin Configuration and Descriptions

Pin Number Name Description
1 L AC Live Input
2 N AC Neutral Input
3 -V DC Output Negative (Ground)
4 +V DC Output Positive

Usage Instructions

Integration into a Circuit

  1. AC Input Connection: Connect the AC live wire to pin 1 (L) and the neutral wire to pin 2 (N). Ensure that the connections are secure and insulated to prevent electrical hazards.

  2. DC Output Connection: Connect the positive lead of your device or circuit to pin 4 (+V) and the negative lead to pin 3 (-V).

  3. Mounting: Secure the HLK-PM12 module onto a PCB or within an enclosure, ensuring adequate ventilation for heat dissipation.

Important Considerations and Best Practices

Troubleshooting and FAQs

Common Issues

Solutions and Tips

FAQs

Q: Can I use the HLK-PM12 outdoors? A: The HLK-PM12 is not waterproof and should be housed in a suitable enclosure if used outdoors.

Q: Is it necessary to use a fuse with the HLK-PM12? A: Yes, it is recommended to use a fuse on the AC input for safety purposes.

Q: Can I adjust the output voltage of the HLK-PM12? A: No, the output voltage is fixed at 12V DC.

Example Arduino UNO Connection

// No specific code is required for the HLK-PM12 as it is a power supply module.
// However, below is an example of how to power an Arduino UNO using the HLK-PM12.

// Connect the HLK-PM12 module to the Arduino UNO as follows:
// HLK-PM12 +V pin to Arduino UNO Vin pin
// HLK-PM12 -V pin to Arduino UNO GND pin

void setup() {
  // Initialize digital pin LED_BUILTIN as an output.
  pinMode(LED_BUILTIN, OUTPUT);
}

void loop() {
  // Turn the LED on (HIGH is the voltage level)
  digitalWrite(LED_BUILTIN, HIGH);
  // Wait for a second
  delay(1000);
  // Turn the LED off by making the voltage LOW
  digitalWrite(LED_BUILTIN, LOW);
   // Wait for a second
  delay(1000);
}

Note: When using the HLK-PM12 to power an Arduino UNO, ensure that the input voltage does not exceed the recommended Vin range for the Arduino UNO (6-20V). The HLK-PM12's 12V output is within this range and is suitable for powering the board.