INTRODUCTION
In this project, we will learn about the basic functionality of a Hall Magnetic Sensor by controlling the LEDs using a Magnet.
HARDWARE REQUIRED
- Arduino Uno With USB Cable - 1
- Magnetic Hall Sensor Module - 1
- 12V 2A Adapter - 1
- Led - 4
- Single Stand Wire - 1
- Bread Board 840 Point - 1
- Jumper Wire (male to male) - 40 pcs
- Jumper Wire (male to female) - 40 pcs
SOFTWARE REQUIRED
Arduino IDE 1.8.5 (programmable platform for Arduino)
Click To Download: https://www.arduino.cc/en/Main/Software
CIRCUIT CONNECTION
- Attach two LEDs on the Breadboard.
- Connect GND of Arduino Uno with Breadboard for further GND connections.
- Connect the positive terminal of LED 1 with Digital Pin 12 of Arduino
- Connect the positive terminal of LED 2 with Digital Pin 13 of Arduino
- Connect the GND of both LEDs with the GND rail of the Breadboard.
- Connect the GND of the Hall Magnetic Sensor with the GND of the Arduino Uno.
- Connect VCC of Hall Magnetic Sensor with Pin 3.3V of Arduino Uno.
- Connect the Pin Signal of the Hall Magnetic Sensor with the Analog Pin A0 of Arduino Uno.
CODE
https://drive.google.com/open?id=1zM3t2JHUmBc5DrAggk4hv9-MjbKu2ofK
WORKING
Welcome to the Arduino-Based Project which consists of a Hall Magnetic Sensor. Magnetic sensors are solid-state devices that can be used in many different types of applications such as sensing position, velocity or directional movement. Hall Effect Sensors are devices which are activated by an external magnetic field. The magnetic field has two important characteristics flux density, (B) and polarity (North and South Poles). The output signal from a Hall Effect sensor is the function of magnetic field density around the device. When the magnetic flux density around the sensor exceeds a certain pre-set threshold, the sensor detects it and generates an output voltage called the Hall Voltage, VH. Here, we will see the Northern and Southern poles of the Magnet as we place it on either side towards the Sensor.