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

    WS2811 Usage

    Scheduled Pinned Locked Moved Discussion
    python
    9 Posts 2 Posters 1.5k 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.
    • M Offline
      misterlisty
      last edited by

      Any have experience with driving a Ws2811 IC ie used to drive a RGB LED.

      Apparently it uses NRZ code which is foreign to me.

      L 1 Reply Last reply Reply Quote 0
      • L Offline
        livius @misterlisty
        last edited by

        @misterlisty
        Do you mean WS2812 RGB with integrated WS2811 or WS2811 as separate IC?

        think about people first, then computers

        M 1 Reply Last reply Reply Quote 0
        • M Offline
          misterlisty @livius
          last edited by

          @livius Yes i do

          L 1 Reply Last reply Reply Quote 0
          • L Offline
            livius @misterlisty
            last edited by livius

            @misterlisty
            May i ask why? if you have cheap integrated one?
            But i do not see the difference if you connect it same you got WS2812 ;-)
            And you can work with standard lib

            think about people first, then computers

            M 1 Reply Last reply Reply Quote 0
            • M Offline
              misterlisty @livius
              last edited by

              @livius Thanks, not sure what you mean can work with standard lib? I want to add a RGB to the external of an enclosure so cannot use the builtin one on the module.

              How do i work with standard library?

              L 1 Reply Last reply Reply Quote 0
              • L Offline
                livius @misterlisty
                last edited by

                @misterlisty
                maybe we do not understand each other ;-)
                I do not say about integreated into pycom module (Heart beat LED)
                I am talking about WS2812 which is WS2811 IC + LED 5050.

                In your question is WS2811 not WS2812 and because of this i have asked

                Do you mean WS2812 RGB with integrated WS2811 or WS2811 as separate IC?

                If you try to drive RGB led(WS2812) strip use existed libs like:
                https://raw.githubusercontent.com/Gadgetoid/wipy-WS2812/master/ws2812alt.py

                think about people first, then computers

                M 2 Replies Last reply Reply Quote 0
                • M Offline
                  misterlisty @livius
                  last edited by

                  @livius this looks like exactly what i'm looking for, will try it today.

                  1 Reply Last reply Reply Quote 0
                  • M Offline
                    misterlisty
                    last edited by

                    This post is deleted!
                    1 Reply Last reply Reply Quote 0
                    • M Offline
                      misterlisty @livius
                      last edited by

                      @livius I am using the separate ws2811 ic and i have tried your code and it appears not to work? The datasheets suggest different timings..can you suggest what i need to adjust? https://cdn-shop.adafruit.com/datasheets/WS2811.pdf

                      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