by

Where communities thrive


  • Join over 1.5M+ people
  • Join over 100K+ communities
  • Free without limits
  • Create your own community
People
Repo info
Activity
  • May 22 06:40
    aocole opened #137
  • May 20 19:27
    jabdoa2 commented #112
  • May 20 19:27
    jabdoa2 commented #112
  • May 20 19:26
    jabdoa2 commented #112
  • May 20 15:20
    cobra18t commented #112
  • May 17 14:56
    AdrianD72 commented #112
  • May 16 23:55
    cobra18t commented #112
  • Apr 14 21:02
    discopatrick closed #136
  • Apr 14 21:02
    discopatrick commented #136
  • Apr 14 20:58
    discopatrick opened #136
  • Mar 09 14:04
    kellertuer commented #134
  • Feb 02 18:14
    simonassank closed #135
  • Feb 02 18:14
    simonassank commented #132
  • Feb 02 18:13
    simonassank commented #132
  • Feb 02 18:12
    simonassank opened #135
  • Feb 02 18:09
    spenrose opened #134
  • Feb 02 11:24
    platinumjesus commented #132
  • Jan 29 13:40
    aderrington commented #132
  • Jan 03 14:35
    platinumjesus commented #132
  • Dec 15 2019 23:10
    sohanmurthy commented #132
George Profenza
@orgicus
Thanks @elfchief ! I'll run a test with the grounds connected.
J. Grizzard
@elfchief
(The output of the power supplies are all isolated, so unless the grounds are tied together they potentially float at different levels, and then end up equalizing those levels over the only common ground, which is the USB bus).
I'm assuming those fadecandy distribution boards tie power ground and signal ground together? (and/or do you have a schematic?)
George Profenza
@orgicus
Regarding the distribution board, I think that is correct and there should be some resistors and a capacitor as per NeoPixel Uberguide best practices (https://learn.adafruit.com/adafruit-neopixel-uberguide/power)
J. Grizzard
@elfchief
I boldly run my pixel strings without those capacitors. I am ... brave.
J. Grizzard
@elfchief
Also note, for clarity, that the output ground is not the same as the earth/safety ground. ;)
George Profenza
@orgicus
Not a whizz with electronics, so I appreciate pointing this out.
J. Grizzard
@elfchief
(On my power supplies the output ground is labelled "-5V", I don't know how others are labelled. Can't see the labels on yours. :) But yeah, the one not labelled +5V :)
George Profenza
@orgicus
Hotswapping is super nice and works well with one fade candy but in a layout with 5 of them I need to specify the serial for the led mapping. As far as I understand the config can only be passed once as an argument fcserver when launching and not changed at runtime ? I have a server_config.json / websocket protocol question: if I have a layout with 5 devices and their serials but later I need to swap one device out, but keep it's mapping, is there any way to do that at runtime rather than editing the config and relaunching the server ? (can a new config be passed at runtime ?)
J. Grizzard
@elfchief
@orgicus I don't see anything in any of the example clients that supports it, so my guess is 'no', but I haven't looked at the actual server code, so dunno for sure.
@orgicus Did tying together your grounds let you stop frying your fadecandy boards?
Alex Andre
@alexthevdwp
@M-I-Kessler Sucks for the hard drive burn ;- That happened to me once with an electrical surge that completely fried mine too. The reason I'm asking about playing different .png images on up to 8 LED strips connected to the Fadecandy is to play have various image/light patterns on each side of this interactive installation my wife and I created: www.TheMetamorphosisProject.com . We would very much appreciate your code findings or suggestions about how to go about doing this!
Matthew Kessler
@M-I-Kessler
yeah you can depending but how to do it depends on what you need. I'm guessing you want two image on the same time playing on different loactions?
Alex Andre
@alexthevdwp
@M-I-Kessler Yes 2 different images on 2 LED strips playing at the same time would be a great start!
Matthew Kessler
@M-I-Kessler
your doing this in processing
?
This message was deleted
Matthew Kessler
@M-I-Kessler

instead of

PImage im;

then something like this

PImage im1;
PImage im2;

