-
Notifications
You must be signed in to change notification settings - Fork 119
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
How to Control more than one LED Stripe over HyperSPI? #4
Comments
Hi Currently the project can handle only one segment. Theoretically it's possible to handle more than one, but it would require some rather simply project modification for specific setup. For example we need to handle 800LEDS, first 500LEDS and a second 300LEDS. We assume that they are put in order, one by one. Then in HyperSPI we need to create a second instance of neopixelbus library to handle second LED instance, and then after receiving via SPI 500th LED color we switch to put colors into the second neopixelbus instance. esp8266 has some limitation and probably esp32 would be a better choice for that task. |
Ok thank you very much, for ESP8266 CS Pin shall be GPIO15 but i don´t know if it works, when you connect it. |
Thanks! The solution with modified HyperSPI doesn't require any HyperHDR modification. It will work with single instance (800 LEDs in this case) or as independent instances using two ESP devices (500 and 300, it should work without any HyperSPI/HyperHDR modification even now). The idea of multi-segment support follows me, but I do not know yet whether I will implement it under HyperHDR or as a new project. |
I know what you meaning. I´m using an Orange PI, which only has one SPI Interface (SPI1). |
Both MOSI and CLK are dead? Does HyperHDR show any error related to SPI driver in the logs? |
Also check if HyperHDR has rights to use that SPI device. But it should give an error in HyperHDR's logs. |
Thanks for the info. |
You can find current logs in hyperhdr web page. The archive is in |
Great! |
BTW if you fork HyperHDR you can modify that |
Could you please explain to me, how to modify that file online? |
Did you forked HyperHDR and enabled Github Action in the project properties? |
Yes i did adjust the File, but i get an Error during compiling the RPI-Image. |
This command is for tagged releases only and it generates SD card images from the official repo: it's useless in your case. You have already built your installers: https://github.com/Lasermax3000/HyperHDR/actions/runs/2964289682 |
Ahh cool, that it worked. |
Updated HyperSPI: it's capable now of multi-segment but only for ESP32 and ESP32-S2. Esp8266 is an old design, it's SPI protocol is limited (we can only send ~30 bytes in packet, doesn't work well for large data to transfer for both segments) and as you can see on the attached fresh benchmarks on the main page it's already well behind ESP32. ESP32-S2 lolin mini is currently as cheap as Esp8266 boards so don't plan to support this feature for Esp8266. |
Hello,
at first thank you for this awsome project and the solutions you provided so far.
I got a little project, where i want to use more than one LED Stripe with HyperSPI.
Is it possible to control more than one Strip with a single ESP 8266?
Or do i have to use an ESP for every Strip each on the same SPI-Bus?
Would be great if you could give an idea...
The text was updated successfully, but these errors were encountered: