WS2812B compilation problems.

For Flowcode users to discuss projects, flowcharts, and any other issues related to Flowcode 8.

Moderator: Benj

User avatar
Benj
Matrix Staff
Posts: 15312
Joined: Mon Oct 16, 2006 10:48 am
Location: Matrix TS Ltd
Has thanked: 4803 times
Been thanked: 4314 times
Contact:

Re: WS2812B compilation problems.

Post by Benj »

Hello,

I'm using these timings with a lot of success on a 16-bit PIC device. Please can you have a go.
Timings.jpg
Timings.jpg (25.39 KiB) Viewed 936 times
Also are you buffering the dsPIC output from 3V3 to 5V? Or driving the LEDs at a voltage lower then 5V. I think with the LEDs at 5V they won't accept a 3V3 control signal.

This is my circuit if it helps, it uses a buffer to convert the 3V3 output signal to 5V and includes a FET to allow the LEDs to be powered on and off to limit initial inrush current (this shouldn't be an issue on smaller displays). See step 2.

https://www.instructables.com/Animated- ... ght-Light/

Post Reply