-
Notifications
You must be signed in to change notification settings - Fork 58
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
LED display unstable during slow crossfades #37
Comments
Paul, are you physically connecting to the beagle bone black from your PC? If it is over Wi-Fi there can be significant propagation delay. Respectfully, Ryan O'Hara, PhD On Oct 25, 2015, at 8:44 AM, mazo123 <[email protected]mailto:[email protected]> wrote: Hi Yona, I'm having some stability issues while trying to create a smooth, slow changing output display. I have tried turning off dithering and interpolation but the output is not smooth at all. I have attached a simple processing sketch that performs single stepping of the RGB values and on my system, the instability is quite obvious. I'm running a Beagle Bone Black and I have updated it to the latest build and I'm running Processing from a PC. My processing code is below and I'm using an OPC.pde file which says it was modified by you in late 2014. Any suggestions? /**
OPC opc; //========== Setup =========================== opc = new OPC(this, "192.168.0.25", 7890); } //=============== Draw ==================================== x++; println("red = ",x, "Green = ",x, "Blue = ",x/2); loadPixels(); for (int i = 0; i < (width*height); i++) { updatePixels(); delay(500); opc.writePixels(); } — |
Ryan, |
Do you have a resistor in between the beaglebone and the first LED? |
Mazo123, sorry that you're having trouble with LEDscape. Looking at your setup, I have a few questions and ideas:
Thanks, I hope we can figure it out.
|
Thanks for the advice. Here are some answers:
and here is my json {
I'll get Ryan to email you my full Processing sketch so you can see what I am trying to do as it is too long to paste in here. All I'm trying to achieve a smooth slow changing display but I'm at a bit of a loss as to why I can't get it to look smooth even with interpolation and dithering on. Thanks for your help. |
Well, the bright side is that if demo mode looks good, it's probably a very solvable problem, and we really don't have to worry about your hardware. I'd love to look at your processing sketch, it probably has something to do with how the data is being generated / sent or something specific to your network. One thing to try is to generate the OPC data from a script (node or python, probably) on the BBB itself, to account for network issues. |
Just wanted to see if you had any luck with this. Let me know if you need anything more, I'd like to close this issue (and have your issue solved) soon. |
Yona, did you receive my Processing sketch from Ryan? If not, how can I send it to you? |
Hi Yona, I'm having some stability issues while trying to create a smooth, slow changing output display. I have tried turning off dithering and interpolation but the output is not smooth at all. I have attached a simple processing sketch that performs single stepping of the RGB values and on my system, the instability is quite obvious. I'm running a Beagle Bone Black and I have updated it to the latest build and I'm running Processing from a PC. My processing code is below and I'm using an OPC.pde file which says it was modified by you in late 2014.
Any suggestions?
Thanks for you help.
Paul
/**
*/
OPC opc;
int x;
//========== Setup ===========================
void setup() {
size(400,400);
opc = new OPC(this, "192.168.0.25", 7890);
float spacing = height / 16.0;
opc.ledGrid16x16(0, width/2, height/2, spacing, 0, true);
}
//=============== Draw ====================================
void draw() {
x++;
if (x == 155) {
x = 0;}
println("red = ",x, "Green = ",x, "Blue = ",x/2);
loadPixels();
updatePixels();
delay(500);
opc.writePixels();
}
The text was updated successfully, but these errors were encountered: