Hall Effect Sensor Module

From Open Source Ecology
Revision as of 20:17, 19 November 2012 by YK (talk | contribs) (→‎Introduction)
Jump to navigation Jump to search

Introduction

Halleffectsensor4.jpg

Halleffectsensor1.jpg Halleffectsensor2.jpg Halleffectsensor3.jpg Halleffectsensor5.jpg

Action Info

Materials

Hall Effect Sensor

Aluminum Bar 6061T6 1/4" x 1/2" x 72"

Silicone Caulk Look for the "neutral cure" type of silicone caulk if using copper wires

22 AWG Stranded Wire of different colours

Cord jacket for 3 22AWG wires

Wire Label (Important! Label your wires so you know which wire is connected to which pin- it'll save you a lot of trouble later on!)


Steps

  • Cut 1 piece of aluminum flat bar to length (ex. 10cm)
  • Cut 3 pieces of 22AWG wire and 1 piece of jacket to the desired length (ex. 150cm)
  • Strip the 3 pieces of wire 10mm at one end and 20mm at the other end
  • Check and confirm which pins of the hall effect sensor are to which inputs/outputs (ex. V+, V-, Signal) see datasheet
  • Solder the 20mm ends of the wires
  • Solder and shrink tube the 10mm ends of the wires to the hall effect sensor pins
  • Recheck which wires are connected to which pins
  • Attach a label near the sensor to each wire about what the wire's pin is (ex. Red is V+, Black is V-, Green is Signal)
  • Clamp or weigh down the wires near the sensor so that the sensor is stationary
  • Position the aluminum flat bar underneath the sensor. The sensor should be near an end of the flat bar, the sensor's wire output parallel to the bar and inward toward the other end of the bar
  • Apply silicone to the sensor and its pin-wire connection. The objective is to mount the sensor to the aluminum while waterproofing the pin-wire connection.
  • Insert the 3 long wires into the jacket

Testing

Upload the following code into the Arduino microcontroller then check the serial monitor for the signal from the hall effect sensor (SignalValue/1024 being the fraction of 5V)

File:Halleffecttest.ino

Developers

Yoonseo Kang - ykang404@gmail.com