Logic Machine Forum
Magic LED (with WS2812B) - Printable Version

+- Logic Machine Forum (https://forum.logicmachine.net)
+-- Forum: LogicMachine eco-system (https://forum.logicmachine.net/forumdisplay.php?fid=1)
+--- Forum: Scripting (https://forum.logicmachine.net/forumdisplay.php?fid=8)
+--- Thread: Magic LED (with WS2812B) (/showthread.php?tid=187)



Magic LED (with WS2812B) - buuuudzik - 12.01.2016

Is there any possibility to control the LED's with WS2812B by LM output?

Output must work with frequency 400-800kHz and must send serially 3bytes for 1. , 2. , 3. LED etc. Can I do this with LM?

Example of this LED strip:
https://www.youtube.com/watch?v=degZYv11rNc


RE: Magic LED (with WS2812B) - admin - 12.01.2016

WS2812B requires very strict timing, it is not possible to achieve this with LM which is not real-time. You need a separate controller for that.


RE: Magic LED (with WS2812B) - buuuudzik - 12.01.2016

(12.01.2016, 11:46)admin Wrote: WS2812B requires very strict timing, it is not possible to achieve this with LM which is not real-time. You need a separate controller for that.

Thank you for info. I will try do this by Arduino.


RE: Magic LED (with WS2812B) - gjniewenhuijse - 12.01.2016

After you created the right sketch for the Arduine you can add a RF board to receive RF signals, for example:
http://www.digitalsmarties.net/products/rfm12b-board

And on the LogicMachine you can control the Arduino with the following usb stick with RF comm.:
http://www.digitalsmarties.net/products/jeelink-classic

So you can control your Arduino board over RF with your LogicMachine.


RE: Magic LED (with WS2812B) - buuuudzik - 12.01.2016

(12.01.2016, 12:29)gjniewenhuijse Wrote: After you created the right sketch for the Arduine you can add a RF board to receive RF signals, for example:
http://www.digitalsmarties.net/products/rfm12b-board

And on the LogicMachine you can control the Arduino with the following usb stick with RF comm.:
http://www.digitalsmarties.net/products/jeelink-classic

So you can control your Arduino board over RF with your LogicMachine.

This is a good advice but I hope that I will have enough cables on the buildingWink


RE: Magic LED (with WS2812B) - PhilXu007 - 06.01.2018

is it all the digital led strip can not work with the LM output


RE: Magic LED (with WS2812B) - buuuudzik - 06.01.2018

For simple controll you can use some IoT device like NodeMCU or Arduino and then you can provide by it API which can be controlled by Logic Machine. Or you can buy some controller with API.