Microduino Hall sensor usage
Language | English |
---|
ObjectiveThis tutorial will teach you how to use the hall sensor. Equipment
Schematic文件:霍尔传感器使用原理图.jpg 600px Connect the digital I/O port to pin13 ProgramRefer to hallSensorOLED DebugStep 1: Stack the Microduino module and connect the hall sensor, as follows: 文件:霍尔传感器使用连接图.jpg 600px Step 2:Compile the program and download. Step 3:Use a magnet to shake in the surrounding, observe the OLED's output. ResultOLED will display south and north. Video |