Top view of the ACS712 5A current sensor module, chip marked ELC-05B

ACS712 Hall Effect Current Sensor Module 5A to 30A

5A
$4.99 NZD
Save 5% at 5+
Skip to product information
SKU: MOD-ACS712-05A

ACS712 Hall Effect Current Sensor Module 5A to 30A

$4.99 NZD
Current range
Buy more, pay less Prices shown are per unit. Add enough of this item and the lower rate applies on its own at checkout. There is no code to enter and you do not need to buy a pack. Choosing a tier here just sets the quantity for you. Larger quantities go out in the same bag, so packing, handling and postage cost us less per unit. We pass that saving straight on to you, so you can buy more for less. Discount codes don't stack with these prices. If you use a code at checkout, you get the code or the quantity price, whichever saves you more, and the price per unit changes to match.

Easy 30-day returns · 12-month warranty

Included: datasheet (PDF) and wiring help by email

Availability:
Order before 7:30am (12pm weekends) for same-day dispatch
Delivery $5.99 urban, free from $50

NZ Post 1-2 days urban, 2-4 days rural

Order by Mon 21 Dec urban or Wed 16 Dec rural for Christmas

NZ Post doesn't guarantee these dates, so earlier is safer.

Delivery Details
  • Urban delivery from $5.99, free on orders from $50.
  • Rural delivery from $9.99, free on orders from $88.
  • Free pick-up in Te Awamutu.
  • We dispatch every day except public holidays.
Shipping policy

A current sensor tells your Arduino how much current is flowing through a wire. This module uses the ACS712 Hall effect chip. The current passes through a copper path inside the chip, and the chip turns the magnetic field around that path into a voltage. It reads DC or low-voltage AC current flowing either way, and the path adds almost no resistance to your circuit. The range to pick is the one just above the most current your load draws. The 5A gives the finest reading, so it suits LED strips, small motors and battery charging. The 20A suits bigger 12V motors and pumps. As a guide, a small 12V pump drawing a few amps suits the 5A or 20A. A motor or heater drawing around 15A suits the 20A or 30A. The 30A covers loads up to 30A in coarser steps, so it suits loads of half an amp or more. The chip sets the range, so pick the one you need now.

You can use it to log how much current a motor draws, or to watch the current going into a battery as it charges. Add our 0-25V voltage sensor module and you can work out the power in watts. It runs from 5V and gives an analogue voltage, so its three header pins connect to 5V, GND and A0 on an Uno or Nano with female-to-male jumper wires. On a 3.3V board such as an ESP32, the output can rise above 3.3V, so it needs two resistors between OUT and the input pin (step 6 below). The wires you are measuring clamp into the screw terminal, and two holes let you screw the board down.

Specifications

ChipACS712 Hall effect current sensor, 5A version
Current range±5A (ACS712 chip)
Sensitivity185mV/A at 5V (ACS712 chip, typical)
Output at full current1.58V to 3.43V at 5V
Step on a 5V Arduinoabout 26mA (10-bit input)
MeasuresDC or low-voltage AC current, either direction
Supply voltage5V (the ACS712 chip runs from 4.5V to 5.5V)
OutputAnalogue voltage, half the supply (about 2.5V) with no current
Accuracy±1.5% at full current (ACS712 chip, 25°C)
Bandwidth80kHz with a 1nF filter capacitor (ACS712 chip)
Current path resistance1.2mΩ (ACS712 chip)
Operating temperature-40°C to 85°C (ACS712 chip)
Header pins3-pin male header, soldered: VCC, OUT, GND
Current connection2-way screw terminal
Power indicatorLED, lights when 5V is connected
SizeAbout 32 x 14mm, two mounting holes

Datasheets

Wiring & getting started

