12
Experimental Procedures
For
linear Hall sensor module
, please take the following steps.
Step 1:
Build the circuit
Linear Hall Sensor Module SunFounder Uno
S ---------------------------------------- A5
- ---------------------------------------- GND
+ ----------------------------------------- 5V
Step 2:
Program (Please refer to the example code in
LEARN -> Get Tutorial
on our
website
)
Step 3:
Compile
Step 4:
Upload the sketch to SunFounder Uno
Now, you can see the LED attached to pin 13 on SunFounder Uno board blinking. If a magnet
approaches the linear Hall sensor, the blinking frequency of LED will increase or decrease.
SunFounder