Where communities thrive


  • Join over 1.5M+ people
  • Join over 100K+ communities
  • Free without limits
  • Create your own community
People
Repo info
Activity
  • Jul 29 20:06
    j9brown commented #141
  • Mar 21 05:25
    pfried commented #141
  • Mar 20 19:02
    sandinak commented #141
  • Mar 01 04:16
    scanlime closed #142
  • Mar 01 04:14
    aaronse opened #142
  • Feb 06 15:38
    swifty99 commented #141
  • Feb 05 15:44
    platinumjesus commented on 82ca2b1
  • Jan 03 22:15
    aocole closed #137
  • Jan 03 22:15
    aocole commented #137
  • Oct 14 2021 13:51
    jonwilliams-bluescape commented on 82ca2b1
  • Oct 12 2021 05:53
    pfried opened #141
  • Sep 16 2021 23:58
    videogame-hacker commented on 82ca2b1
  • Sep 16 2021 21:50
    scanlime commented on 82ca2b1
  • Sep 14 2021 07:57
    balls-mcgee commented on 82ca2b1
  • Sep 11 2021 18:57
    videogame-hacker commented on 82ca2b1
  • Sep 11 2021 06:06
    balls-mcgee commented on 82ca2b1
  • Sep 08 2021 19:29
    videogame-hacker commented on 82ca2b1
  • Sep 08 2021 19:07
    scanlime commented on 82ca2b1
  • Sep 08 2021 19:04
    thejohnd commented on 82ca2b1
  • Jul 20 2021 18:55
    orgicus commented #132
Matthew Kessler
@M-I-Kessler
maybe those will help
3 pin jst sm
Daniel Garcia
@focalintent
No - the thing he's talking about are solder less clips that snap onto the ends of the strip.
J. Grizzard
@elfchief
I didn't even know those existed. But now I want them. In 3-pin flavor. Heh.
Jamie Meredith
@jlmeredith
@elfchief - I am thinking about getting some of the 4 pin versions and seeing if they will work
J. Grizzard
@elfchief
I'd think the spacing would be different. :(
Jamie Meredith
@jlmeredith
I have had nothing but problems trying to solder strips - I have found that putting a heat sink between the solder point and the led works most of the time to move the heat away from the LED
Daniel Garcia
@focalintent
Let me save you some time - the spacing is different
J. Grizzard
@elfchief
Wonder what you're doing different from me. I soldered a dozen strips last month with no special precautions and got a 0% failure rate.
Jamie Meredith
@jlmeredith
@elfchief - what temp do you solder at?
I pre-tin the contact points and then touch attach pre-tinned wires - I have never had issues with soldering most components - these have been tough - both the ones from Adafruit and the general ws2812 ones from Amazon
J. Grizzard
@elfchief
Y'know, I totally don't remember what temp I had it set to. But I can find out!
this is what I have been doing to avoid the overheating issue - I have been running the soldering iron at around 450
@focalintent - curious how you determined the spacing? Have you tried something like this?
J. Grizzard
@elfchief
Looks like... 370C. Also using leaded solder, which probably makes things go quicker.
Daniel Garcia
@focalintent
Yes - and the 4 wire clips don't line up on three wire strips.
Jamie Meredith
@jlmeredith
@elfchief - are you sure you did not mean 370F? That would be nearly 700F!
J. Grizzard
@elfchief
I'm sure! Given the lack of thermal mass that's probably a bit on the high side... probably like 340C would be better. But I'd rather have slightly too high than too low.
The quicker you can get in and out (within reason) the less time there is for heat to wander away from the joint and to your components. It takes me probably 2 seconds tops to solder a wire to one of the LED strips.
Micah Elizabeth Scott
@scanlime
I'll second the technique where you pre-tin both sides, then in one step merge the two to form the joint. It'll give you a strong joint if you're sure to hold the wires still while it cools, and if you're sure the heat penetrated both joints and there's still enough residual flux. Still takes some time though, and it'd be nice to have other options :)
J. Grizzard
@elfchief
Yeah, definitely pre-tin everything. Down the not-tinning path lays madness.
Brandon Stafford
@pingswept
Has anyone worked on making Fadecandy work with the dotstar LEDs? The faster update rate is attractive. I realize it would require 2 pins per strip, but it seems like the hardware would work.
Micah Elizabeth Scott
@scanlime
I haven't done any work towards that end myself, since the dotstar LEDs are already so easy to hook up to so many different platforms. I know something like the Fc would still have a bit of a niche, but I've been trying to use my time to work on something a bit broader
If you're using the Raspberry Pi, I think there are some easy options out there for driving SPI leds like the dotstar directly from the GPIO pins, and you can even keep compatibility with OPC and use the Fadecandy examples and libraries if you like
hope that helps!
Brandon Stafford
@pingswept
Thanks for the info, @scanlime!
Is there a problem with timing when using SPI on a RPi? I would expect that if you were trying to do smooth transitions from one color to another, the OS scheduler would ruin the timing. Like, you get an HTTP request, and the next 10 ms are spent dealing with it, so the SPI data stutters a little. I'm sure all the data would still arrive, but not evenly spaced.
Micah Elizabeth Scott
@scanlime
@pingswept That will be true to some extent I suspect; not sure how much DMA the usual SPI drivers use. I'd be really surprised if you see delays as bad as 10ms though, it'll probably be imperceptible unless the rPI is heavily loaded
Jamie Meredith
@jlmeredith
I am curious if anyone here has thoughts on the best flavor of linux to use with Processing? I try to run a sketch on my RPi2 but had issues with the video drivers not working (sketch uses video) - I suspect it was a bit too processor intensive so I am moving up to a small form factor computer instead. I would like to avoid windows if possible, but will use it if others here think it is a better option than Linux
Jamie Meredith
@jlmeredith
Hey there @scanlime - I am having a terrible time getting video to play through processing on a headless Unbuntu computer - wondering if you have suggestions for otherways to drive video to a large display (2048 pixels with 4 fadecandies) - I am successfully driving it via a mac but have had no luck with Rpi2 or an i5 Ubuntu box - my next step will be to install windows and try to make it happen but that just kind of gives me the willies to even think about.
Alex Andre
@alexthevdwp
Hi guys, I am connecting 8 strips of Ws2812b LEDs to a control board. I started with a Teensy 3.1 + Octo and have now switched to Fandecandy mounted on one of RGB123's Breakout-board for the Fadecandy. I now have the Fandecandy connected to 8 LED strips of 54 pixels each and am running the example from the Fadecandy-master example called: Strip64-dot. I changed the number of pixels in the strip to match my strip length of 54 but when I run an image I notice that things don't aligne properly. Below is the latest code I've been playing with for days: could you please help make it right or let me know what I need to change, many thanks!

