Profile cover photo
Profile photo
Ken B
30 followers
30 followers
About
Communities and Collections
Posts

Post has attachment
Anyone familiar with these two boards ? ESP 8266 NodeMCU in two form factors ? If you have one, and would like to create a 5v wifi pixel ( neopixel/WS281x ) controller, or would like the parts to solder together, let me know if you are interested.
Photo

Anyone looking for an ESPixelStick for WS281x RGB LEDs ?

https://www.amazon.com/ESPixelStick-Wireless-DMX-Pixel-Controller/dp/B072XT1V77/

Should be back in stock on July 16.

The ESPixelStick is a great solution for running WS281x LEDs from WiFi. The only problem is getting hold of them, as the supply is not meeting demand. Therefore, I purchased 2x NodeMCU 1.0 (ESP 12E) ESP8266 WiFi boards. ( for less than $15 ) These things are about as wide as my thumb. They will load the ESPixelStick firmware from their usb connector ( which is easier than using a serial programmer like on the ESPixelStick ) with no issues, however the GPIO logic is 3.3v, not the 5v that the WS2812B LEDs that I have, need. Apparently the GPIO 2 is the one used for the LED data line, so I've purchased some level shifters to transform the 3.3v to 5v data. I should be able to complete my tests this weekend, and see if alternate hardware will work.

Post has attachment
Looking for more detail on LSPi software configuration for Pixels ? Here is a new video on the subject. Unfortunately, the detail for hardware and programming Arduino(s) and the ESPixelstick has been left out to keep the video short. They may be included in future videos. Hardware is relatively simple and safe. Pixels, A large 5v power supply, and driver hardware ( Arduino, AllPixel, ESPixelstick ). SPI is available, but not included in this video, as it doesn't seem to be a particularly good option for larger shows.

Installer Failing
It has come to my attention that certain configurations are not installing properly with "simplejson" errors. If you are using the most current full version of Raspbian 2018-04-18 ( the lite version does not have this issue ), this will effect you. Update : LSPi master branch has fix.
Solutions - Pick one ->
1)
sudo apt-get remove python-simplejson
sudo apt-get remove python-serial
sudo ./install.sh
(continue with installation instructions)
2)
Install Raspbian lite version
(begin installation instructions)
3) use this one if you have a Pi 3B+
git fetch && git checkout master
sudo ./install.sh

Technically, this new version of Raspbian has installed by default the apt packages which conflict with the pip packags, so when the install script attempts to validate the package, it does not have sufficient information and dies.

Looking for suggestions for improvements to microweb and anyone who would like to test the next version.

Latest code has a new gear button to access the tools menu. The new options available are : Pi reboot, Pi shutdown, and individual on/off switches for each channel.

Git location is :
https://broken2048@bitbucket.org/broken2048/lightshowpi-fork1.git

Post has attachment
So here is what you can do with pixels and a tree.

Post has attachment
I've been working on new LED pixel patterns this week for a matrix configuration.
What I'd like to do is set up a matrix of pixels on my tree in a half-cone, ( in three dimensions ) with the back of the tree unlit. 16 W x 25 H. This is a test on a 16x16 square. I'd be interested to hear from the community which one of these patterns you think would give the best effect. Or maybe I can write some code to cycle through more than one. Suggestions ?

Code Update : Version 1.3 is out ! Both master and stable branches have been updated to this new version.
Updating to this release will require backing up your .cfg file and manually configuring your custom changes to the new config. Running install.sh again may be required as well.
This update adds support for individually addressable RGB LEDs, as well as some features and fixes that have been available this year such as the enhanced microweb interface, Twitter song updates, and the Raspbian kernel issue fix.

The RGB LED code has been a long time in the making, and with prices coming down and some obvious advantages like low voltage, it can only get more popular. Our late friend Tom and I started working on this well over a year ago, and with the help of Chris, we were able to get this accomplished.
In most cases, you will need a controller ( which are very inexpensive ) such as an AllPixel or ESPixelStick, however you can experiment with SPI with some LED types, or build your own controller from an Arduino. Multiple controllers are supported, but you will likely need a Pi 2 or 3 for your lightshow, as the code can consume a bit of CPU. ESPixelStick uses sACN or E1.31, but any controller that supports this protocol should work.
Some good information on RGB LEDs and the framework that LSPi uses can be found here :
https://github.com/ManiacalLabs/BiblioPixel2/wiki

Post has attachment
Finally got my 60W 5V power supply, so here is a test of 300 pixels sACN ( WiFi ), 3 universes with universe_boundary = 300, 16 channels, 18 pixels per channel.
Wait while more posts are being loaded