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. ›7805, 7812, 79xx and 78Mxx Voltage Regulators

Component guide · Beginner · 3 min read

7805, 7812, 79xx and 78Mxx Voltage Regulators

Pinout, Wiring and Heat

By Geekobot Learning Team · Updated 29 Oct 2026

On this page
Short answerWhat the 78xx and 79xx voltage regulators is78xx and 79xx voltage regulators pinoutWiring the 78xx and 79xx voltage regulatorsExample codeSetup and tuningWhat you needAlternatives and when to choose themCommon mistakesFAQsParts and next steps
Short answer

The 78xx family are fixed positive linear regulators (7805 gives 5 V, 7812 gives 12 V) and the 79xx family are the negative versions (7905 gives -5 V). The 78Mxx is a 500 mA SMD version. They need only two capacitors and are very robust, but waste power as heat and need about 2 V of headroom.

Key specs at a glance

Output
Fixed: 5, 9, 12 V (78xx); -5, -12 V (79xx)
Current
1 A (78xx, 79xx TO-220); 500 mA (78Mxx)
Dropout
About 2 V
Input max
35 V (78xx); -35 V (79xx)
Capacitors
0.33 uF in, 0.1 uF out (78xx); larger for 79xx
Protection
Thermal shutdown, current limit

Models in this guide

These are alternatives. Pick the one that fits your project; you only need one.

  • Option 1LM7812 12V Voltage Regulator Module₹97
  • Option 279xx Negative Voltage Regulator IC (TO-220)₹12
  • Option 378Mxx / 79Mxx Voltage Regulator, TO-252 SMD₹9
01

What the 78xx and 79xx voltage regulators is

The 78xx and 79xx are fixed three-pin linear regulators. The last two digits give the voltage: a 7805 makes +5 V and a 7905 makes −5 V from a higher input.

Pinouts differ. 78xx: IN, GND, OUT (left to right, text facing you). 79xx: GND, IN, OUT. Mixing them up is the most common mistake.

A split supply for op-amps uses a 78xx and a 79xx together from a centre-tapped transformer or two batteries.

02

78xx and 79xx voltage regulators pinout

The pins on the 78xx and 79xx voltage regulators and what each one does.

PinFunction
78xx pin 1 / 2 / 3IN / GND / OUT
79xx pin 1 / 2 / 3GND / IN / OUT
TabGND (78xx), IN (79xx)
PinFunction
78xx pin 1 / 2 / 3
IN / GND / OUT
79xx pin 1 / 2 / 3
GND / IN / OUT
Tab
GND (78xx), IN (79xx)
03

Wiring the 78xx and 79xx voltage regulators

Connect the 78xx and 79xx voltage regulators like this.

78xx and 79xx voltage regulators pin7805 / 78127905
INPin 1 with 0.33 uF to GNDPin 2 with 2.2 uF to GND
OUTPin 3 with 0.1 uF to GNDPin 3 with 1 uF to GND
GNDPin 2Pin 1
IN
7805 / 7812:
Pin 1 with 0.33 uF to GND
7905:
Pin 2 with 2.2 uF to GND
OUT
7805 / 7812:
Pin 3 with 0.1 uF to GND
7905:
Pin 3 with 1 uF to GND
GND
7805 / 7812:
Pin 2
7905:
Pin 1
04

Example code

A minimal sketch to check the part works.

Heat check · text
P = (Vin - Vout) x I
9 V in, 5 V out, 0.5 A -> 2 W -> needs a small heatsink
12 V in, 5 V out, 1 A -> 7 W -> large heatsink or use a buck
05

Setup and tuning

Capacitors

fit 0.33 µF at the input and 0.1 µF at the output for a 78xx; the 79xx needs larger ones (about 2.2 µF in, 1 µF out).

Pinout

78xx is IN, GND, OUT; 79xx is GND, IN, OUT, and its tab is the input, so insulate it from grounded heatsinks.

Heatsink

add one above about 1 W of loss (voltage drop × current).

Protection diode

with large output capacitors, add a diode from OUT to IN so the regulator is not reverse-biased at power-off.

Headroom

keep the input at least 2 V above the output.

06

What you need

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

  • LM7812 12V Voltage Regulator Module: the part this guide coversLM7812 12V Voltage Regulator Module₹97
  • 79xx Negative Voltage Regulator IC (TO-220): another version this guide coversFind this part
  • 78Mxx / 79Mxx Voltage Regulator, TO-252 SMD: another version this guide covers78Mxx / 79Mxx Voltage Regulator, TO-252 SMD₹9
  • Digital multimeter: to check supply and signal voltagesDigital Multimeter₹177
  • DC power adapter (5.5 x 2.1 mm): a wall adapter inputDC Power Adapter (5.5x2.1mm)₹188
07

Alternatives and when to choose them

  • ✓LM317 adjustable.
  • ✓AMS1117: low dropout.
  • ✓Voltage regulators.
08

Common mistakes to avoid

  • !Using the 78xx pinout on a 79xx, which has its pins in a different order.
  • !Leaving out the capacitors, so the regulator oscillates.
  • !Dropping a large voltage without a heatsink.
  • !Feeding it less than 2 V above the output.
09

Frequently asked questions

Can I power a 7805 from a 9 V battery?

Yes, but it wastes about 40 % of the energy as heat, so a small buck converter gives far longer battery life.

How do I get a negative voltage?

Use a 79xx regulator such as the 7905 or 7912, fed from a negative supply.

How much current can a 7805 supply?

About 1 A in the TO-220 package with a heatsink. The 78M05 is a 500 mA version.

What is the 78M05?

A 500 mA version of the 7805, often in a small SMD package.

Why use a linear regulator instead of a buck converter?

Linear regulators are simpler and have no switching noise, which suits audio and analog circuits.

Parts for this guide

  • LM7812 12V Voltage Regulator Module
    ₹97View
  • 79xx Negative Voltage Regulator IC (TO-220)
    ₹12View
  • 78Mxx / 79Mxx Voltage Regulator, TO-252 SMD
    ₹9View
  • Digital Multimeter
    ₹177View
  • DC Power Adapter (5.5x2.1mm)
    ₹188View
Shop Voltage Regulators

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 guideBeginnerLM317 and LM350 Adjustable Linear RegulatorsThe LM317 is a classic adjustable linear regulator: two resistors set the output from 1.25 V to about 37 V, up to 1.5 A.3 min read · Power & BatteriesComponent guideBeginnerAMS1117 regulatorThe 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.3 min read · Power & Batteries

Sources

  • ON Semi MC7800 and MC7900 datasheets

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 78xx and 79xx voltage regulators is78xx and 79xx voltage regulators pinoutWiring the 78xx and 79xx voltage regulatorsExample codeSetup and tuningWhat you needAlternatives and when to choose themCommon 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 · ₹462

LM7812 12V Voltage Regulator Module · Digital Multimeter · DC Power Adapter (5.5x2.1mm)

Ask the Community

Ask a question