|
|
Montreal
Online
Edison Member
Karma: 16
Posts: 2207
Per aspera ad astra.
|
 |
« Reply #1 on: June 18, 2012, 08:39:39 am » |
Most likely, RGB Flash leds have a pregrogrammed chip inside, and can't be control fromexternal device. Probably, this isn't what you are looking for. Search leds w/o "flash"
|
|
|
|
|
Logged
|
|
|
|
|
NL
Offline
Newbie
Karma: 0
Posts: 28
|
 |
« Reply #2 on: June 18, 2012, 08:54:41 am » |
|
|
|
|
|
Logged
|
|
|
|
|
Montreal
Online
Edison Member
Karma: 16
Posts: 2207
Per aspera ad astra.
|
 |
« Reply #3 on: June 18, 2012, 09:05:57 am » |
No, it's the same pre-programmed, only slowly -);. LED shouldn't vary color on it's own.
|
|
|
|
|
Logged
|
|
|
|
|
NL
Offline
Newbie
Karma: 0
Posts: 28
|
 |
« Reply #4 on: June 18, 2012, 09:15:28 am » |
Thanks  , I have found the correct ones with 4 pins. But which ones do I need to order, Anode or Cathode and what's the difference?
|
|
|
|
|
Logged
|
|
|
|
|
Montreal
Online
Edison Member
Karma: 16
Posts: 2207
Per aspera ad astra.
|
 |
« Reply #5 on: June 18, 2012, 09:43:39 am » |
It's up to you, if this is your first project, have a look in "LED Lights and Displays" http://arduino.cc/playground/Main/InterfacingWithHardware#Output, a lot depends on what hardware do you have to drive this leds. Factors to be considered: 1. Cost 2. Availability 3 Shipment time 4 Coding complexity Also, how big is your project, ambilight 100 leds, 10 or 1.
|
|
|
|
|
Logged
|
|
|
|
|
Norfolk UK
Offline
Edison Member
Karma: 23
Posts: 1313
|
 |
« Reply #6 on: June 18, 2012, 09:59:09 am » |
Thanks  , I have found the correct ones with 4 pins. But which ones do I need to order, Anode or Cathode and what's the difference? Common Anode is 1 pin in and 3 pins out. Ideal for driving with a LED driver chip like WS2801, MY9221, MAX16807 & STP16DP05. Common Cathode is 3 pins in and one pin out. I personally would get common anode LED's and a couple of WS2803 chips as I have used the device and it works well (and is cheap). Each WS2803 can drive 6x RGB LED's
|
|
|
|
|
Logged
|
|
|
|
|
NL
Offline
Newbie
Karma: 0
Posts: 28
|
 |
« Reply #7 on: June 18, 2012, 01:14:06 pm » |
@Riva Thanks for your answer! What would you recommend, 5mm or 10mm leds? And how did you set it up / what are the schematics? 
|
|
|
|
|
Logged
|
|
|
|
|
Montreal
Online
Edison Member
Karma: 16
Posts: 2207
Per aspera ad astra.
|
 |
« Reply #8 on: June 18, 2012, 02:47:34 pm » |
Also a lot depends on your level in electronics and in software. Some chips greatly simplify hardware design, and there is on-line library to communicate with IC ( TLC5940, MAX7219/7221.), so no problem on software side, but they cost more. WS2801 / WS2803 is good choice, as it has serial interface, so less wiring/cables work. To make life easier, you could find addressable RGB strips, that works with arduino, than all assembly boils down to hook up 4 wires.
To have learning experience, look into 74HC595 IC, it's cheap, but more complicated to communicate with. I'm working myself right now with this register, 9 IC, 72 PWM channel, arduino kicking SPI train commands set, in 38 usec, every 125 usec. No assembly so far!
|
|
|
|
« Last Edit: June 18, 2012, 02:49:57 pm by Magician »
|
Logged
|
|
|
|
|
Norfolk UK
Offline
Edison Member
Karma: 23
Posts: 1313
|
 |
« Reply #9 on: June 19, 2012, 12:04:22 am » |
What would you recommend, 5mm or 10mm leds? And how did you set it up / what are the schematics?
LED size depends on what you want to do. I have no schematic yet but attached is a picture of the breadboard test I did. Ignore the red thing on the breadboard as it's just a DS3231 RTC (I intend on altering the LED colours over time).
|
|
|
|
|
Logged
|
|
|
|
|
NL
Offline
Newbie
Karma: 0
Posts: 28
|
 |
« Reply #10 on: June 19, 2012, 11:09:02 am » |
|
|
|
|
|
Logged
|
|
|
|
|
Montreal
Online
Edison Member
Karma: 16
Posts: 2207
Per aspera ad astra.
|
 |
« Reply #11 on: June 19, 2012, 12:26:56 pm » |
A led string is a option, but how many light does it give? You always could have a look on youtube, to choose what kind of "high level "design you like the best , than check if there is a link to project on the web, and after move to hardware part. This one direction process, general overview -> LEDS -> Drivers IC -> Wiring -> Software. Choosing leds before you make your decision on art side doesn't make much sense.
|
|
|
|
|
Logged
|
|
|
|
|
NL
Offline
Newbie
Karma: 0
Posts: 28
|
 |
« Reply #12 on: June 22, 2012, 03:04:06 am » |
@Magician : That was a great tip. I've looked into it and I'm going for a 12V 5M 300 RGB SMD 5050 led strip, with a 12V 2A power adapter. Which IC would fit best in here? I was thinking of the WS2803D because it's cheaper than the WS2801. Or would you recommend somethint like the 74HC595? I want a lot of possible color combinations. And I think this is the way to connect the strip. http://www.ladyada.net/products/rgbledstrip/
|
|
|
|
|
Logged
|
|
|
|
|
Norfolk UK
Offline
Edison Member
Karma: 23
Posts: 1313
|
 |
« Reply #13 on: June 22, 2012, 03:40:45 am » |
Hi Danton,
Because of the nature of the LED strip you specified you should not need a LED driver IC unless your going to cut the 5M strip into several (more than 2) shorter strips and control each strip independently. You could just use 3x suitable NPN transistors per strip connected to separate PWM pins on the arduino (the UNO has 6 PMW pins so you can connect 2x strips and control them independently)
EDIT: Just looked at your Ladyada link and it shows them using STP16NF06/TIP120 at bottom of page.
|
|
|
|
« Last Edit: June 22, 2012, 03:43:49 am by Riva »
|
Logged
|
|
|
|
|
NL
Offline
Newbie
Karma: 0
Posts: 28
|
 |
« Reply #14 on: June 22, 2012, 06:06:13 am » |
you should not need a LED driver IC unless your going to cut the 5M strip into several (more than 2) shorter strips and control each strip independently. You could just use 3x suitable NPN transistors per strip connected to separate PWM pins on the arduino I'm going to cut up almost the whole strip to use them seperatly. Something like: Arduino Leonardo -> IC -> 3 or 6 Led strips Do I still need 3 NPN transistors per strip? Or can these be placed before the IC?
|
|
|
|
|
Logged
|
|
|
|
|
|