Hall Effect Sensor With ArduinoI got an order in from Jameco yesterday and inside found a long awaited sensor! I had ordered a couple of the Allegro linear hall effect sensors. These are different than the others I purchased from SparkFun.com, they are not latching sensors but measure the magnetic force applied which is more of what I was looking for. I wanted something that I could use as a proximity switch and this worked out much nicer. They are a breeze to use and even more fun to play with than I had imagined. I’ve included some high res pictures and the Arduino code I used to test the sensor with below. I do have a proto shield from AdaFruit that I use and it has a green and red LED onboard, but you can easily hook up a couple of LEDs (don’t forget your resistors). I’ll be using this in a bigger project soon…

 

AllegroHallEffectTestApp
Title: AllegroHallEffectTestApp (1020 clicks)
Caption:
Filename: allegrohalleffecttestapp.zip
Size: 2 MB

AllegroHallEffectTestApp
Title: AllegroHallEffectTestApp (1020 clicks)
Caption:
Filename: allegrohalleffecttestapp.zip
Size: 2 MB