led drip tubes

General project help for Adafruit customers

Moderators: adafruit_support_bill, adafruit

Please be positive and constructive with your questions and comments.
Locked
User avatar
butchertime23
 
Posts: 2
Joined: Thu Jan 22, 2015 12:18 am

led drip tubes

Post by butchertime23 »

Hi, I'm a newbie and want to make some led drip tube lights. I don't know where to start or what products to buy. Thanks for any input
They will look like these
http://m.youtube.com/watch?v=JJvvLYeyuBk

User avatar
Funman1
 
Posts: 376
Joined: Fri Nov 28, 2014 2:13 am

Re: led drip tubes

Post by Funman1 »

Those are NOT a newbie project, that would be a fairly advanced and costly project.
And honestly with the cost of what's needed to pull that off, I can promise you it would be MUCH cheaper to just buy them.

http://www.amazon.com/Falling-icicle-St ... s+dripping
That's my thoughts... :)

But if I were to make these I would use neopixel strips or something similar and then use a bare ATTiny 85 IN each tube to control each strip individually and then just feed each tube with a 5 v supply string they can also hang from, The dripping would be statically programmed so they would just do one program and have no communication with any other tube. They would just drip

User avatar
butchertime23
 
Posts: 2
Joined: Thu Jan 22, 2015 12:18 am

Re: led drip tubes

Post by butchertime23 »

Hey. Thanks for your input. Guess things that look simple are not always huh? I've seen these things for sale all over thailand. But they are not all that cheap. I might still try to make one just for fun:)

User avatar
adafruit_support_bill
 
Posts: 88090
Joined: Sat Feb 07, 2009 10:11 am

Re: led drip tubes

Post by adafruit_support_bill »

[moved to General Project Help]
If you don't want to work with a bare ATTiny 85, we do have the Trinket boards based on the same processor:
https://www.adafruit.com/products/1501

User avatar
smartroad
 
Posts: 28
Joined: Wed Jan 14, 2015 5:21 pm

Re: led drip tubes

Post by smartroad »

Using Fastled that isn't too hard to make. Although I agree is isn't an easy first project :D Even this code as rough as it is needs more work, a delay to slow down the 'drips' for one!

Code: Select all

#include "FastLED.h"

#define DATA_PIN    8
#define CLK_PIN     9
#define LED_TYPE    LPD8806
#define COLOR_ORDER GRB
#define NUM_LEDS    32
CRGB leds[NUM_LEDS];

#define BRIGHTNESS         255
#define FRAMES_PER_SECOND  120

byte led_pos = 0;

void setup() {
  delay(3000); // 3 second delay for recovery
  
  // tell FastLED about the LED strip configuration
  FastLED.addLeds<LED_TYPE,DATA_PIN,CLK_PIN,COLOR_ORDER>(leds, NUM_LEDS).setCorrection(TypicalLEDStrip);

  // set master brightness control
  FastLED.setBrightness(BRIGHTNESS);
  
}

void loop() {
  // send the 'leds' array out to the actual LED strip
  FastLED.show();  
  // insert a delay to keep the framerate modest
  FastLED.delay(1000/FRAMES_PER_SECOND);
  
  fadeToBlackBy( leds, NUM_LEDS, 100);
  
  leds[led_pos] = CHSV(0,255,255);
  
  led_pos++;
  
  if (led_pos >= NUM_LEDS) led_pos = 0;
}
Video of the code: https://www.youtube.com/watch?v=3gRNGH-EUdE

Locked
Please be positive and constructive with your questions and comments.

Return to “General Project help”