Same-day dispatch before 2 PM · Free delivery over ₹999 · GST invoices Get the appPrices incl. GST
Geekobot
Snap & SendNEWGeeko AIWhere's myOrder
Log in
Products
  • Projects
    • Component guidesHow parts work, with code you can run
    • Learning pathsFrom your first LED to your first robot
    • Workshops & eventsOnline sessions for makers and classes
    • ElectrolarkFree guided builds, simulator and certificates
    • Students & teachersStudent discount and classroom help
    • CommunityShare builds and ask other makers
    • CalculatorsOhm's law, LED resistor, 555 and 100+ more
    • Circuit builderWire parts and run the circuit, powered by Electrolark
    • Geeko AIAsk what to buy or how to wire it
    • Snap & SendPhotograph a part or list, we find it
    • Part finderAnswer a few questions, get the right part
    • Compatibility checkWill these two parts work together?
    • Compare partsSpecs side by side
    • Business & bulk ordersGST invoices, credit and volume prices
    • Request a quotationSend your list, get a quote
    • Classroom kitsPer-student kits and lab bundles
    • Gift cardsFor students, teams and events
  • Atal Tinkering Lab
BOM to cart
Geekobot

Components, kits and know-how for makers, students, engineers, labs and businesses across India.

Ask Geeko AIOrders, parts and projects, any timeEmail supportReply within 1 working dayGet the Geekobot appAdd it to your home screen, free

Follow us

Shop

  • Boards & SBCs
  • Sensors & Modules
  • IoT & Wireless
  • Drone & FPV
  • 3D Printing
  • Filaments & Resins
  • Motors & Drivers
  • Power & Batteries
  • Semiconductors
  • Passive
  • Displays & LEDs
  • Switches & Relays
  • Wires & Cables
  • Prototyping
  • Tools & Test
  • Robotics
  • STEM Kits
  • Atal Tinkering Lab
  • Mechanical Parts
  • Audio

Orders

  • Track your order
  • Help & support
  • Shipping and delivery
  • Refunds and cancellation
  • Contact us

Learn

  • Projects
  • Geeko AI project assistant
  • Learning paths
  • Guides
  • Calculators
  • Electrolark: free guided builds

Part tools

  • Part finder
  • Compare parts
  • Will it work with my board?

Institutions

  • Classroom kits
  • Atal Tinkering Lab
  • Students & teachers
  • Workshops & Events

Business

  • Business & education
  • Request a quotation
  • BOM bulk upload
  • Quick order by SKU

Company

  • About Geekobot
  • Community
  • Gift cards
  • Terms & conditions
  • Privacy policy
  • Product directory
  • Sitemap

© 2026 Geekobot, a trade name of OLatus Systems Private Limited. All rights reserved.

20, 1st Floor, Neeladri Complex, 10th Cross, Sampige Rd, 2nd Main, Malleshwaram, Bengaluru, Karnataka 560003 · GSTIN 29AACCO0462F1ZM

+91 91810 15607 · connect@geekobot.in · Monday to Saturday, 10 AM to 2 PM IST

UPI · CARDS · NETBANKING · GST INVOICES

ShopProjectsGeeko AIGuides
Compare 0 parts →
Log in

Shop by category

Shop all components
  • Boards & SBCs1,910 products
    • Alternative Single Board Computers
    • Arduino Ecosystem
    • FPGA & Logic Boards
    • Microcontroller & Wireless Boards
    View all
  • Sensors & Modules4,701 products
    • Biomedical & Heart Rate
    • Current, Voltage & Power
    • Force, Weight & Pressure
    • Gas, Weather & Environmental
    View all
  • IoT & Wireless2,314 products
    • RF Modules
    • RFID & NFC
    • Antennas & RF Accessories
    • Cameras & Smart Vision
    View all
  • Drone & FPV3,558 products
    • Flight Control & Navigation
    • FPV Video & Optics
    • Frames & Structural Parts
    • Motors & Propulsion
    View all
  • 3D Printing2,204 products
    • 3D Printers
    • 3D Scanners & Digitizers
    • Laser Engravers & Cutters
    • Material Management & Upgrades
    View all
  • Filaments & Resins1,472 products
    • Filaments
    • Photopolymer Resins
    View all
  • Motors & Drivers463 products
    • BLDC Motor Drivers
    • DC & Geared Motors
    • DC Motor Drivers
    • Linear Actuators & Solenoids
    View all
  • Power & Batteries557 products
    • Battery Holders & Connectors
    • Breadboard Power
    • Chargers & BMS
    • DC-DC Converters
    View all
  • Semiconductors295 products
    • Diodes & Rectifiers
    • Interface & RF Encoder ICs
    • Logic ICs (74xx)
    • Logic ICs (CD4000)
    View all
  • Passive67 products
    • Capacitors
    • Circuit Protection
    • Crystals & Oscillators
    • Inductors
    View all
  • Displays & LEDs572 products
    • 7-Segment & Dot Matrix
    • Addressable LEDs
    • Character LCDs
    • Graphic LCDs
    View all
  • Switches & Relays184 products
    • Keypads & Touch
    • Push Buttons & Tactile
    • Relay Modules
    • Relays
    View all
  • Wires & Cables233 products
    • Board-to-Wire Connectors
    • Crimp & Splice
    • Headers & Dupont
    • Heat Shrink & Sleeving
    View all
  • Prototyping101 products
    • Breadboards
    • Interface Modules
    • PCBs & Perfboards
    View all
  • Tools & Test717 products
    • Bench Power Supplies
    • Hand Tools
    • Measuring Tools
    • Meters & Testers
    View all
  • Robotics180 products
    • Humanoid & Legged Robots
    • Robot Chassis & Platforms
    • Robotic Arms & Grippers
    • Wheels & Casters
    View all
  • STEM Kits268 products
    • Arduino Learning Kits
    • Coding & IoT Kits
    • Early Coding (Ages 3-8)
    • Invention Kits
    View all
  • Atal Tinkering Lab196 products
    • Package 1: Electronics, Robotics, IoT and Sensors
    • Package 2: Rapid Prototyping Tools
    • Package 3: Mechanical, Electrical and Measurement Tools
    • Package 4: Power Supply, Accessories and Safety Equipment
    View all
  • Mechanical Parts212 products
    • Bearings
    • Brackets & Mounts
    • Couplers
    • Fasteners & Standoffs
    View all
  • Audio109 products
    • Amplifier Modules
    • Buzzers & Sirens
    • Speakers
    View all
  1. Home
  2. ›Guides
  3. ›Power & Batteries
  4. ›AMS1117 regulator

