AI Lab for the Internet of Things

From sensors to intelligent self-deciding systems: lessons, projects, architectures, interactive simulation labs and a specialist AIoT assistant.

20Lesson

ACS712 current sensor

A current-measurement module based on the Hall effect, usable for monitoring load consumption.

IntermediateMotion and vibration

Illustration of ACS712 current sensor
A schematic illustration created for this section for teaching purposes; it is not a photograph of the part or of any specific product.

Educational content in scientific-draft form; a specialist should review it before it is adopted as an academic reference. No measurement or performance result that was not actually obtained is shown here.

Facts

Measured quantityElectric current
Data typeAnalogue
Units of measurementCurrent
Examples of common partsACS712

How it works

The current creates a magnetic field measured by an integrated Hall sensor, giving a proportional voltage.

How to connect

Connect power, ground and the analog output to an ADC input of the microcontroller, watching the reference voltage and calibrating the reading.

AIoT applications

  • Monitoring load power
  • Predictive maintenance of motors

Measurement and calibration issues

  • Mains safety risk
  • Noise affects small currents
  • Needs calibration

Simulations and labs run inside your browser. Nothing you enter and none of the conversations is stored on the server. Privacy policy