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

Поділитися
Вставка
  • Опубліковано 30 січ 2025

КОМЕНТАРІ • 9

  • @SharingtheRoad
    @SharingtheRoad 8 місяців тому +1

    Exactly the tutorial I was looking for! Thanks!

  • @DesertVox
    @DesertVox Рік тому +4

    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  Рік тому +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 8 місяців тому

      Wished I would have read this earlier.

  • @WhyAliasIdontNeedOne
    @WhyAliasIdontNeedOne 4 місяці тому +1

    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

  • @TotallyRubio
    @TotallyRubio 9 місяців тому

    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  9 місяців тому +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.

    • @TotallyRubio
      @TotallyRubio 9 місяців тому

      @@Science.Buddies thanks

  • @PerilNotion
    @PerilNotion 8 місяців тому +1

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