Component guide · Beginner · 3 min read

AMS1117 regulator

Pinout, Wiring and Code

By Geekobot Learning Team · Updated 29 Oct 2026

I'm using
Wiring, code and the Run it panels follow your board.
On this page
Short answerWhat the AMS1117 regulator isAMS1117 regulator pinoutWiring the AMS1117 regulatorExample codeSetup and tuningWhat you needAlternatives and when to choose themTry itCommon mistakesFAQsParts and next steps
Short answer

The AMS1117 is a small linear (LDO) regulator that turns 4.5 to 12 V into a fixed 3.3 V or 5 V at up to about 800 mA. It needs at least about 1.1 to 1.3 V more at the input than the output, and it burns the extra voltage as heat, so keep the input low and the current modest.

Key specs at a glance

Output
Fixed 3.3 V or 5 V (other fixed versions exist)
Current
Up to 800 mA (1 A peak), limited by heat
Dropout
About 1.1 V at light load, 1.3 V at 800 mA
Input
Up to 15 V on the chip; modules usually 4.5 to 7 V for 3.3 V output
Package
SOT-223
Capacitors
Needs 10 to 22 µF on the output (fitted on modules)
01

What the AMS1117 regulator is

The AMS1117 is a linear voltage regulator: it lowers the voltage by dropping the difference across a transistor, so power lost = (input − output) × current. From 5 V to 3.3 V at 300 mA that is 0.5 W, fine. From 12 V to 3.3 V at the same current it is 2.6 W, which overheats the small package.

It is the regulator on most Arduino clones and ESP boards and the standard way to get 3.3 V from 5 V.

02

AMS1117 regulator pinout

The pins on the AMS1117 regulator and what each one does.

PinFunction
VIN (IN)Input voltage
GND (ADJ)Ground on fixed versions
VOUT (OUT)Regulated 3.3 V or 5 V output; the tab is also VOUT
PinFunction
VIN (IN)
Input voltage
GND (ADJ)
Ground on fixed versions
VOUT (OUT)
Regulated 3.3 V or 5 V output; the tab is also VOUT
03

Wiring the AMS1117 regulator

A typical use is a clean 3.3 V supply for an ESP-01 or a 3.3 V sensor from a 5 V board. Keep wires short and leave the module's capacitors in place.

AMS1117 regulator pinArduino UnoESP32
VIN5V pin5V (USB) pin
GNDGNDGND
VOUT 3.3 V3.3 V sensor VCCExtra 3.3 V rail
VIN
Arduino Uno:
5V pin
ESP32:
5V (USB) pin
GND
Arduino Uno:
GND
ESP32:
GND
VOUT 3.3 V
Arduino Uno:
3.3 V sensor VCC
ESP32:
Extra 3.3 V rail
04

Example code

The regulator needs no code. Logging the rail while Wi-Fi transmits shows whether it sags under the 300 to 400 mA bursts of an ESP module.

Check the 3.3 V rail under load (ESP32) · Arduino C++Verify & upload in Electrolark
// 10k/10k divider from the AMS1117 output to GPIO 34
void setup() { Serial.begin(115200); }

void loop() {
  float v = analogReadMilliVolts(34) * 2 / 1000.0;
  Serial.printf("3.3 V rail: %.2f V\n", v);
  delay(1000);
}
05

