The Hall Effect sensor is a very useful sensor to use in many projects. It is very easy to use as you can see in this easy Arduino Tutorial.

Today’s project is this: When I place a magnet close to the sensor, an LED lights up in order to inform us that it detected a magnetic field. It is a very easy project to build but very useful as well.

The sensor that we are using is called a Hall Effect sensor, a sensor that it can detect the presence of a magnetic field. The sensor is very cheap, this module I got for Arduino costs around 1.5$ and you can find a link for it in the description of the video. The sensor is used in many devices that we use daily.

It is used in your bicycle computer in order to calculate your speed, it can be found on every brushless motor, in many cell phones, in the fuel tank of your car, in security systems, computers, printers and so on. Think of it, as a contactless switch! It is like turning on or off a switch without having to touch it, from a small distance. The applications for this sensor are countless!


1. Hall Effect Sensor:

2. Cheap Arduino Uno:

3. Breadboard mini:

4. LED:

5. Wires:

6. Magnets:

Full disclosure: All of the links above are affiliate links. I get a small percentage of each sale they generate. Thank you for your support!

Code of the project

Arduino Tutorial: How to use the Hall Effect Sensor

Get Rich Quiz Game

You can download my latest Android Game which is called Get Rich here:

Arduino Datalogger:
Arduino Weather Station Project:
Arduino Nokia 5110 LCD Display:
Arduino OLED display tutorial:
DIY Arduino:

——————– is a Youtube channel and website which is dedicated in developing high quality videos about DIY hardware and software projects. In this channel we develop projects with Arduino, Raspberry Pi, we build robots and simple electronic circuits. Check out our website as well for more information:


Never miss a video:


Leave a Reply