The device displays animated GIF pictures on a rotating cylinder. The GIF pictures can be downloaded from a PC via Bluetooth.
Project tutorial by Harald Bauer
I think this error indicates that there is no connection to the HC-06 bluetooth module. Check that the serial device used in pccp (see line 520: TTY bt("/dev/ttyS6"); ) corresponds to the PC COM port which is connected to the HC06 module.
1 - You need to modify the code! The WS2821B requires a special timing on the data line.
2 - The reason is the following behavior of the LED strip:
"The LPD8806 does not perform an in-unison latch (which would display the
newly-transmitted data all at once). Rather, each individual byte (even
the separate G, R, B components of each LED) is latched AS IT ARRIVES...
or more accurately, as the first bit of the subsequent byte arrives and
is passed through. So the strip actually refreshes at the speed the data
is issued, not instantaneously (this can be observed by greatly reducing
the data rate). "
I am using the 3 interface in parallel, to minimize the
time difference between LED changes.
3 - TEST_RED AND TEST_BLUE were test outputs for measurements with an
oscilloscope. They are not used in the actual code.
You can send a private message via hackster.io (click on "Harald Bauer" and then click "contact").
Or connect with your social account:
New here? Create an account