Wiring diagramArduino Uno
Wiring picture: Arduino Uno 5V to ACS712 VCC, A0 to OUT and GND to GND, with the supply positive lead through the J1 screw terminal to the motor and the motor negative lead back to the supply. J1 has no polarity marks, so swap the two wires if the reading goes below zero
Tap the picture to open it full size.
  1. Wire it into the circuit with the power off

    Cut or unplug the positive wire between your power supply and the load. Clamp the supply end into one side of the screw terminal and the load end into the other, so all the load's current passes through the module. The negative wire stays as it was.

  2. Connect the header pins

    VCC goes to 5V, GND to GND and OUT to A0 on an Uno or Nano. The power LED lights once the board is powered.

  3. Find the zero with the load off

    Have your sketch average about 1000 readings of A0 when it starts and keep that as the zero. On a 5V board it comes out close to 512 (about 2.5V), but it moves a little with the USB voltage, so measure it at each start-up rather than typing in 512.

  4. Work out the current

    Subtract the zero from each reading and divide by the sensitivity in volts per amp: amps = (reading - zero) * 5.0 / 1023 / 0.185. Your 5A module's figure is 0.185. A reading of 550 with a zero of 512 works out to 1.0A.

  5. Check it works

    With the load off it should print close to 0A, give or take a step or two. Switch on a load you know, such as a 12V LED strip that draws 1A, and it should read close to that. If the number is right but negative, swap the two wires in the screw terminal, or flip the sign in your code. Averaging 100 or more readings each time steadies the last digit.

  6. Using a 3.3V board such as an ESP32

    A 3.3V board needs these two resistors, because the output can rise above 3.3V. Power the module from the board's 5V or VIN pin, which carries the USB 5V. Then add two resistors from our resistor kit: 10K from OUT to the input pin and another 10K from the input pin to GND. They halve the output, so 0.5V to 4.5V becomes 0.25V to 2.25V, which sits inside the range the ESP32 reads most accurately. A 100nF capacitor from the input pin to GND steadies the reading. Read the pin with analogReadMilliVolts(), find the zero the same way, then divide by 92.5 for your 5A module to get amps. Treat those figures as a starting point and adjust them until the reading matches a load you know or a multimeter.

Note: The screw terminal carries the full voltage of the circuit you are measuring. This module is for low-voltage circuits such as battery, solar and 12V systems, so keep it off mains wiring.

Frequently asked questions

Can I use the 30A module for small currents too?
Yes, in coarse steps. On a 5V Arduino each step on the 30A is about 74mA, so a 200mA load shows as two or three steps and is hard to tell from the flicker. For loads under 5A, the 5A module reads in steps of about 26mA, nearly three times finer.
Can I power it from 3.3V for an ESP32?
No, the ACS712 chip needs 4.5V to 5.5V, and its zero point and sensitivity both follow the supply. Most ESP32 boards have a 5V or VIN pin fed from USB, so you can power the module from that and bring the output down with two resistors, as in step 6 of the wiring steps.
Can it measure AC current?
Yes, on low-voltage AC. The output swings above and below the zero point with the current, so a single reading only catches one moment of the wave. You get the current by sampling for about 200ms (ten cycles at 50Hz), subtracting the zero from each sample, taking the RMS and dividing by the sensitivity. The ACS712 library by Rob Tillaart in the Arduino Library Manager does this for you.
What should it read with nothing connected?
Close to 0A, once your sketch measures the zero. The zero point sits near half the supply but is rarely exactly 512, and it moves with the 5V supply, which on USB is often a little under 5V. If you measure the zero with the load off each time the sketch starts, and power the module from the same 5V as your board, the reading settles near 0A.
How do I get a steadier reading?
Averaging is the answer. The last step or two flickers on a single reading, and averaging 100 or more readings evens it out. A motor run from PWM speed control needs averaging over many pulses. It also helps to keep magnets and other wires carrying heavy current away from the chip, because their magnetic field adds to the reading.
How much current can the board carry?
Treat the range on the chip as the limit: 5A, 20A or 30A. Near the top of the range the screw terminal and board copper warm up first. You can help it with wire thick enough for the current and firmly tightened terminal screws. Check the terminal after the first long run: warm is fine. If it is too hot to hold a finger on, the load is too heavy for the board.
Can I measure a mains appliance with it?
No. The screw terminal carries the full voltage of the circuit, and this board is made for low-voltage circuits such as battery, solar and 12V systems. For mains current, the usual choice is a clamp-on split-core current transformer, which measures without any connection to the mains wiring. Fitting one in a switchboard is a job for a licensed electrician. For a single appliance, a plug-in energy meter between the wall socket and the appliance is simpler.

Have a question about this product?

Send it through and we will get back to you by email.

About NZN

Useful parts, fair prices and someone local to help.

I'm Lukas, an engineering student and maker based in Te Awamutu. NZN grew out of a CNC build that dragged on for months because every missing cable, bolt or electronic part meant another overseas order. I started the shop so Kiwi makers can spend more time building and less time waiting for the next parcel.

  • Stocked here in New Zealand

    Stock is held here in New Zealand, and every order is dispatched by the next day, except on public holidays. The timer beside Add to cart shows when yours goes out. NZ Post aims for 1-2 days urban and 2-4 days rural. In Te Awamutu and Kihikihi you can choose local delivery at checkout: same day if you order before 8am, otherwise next day.

  • Fair prices, clearly shown

    Where a product has quantity pricing, the price for each quantity is listed above Add to cart. Free delivery starts at $50 for urban addresses and $88 for rural addresses.

  • 30-day returns and 12-month warranty

    Get in touch if something is not right and we will help sort it.

  • Practical product support

    Ask a product question and get help from a real person in New Zealand who knows the range.

You may also like

Christmas delivery details