23Views1Replies

Author Options:

Controlling ws2815 from raspberry-need a little technical help Answered

Hey guys! Im pretty new to this stuff. As part of an ambilight “project” im trying to use ws2815B with a raspberry pi3b+ I use a 12V 20A (meanwell) psu for the leds and an raspberry 5.1V 2A adapter(bought it because new rpi hated everything else!). So powering seems sufficient. 12V is stable. I already managed to get the lights working somewhat. Even video capture works “fine”, so the lights are okish and delay isnt “that bad”. However i managed to fry the gpio18 on the pi... I dont know what caused it for sure - but i found a broken 12V cable to the strip. Maybe that...or... My new rpi also keeps hanging a LOT when the leds are attached. I can still push buttons and try to restart with ctrlaltdel(which sometimes works sometimes doesnt) but completely hung(instantly loses network connection and only ctrlaltdel does anything), although colors still work on the strip as the video capture captures different image. So hyperion is running. First few leds are off or look like dead pixels. The Rest shows the right colors. Can this hanging and erratic behaviour be because of different logic levels? If so which logic level converter should i be using? Ws2815 is 12V but it works as mentioned above with 3.3v logic from rpi with some errors. If i bring it to 5v will it be enough? Or 12V logic level is needed? If logic level is not the issue, then what else? Thanks a lot for any input :)

Discussions