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. ›Electronics Fundamentals
  4. ›AC vs DC

Concept explainer · Beginner · 4 min read

AC vs DC

What Is the Difference and Why Electronics Run on DC

By Geekobot Learning Team · Updated 24 Oct 2026

On this page
Short answerThe difference in one tableWhy the grid uses AC and gadgets use DCRMS, peak and frequencyHow AC becomes DCWorking safely near mainsTry itCommon mistakesFAQsParts and next steps
Short answer

Direct current (DC) flows one way at a steady voltage, like a battery or USB charger. Alternating current (AC) reverses direction many times a second; Indian mains is 230 V at 50 Hz. Power grids use AC because transformers can step it up for transmission and down for homes. Electronics need DC, so every adapter and charger converts AC to low-voltage DC. Mains AC is dangerous: only switch it with rated relays and enclosed modules.

Key specs at a glance

DC
One direction, steady voltage: batteries, USB, solar panels
AC
Reverses direction: mains, transformers, generators
India mains
230 V RMS, 50 Hz single phase (about 400 to 415 V three phase)
Peak of 230 V AC
About 325 V
Conversion
Transformer + rectifier + regulator, or a switch-mode supply (SMPS)
Meter setting
V~ (or VAC) for AC, V with a straight line for DC
!Safety: Mains voltage can kill

This part is often wired to 230 V mains. Do all wiring with the plug pulled out, keep mains wires inside a closed box with strain relief, add a fuse, and never touch the board while it is plugged in. If you are new to mains wiring, have an electrician check it before you switch on.

01

The difference in one table

DCAC
DirectionConstantReverses 100 times a second at 50 Hz
SourcesBatteries, solar panels, USB, adaptersGrid, generators, inverters
Changing voltageNeeds electronic convertersTransformers do it simply
Used byAll electronics, LEDs, motors with driversHome wiring, fans, pumps, heaters, transformers
StorageBatteries store DCCannot be stored directly
Direction
DC:
Constant
AC:
Reverses 100 times a second at 50 Hz
Sources
DC:
Batteries, solar panels, USB, adapters
AC:
Grid, generators, inverters
Changing voltage
DC:
Needs electronic converters
AC:
Transformers do it simply
Used by
DC:
All electronics, LEDs, motors with drivers
AC:
Home wiring, fans, pumps, heaters, transformers
Storage
DC:
Batteries store DC
AC:
Cannot be stored directly
02

Why the grid uses AC and gadgets use DC

Power lost in a wire is I²R, so sending power at very high voltage and low current wastes much less. Transformers, which only work with AC, make it cheap to step voltage up to hundreds of kilovolts for transmission and down to 230 V for homes. Inside a device, however, chips, LEDs and batteries need a steady voltage in one direction, so the device's power supply converts AC to DC. Modern high-voltage DC links and solar systems are changing this balance, but your wall socket will stay AC.

03

RMS, peak and frequency

AC voltage is quoted as RMS (root mean square): the DC voltage that would heat a resistor equally. For a sine wave, peak = RMS x 1.414, so 230 V mains peaks at about 325 V and swings between +325 V and -325 V. That is why capacitors on a rectified mains supply need ratings of 400 V or more. Frequency is how many full cycles happen per second: 50 Hz in India, Europe and most of Asia; 60 Hz in North America. Cheap multimeters read RMS correctly only for clean sine waves; a true-RMS meter handles distorted waveforms.

04

How AC becomes DC

  1. 1
    Step down: a transformer (in older linear adapters) or a high-frequency switching stage (in modern SMPS chargers) lowers the voltage and isolates you from the mains.
  2. 2
    Rectify: diodes, usually a bridge rectifier, let current through in one direction only, giving bumpy DC.
  3. 3
    Smooth: a large electrolytic capacitor fills in the dips.
  4. 4
    Regulate: a voltage regulator or the SMPS control loop holds the output at exactly 5 V, 12 V or whatever is needed.

For projects, buy an enclosed, certified SMPS or adapter rather than building a mains supply.

05