OPC opc;
PImage dot;

void setup()
{
size(800, 200);

// Load a sample image
dot = loadImage("alex02 color-dot.png");

// Connect to the local instance of fcserver
opc = new OPC(this, "127.0.0.1", 7890);

// Map one 54-LED strip to the center of the window

opc.ledStrip(0, 54, width/2, height/4 + 15, width / 54.0, 0, false);
opc.ledStrip(55, 54, width/2, height/4 + 25, width / 54.0, 0, false);
opc.ledStrip(109, 54, width/2, height/4 + 35, width / 54.0, 0, false);
opc.ledStrip(163, 54, width/2, height/4 + 45, width / 54.0, 0, false);
opc.ledStrip(217, 54, width/2, height/4 + 55, width / 54.0, 0, false);
opc.ledStrip(271, 54, width/2, height/4 + 65, width / 54.0, 0, false);
opc.ledStrip(325, 54, width/2, height/4 + 75, width / 54.0, 0, false);
opc.ledStrip(379, 54, width/2, height/4 + 85, width / 54.0, 0, false);
}

void draw()
{
background(0);

// Draw the image, centered at the mouse location
float dotSize = width * 0.2;
image(dot, mouseX - dotSize/2, mouseY - dotSize/2, dotSize, dotSize);
}

Alex Andre
@alexthevdwp
This is the link to RGB123's Breakout-board for the Fadecandy. I ordered a second one to try 2 fade candy connection and we'll see how that goes. The board was easy to connect but the board is very big about 8x the size of the Fadecandy board > http://rgb-123.com/product/fadecandy-breakout/
Alex Andre
@alexthevdwp

@alexthevdwp
Could someone @scanlime @focalintent @jlmeredith help me with some simple code. I'm very inspired by the Addressable LED with fadecandy but need some artwork and software questions answered and make more art. At the moment, I am connecting 8 strips of Ws2812b LEDs to a control board. I started with a Teensy 3.1 + Octo and have now switched to Fandecandy mounted on one of RGB123's Breakout-board for the Fadecandy. I now have the Fandecandy connected to 8 LED strips of 54 pixels each and am running the example from the Fadecandy-master example called: Strip64-dot. I changed the number of pixels in the strip to match my strip length of 54 neopixels but when I run an image file I notice that things don't aligne properly. Below is the latest code I've been playing with for days: could you please help make it right or let me know what I need to change, many thanks!
OPC opc;
PImage dot;