Setup and tuning

Heat

use the linear regulator heat calculator. More than about 1 W needs copper area or a switching converter.

Dropout

3.7 V from a Li-ion cell is too low for a stable 3.3 V at high current; use an LDO with lower dropout or a buck-boost converter.

ESP modules

add 100 to 470 µF on the output to cover Wi-Fi current spikes.

06

What you need

Shop this list4 of 5 found in our store · ₹269

  • AMS1117 fixed regulator module: the regulator this guide coversAMS1117 Fixed Regulator Module₹19
  • AI-Thinker ESP-01S ESP8266 Wi-Fi module: a common 3.3 V loadAI-Thinker ESP-01S ESP8266 WiFi Module₹185
  • Uno R3 development board: the controller used in the wiring tableFind this part
  • Electrolytic capacitor: extra bulk capacitance for Wi-Fi spikesElectrolytic Capacitor₹16
  • Dupont jumper wires: for the connectionsDupont Jumper Wires (40 pcs)₹49Closest match, check the specs
07

Alternatives and when to choose them

  • ✓LM2596: switching buck, for big voltage drops or currents over 0.5 A.
  • ✓Voltage regulators guide: 78xx, LM317 and LDOs compared.
  • ✓MT3608: when the input is lower than the output.
08

Try it: Linear regulator heat calculator

Change the values and the diagram and results update as you type.

09

Common mistakes to avoid

  • !Feeding 12 V and drawing 500 mA, which overheats the chip.
  • !Removing the output capacitor, which makes the regulator oscillate.
  • !Expecting 3.3 V from a 3.7 V cell under load.
  • !Using the 3.3 V version to power 5 V parts.
10

Frequently asked questions

What is the input range for the 3.3 V AMS1117?

About 4.5 V up to about 7 V on modules is practical; the chip allows up to 15 V but heat rises fast.

How much current can it supply?

Up to 800 mA, but heat usually limits it to 300 to 500 mA in practice.

Can it run an ESP8266 or ESP32?

Yes from 5 V, with a large capacitor on the output for transmit bursts.

Why is it getting very hot?

The input voltage is too high for the current. Lower the input or use a buck converter.

Is AMS1117 an LDO?

Yes, but its dropout of about 1.1 V is high for an LDO; newer parts drop under 0.3 V.

Can I use it to drop 5 V logic to 3.3 V?

No. It is a power regulator; use a level shifter for signals.

Parts for this guide

  • AMS1117 Fixed Regulator Module
    ₹19View
  • AI-Thinker ESP-01S ESP8266 WiFi Module
    ₹185View
  • Uno R3 Development Board (No Cable)
    ₹359View
  • Electrolytic Capacitor
    ₹16View
  • Dupont Jumper Wires (40 pcs)
    ₹49View
Shop DC-DC Converters

Calculators

Linear regulator heat calculatorPower dissipation calculator

Keep learning

ComparisonBeginnerVoltage RegulatorsA voltage regulator holds its output steady, such as 5 V or 3.3 V, while the input varies.4 min read · Power & BatteriesComponent guideBeginnerBuck and Boost ConvertersA DC-DC converter changes one DC voltage to another efficiently by switching current through an inductor.4 min read · Power & BatteriesHow-toBeginnerHow to Power an Arduino or ESP32 from BatteriesFor an Arduino Uno or Nano, feed 7 to 12 V into VIN or the barrel jack (6 x AA works well), or regulated 5 V into the 5V pin or USB.4 min read · Power & BatteriesHow-toIntermediate3.3 V vs 5 V LogicYou need level shifting when a 5 V device sends signals to a 3.3 V board such as an ESP32 or Raspberry Pi Pico, because 5 V on their pins can damage them.4 min read · Prototyping & Wiring

Sources

  • AMS1117 1A low dropout voltage regulator datasheet (Advanced Monolithic Systems)

Written by the Geekobot team from manufacturer datasheets. Always check the datasheet for the exact part and variant you buy.

On this page
Short answerWhat the AMS1117 regulator isAMS1117 regulator pinoutWiring the AMS1117 regulatorExample codeSetup and tuningWhat you needAlternatives and when to choose themTry itCommon mistakesFAQsParts and next steps
Need a hand?Ask Geeko AI which part fits your project, or talk to the Geekobot team.Ask Geeko AIHelp & support

Parts for this guide3 items · ₹220

AMS1117 Fixed Regulator Module · AI-Thinker ESP-01S ESP8266 WiFi Module · Electrolytic Capacitor

Run itChange the inputs and watch the output

The AMS1117 needs about 1.1 V of headroom. Feed it from a 3.7 V cell and the rail sags.

0.43 WRegulator heat
Serial monitor115200 baud
3.3 V rail: 3.29 V

A simulation of the sketch above, so you know what to expect. Real readings vary with your parts and wiring.

Ask the Community

Ask a question