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. ›XL6009 boost converter

Component guide · Beginner · 3 min read

XL6009 boost converter

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 XL6009 boost converter isXL6009 boost converter pinoutWiring the XL6009 boost converterExample codeSetup and tuningWhat you needAlternatives and when to choose themTry itCommon mistakesFAQsParts and next steps
Short answer

The XL6009 module steps a DC voltage up to an adjustable 5 to 35 V from a 3 to 32 V input. Its 4 A switch gives more output current than the MT3608, for example around 1 A at 12 V from a 5 V supply. Set the voltage with the trimmer before connecting the load, and keep the output above the input.

Key specs at a glance

Input
3 to 32 V
Output
5 to 35 V, adjustable
Switch current
4 A
Practical output
About 1 A at 12 V from 5 V, less from a single cell
Efficiency
Up to about 94 percent
Switching
400 kHz
01

What the XL6009 boost converter is

The XL6009 is a larger boost converter module. It suits loads that need a higher voltage than your battery: 12 V LED strips or fans from a 2S pack, 24 V sensors from 12 V, or 9 V for an Uno from a single cell.

Some versions are buck-boost (SEPIC) and can also step down; check the module markings if you need that.

02

XL6009 boost converter pinout

The pins on the XL6009 boost converter and what each one does.

PinFunction
IN+ / IN−Input 3 to 32 V
OUT+ / OUT−Boosted output 5 to 35 V
TrimmerSets the output voltage
PinFunction
IN+ / IN−
Input 3 to 32 V
OUT+ / OUT−
Boosted output 5 to 35 V
Trimmer
Sets the output voltage
03

Wiring the XL6009 boost converter

Use the boosted output for loads that need it, and power 3.3 V or 5 V logic from a separate regulator.

XL6009 boost converter pinArduino UnoESP32
IN+ / IN−2S Li-ion pack (7.4 V)2S Li-ion pack (7.4 V)
OUT+Barrel jack / VIN (set 9 V)Fan or 12 V load (set 12 V)
OUT−GNDGND
IN+ / IN−
Arduino Uno:
2S Li-ion pack (7.4 V)
ESP32:
2S Li-ion pack (7.4 V)
OUT+
Arduino Uno:
Barrel jack / VIN (set 9 V)
ESP32:
Fan or 12 V load (set 12 V)
OUT−
Arduino Uno:
GND
ESP32:
GND
04

Example code

The converter needs no code. This example controls a 12 V load from the boosted rail with a MOSFET.

Switch a 12 V fan from the boosted rail · Arduino C++Verify & upload in Electrolark
// fan on XL6009 OUT (12 V), switched by a logic-level MOSFET on pin 9
const int FAN = 9;

void setup() { pinMode(FAN, OUTPUT); }

void loop() {
  analogWrite(FAN, 255); delay(5000);   // full speed
  analogWrite(FAN, 120); delay(5000);   // slower
  analogWrite(FAN, 0);   delay(3000);
}
05

Setup and tuning

Current budget

input current ≈ output power ÷ 0.85 ÷ input voltage. Keep it under about 3 A.

Heat

the chip and diode get hot above 2 A input; add a heatsink.

Battery cut-off

like all boost modules, it keeps running until the battery is flat; protect Li-ion packs with a BMS.

Calculator

the boost converter design tool estimates input current.

06

What you need

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

  • XL6009 adjustable boost converter module: the converter this guide coversXL6009 Adjustable Boost Converter Module₹63
  • 4-cell 18650 battery holder board V3: battery source18650 Battery Holder₹29
  • Digital multimeter: to set and check output voltageDigital Multimeter₹177
  • Uno R3 development board: the controller used in the wiring tableFind this part
  • Dupont jumper wires: for the signal connectionsDupont Jumper Wires (40 pcs)₹49Closest match, check the specs
07

Alternatives and when to choose them

  • ✓MT3608: smaller, cheaper, for loads under about 0.5 A.
  • ✓XL4015: to step down from a higher supply instead.
  • ✓Solar power: when the source voltage varies a lot.
08

Try it: Boost converter design calculator

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

09

Common mistakes to avoid

  • !Setting the output below the input.
  • !Drawing too much current from a single Li-ion cell.
  • !Forgetting a heatsink at high current.
  • !Assuming the boosted rail is safe for 3.3 V logic.
10

Frequently asked questions

What is the difference between XL6009 and MT3608?

The XL6009 has a 4 A switch and bigger parts, so it gives more output current. The MT3608 is smaller and cheaper.

Can it step down?

The standard boost version cannot. Buck-boost (SEPIC) versions can; check the module.

How much current at 12 V from 5 V?

About 1 A, depending on cooling and the source.

Can it power an Uno from one Li-ion cell?

Yes: set 7 to 9 V for the barrel jack or 5 V for the 5 V pin.

Why is it getting hot?

Input current is high. Lower the load or step up from a higher input voltage.

Is it safe for LED strips?

Yes for short 12 V strips. Check total power with the LED strip calculator.

Parts for this guide

  • XL6009 Adjustable Boost Converter Module
    ₹63View
  • 4-Cell 18650 Battery Holder Board V3
    ₹818View
  • Digital Multimeter
    ₹177View
  • Uno R3 Development Board (No Cable)
    ₹359View
  • Dupont Jumper Wires (40 pcs)
    ₹49View
Shop DC-DC Converters

Calculators

Boost converter design calculatorPower supply sizing calculator

Terms in this guide

Boost converterA DC-DC converter that raises voltage, for example 3.7 V to 5 V.

Keep learning

Component guideBeginnerBuck and Boost ConvertersA DC-DC converter changes one DC voltage to another efficiently by switching current through an inductor.4 min read · Power & BatteriesComponent guideBeginnerMT3608 boost converterThe MT3608 module steps a low DC voltage up, for example 3.7 V from a Li-ion cell to 5 V or 12 V.3 min read · Power & BatteriesComponent guideBeginnerLi-ion, 18650 and LiPo BatteriesLithium-ion cells, including 18650s and flat LiPo packs, store about 3.6 to 3.7 V nominal, charge to exactly 4.2 V and should not be discharged below about 3.0 V.4 min read · Power & BatteriesBuying guideBeginnerLED StripsA plain LED strip has LEDs and resistors in short groups that run from 12 V or 24 V, and you can cut it at marked points.3 min read · Displays & LEDs

Sources

  • XL6009 400KHz 4A 40V buck-boost DC to DC converter datasheet (XLSEMI)

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 XL6009 boost converter isXL6009 boost converter pinoutWiring the XL6009 boost converterExample 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 · ₹269

XL6009 Adjustable Boost Converter Module · 18650 Battery Holder · Digital Multimeter

Run itChange the inputs and watch the output

Full speed 5 s, slower (120) 5 s, off 3 s.

12 V fan fwd 100%
255analogWrite(FAN)

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