void setup()
{
size(800, 200);

// Load a sample image
dot = loadImage("alex02 color-dot.png");

// Connect to the local instance of fcserver
opc = new OPC(this, "127.0.0.1", 7890);

// Map one 54-LED strip to the center of the window

opc.ledStrip(0, 54, width/2, height/4 + 15, width / 54.0, 0, false);
opc.ledStrip(55, 54, width/2, height/4 + 25, width / 54.0, 0, false);
opc.ledStrip(109, 54, width/2, height/4 + 35, width / 54.0, 0, false);
opc.ledStrip(163, 54, width/2, height/4 + 45, width / 54.0, 0, false);
opc.ledStrip(217, 54, width/2, height/4 + 55, width / 54.0, 0, false);
opc.ledStrip(271, 54, width/2, height/4 + 65, width / 54.0, 0, false);
opc.ledStrip(325, 54, width/2, height/4 + 75, width / 54.0, 0, false);
opc.ledStrip(379, 54, width/2, height/4 + 85, width / 54.0, 0, false);
}

void draw()
{
background(0);

// Draw the image, centered at the mouse location
float dotSize = width * 0.2;
image(dot, mouseX - dotSize/2, mouseY - dotSize/2, dotSize, dotSize);
} @focalintent @focalintent @focalintent @focalintent

Daniel Garcia
@focalintent
I believe fadecandy is still expecting to receive 64 leds worth of data for each strip - isn’t it? in which case, I’d think you’d want your offsets to be 0, 64, 128, 192, 256, 320, 384, 448 instead of 0,55,109,163,217,271,325,379 — though that’s just a guess
unfortunately, I haven’t done any work with OPC myself
Matthew Kessler
@M-I-Kessler
how are the strips arranged?
Alex Andre
@alexthevdwp
@focalintent Cool thanks I'll try that!
@M-I-Kessler I Have 8 strips of 54 neopix each connected to RGB breakout board with Fadecandy board attached to it
Matthew Kessler
@M-I-Kessler
I mean physically in a spatial sense (I believe I can see from your programming but not quit sure). I'll I can send you something in a little bit. I think you may need to add a little more speciffically
for (int i = 0; i < 8; i++)
opc.ledStrip(0, 54, width/2, height/4 + 15, width / 54.0, 0, false);
opc.ledStrip(55, 54, width/2, height/4 + 25, width / 54.0, 0, false);
opc.ledStrip(109, 54, width/2, height/4 + 35, width / 54.0, 0, false);
opc.ledStrip(163, 54, width/2, height/4 + 45, width / 54.0, 0, false);
opc.ledStrip(217, 54, width/2, height/4 + 55, width / 54.0, 0, false);
opc.ledStrip(271, 54, width/2, height/4 + 65, width / 54.0, 0, false);
opc.ledStrip(325, 54, width/2, height/4 + 75, width / 54.0, 0, false);
opc.ledStrip(379, 54, width/2, height/4 + 85, width / 54.0, 0, false);
i need to look look more at the opc.ledStrip again though
Daniel Garcia
@focalintent
not sure a for loop is necessary in there
Matthew Kessler
@M-I-Kessler
This message was deleted
  // Set the location of several LEDs arranged in a strip.
  // Angle is in radians, measured clockwise from +X.
  // (x,y) is the center of the strip.
  void ledStrip(int index, int count, float x, float y, float spacing, float angle, boolean reversed)
  {
    float s = sin(angle);
    float c = cos(angle);
    for (int i = 0; i < count; i++) {
      led(reversed ? (index + count - 1 - i) : (index + i),
        (int)(x + (i - (count-1)/2.0) * spacing * c + 0.5),
        (int)(y + (i - (count-1)/2.0) * spacing * s + 0.5));
    }
Matthew Kessler
@M-I-Kessler
for multiple strips it does need the for loop (at least the way I have done it) and the int position should be 54 like you originally had it
Matthew Kessler
@M-I-Kessler
int count* not int position
Alex Andre
@alexthevdwp
@focalintent Thans for that suggestion! The code did make all the LEDs on the 8 strips fire up simultaneously but the alignment of the dots on the screens seem to double up at the start and end of the dots... Possibly because this code was originally designed for 64 Neopixels... So when a color in the Loaded image goes over the 1st dots (1st dot column) it lights up the #6 Neopix on the strips. If this is the problem I believe i would have to change the code from 64 to 54 somewhere but where?