How to Use a Reed Switch with Arduino (Lesson #30)

preview_player
Показать описание

Learn to use a reed switch as a magnet sensor with an Arduino. Add non-contact magnetic sensing features to your next project.

0:00 introduction
0:27 reed switch closeup
1:37 types of reed switches
2:18 breadboard wiring
3:48 code

#STEM #sciencebuddies #arduino #electronics #programming
*******************************
Connect with Science Buddies:

Рекомендации по теме
Комментарии
Автор

Exactly the tutorial I was looking for! Thanks!

SharingtheRoad
Автор

In case there are limited available pins, the same LED pin can be used as an input with the reed switch in series.

DesertVox
Автор

Watch out for magnet orientation. If you are unlucky the magnet will be inbetween the lobes of the reed switch and the switch will not activate at all

WhyAliasIdontNeedOne
Автор

multiple things: can i use an neodium magnet (dont do lot of things with magnets so dont know whats the difference or if theres even one) and if so from how far will it activate with a small magnet?

Rubio_Guy
Автор

This video was a waste of time, for whatever reason.. I ended up just putting it in series and problem solved.

PerilNotion