Offline
Newbie
Karma: 0
Posts: 5
|
 |
« on: November 13, 2012, 11:17:50 pm » |
So, I am currently building a RGB LED cube 4x4x4 with rainbowduino. I have yet to even look at the code for this project, but I am currently beginning to build the cube.
I don't have a LED tester or anything, and not to sure of another way of testing my LED's to see if they are in working condition before I begin to solder.
I have a arduino uno and enough parts to be able to quickly set up the light on a breadboard and check if it working while RGB is all on, and also individual colour (Red, Green, Blue). I am curious as to how exactly the code would look like for this?
(I am fully open to better suggestions as to how I could test my LED's as my subject reads I am quite new to this)
Thanks for the help!
|
|
|
|
|
Logged
|
|
|
|
|
SE USA
Online
Faraday Member
Karma: 33
Posts: 3621
@ssh0le
|
 |
« Reply #1 on: November 14, 2012, 12:52:19 am » |
dont really need code to test LED's just use some resistors (470ohm-ish) and the 5 volt output of the arduino
also most multimeters in continuity mode will provide enough current to dimly light up most LED's
|
|
|
|
|
Logged
|
http://arduino.cc/forum/index.php?action=unread;boards=2,3,4,5,67,6,7,8,9,10,11,66,12,13,15,14,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,86,87,89,1;ALL
|
|
|
|
Cape Town South Africa
Offline
Edison Member
Karma: 17
Posts: 1104
A newbie with loads of posts, and still so much to learn !
|
 |
« Reply #2 on: November 14, 2012, 01:53:37 am » |
You would probably be wise to start with the "blink" example, and work up from there. ( as most of us newbies have )
Its easier to spot a typing error in the simpler sketches.
You can connect a LED ( through 270 ohm resistor) from any output pin to ground for testing.
|
|
|
|
|
Logged
|
We live in the era of the smart phones and stupid people.
|
|
|
|
Offline
Newbie
Karma: 0
Posts: 5
|
 |
« Reply #3 on: November 14, 2012, 02:05:52 am » |
Ha.., embarrassing! Thanks, a lot both of you. 
|
|
|
|
|
Logged
|
|
|
|
|
0
Offline
Full Member
Karma: 3
Posts: 218
Arduino rocks
|
 |
« Reply #4 on: November 14, 2012, 04:58:51 am » |
If you plug them in a breadboard and put the cathode to ground on the arduino and put a wire in the 3.3Volt arduino outlet. Touch the wire which is now positive to each anode of the rgb just quickly . No resistor needed as the output is very low
|
|
|
|
|
Logged
|
|
|
|
|
Valencia, Spain
Offline
Edison Member
Karma: 65
Posts: 2251
|
 |
« Reply #5 on: November 14, 2012, 07:00:53 am » |
I have a arduino uno and enough parts to be able to quickly set up the light on a breadboard and check if it working while RGB is all on, and also individual colour (Red, Green, Blue). I am curious as to how exactly the code would look like for this?
Why do you need "code"? Use a piece of wire and a resistor. Touch the legs on the LED with the wire.
|
|
|
|
|
Logged
|
|
|
|
|
Eugene, Oregon
Offline
Sr. Member
Karma: 8
Posts: 387
|
 |
« Reply #6 on: November 14, 2012, 11:50:30 am » |
A battery and resistor are the easiest way to test the LEDs. It looks like that kit doesnt come with any resistors, but does include a constant current LED driver, so you may want to hook up 8 LEDs, edit the code to only control 8, then try it out (you may have to try many things before you figure out how to get 8 to run properly. After you have that setup, you can swap out the 8 RGB LEDs and test the new ones.
Alternatively, you could get some inexpensive shift registers, and run shiftpwm to test out 8 LEDs at a time.
Goofing around like this will delay your project, but your chances of learning things is much greater than if you simply follow directions.
|
|
|
|
|
Logged
|
|
|
|
|
|