This micro bit honeycomb hall magnetic sensor is fully compatible with micro bit control board. In the experiment, we connect it with the micro: bit by a crocodile clip. There are 6 sockets on it, 2 G, 2 V and 2 S are connected. Additionally, G is GND, VV is VCC, and S is the signal end of the module.
During the test, we test the analog value of S end via micro: bit control board. The analog value read is decreasing fast when the nearby magnetic field is detected.
- Working voltage: DC 3.0-5V
- Working current: 60mA
- Maximum power: 300mW
- Working temperature: -25 ℃ --65 ℃
- Dimension: 30mm * 27mm * 5mm
- Weight: 2.0g
- Environmental attributes: ROHS
Wire according to connection diagram, upload the code successfully, after connecting the computer to power on with USB cable and open the serial monitor software(like Arduino IDE), set baud rate to 115200. The analog value of S end is shown on the monitor. The analog value is decreasing fast and LED of the sensor is on when the magnetic field tested is nearby. LED dot matrix of micro：bit shows the pattern；otherwise，LED is off，LED dot matrix shows the pattern. As shown below:
Download relevant code: https://1drv.ms/u/s!ArhgRvK6-RyJhUhEDYTQa3SeijOs?e=pvfwGU