Welcome to the Pycom forum Forum
    • \[\[global:header.categories\]\]
    • \[\[global:header.recent\]\]
    • \[\[global:header.tags\]\]
    • \[\[global:header.popular\]\]
    • Login

    Explore Pybytes | Official Documentation | Report a Firmware Bug/Issue | GitHub

    neopixel / w2812 and wipy 3.0

    Scheduled Pinned Locked Moved Discussion
    neopixelws2812wipy3
    6 Posts 2 Posters 168 Views 2 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.
    • T Offline
      tttadam
      last edited by

      Holidays are coming so I thought I through a fun project into the pipeline which of course resulted more frustration :D

      So, I suprised myself a this light strip. And would like to controll it with one of my trusty wipy 3.0 board. Right now I am using this library, but I tried out all of what I found so far.
      The issue is that that leds do nothing. I am powering them externaly, with 5V. I measured, 5V appear on the led strip. So thez getting power for sure.
      I have common ground with all of the 3 components (power, led, wipy3.0)
      The pin what I am using is the MOSI pin, P11 on the extension board.

      What am I missing? Why are the led-s are dark?
      Help me save Christmas :D
      Thanks!

      robert-hhR 1 Reply Last reply Reply Quote 0
      • robert-hhR Offline
        robert-hh @tttadam
        last edited by

        @tttadam The RMt module of the Pycom MP is excellent for WS2812 support. I made a tiniy class around that, to be found here: https://github.com/robert-hh/WS2812

        1 Reply Last reply Reply Quote 0
        • T Offline
          tttadam
          last edited by

          Well, the issue is the same. The code is running, but the leds are staying blank

          robert-hhR 1 Reply Last reply Reply Quote 0
          • robert-hhR Offline
            robert-hh @tttadam
            last edited by

            @tttadam There are at least two possible reasons: Signal level or timing:

            • Signal Level: You could try to use a level shifter, to sort out 3.3v/5V level issues. If you have a silicon diode at hand, you can also try to reduce the 5V supply a little bit, bringing the signal levels together.
            • Timing: Besides that there are versions with a different timing on the market. You could try to change that. In the line:
              b'\x08\x04' if byte & mask else b'\x04\x08'
              the timing is set to 800/400ns. 08 means 800ns, 04 400ns. Someone made a list of various timings by mode:
              https://forum.micropython.org/viewtopic.php?f=15&t=7276&hilit=WS2812&start=10. So you can try the other values. Generally, the timing is not too critical.
            1 Reply Last reply Reply Quote 0
            • T Offline
              tttadam
              last edited by

              I found the issue, it was the third reasons. I tried to feed the light strip from the other end. My bad. :(

              robert-hhR 1 Reply Last reply Reply Quote 0
              • robert-hhR Offline
                robert-hh @tttadam
                last edited by

                @tttadam We all have these kind of findings over and over again.

                1 Reply Last reply Reply Quote 0

                Hello! It looks like you're interested in this conversation, but you don't have an account yet.

                Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.

                With your input, this post could be even better 💗

                Register Login
                • 1 / 1
                • First post
                  Last post

                Pycom on Twitter

                Pycom