Replies: 7 comments 5 replies
-
Hi, great to see someone using Rustmas! 😁 As for WS2815 lights - I haven't used them personally, but according to some info I've found it seems that you should connect your strips data line to GPIO2 and backup line to GND. |
Beta Was this translation helpful? Give feedback.
-
Thank you for a quick response! I follow Matt Parker on Youtube and really enjoyed his original video on the Christmas lights. Especially when he was running the code he got as submissions on his Christmas tree. Great stuff! :) As for your connection suggestion - it looks like eventually I have arrived at the same wiring. However my LED strip still does not start up. When I choose TEST pattern in the Web app, I see the following in the
Also
BTW, I did not yet run the calibration. I am just using the original CSV file trimmed to 300 entries. I hope that I did not fry anything, because I have tried to start up
|
Beta Was this translation helpful? Give feedback.
-
Since you're seeing the logs from the connection I think your hardware is fine. The issue is probably the difference between WS2811 that we are using and your WS2815. Unfortunately since this seems to be hardware dependent, I most likely won't be able to help much... Here are some thoughts though:
I'd recommend confirming that you can drive your LEDs successfully using your Pico, for example using Micropython Once you are able to control your lights, we can work together on editing this project to have different values for the timings: |
Beta Was this translation helpful? Give feedback.
-
Beta Was this translation helpful? Give feedback.
-
Awesome, great to hear that there's progress! Alternatively we could stop using PIO and drive the LEDs using the main core, but that might bring a performance impact... EDIT: |
Beta Was this translation helpful? Give feedback.
-
I have some progress of a kind. It turns out that the same algorithm as implemented here for controlling WS2812 is described in great detail in Pico C++ SDK document. Over there is a very helpful diagram, that explains what So by changing So every PIO state machine instruction executes every 17 or so Pico system clock tick. Pico system clock tick takes
These values fall into allowed timing values according to the WS2815 datasheet. And indeed if I use these timings with Micropython Neopixel library - it works. However |
Beta Was this translation helpful? Give feedback.
-
I got it working! I missed the fact that I need to build animations separately. So after running Thank you very much for your help with this. We debugged the whole stack. Which in the end even if it was not completely necessary, it was nevertheless very fun. :) |
Beta Was this translation helpful? Give feedback.
-
I am building
rustmas
christmas lights and was not able to find how the WS2815 LED strip should be connected to Pico. Is it possible to control WS2815 LED strip with pico-w-neopixel-server?Such LED strip has four wires: VCC, GND, Green data line and Blue backup line.
Beta Was this translation helpful? Give feedback.
All reactions