Where communities thrive


  • Join over 1.5M+ people
  • Join over 100K+ communities
  • Free without limits
  • Create your own community
People
Repo info
Activity
  • Sep 27 20:00
    embedded-creations commented #120
  • Sep 21 17:05
    jabdoa2 commented #112
  • Sep 21 13:21
    carterhickman commented #112
  • Sep 10 13:50
    carterhickman commented #112
  • Sep 09 21:48
    jabdoa2 commented #112
  • Sep 09 21:46
    carterhickman commented #112
  • Sep 09 21:28
    jabdoa2 commented #112
  • Sep 09 20:55
    carterhickman commented #112
  • Aug 24 22:04
    derekolson commented #120
  • Aug 22 14:30
    embedded-creations commented #120
  • 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
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.

Micah Elizabeth Scott
@scanlime
@jpw1116 Hi, not really familiar with Glediator, but if it's looking for a serial port it won't find one. Fadecandy usually uses Open Pixel Control (tcp), so you'll need to find a way to make Glediator output that or write a converter
John P. Weiksnar
@jpw1116
Belated thanks, @scanlime . I am still researching a solution as you suggest, possibly with ArtNet bridged to Fadecandy. It's not exactly intuitive but I'm not conceding. Yet. . . .
George Profenza
@orgicus
I could use some tips on getting a nice white using Fadecandy. Unfortunately FadeCandy doesn't support RGBW strips which have a nice white (warm or cool).
I've played with the whitepoint values a bit and got a nice white (the default (1,1,1) looks blue-ish), but I was wondering if anyone else played with this and had suggestions I could try. Thank you
Micah Elizabeth Scott
@scanlime
lots of people requesting RGBW, it's on my whiteboard I just need to set aside enough hacking time both for that and for the necessary firmware update infrastructure (the firmware supports updates of course, but fcserver should know how to ugprade boards for this to roll out smoothly)
Micah Elizabeth Scott
@scanlime
oh, and besides the firmware update mechanism, the other open question is how to represent the W programmatically; in OPC it could be packed just like the strips see it, or there may be a reason to have backward compatible mappings that keep the Ws separate, or compute W from the white content of the color
similar deal with Processing; defaults should exist that make sampling a pixel on screen still work fine, but you should have control direclty if you want
Alex Stich
@leftyfl1p
Hello, I'm currently looking into getting a fadecandy and am trying to figure out if it's compatible with WS2812B led strips. From some research it looks like WS2812B is just an improvement of WS2812 but I'm not sure if it follows the same protocol that would be compatible with fadecandy.
Micah Elizabeth Scott
@scanlime
@leftyfl1p yep, same protocol, compatible
Alex Stich
@leftyfl1p
thanks
Alberto
@nkint
Hi! thanks fadecandy is awesome!
is it possible to control servomotors with it?
George Profenza
@orgicus
@scanlime Thanks for the info. I imagine it's quite a task to keep it neat and tidy with RGBW in terms of data/firmware/backwards compatibility, etc.
@nkint not directly: NeoPixel LEDs only, but if you really want to, you could probably get away with a DMX servo shield as fadecandy supports the common Enttec DMX USB Pro adapter. More info on that here: https://github.com/scanlime/fadecandy/blob/master/doc/fc_server_config.md#using-open-pixel-control-with-dmx
@nkint wether it makes sense to use an Enttec DMX USB Pro and a servo dmx shield, instead of a basic microcontroller directly controlling the servo is totally up to you :)
jbsmith969
@jbsmith969
I have a sign I've made for our Burning Man regional camp at Apogaea and I'd like to set up some patterns for it to run off a Fadecandy and a Raspberry Pi 3. This is my first go at it and I'm not quite sure how to do the layout and configuring of the LEDs. I can probably figure out the programming after that point, but looking for best suggestion on how to do this. What I have figured out so far is that I can do 16 rows (using all 8 channels on the Fadecandy) of 25 pixels per row and each row would be 1.25 inches apart. There would be 50 pixels on each channel, but 2 rows for each channel. There's areas where there would be a lot of wasted pixels that way because they would be way beyond the areas that are cut out so if there's a better way of doing it, I'm open to any suggestions. Anyway, here's a link to the image of the sign and I would love any sort of input/help I can get... http://www.smithcasa.net/blm_sign.jpg
Alberto
@nkint
hi! does anyone know this library? https://googlecreativelab.github.io/anypixel/
any experiments to let it go with fadecandy?
jbsmith969
@jbsmith969
Is there a better place to post my question?
Stephen Marsh
@stephenhmarsh
hi - fadecandy is amazing thanks micah for making it. :)
Stephen Marsh
@stephenhmarsh

i've been using the fadecandy to play video onto LEDs, but im wondering if anyone can tell me how to improve my workflow/process?
currently this is what I'm doing, and i'm wondering if there is a better or more straightforward way:

  • take a short HD video then convert every frame to PNG at a resolution of 5px by 37px (the same dimensions as my matrix of LEDs, 5 rows 37 LEDs tall)
  • using a ruby library, convert every PNG to RGB values and save them in a huge yml file. so now literally every pixel of every frame is saved as 3 integers
  • to play on fadecandy: load the huge yml file into ruby memory and send each frame of RGBs over OPC in a loop function

this works but it feels like i could be doing something better?

Micah Elizabeth Scott
@scanlime
someone thought this would be funny...
Screenshot 2017-08-13 17.37.07.png
meanwhile I'm wishing there was actually a build-time dependency crate that wraps npm
ohai, wrong channel
@stephenhmarsh there are a lot of ways to do that, depending on what tools are familiar to you. It may be worth using a lower resolution video file rather than the yaml
jbsmith969
@jbsmith969
Wouldn't this work like you're saying with a low res file like your saying in Processing? @stephhmarsh check out The Coding Train on YouTube. He has a lot of good how to videos on Processing. Use the OPC library you can find in the fadecandy repo on github and use ledStrip or one of the grid functions to configure your LEDs through Processing.
Stephen Marsh
@stephenhmarsh
thanks both i didn't realize Processing could play video... amazing, sounds like it's time to learn it
Alberto
@nkint
Hi, is there a way to control fade candy from a video without using programming languages?