Grove - Hall Sensor
The Hall sensor is based on Hall Effect, which is the production of a voltage difference across an electrical conductor, transverse to an electric current in the conductor and a magnetic field perpendicular to the current. There is a continuous-time switch on this Grove. The output of these devices switches low (turns on) when a magnetic field (south polarity) perpendicular to the Hall sensor exceeds the operate point threshold BOP, and it switches high (turn off) when the magnetic field disappears. The twig can be used to measure RPM.
- Grove Compatible Interface
- 400ns transition period for rise and fall.
- Continuous-time hall effect sensor
- Reverse battery protection
- RPM meter.
- Simple dc motor.
The Hall Sensor is used by utilizing the external interrupts available on the arduino/seeeduino. In this example we are using interrupt 0, found on digital pin 2. For other interrupts, see the attachInterrupt().
- Connect the Hall Sensor to Digital port 2 of the Grove - Basic Shield using a 4 pin cable and connect Grove-LED to Digital Port 4.
- Then connect Arduino to PC by using a USB cable.
- Download the File: Hall Sensor Code
- Open one of two code. For example Demo MagnetControlLED
- Upload the code, Please click here if you do not know how to upload.
- When a magnet whose south pole is facing up is approaching to the onboard sensor, the LED will be turned on. Otherwise, the LED will be turned off.
|v0.9b||Initial public release||3,Oct,2011|
Help us to make it better