8D4Cn

Simple microcontroller power supply module

 
Overview
Update Log
2024.8.30 — First Release of Open Source Project
 
---------------------------------------------------------------------------------------------------------------------------------------------------------------------
Project Description:
When debugging STM32 code, sometimes it's necessary to provide a high-level voltage to the microcontroller for testing. However, since I don't have a dedicated power supply on hand, only a power bank that can provide 5V, debugging is quite troublesome. Recently, I learned about the AMS1117 LDO chip, so I drew a simple module to solve this problem.
The circuit schematic references some AMS1117 modules from open-source platforms and is also based on the datasheet.
 
---------------------------------------------------------------------------------------------------------------------------------------------------------------------
Project Introduction:
Power is supplied via Type-C, outputting 5V, 3.3V, and GND through a single row of bent pins. DuPont wires can be used to connect to the required locations.
 
---------------------------------------------------------------------------------------------------------------------------------------------------------------------
Circuit Schematic
1. Power Input Section:
Since there is no data transmission requirement, a 2-pin Type-C direct-plug interface was chosen for easy soldering and a simple circuit.
 
2. The AMS1117 LDO circuit
has two capacitors connected to both the input and output: one to filter high frequencies and the other to filter low frequencies. According to the datasheet, a 22uF tantalum capacitor is required at the output. The datasheet specifies this as follows:
 
3. The power indicator circuit is
a simple LED circuit using a 1kΩ resistor. However, in actual use, the brightness was found to be somewhat excessive. Trying a 5kΩ or 10kΩ resistor might yield a more suitable brightness.
 
4. The output interface
is a single-row bent-pin output interface, connected using DuPont wires.
 
---------------------------------------------------------------------------------------------------------------------------------------------------------------------
The PCB traces
use filled areas to connect the input and output, allowing for a larger current flow, as shown in the figure:
 
---------------------------------------------------------------------------------------------------------------------------------------------------------------------
Components and Costs
AMS1117-3.3 —— 0.42 yuan
22uF tantalum capacitor —— 0.47 yuan
Adding other resistors and capacitors, the cost is approximately 1.5 yuan
 
---------------------------------------------------------------------------------------------------------------------------------------------------------------------
Attached
is the AMS1117 datasheet (from LCSC Mall)
 
---------------------------------------------------------------------------------------------------------------------------------------------------------------------
Performance Demonstration
5V Output:
3.3V Output:
3.3V Output Ripple:
The ripple is approximately 1.14mV
 
---------------------------------------------------------------------------------------------------------------------------------------------------------------------
Finally
, because short-circuit protection is not implemented, and the 5V output is directly led from the input, shorting it to GND may cause power banks and other power supplies to malfunction. When using it, be sure to ensure that the 5V and 3.3V outputs are not shorted to GND!
Wishing everyone a successful completion! Safe use!
 
参考设计图片
×
 
 
Search Datasheet?

Supported by EEWorld Datasheet

Forum More
Update:2026-03-24 15:44:00

EEWorld
subscription
account

EEWorld
service
account

Automotive
development
community

Robot
development
community

About Us Customer Service Contact Information Datasheet Sitemap LatestNews


Room 1530, 15th Floor, Building B, No.18 Zhongguancun Street, Haidian District, Beijing, Postal Code: 100190 China Telephone: 008610 8235 0740

Copyright © 2005-2024 EEWORLD.com.cn, Inc. All rights reserved 京ICP证060456号 京ICP备10001474号-1 电信业务审批[2006]字第258号函 京公网安备 11010802033920号