Back to Blog
How-to Guides 2026-11-22 Kunkune 0 views

GY-471 MAX471 Current Sensor: 3A Bidirectional Arduino Wiring

GY-471 MAX471 Current Sensor: 3A Bidirectional Arduino Wiring

Learn how to wire the GY-471 MAX471 current sensor module to your Arduino for ±3A bidirectional high-side current measurement. Step-by-step guide with code example.

What the MAX471 Current Sensor Does for Your Arduino Project

The GY-471 MAX471 current sensor module lets your Arduino measure DC current on the high side of a load — between the power supply and the load, not between the load and ground. This high-side approach preserves a common ground reference between your Arduino and the load, avoiding the ground shift problems that plague low-side current sensing.

The module detects current in both directions (bidirectional), so you can monitor both charging and discharging in a battery system, or detect forward and reverse current in a small motor. Its analogue output connects directly to any Arduino ADC pin, making it a straightforward addition to data-logging or monitoring projects.

GY-471 MAX471 Module at a Glance

What You'll Need

  • GY-471 MAX471 Current Sensor Module: The module itself, with the MAX471 chip and onboard resistors.
  • Arduino board (Uno, Nano, Mega, etc.): Any board with an analogue input pin.
  • Power supply for the load (5V – 36V): The module measures current on this supply rail.
  • Load to measure (e.g., small DC motor, LED strip, battery under charge/discharge): Keep the load current under 3A.
  • Jumper wires: For connecting power, ground, and signal lines.

Wiring the GY-471 to Your Arduino

The GY-471 MAX471 module has four pins: VCC, GND, OUT, and a second GND (often labelled GND or –). Connect as follows:

  1. Connect the module's VCC pin: To the positive terminal of the power supply you are measuring (not to the Arduino's 5V output). This powers the module and also serves as the high-side sensing input.
  2. Connect the module's GND pin: To the Arduino's GND and to the negative terminal of the power supply. This establishes a common ground.
  3. Connect the module's OUT pin: To any Arduino analogue input pin (e.g., A0). The output voltage is proportional to the measured current.
  4. Insert the load: Between the module's load output terminal (usually labelled LOAD or OUT+) and the negative side of the power supply. The module senses current flowing through this path.

Understanding the Output Voltage

The MAX471 outputs an analogue voltage proportional to the current flowing through the load. The sensitivity is 0.37V per ampere. For example, a 1A current produces approximately 0.37V at the OUT pin. Because the sensor is bidirectional, the output voltage will be above the zero-current level for one direction and below it for the other. The zero-current output is typically half the supply voltage (VCC/2).

Connect the OUT pin to an Arduino analogue input and use the ADC reading to calculate the current: current (A) = (ADC_voltage – VCC/2) / 0.37. The sign of the result indicates direction.

Sample Arduino Code

The following sketch reads the analogue voltage on pin A0, converts it to current using the 0.37V/A sensitivity, and prints the result to the Serial Monitor. Adjust the VCC value to match your supply voltage (e.g., 5.0 for a 5V rail).

Practical Considerations

Keep the load current below 3A to stay within the module's rated range. The module is designed for DC circuits; it cannot measure AC current. For best accuracy, allow the module to stabilise for a few seconds after power-up before taking readings. The analogue output is clean enough for most monitoring and logging applications without additional filtering.

If you need to measure currents above 3A, this module is not suitable — look for a higher-current sensor instead.

Related Articles

Customer Service
Home
Products
Cart
Profile