Current Sensor =================== .. figure:: /_static/products/ledong-module/static/images/current_sensor.png :width: 55% :align: center 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.** .. figure:: /_static/products/ledong-module/static/examples/current_sensor_1.png :width: 100% :align: center