-
Notifications
You must be signed in to change notification settings - Fork 31
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
LEDCube - panels do not work. #19
Comments
Could it be the wrong panels? I got the instruction of the panels as pdf from the manufacture: https://www.docdroid.net/Oy5GKYW/fm6124-pdf |
Since this already occurs with the hzeller library, it is not really an "issue" for the LED matrix code. But since we do not really have too many open issues here, I will leave it open for a while, so maybe someone with a good idea can help you. I will also add the reference to your question on Reddit with my suggestion (which apparently was not the solution), so others can easily find both threads if researching a similar problem: https://www.reddit.com/r/thereoughtabe/comments/m2onlu/led_cube_no_function_with_rpi_2b_adafruit_bonnet/ (BTW: I just saw that Reddit has marked it as spam, probably because of the aliexpress-link in it. I have approved it now, so it should be visible again.) |
Vielen Dank dir :) Ich würde deinen Cube nur zu gerne nachbauen :D |
Can someone please recommend a suitable panel that works well without further ado? (P2 64x64) |
Hey :) I sold my Panels with the FM6124 ICs and bought some with FM6126A ICs. |
That's odd. Do I understand correctly that you just swapped the Pi for the same model or was it a different one? |
Yea i think the RPI 2 that i bought on ebay was broken. I just paid 10€ for that Pi xD |
Hey @Staacks, i can now run the examples of the rpi-rgb-led-matrix library without any issues. All works fine with your parameters. On my pc i use windows 10, so i installed the LEDCubeFeeder from Johnwulp. This works good and i can see the right output of the program in the log. I set the right IP and also the Port 1234. If you can help me I would like to give you a donation. Best Regards :) |
ok, here are my first thoughts:
|
Hey and thank you for your fast answer!
Ok alright. I installed the normal rasbianOS on my Pi. Not the light version. Could that be a problem?
I keep the settings there as default. I only changed the number of cores int this file to 8. The only way that remembers me now is reinstalling rasbianOS again and install everything again to exclude a mistake here. |
Haha i just got it xD
So i run it with
But how do I set it right now, that it start automatically in root mode? |
I have got it. I have done it for the autostart like in this tutorial: https://www.youtube.com/watch?v=yDJgohRfTb0 One last question :D One LED of one panel is missing in the corner. It falls off while shipping. And i need you PayPal or Coffee link for the donation 👍 |
Yes, I would edit the coordinate mapping for the vertices that make up the rendered surface. Have a look at this: there.oughta.be/led-cube/led-cube/cpu-stats-gl.cpp Lines 126 to 156 in 7b22293
...and compare it to the explanation and illustrations of the coordinate mapping in the blog article: http://there.oughta.be/an/led-cube#the-opengl-shader
Well, I really enjoy doing this stuff just for the fun of it :) But, since I will not mind some change to buy electronics and gadgets without having a bad conscience towards my family, I will probably set something up in the near future. Have to figure out some bureaucracy first, though. |
Ok, I'll try that. I now have a new RPI 2. It now runs. Have Rasbian Lite installed. Only I do not get it there with the auto startup. I made exactly as with the desktop version of Rasbian. But it just does not start at the startup. Have now also tried some other methods for the autostart. Unfortunately without success. Maybe you have another tip in this regard. |
I have just added a single line to /etc/rc.local (just before "exit 0"): In your case it should be |
Thank you :) After a long back and forth, I finally made it. Of course only thanks to your help! Best regards |
Hey @Staacks, i have one more thing :D Best Regards :) |
PS: Incidentally, I have measured the power consumption. Maximum flow 2.5A. A power supply with 5V/3A is sufficient. |
Looks like it just needs to be flipped. I have lost track of which coordinates belong to this particular panel on your build... You now have this as the two groups in the middle, right?
If this group belongs to the panel in the bottom left corner (although, I think in my build it was the first two groups that belong there), you should switch second half of each groupt, like this:
If not, show me exactly how it is right now and try to set any line in each group to +100 after each other. This way, you can tell me, which group belongs to which panel...
Interesting. Is this in normal mode or full white? I am getting instabilities when it is full white... |
I don't think so but i am a little confused now. I only changed the first two groups:
If i change the second half of the two first blocks like that,
i got this: https://ibb.co/XxdC5M6 I took a second picture, if the cube stands on a flat side, like yours: https://ibb.co/mc4f9YR
In normal mode. If you use your animation with 100% brightness. Sure, full white will need more amps. |
Sorry, I did not find the time to review this yet and I am still not sure if I have all the info, because your result is not really what I was expecting... May I suggest that you test which of the edges belongs to which corner first? As suggested in a previous post, set one corner after the other to an extreme value and see which corner of which panel changes. (Two lines belong to one corner as they are x and y coordinates. You should have 12 corners in total, obviously.) |
Hello.
I have a problem with my setup. I got no output with the examples of the hzeller/rpi-rgb-led-matrix library. I use a RPI 2b v1.1 and a Adafruit RGB Matrix Bonnet to drive a 64x64 LED Matrix of Aliexpress (https://a.aliexpress.com/_mLDLYhN)
For the hardware part:
I have soldered GPIO4 & GPIO18 for the quality setting
shorted out the middle pad to ‘8’ on the backside of the Adafruit RGB LED Bonnet
For the software part:
I have installed the LED-matrix library with quality mod for the bonnet.
I tried a couple of different flags. But i think, this should be the right:
sudo ./demo -D0 --led-rows=64 --led-cols=64
I also tried this with no success:
sudo ./demo -D0 --led-rows=64 --led-cols=64 --led-gpio-mapping=adafruit-hat
The RPI starts the DEMO, but the panel remains black. Absolutely nothing happens.
I also tried the convenience option. But its still the same. And i tried also the E to 16....
Please help :)
Best Regards!
The text was updated successfully, but these errors were encountered: