• Recent
  • Tags
  • Unsolved
  • Solved
  • MagicMirror² Repository
  • Documentation
  • 3rd-Party-Modules
  • Donate
  • Discord
  • Register
  • Login
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.

Led strip problem

Scheduled Pinned Locked Moved General Discussion
20 Posts 4 Posters 3.3k Views 4 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.
  • A Offline
    Anthony Project Sponsor
    last edited by Anthony Oct 4, 2022, 3:41 PM Oct 4, 2022, 3:38 PM

    Hello everyone. I just finished my MM and I have a problem with my WS2812B led strip. It is powered from an external power supply and I use arduino uno for the effects which also is powered by another power supply. When I hooked everything in the MM frame I tested the led strip and was working fine. But when I turn on the TV, the led strip is starting doing crazy things like flickering, turn off, etc. Keep in mind that my tv is an old one. I am mentioning that because the led strip is doing the crazy things not when I push the on button on the TV but when the screen turns on (it needs about 10sec for the screen to show picture). It is like something happens when the screen turns on. I don’t think it has to do with power bacause beside that everything is pluged into a hub, every board has it’s own power supply. Maybe some “noise-waves” from TV panel confuses arduino? Have enyone face something like that? Any opinions will be appreciated. Thank you in advance.

    S 1 Reply Last reply Oct 4, 2022, 3:53 PM Reply Quote 0
    • S Away
      sdetweil @Anthony
      last edited by Oct 4, 2022, 3:53 PM

      @Anthony do all the power sources share a common ground? or are they all separate?

      Sam

      How to add modules

      learning how to use browser developers window for css changes

      A 1 Reply Last reply Oct 4, 2022, 4:08 PM Reply Quote 0
      • A Offline
        Anthony Project Sponsor @sdetweil
        last edited by Oct 4, 2022, 4:08 PM

        @sdetweil Thank you for your reply. I have a power hub (I am sorry for my English but I am Greek so some words are difficult ro translate so I have the link to see the picture of it) where everything is plugged in. I don’t know if that is what you mean.

        S 1 Reply Last reply Oct 4, 2022, 4:11 PM Reply Quote 0
        • S Away
          sdetweil @Anthony
          last edited by Oct 4, 2022, 4:11 PM

          @Anthony on the output of the power supplies is a +5 or +12 and a ground…

          are all the grounds connected together at some point or are they all separate… usually to stop interference like this you need to bind the grounds…

          the input side has them grounded together… but not the output side

          Sam

          How to add modules

          learning how to use browser developers window for css changes

          A 1 Reply Last reply Oct 4, 2022, 4:22 PM Reply Quote 0
          • A Offline
            Anthony Project Sponsor @sdetweil
            last edited by Anthony Oct 4, 2022, 4:23 PM Oct 4, 2022, 4:22 PM

            @sdetweil oh sorry. on the power supply which powers the arduino I have also connect 2 small 12v fans. So the grounds of the fans and the ground of arduino yes they are common. Do you think this is the problem? So if disconnect the fans the leds should work? but why this is not happening from the beggining and it happens only when the screen turns on?

            B 1 Reply Last reply Oct 4, 2022, 5:02 PM Reply Quote 0
            • B Offline
              BKeyport Module Developer @Anthony
              last edited by Oct 4, 2022, 5:02 PM

              @Anthony I suspect the driver for the TV is emitting radio noise, which the leads for the WS2812 is picking up as data.

              Did you power both ends of the LED strip? It’s good practice unless the strip is very short. This will do two things, first, ensure level LED color throughout the strip, and second, help the data line recognize it’s data over the noise.

              There may be other things you can do to improve the data control. If you know anyone in the amateur (ham) radio community, you may be able to ask them about Radio Frequency Interference. They have the knowledge to help you isolate the issue and solve it.

              The "E" in "Javascript" stands for "Easy"

              A 1 Reply Last reply Oct 4, 2022, 5:13 PM Reply Quote 0
              • A Offline
                Anthony Project Sponsor @BKeyport
                last edited by Oct 4, 2022, 5:13 PM

                @BKeyport No. The led strip has 30 leds per meter and I use 59 leds so it is 2 meter long and I have powered it only from one side with a 5v power supply. I read somewhere that a common problem is if HDMI cable is too close to power plug this happens and that they should be at least 30cm away from each other. My TV’s hdmi is just below from the power hub. I think I will disconnect everything and reconnect-test one by one and I hope I will locate the problem.

                B B 2 Replies Last reply Oct 4, 2022, 9:33 PM Reply Quote 0
                • B Offline
                  BKeyport Module Developer @Anthony
                  last edited by Oct 4, 2022, 9:33 PM

                  @Anthony You might consider somehow powering both ends. You’ll find better performance of the string because it’s that long.

                  The "E" in "Javascript" stands for "Easy"

                  1 Reply Last reply Reply Quote 0
                  • B Offline
                    bhepler Module Developer @Anthony
                    last edited by Oct 5, 2022, 1:45 AM

                    @Anthony - In my CNC work I have run into a lot of electromagnetic interference. One thing that has helped a bit is to add ferrite cores to most of my input wires at both ends. Especially any USB wires.
                    Your friendly electronics shop should have something like these.

                    B A 2 Replies Last reply Oct 5, 2022, 4:19 AM Reply Quote 0
                    • B Offline
                      BKeyport Module Developer @bhepler
                      last edited by Oct 5, 2022, 4:19 AM

                      @bhepler a lot of times in longer runs, the data line on the strip itself is the antenna.

                      The "E" in "Javascript" stands for "Easy"

                      A 1 Reply Last reply Oct 5, 2022, 7:00 AM Reply Quote 0
                      • 1
                      • 2
                      • 1 / 2
                      1 / 2
                      • First post
                        8/20
                        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