void setup()
{
  size(800, 200);
  // Load a sample image
  im1 = loadImage("first_image.jpeg");
  im2 = loadImage("second_image.jpeg");
  // Connect to the local instance of fcserver
  opc = new OPC(this, "127.0.0.1", 7890);
  // Map one 64-LED strip to the center of the window
  opc.ledStrip(0, 64, width/2, height/2, width / 70.0, 0, false);
}
I maybe wrong about the PImage part. I don't really use Java that much
Alex Andre
@alexthevdwp
@M-I-Kessler Yes in Processing, sorry for not mentioning that. Thanks for the code I will try it tonight when I get back and let you know how it goes, thanks again Matthew!
Matthew Kessler
@M-I-Kessler
no problem, also you can loop through pictures if you want to do that too.
https://processing.org/examples/sequential.html
Matthew Kessler
@M-I-Kessler
@scanlime I am working on porting the Processing sketches to P5.js. Would you want these to be added as examples? I currently have the flames example working. However I need to verify pixel locations.
Micah Elizabeth Scott
@scanlime
@M-I-Kessler A P5.js port would be lovely; it could use the WebSockets interface to run in browser and/or node even
Matthew Kessler
@M-I-Kessler
I used the websocket structure from the ganzfeld in the js examples
Matthew Kessler
@M-I-Kessler
@scanlime Also, I can include an example website on which the examples would load.
Micah Elizabeth Scott
@scanlime
that'd be great. hosted on gh pages maybe?
Matthew Kessler
@M-I-Kessler
I'll try
Matthew Kessler
@M-I-Kessler
has anyone ever done anything with dealing with pixel arrays and pixel density?
George Profenza
@orgicus
Pixel arrays yes, Pixel density, no.
Here's a quick snippet I used to control one led strip a time for testing. Most of the code is based on the FadeCandy html examples: https://gist.github.com/orgicus/7c414f722933d7b5339d04cfd1539ff3
Matthew Kessler
@M-I-Kessler
Thanks, I figured out what my problem was. I ended up having to floor the x,y locations to read the pixel locations from the pixel array.
Alex Andre
@alexthevdwp
@M-I-Kessler Great thanks for the link!
Matthew Kessler
@M-I-Kessler
I have the opc setup for P5js . Would some one here like to test it?
George Profenza
@orgicus
I only have a few short strips and 1 fade candy, but I could still check out the packets. Got a link ?
Matthew Kessler
@M-I-Kessler
George Profenza
@orgicus
thanks, I'll have a look :)
Matthew Kessler
@M-I-Kessler
the points drawn on the canvas are offset x+1, y+1
thanks!
George Profenza
@orgicus
got it, very nice! would you mind pushing this code to your repo ? That way I could clone it, propose tweaks and we could review at some point
Matthew Kessler
@M-I-Kessler
Yeah, I'll work on doing that at some point today. If i can't get to it today definitely tommorrow!
George Profenza
@orgicus
thank you :)
Tom Robinson
@tlrobinson
Is it possible to reprogram a FC using Arduino. I'm interested in running some FastLED code directly on the device.
Micah Elizabeth Scott
@scanlime
@tlrobinson I don't know of any existing Arduino IDE addon that would work with the FC hardware
TeensyDuino isn't quite compatible, since it uses a separate chip for bootloading
Bertrand Martel
@akinaru
Hello ! I just wanted to let you know that I've ported Fadecandy Server on Android : https://github.com/akinaru/fadecandy-android (no root required). This is working fine from Android 4.1+ (sdk 16+). You can plug directly Fadecandy device on Android phone, tablet or Android TV. I also developed a sample application available on the Playstore which has server mode & client mode with a few led animations to play with. I've also made an Android library for people who want to integrate the Fadecandy server in their own app. All these resources are 100% open source
Matthew Kessler
@M-I-Kessler
@akinaru This is great! Is this Java? Also is there a way you could make to load "programs"?
Bertrand Martel
@akinaru
the Fadecandy Server is the same as the one in the official Fadecandy repo except that all USB communications & attached/detached events are managed in Java, so I use JNI between C++ & Java to make it work. I documented some specificities of the port here. You can make your own sketch using the OPC java client or the one I forked that can be fetched from gradle
Matthew Kessler
@M-I-Kessler
@akinaru Thanks!
Micah Elizabeth Scott
@scanlime
@akinaru Very nice! Starting to dig into the code and it's fascinating. Wish I had hardware to try it on, I'll try to dig some up :)
John P. Weiksnar
@jpw1116

Hi, has anyone ever used Glediator in conjunction with Fadecandy?

My issue is simply that Glediator finds 0 COM ports, even though Processing gladly functions through the same system: a Pi Zero (host) running the latest Raspian -> USB -> Fadecandy -> 8x8 NeoPixel.

RXTX is working fine with no mismatch, and I've disabled the serial login shell via the Pi Zero's raspi-config. Java version is 1.7.0_101, under openjdk-7-jre.

Nothing online seems to cover this issue exactly. I'm wondering if I need a virtual serial port, or possibly have to hardwire the Pi Zero to the Fadecandy instead. I'd prefer to keep it via USB, though. Thank you.