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

Поделиться
HTML-код
  • Опубликовано: 10 сен 2024

Комментарии • 9

  • @SharingtheRoad
    @SharingtheRoad 3 месяца назад

    Exactly the tutorial I was looking for! Thanks!

  • @DesertVox
    @DesertVox 7 месяцев назад +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  7 месяцев назад +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 3 месяца назад

      Wished I would have read this earlier.

  • @WhyAliasIdontNeedOne
    @WhyAliasIdontNeedOne 4 дня назад

    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

  • @Rubio_Guy2
    @Rubio_Guy2 5 месяцев назад

    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  5 месяцев назад +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 5 месяцев назад

      @@Science.Buddies thanks

  • @PerilNotion
    @PerilNotion 3 месяца назад

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