Hey readers, do you know about the working of a hall effect sensor? Well don't worry in this article, we are going to see the working of a Hall effect sensor with Arduino UNO board. Using this project we can find a magnetic field if present near the sensor. We are using a 16×2 LCD module for displaying the content. You can read the full article on our website. Let's proceed towards its working.
This project is helpful in detecting the strong and weak magnetic fields if present near us. It is done with the help of a Hall effect sensor which can detect the magnetic fields emitted by magnets. If the sensor detects any magnetic field the LED goes on and the buzzer starts beeping. The message “Magnet is Detected” can be seen on the 16×2 LCD display as well as on the serial monitor screen also. The code and the circuit diagram for the project are provided below.
- Arduino UNO
- 16×2 LCD
- Hall effect sensor
- Buzzer and an LED
- I2C module
- Jumper wires and a breadboard
- 10K potentiometer
- 220-ohm resistor
- USB cable for uploading the code
NOTE: Please upload the code which is given below to the Arduino.
We hope that you like this project. You can also read the latest tutorials on Arduino and Raspberry Pi written by us.
HAPPY LEARNING!
Comments