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

Sdílet
Vložit
  • čas přidán 9. 09. 2024

Komentáře • 9

  • @SharingtheRoad
    @SharingtheRoad Před 3 měsíci

    Exactly the tutorial I was looking for! Thanks!

  • @WhyAliasIdontNeedOne
    @WhyAliasIdontNeedOne Před 2 dny

    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

  • @DesertVox
    @DesertVox Před 7 měsíci +2

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

    • @Science.Buddies
      @Science.Buddies  Před 7 měsíci +2

      Correct! Technically if you just want to turn an LED on and off when a magnet is near, you don't need an Arduino at all, just a power supply. We wanted to show people how to use it with an Arduino for more advanced projects, but should have mentioned that in the video.

    • @PerilNotion
      @PerilNotion Před 3 měsíci

      Wished I would have read this earlier.

  • @Rubio_Guy2
    @Rubio_Guy2 Před 5 měsíci

    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?

    • @Science.Buddies
      @Science.Buddies  Před 5 měsíci +1

      Yes you can use neodymium magnets, they are generally much stronger than "regular" magnets but you will still probably need to be within a centimeter or two for the switch to work.

    • @Rubio_Guy2
      @Rubio_Guy2 Před 5 měsíci

      @@Science.Buddies thanks

  • @PerilNotion
    @PerilNotion Před 3 měsíci

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