MagicMirror Forum
    • Recent
    • Tags
    • Unsolved
    • Solved
    • MagicMirror² Repository
    • Documentation
    • 3rd-Party-Modules
    • Donate
    • Discord
    • Register
    • Login
    A New Chapter for MagicMirror: The Community Takes the Lead
    Read the statement by Michael Teeuw here.

    PIR sensor to turn on LED strip

    Scheduled Pinned Locked Moved General Discussion
    35 Posts 6 Posters 10.9k Views 6 Watching
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • E Offline
      Egnos @bhepler
      last edited by

      @bhepler said in PIR sensor to turn on LED strip:

      The reason is that the output of the RPi can drive a handful of LEDs, but the Pi only has so much power flowing through it (specs say 50mA). Powering the LEDs separately will let the Pi handle the logic and the power supply handle the… well, power.

      Thanks @bhepler I understood that the LEDs must be powered by an external 5V because the RPI generates a few mA and is not able to turn on an LED strip, but from the photo you can see that the external 5V (+ and -) also goes in parallel on the 5V in exit from the RPI.

      3f775e85-f24b-4337-b00f-8d7fffb9ddc6-image.png

      For what reason?
      Is this connection necessary (I no longer have 5V available on GPIO …)?

      Thank you very much

      My Mirror https://forum.magicmirror.builders/topic/17262/the-raspimirror-was-born/7

      wishmaster270W S 2 Replies Last reply Reply Quote 0
      • wishmaster270W Offline
        wishmaster270 Module Developer @Egnos
        last edited by

        @Egnos Hi, as the picture says they use the 5V power source of the led strip to power the Pi, too.
        Instead of powering the pi via USB they use the 5V GPIO pin.
        If you want to power the Pi via USB instead be sure to connect the Ground of the strip with ground of the pi.

        E 1 Reply Last reply Reply Quote 0
        • S Offline
          sdetweil @Egnos
          last edited by

          @Egnos no. they are powering the pi from the 5v gpio pins as well as the LEDs.

          the pin is tall.

          Sam

          How to add modules

          learning how to use browser developers window for css changes

          1 Reply Last reply Reply Quote 0
          • E Offline
            Egnos @wishmaster270
            last edited by

            @wishmaster270 said in PIR sensor to turn on LED strip:

            If you want to power the Pi via USB instead be sure to connect the Ground of the strip with ground of the pi.

            The GPIO ground or the power ground going into USB-C?

            thanks

            My Mirror https://forum.magicmirror.builders/topic/17262/the-raspimirror-was-born/7

            S 1 Reply Last reply Reply Quote 0
            • S Offline
              sdetweil @Egnos
              last edited by

              @Egnos gpio

              Sam

              How to add modules

              learning how to use browser developers window for css changes

              E 1 Reply Last reply Reply Quote 0
              • E Offline
                Egnos @sdetweil
                last edited by

                @sdetweil thanks

                My Mirror https://forum.magicmirror.builders/topic/17262/the-raspimirror-was-born/7

                1 Reply Last reply Reply Quote 0
                • 1
                • 2
                • 3
                • 4
                • 4 / 4
                • First post
                  Last post
                Enjoying MagicMirror? Please consider a donation!
                MagicMirror created by Michael Teeuw.
                Forum managed by Sam, technical setup by Karsten.
                This forum is using NodeBB as its core | Contributors
                Contact | Privacy Policy