Grove - Hall Sensor

From Wiki
Jump to: navigation, search


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 - Hall Sensor.jpg


Grove Compatible Interface 400ns transition period for rise and fall. Continuous-time hall effect sensor Reverse battery protection Specification

Item Min Typical Max Unit Supply Voltage 3.8 5.0 24 V Supply Current 4.1 - 24 mA Operating Temperature -40 - 85 ºC Application Ideas

RPM meter. Simple dc motor. Usage

The Hall Sensor is used by utilizing the external interrupts available on the arduino/ 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

Hall Sensor Demo Code.jpg

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. Version Tracker

Revision Descriptions Release v0.9b Initial public release 3,Oct,2011