Current Sensor

../../../../_images/current_sensor.png

Overview

I2C communication sensor for measuring the current in a circuit loop.

Technical Specifications

Operating voltage: VCC 3.3V -5V

Module dimensions: 24*48mm

Mounting: 2 plastic building block compatible through-holes

Measurement range: 0-±1A

Pin Definition

Pin

Definition

GND

Ground

VCC

Power

SCL

I2C clock

SDA

I2C data

Usage Guide

  1. When programming, make sure the DIP switch address matches the address in the program!

  2. Connect the sensor to the main controller I2C port using a 4-pin cable, plug the headphone-to-alligator-clip cable into the sensor, and connect the red and black alligator clips in series with the circuit under test.

Example Code

Displays the current sensor’s reading on the mPython Board OLED screen.

../../../../_images/current_sensor_1.png