Site Navigation

Your Account

Choose Language

Introduction

Today in your calendar you will find a Hall Effect Sensor. Like a reed switch this is activated by a magnet.

Tools

No tools required.

Parts

Video Overview

Connect the Hall Effect Sensor to Digital Pin 10.
  • Connect the Hall Effect Sensor to Digital Pin 10.

Add Comment

Connect the Hall Effect Sensor to 5V.
  • Connect the Hall Effect Sensor to 5V.

Add Comment

Connect the Hall Effect Sensor to Ground.
  • Connect the Hall Effect Sensor to Ground.

Add Comment

Insert LED into Breadboard with the Cathode (short leg) on the left hand side.
  • Insert LED into Breadboard with the Cathode (short leg) on the left hand side.

Add Comment

Insert 220 Ohm Resistor into the Breadboard.
  • Insert 220 Ohm Resistor into the Breadboard.

  • Ensure that it is inline with the LED's anode (longer leg).

Add Comment

Connect the Cathode of the LED to Ground.
  • Connect the Cathode of the LED to Ground.

Add Comment

Connect 220 Ohm Resistor to Digital Pin 13.
  • Connect 220 Ohm Resistor to Digital Pin 13.

Add Comment

  • Upload this code to your Arduino.

  • When you pass a magnet over the sensor the LED on Pin 13 should turn on. Also a red light switches on the sensor.

Add Comment

Finish Line

8 other people completed this guide.

Madeleine Schappi

Member since: 09/27/2017

4,557 Reputation

55 Guides authored

Team

Advent Edit Member of Advent Edit

Community

3 Members

55 Guides authored

2 Comments

Mine’s not working either. I get a continuous positive. The light doesn’t turn off.

john Zuill - Reply

Add Comment

View Statistics:

Past 24 Hours: 0

Past 7 Days: 1

Past 30 Days: 6

All Time: 151