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. ›Sensors
  4. ›ACS712 vs INA219 Current Sensors
Step 17 of 18 in Sensors and measurementPart of a learning path.
Next

Comparison · Intermediate · 3 min read

ACS712 vs INA219 Current Sensors

By Geekobot Learning Team · Updated 24 Oct 2026

On this page
Short answerHall effect or shunt?Reading an ACS712Reading an INA219Try itCommon mistakesFAQsParts and next steps
Short answer

The ACS712 is a Hall-effect current sensor that outputs an analog voltage centred at 2.5 V, rising or falling 185, 100 or 66 mV per amp for its 5, 20 and 30 A versions. It is isolated and reads AC or DC. The INA219 measures current through a small shunt resistor plus bus voltage and power, and reports them digitally over I2C. Use the INA219 for small DC currents and battery monitoring.

Key specs at a glance

ACS712 ranges
±5 A (185 mV/A), ±20 A (100 mV/A), ±30 A (66 mV/A)
ACS712 supply / output
5 V; output centred at 2.5 V (VCC/2)
ACS712 isolation
Galvanically isolated Hall sensor; reads AC and DC
INA219 range
±3.2 A with the usual 0.1 Ω shunt; bus up to 26 V
INA219 interface
I2C, 0x40 to 0x4F; reports current, voltage and power
INA226
Up to 36 V bus, higher resolution
01

Hall effect or shunt?

ACS712INA219
MethodHall effect, isolatedShunt resistor, high-side, not isolated
OutputAnalog voltageDigital I2C
AC currentYes (sample and compute RMS)No, DC only
Resolution on UnoAbout 26 mA per step (5 A version)About 0.8 mA
Also measuresCurrent onlyBus voltage and power
Best forMains-isolated loads, motors, higher currentsBatteries, solar, low-current DC
Method
ACS712:
Hall effect, isolated
INA219:
Shunt resistor, high-side, not isolated
Output
ACS712:
Analog voltage
INA219:
Digital I2C
AC current
ACS712:
Yes (sample and compute RMS)
INA219:
No, DC only
Resolution on Uno
ACS712:
About 26 mA per step (5 A version)
INA219:
About 0.8 mA
Also measures
ACS712:
Current only
INA219:
Bus voltage and power
Best for
ACS712:
Mains-isolated loads, motors, higher currents
INA219:
Batteries, solar, low-current DC
02

Reading an ACS712

Connect VCC to 5 V, GND to GND, OUT to an analog pin, and put the module's screw terminals in series with the load. Current (A) = (Vout − 2.5 V) ÷ sensitivity. Measure the zero-current voltage on startup rather than assuming exactly 2.5 V, and average many samples because the output is noisy. On a 3.3 V board such as an ESP32, add a voltage divider so the output never exceeds 3.3 V. For AC, sample quickly over a few mains cycles and compute RMS.

Allegro now recommends newer parts such as the ACS723 for new designs, but ACS712 modules remain common and work well for learning.

03

Reading an INA219

Wire VCC to 3.3 V or 5 V, SDA and SCL to the I2C pins, and connect VIN+ to the supply and VIN− to the load so current flows through the shunt. Grounds must be common. With the Adafruit INA219 library, getCurrent_mA(), getBusVoltage_V() and getPower_mW() give readings directly. Up to 16 can share a bus by setting A0 and A1. Use it to measure the true current of a battery project and estimate run time with the battery life calculator.

04

Try it: Voltage divider calculator

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

05

Common mistakes to avoid

  • !Feeding a 5 V ACS712 output straight into a 3.3 V ADC.
  • !Assuming the zero point is exactly 2.5 V.
  • !Using a 30 A ACS712 to measure a few hundred mA.
  • !Putting an INA219 on the low side, which gives wrong bus voltage.
  • !Working on mains current without proper insulation and enclosure.
06

Frequently asked questions

Can the ACS712 measure AC current?

Yes. Sample the output quickly and calculate the RMS value over whole mains cycles.

Which current sensor is best for battery monitoring?

The INA219 or INA226, because they measure small DC currents accurately and also report voltage and power.

Does the ACS712 work with ESP32?

It needs 5 V power, and its output must be divided down to below 3.3 V before the ESP32 ADC.

Why is my ACS712 reading noisy?

The analog output carries noise. Average many samples, add a small capacitor on the filter pin, and keep motor wiring away.

Can the INA219 measure more than 3.2 A?

Yes, by replacing the shunt with a lower value and recalibrating, but check the shunt's power rating.

Parts for this guide

  • USB Power Meter / Tester
    ₹649View
  • AC/DC Clamp Meter
    ₹2,679View
  • Digital Multimeter
    ₹177View
Shop Interface ModulesShop Multimeters & Clamp Meters

Calculators

Voltage divider calculatorADC resolution calculatorBattery life calculatorPower dissipation calculator

Terms in this guide

Hall effectThe small voltage produced across a conductor or sensor in a magnetic field. Hall sensors use it to detect magnets or measure current without electrical contact.Shunt resistorA low-value, accurate resistor placed in series with a load so the current can be calculated from the small voltage across it.ADCAnalog-to-digital converter: turns a voltage into a number. A 10-bit ADC gives 0 to 1023; a 12-bit ADC gives 0 to 4095.True RMSA multimeter feature that measures the real effective value of non-sinusoidal AC.Voltage dividerTwo resistors in series that output a fixed fraction of the input voltage.I2CInter-Integrated Circuit: a two-wire bus (SDA and SCL) that connects many devices by address.

Projects that use it

Put this into practice: 33 step-by-step builds in our project library use parts from this guide.

Intermediate · 1–2 hoursDC energy meter in watt-hoursView projectBeginner · 1 hourSolar panel power meterView projectIntermediate · 1–2 hoursDIY USB power meterView project
Browse all 33 projects

Keep learning

Concept explainerBeginnerADCs ExplainedAn analog-to-digital converter (ADC) measures a voltage and returns a number.4 min read · Electronics FundamentalsHow-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 SkillsConcept explainerBeginnerOhm's Law and PowerOhm's law says voltage equals current times resistance: V = I x R.4 min read · Electronics FundamentalsHow-toIntermediateSolar Panels and Charge Controllers for Electronics ProjectsA solar project needs a panel, a charge controller and a battery.3 min read · Power & BatteriesConcept explainerIntermediateI2C ExplainedI2C is a two-wire bus that lets one microcontroller talk to many sensors and displays using a data line (SDA) and a clock line (SCL).4 min read · Electronics Fundamentals

Sources

  • Allegro MicroSystems ACS712 datasheet
  • Texas Instruments INA219 and INA226 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 answerHall effect or shunt?Reading an ACS712Reading an INA219Try 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 · ₹3,505

USB Power Meter / Tester · AC/DC Clamp Meter · Digital Multimeter

Ask the Community

Ask a question