Magnetic Field Sensor
Overview
I2C communication sensor for measuring magnetic flux density.
Technical Specifications
Operating voltage: VCC 3.3V -5V
Mounting: 2 screw holes
Measurement range: ±100mT
Pin Definition
Pin |
Definition |
|---|---|
GND |
Ground |
VCC |
Power |
SCL |
I2C clock |
SDA |
I2C data |
Usage Guide
When programming, make sure the DIP switch address matches the address in the program!
Connect the magnetic sensing rod to the module. The sensing element (Hall element) is located at the tip of the rod.
Example Code
Displays the measured magnetic field strength on the mPython Board OLED screen.