Hall Effect Sensor Circuit

Posted on Feb 6, 2014

The hall effect sensor we will use in this circuit is an A1302 hall effect sensor manufactured by Allegro. This IC can detect magnetic fields. We will then connect this IC to an arduino, so that we the arduino can read the voltage output by the A1302 and we can display the readings to the computer screen. When a magnet is placed in the vicinity of

Hall Effect Sensor Circuit
Click here to download the full size of the above Circuit.

the A1302 hall effect sensor, we will see a reading change in the output, signaling that it "knows" a magnet is in its vicinity. The A1302 hall effect sensor is an IC that uses 4. 5-6V as input for operation. This is perfect because the arduino supplies 5V of power, right in between this range. The IC has 3 pins, 2 for the power supply and 1 for the analog voltage output. The output pin provides a voltage output that is linearly proportional to the applied magnetic field. In order to get the reading of the magnetic field reading, we have to write code to the arduino to read and display this value. The code is shown below. Pin 1 receives positive DC voltage in order for the IC to work. This, again, is voltage between 4. 5-6V. Pin 2 is the ground, so it receives the ground or negative terminal of the DC power supply. Pin 3 is the output of the IC, outputting an analog voltage in porportion to the magnetic field it is exposed to. Also to do this project we need a USB cable with a Type A connector on one end and a Type B connector on the other end. This is so that we can hook our arduino to a computer and send it code that it can run to display to us the magnetic field reading. Now that we have this circuit setup, we now connect the USB cable from the arduino to the computer. The type B side of the connector goes into the arduino and the type A side into the USB port of the computer. Now the computer is connected to the...

Leave Comment

characters left:

Related Circuits

  • New Circuits



    Popular Circuits

    On-off controller
    Oscillators and Mixers
    flipflop Purpose of the logic gate configurations on the Kenbak-1
    IC Excess-3 to Decimal Encoder Chip
    Novel FM receiver circuit diagram
    0 to 10V output multiplexer measuring circuit
    Voltage differential negative feedback circuit
    Intelligent fire alarm telephone alarm circuit - finger circuit