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

How to Use StamPLC AC/DC Power Supply Module: Examples, Pinouts, and Specs

Image of StamPLC AC/DC Power Supply ModuleDesign with StamPLC AC/DC Power Supply Module in Cirkit Designer

Introduction

The StamPLC AC/DC Power Supply Module (M5Stack A160) is a compact and efficient power supply solution designed to convert AC voltage to DC voltage. Manufactured by M5Stack, this module provides a stable and reliable power source for a wide range of electronic devices and circuits. Its robust design ensures consistent performance, making it ideal for industrial automation, IoT applications, and prototyping projects.

Explore Projects Built with StamPLC AC/DC Power Supply Module

Use Cirkit Designer to design, explore, and prototype these projects online. Some projects support real-time simulation. Click "Open Project" to start designing instantly!

Common Applications and Use Cases

Technical Specifications

The StamPLC AC/DC Power Supply Module is designed to meet the needs of modern electronic systems. Below are its key technical details:

General Specifications

Parameter Value
Manufacturer M5Stack
Part ID A160
Input Voltage Range 100-240V AC
Output Voltage 5V DC
Output Current 2A (maximum)
Power Output 10W
Efficiency ≥85%
Operating Temperature -20°C to 70°C
Dimensions 54mm x 54mm x 20mm
Weight 50g

Pin Configuration and Descriptions

The module features a simple interface for input and output connections:

Pin/Terminal Description
AC IN (L) Live wire input for AC voltage
AC IN (N) Neutral wire input for AC voltage
DC OUT (+) Positive terminal for DC output
DC OUT (-) Negative terminal for DC output
GND Ground connection for safety

Usage Instructions

How to Use the StamPLC AC/DC Power Supply Module

  1. Safety First: Ensure the module is powered off and disconnected from any power source before wiring.
  2. Connect AC Input:
    • Connect the live wire (L) and neutral wire (N) from the AC power source to the respective terminals on the module.
    • Ensure proper insulation and secure connections to avoid short circuits.
  3. Connect DC Output:
    • Connect the positive (+) and negative (-) terminals to the load or circuit requiring 5V DC power.
    • Verify the polarity to prevent damage to connected devices.
  4. Power On:
    • Once all connections are secure, supply AC power to the module.
    • The module will convert the AC input to a stable 5V DC output.

Important Considerations and Best Practices

Example: Using with an Arduino UNO

The StamPLC module can be used to power an Arduino UNO. Below is an example setup:

  1. Connect the DC OUT (+) terminal to the Arduino's VIN pin.
  2. Connect the DC OUT (-) terminal to the Arduino's GND pin.
  3. Ensure the AC input is properly connected and insulated.

Here is a simple Arduino sketch to blink an LED while powered by the StamPLC module:

// Blink an LED connected to pin 13 of the Arduino UNO
// Ensure the StamPLC module is providing stable 5V DC to the Arduino

void setup() {
  pinMode(13, OUTPUT); // Set pin 13 as an output pin
}

void loop() {
  digitalWrite(13, HIGH); // Turn the LED on
  delay(1000);            // Wait for 1 second
  digitalWrite(13, LOW);  // Turn the LED off
  delay(1000);            // Wait for 1 second
}

Troubleshooting and FAQs

Common Issues and Solutions

  1. No DC Output:

    • Cause: Incorrect AC input wiring or no AC power supply.
    • Solution: Verify the AC input connections and ensure the power source is active.
  2. Overheating:

    • Cause: Exceeding the maximum output current or poor ventilation.
    • Solution: Reduce the load to within the 2A limit and ensure proper airflow around the module.
  3. Fluctuating Output Voltage:

    • Cause: Unstable AC input or a faulty module.
    • Solution: Check the AC input voltage stability and replace the module if necessary.
  4. Arduino Not Powering On:

    • Cause: Incorrect wiring or insufficient current.
    • Solution: Verify the connections to the VIN and GND pins and ensure the load does not exceed 2A.

FAQs

Q1: Can the StamPLC module power devices other than Arduino?
A1: Yes, the module can power any device or circuit that requires a stable 5V DC supply and draws less than 2A.

Q2: Is the module suitable for outdoor use?
A2: The module is not weatherproof. Use it in a dry, indoor environment or within a protective enclosure.

Q3: Can I use the module with a 12V DC output?
A3: No, the module is designed to provide a fixed 5V DC output. For 12V applications, consider a different power supply module.

Q4: Does the module have built-in overcurrent protection?
A4: Yes, the module includes basic overcurrent and short-circuit protection, but it is recommended to avoid exceeding the specified limits.

By following this documentation, users can safely and effectively integrate the StamPLC AC/DC Power Supply Module into their projects.