Site Navigation

Your Account

Choose Language

Introduction

Do you have a magnetic personality? Today you will have found a reed switch in your calendar.

Tools

No tools required.

Parts

Video Overview

Insert your Reed Switch into Breadboard so that the header pins are facing your Arduino.
  • Insert your Reed Switch into Breadboard so that the header pins are facing your Arduino.

  • This module is quite delicate - so be careful when handling it!

Add Comment

Connect Arduino Digital 11 to Reed Switch.
  • Connect Arduino Digital 11 to Reed Switch.

Add Comment

Connect Arduino GND to the 'S' of the Reed Switch.
  • Connect Arduino GND to the 'S' of the Reed Switch.

  • The Reed Switch is not polarised so you could switch around the '–' and 'S' jumper wires.

Add Comment

  • Copy this code to your Arduino IDE

  • Upload it to your Arduino

  • Open the Serial Monitor

  • As you pass a magnet by the glass tube - the circuit will close and the LED on your Arduino should turn on.

  • The normal state of a Reed switch is closed

Add Comment

Finish Line

5 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

0 Comments

Add Comment

View Statistics:

Past 24 Hours: 0

Past 7 Days: 1

Past 30 Days: 2

All Time: 106