Voltage Regulator
Using AMS1117 33 Voltage Regulator with Raspberry Pi
What is the AMS1117 33?
AMS1117 33 practical reference
A simple fixed 3.3V linear regulator found on countless breakout boards to safely power 3.3V logic from a 5V source. The AMS1117-3.3 takes an input voltage a bit above 3.3V and drops it down to a clean, stable 3.3V output using simple linear regulation — no switching, no configuration, just a dropout voltage and some wasted heat — making it the near-ubiquitous small regulator seen on the back of ESP8266, ESP32, and countless sensor breakout boards whenever 3.3V logic needs to be derived from a 5V supply.
Key specifications
- Regulator type: AMS1117-3.3 fixed 3.3V low-dropout (LDO) linear voltage regulator
- Input voltage: 4.75V–15V DC (practical range; must exceed 3.3V output by the dropout voltage)
- Output voltage: Fixed 3.3V DC (non-adjustable — the '-3.3' in the part number denotes this fixed version)
- Dropout voltage: ~1.1-1.3V typical at full rated current
- Output current: Up to ~1A (with adequate heatsinking/cooling; less at higher input-output voltage differential due to heat dissipation)
- Package: Commonly SOT-223 surface-mount package on breakout boards, sometimes TO-220 for higher-current bare regulator boards
- Efficiency: Lower than a switching (buck) regulator — wastes power as heat proportional to the input/output voltage difference and current drawn
Pinout and connection notes
Being a linear regulator, the AMS1117-3.3 dissipates the input-to-output voltage difference as heat proportional to the current drawn — fine for small logic loads (tens to a few hundred mA) but it will run noticeably warm and waste real power if pushed near its 1A rating from a much-higher-than-3.3V input; for higher-current or higher-efficiency 3.3V generation, a switching buck regulator is a better choice.
- VIN: Regulator input, 4.75-15V DC
- GND: Ground (also the regulator's tab/heatsink connection on some packages)
- VOUT: Regulated 3.3V DC output
Integration checklist
- Confirm the exact part number and breakout-board revision.
- Verify supply voltage, current demand, logic levels, and signal direction against the datasheet.
- Check controller pin assignments and bus address or interface mode against the example code.
- Power up with external loads disconnected, then test signals before full integration.
- If readings or communication fail, check power and ground first, then pin mapping, interface settings, and library initialization.
Troubleshooting and reproducibility
Record the board used, wiring, library/version, supply arrangement, and measured behavior. Use the selected board-specific wiring example as the source of truth. Never assume visually similar modules share identical voltage tolerance or pin order.
Setting Up AMS1117 33 with Raspberry Pi
Wiring
| Component pin | Raspberry Pi pin | Note |
|---|---|---|
| VIN | 5V (physical pin 2) | |
| GND | GND (physical pin 6) | |
| VOUT | Feeds a separate 3.3V-only module — never back into the Pi's own 3.3V pin | The Pi's onboard 3.3V rail is current-limited; use an external AMS1117-3.3 for peripherals that draw more than it can supply, and keep its ground common with the Pi |
Swipe sideways to see every column →
Never feed VOUT back into the Pi's 3.3V pin — that pin is a regulator output, not an input, and back-feeding it can damage the board. This module is strictly for powering separate external 3.3V peripherals.
Related Components
18650 Holder
Single-cell 18650 holder for portable project power.
CN3065
Solar-friendly single-cell Li-ion charger. 4.2 V, 500 mA out of the box.
LM2596
Adjustable buck converter for efficiently stepping down higher voltages to project logic levels.
MT3608
Adjustable step-up converter for boosting low battery voltages to component requirements.
Related Guides & Projects
Raspberry Pi Pico W and Pico 2 W: Install MicroPython with Thonny or UF2
Hold BOOTSEL, drag the correct UF2 file, open the REPL and blink the onboard LED. Includes the Pico vs Pico W vs Pico 2 W firmware differences and what to do when the drive does not appear.
Raspberry Pi Pico W Web Server in MicroPython: Control an LED and Read a Sensor
Connect the Pico W to WiFi, serve a responsive control page, switch an LED and display the onboard temperature or an external sensor, with timeouts and reconnect handling.
Raspberry Pi Pico Oscilloscope with MicroPython
Convert a Raspberry Pi Pico into a basic 500 kSPS oscilloscope using its 12-bit ADC and MicroPython. Displays waveforms on an SSD1306 OLED or streams samples over USB serial to a Python plotter on your PC.
Self-Hosted Nextcloud NAS on Raspberry Pi 4
Build a private, durable Nextcloud NAS on a Raspberry Pi 4 -- SSD boot instead of a failure-prone SD card, Docker Compose with Redis caching, Tailscale for remote access with zero ports forwarded, and an automated backup strategy that actually runs.