Working safely near mains

  • ✓Mains AC can kill. Leave wiring of sockets, switchboards and appliances to a qualified electrician.
  • ✓To switch a mains load from a microcontroller, use a relay module or SSR rated for the load, inside a closed enclosure, with mains and low-voltage wiring kept apart.
  • ✓Never work on a circuit that is plugged in. Unplugging is safer than switching off.
  • ✓Use fuses and an earth connection on metal enclosures.
  • ✓Keep breadboards and jumper wires away from mains entirely.
06

Try it: Ohm's law calculator

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

07

Common mistakes to avoid

  • !Measuring mains with the meter set to DC volts.
  • !Using 250 V capacitors after a 230 V rectifier (the peak is 325 V).
  • !Switching mains with a relay on an open breadboard.
  • !Assuming a 12 V AC transformer output gives 12 V DC after a rectifier; it gives about 16 V peak minus diode drops.
  • !Working on a plugged-in appliance.
08

Frequently asked questions

What is the difference between AC and DC?

DC flows in one direction at a steady voltage; AC reverses direction many times per second. Batteries give DC; wall sockets give AC.

Is Indian mains 220 V or 230 V?

The standard is 230 V at 50 Hz, with an allowed tolerance. Older equipment is often labelled 220 V; both refer to the same supply.

Why do we use AC in homes?

AC voltage is easy to change with transformers, so power can be transmitted at high voltage with low losses and stepped down for homes.

Can a DC motor run on AC?

A permanent-magnet DC motor will not run properly on AC. Universal motors (in mixers and drills) run on both.

Is AC or DC more dangerous?

Both are dangerous at mains voltages. AC at 50 Hz is particularly hazardous because it can disturb the heart's rhythm. Treat any voltage above about 50 V with care.

Parts for this guide

  • Enclosed SMPS Power Supply
    ₹257View
  • DC Power Adapter (5.5x2.1mm)
    ₹188View
  • AC/DC Clamp Meter
    ₹2,679View
  • Solid State Relay Module (SSR)
    ₹129View
Shop SMPS & AdaptersShop Multimeters & Clamp Meters

Calculators

Ohm's law calculatorPower dissipation calculator

Terms in this guide

VoltageElectrical pressure between two points, measured in volts (V). It pushes current through a resistance.CurrentThe flow of electric charge through a circuit, measured in amperes (A) or milliamps (mA). It is what heats wires and drains batteries.FrequencyHow many times per second a signal repeats, measured in hertz (Hz). 1 kHz is 1000 cycles per second.RectifierA diode or bridge that converts AC into pulsing DC by letting current pass in one direction only.True RMSA multimeter feature that measures the real effective value of non-sinusoidal AC.RippleSmall leftover AC variation on a DC supply, especially from switching converters.SSRSolid-state relay: an electronic switch with no moving parts, controlled like a relay.

Keep learning

Concept explainerBeginnerOhm's Law and PowerOhm's law says voltage equals current times resistance: V = I x R.4 min read · Electronics FundamentalsComponent guideBeginnerDiodes ExplainedA diode lets current flow one way, from anode to cathode (the striped end), and blocks it the other way, dropping about 0.7 V in silicon types and 0.3 V in Schottky types.4 min read · Semiconductors & ICsComparisonBeginnerVoltage RegulatorsA voltage regulator holds its output steady, such as 5 V or 3.3 V, while the input varies.4 min read · Power & BatteriesComponent guideBeginnerRelay ModulesA relay module is an electrically controlled switch that lets a microcontroller turn a separate circuit on or off, such as a 12 V pump or a mains lamp.4 min read · Switches, Relays & InputHow-toBeginnerHow to Use a MultimeterTo measure voltage, set the multimeter to V DC, plug the red lead into the V/Ω jack and the black into COM, then touch the leads across the part.3 min read · Tools & Workshop Skills

Sources

  • Bureau of Indian Standards IS 12360 (voltage bands and frequency)
  • IEC 60038 standard voltages
  • Basic electrical engineering references on RMS and transmission losses

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

On this page
Short answerThe difference in one tableWhy the grid uses AC and gadgets use DCRMS, peak and frequencyHow AC becomes DCWorking safely near mainsTry 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 guide4 items · ₹3,253

Enclosed SMPS Power Supply · DC Power Adapter (5.5x2.1mm) · AC/DC Clamp Meter · Solid State Relay Module (SSR)

Ask the Community

Ask a question