Stufin
Home Quick Cart Profile

AMS1117 3.3V Power Supply Module

Buy Now on Stufin

Pin Configuration

  • AMS1117 3.3V Power Supply Module Documentation
  • Overview
  • The AMS1117 3.3V Power Supply Module is a compact, high-performance voltage regulator module designed to provide a stable 3.3V output voltage from an input voltage range of 4V to 12V. This module is based on the popular AMS1117 voltage regulator IC and is suitable for powering small to medium-sized electronic projects, IoT devices, and microcontroller-based systems.
  • Pinout Description
  • The AMS1117 3.3V Power Supply Module has a total of 3 pins, which are described below:
  • Pin 1: VIN (Input Voltage)
  • Function: Input voltage pin
  • Voltage Range: 4V to 12V
  • Recommended Voltage: 5V or 6V (for optimal performance)
  • Description: This pin is connected to the input voltage source, which can be a battery, a wall adapter, or any other DC power source.
  • Pin 2: GND (Ground)
  • Function: Ground pin
  • Description: This pin is connected to the ground plane of the circuit or the negative terminal of the power source. It provides a return path for the input voltage and ensures stable operation of the voltage regulator.
  • Pin 3: VOUT (Output Voltage)
  • Function: Output voltage pin
  • Voltage: 3.3V (regulated)
  • Current Capability: Up to 1A (dependent on input voltage and module design)
  • Description: This pin provides the regulated 3.3V output voltage, which can be used to power microcontrollers, sensors, and other components in the circuit.
  • Connection Structure
  • To connect the AMS1117 3.3V Power Supply Module, follow the steps below:
  • 1. Connect the input voltage source: Connect the positive terminal of the power source (e.g., 5V or 6V) to Pin 1 (VIN).
  • 2. Connect the ground: Connect the negative terminal of the power source or the ground plane of the circuit to Pin 2 (GND).
  • 3. Connect the load: Connect the 3.3V output voltage pin (Pin 3) to the power input pin of the load device (e.g., a microcontroller, sensor, or other circuit components).
  • Important Notes
  • Ensure the input voltage is within the recommended range to maintain regulator stability and prevent overheating.
  • Use a suitable input capacitor (e.g., 10uF) to filter the input voltage and reduce noise.
  • The AMS1117 module has built-in overcurrent protection and thermal shutdown, but it's still essential to design the circuit with adequate power supply decoupling and heat dissipation in mind.
  • By following these guidelines, you can successfully connect and utilize the AMS1117 3.3V Power Supply Module in your IoT projects and electronic designs.

Code Examples

AMS1117 3.3V Power Supply Module Documentation
Introduction
The AMS1117 3.3V Power Supply Module is a compact and efficient voltage regulator module designed to provide a stable 3.3V output from a wide range of input voltages. This module is based on the AMS1117 linear voltage regulator, which is capable of regulating output voltage with high accuracy and low ripple. The module is suitable for use in a variety of IoT applications, including microcontroller-based projects, wireless sensor nodes, and other low-power devices.
Features
Input voltage range: 4V to 12V
 Output voltage: 3.3V  2%
 Output current: up to 1A
 High accuracy and low ripple output
 Compact size: 15mm x 20mm
 Easy to use, with only input and output terminals
Connections
The module has three terminals:
VIN (Input): Connect to a power source (4V to 12V)
 VOUT (Output): Connect to the device requiring 3.3V power
 GND (Ground): Connect to the ground of the power source and the device
Code Examples
### Example 1: Using the AMS1117 3.3V Power Supply Module with Arduino Uno
In this example, we will use the AMS1117 3.3V Power Supply Module to power an Arduino Uno board and a DHT11 temperature and humidity sensor.
```c
#include <DHT.h>
// Define DHT sensor pin
#define DHTPIN 2
// Create a DHT object
DHT dht(DHTPIN, DHT11);
void setup() {
  Serial.begin(9600);
  dht.begin();
}
void loop() {
  int h = dht.readHumidity();
  int t = dht.readTemperature();
Serial.print("Humidity: ");
  Serial.print(h);
  Serial.println(" %");
Serial.print("Temperature: ");
  Serial.print(t);
  Serial.println(" C");
delay(2000);
}
```
Hardware Connection
Connect the VIN terminal of the AMS1117 module to a 5V power source (e.g., a USB port or a battery)
 Connect the VOUT terminal of the AMS1117 module to the VIN pin of the Arduino Uno board
 Connect the GND terminal of the AMS1117 module to the GND pin of the Arduino Uno board
 Connect the DHT11 sensor to digital pin 2 of the Arduino Uno board
### Example 2: Using the AMS1117 3.3V Power Supply Module with Raspberry Pi (Python)
In this example, we will use the AMS1117 3.3V Power Supply Module to power a Raspberry Pi and read data from a DS18B20 temperature sensor.
```python
import os
import time
# Define the DS18B20 sensor file
sensor_file = '/sys/bus/w1/devices/28-000007ebc9ea/w1_slave'
while True:
    try:
        # Read temperature data from the sensor
        f = open(sensor_file, 'r')
        lines = f.readlines()
        f.close()
# Extract temperature value from the data
        temp_c = float(lines[1].split('t=')[1]) / 1000.0
        print("Temperature: {:.2f} C".format(temp_c))
# Wait for 2 seconds before reading again
        time.sleep(2)
except Exception as e:
        print("Error: ", e)
```
Hardware Connection
Connect the VIN terminal of the AMS1117 module to a 5V power source (e.g., a USB port or a battery)
 Connect the VOUT terminal of the AMS1117 module to the Raspberry Pi's 3.3V pin
 Connect the GND terminal of the AMS1117 module to the Raspberry Pi's GND pin
 Connect the DS18B20 sensor to the Raspberry Pi's GPIO pins (data pin to GPIO 4, VCC to 3.3V, and GND to GND)
Note: Make sure to modify the code to suit your specific project requirements and hardware connections.