Show Posts
Pages: [1] 2
1  Using Arduino / Motors, Mechanics, and Power / Re: powering 64 rgb led matrix kinda. on: May 16, 2011, 04:05:39 pm
I just confused really confused now lol. I need to power more or less 192 LEDs with just 6 pins .  64rgb LEDs  really is just 192LEDs. So each pin is controlling 32 LEDs .
With my setup I'm useing pwm to change the color of the LEDs . The LEDs turn on when the pin is low. I don't get how the arduino with out a separate power supply can power there's


From reading the play ground Stuff about transistors as a switch if it was high to turn  the LEDs on postive from the power supply goes to the colletor neg goes to the common cathodes and a gnd. But I need.  I'm so fringing confused and all I need to figure this out and I can finsh my project .
2  Using Arduino / Motors, Mechanics, and Power / Re: powering 64 rgb led matrix kinda. on: May 16, 2011, 10:06:44 am
I'm confused I used a battery pack as a stand in for a power supply and one red led as a stand in for the red cathode of 32 rgb common anode LEDs.

3  Using Arduino / Motors, Mechanics, and Power / Re: powering 64 rgb led matrix kinda. on: May 16, 2011, 04:49:49 am



what am i doing wrong.
4  Using Arduino / Motors, Mechanics, and Power / Re: powering 64 rgb led matrix kinda. on: May 15, 2011, 03:50:21 pm
ok i found some info in the playground. so i need a PNP transistor.
my power supply will be 5v.

i connect the gnd from the battery to the collector.

the pin to base.what resistor would i use between them. or do i need one.

and one resistor and all the same color cathodes to the emitter.(do i use a resistor of the same vaule as if i was going to light one led off of 5v or what.( the bag of leds i got came with the right resistors to do this. so sould i just give each led there own resistor)

what do i do with the + of the battery and anode of all 64 leds just wire them to them togarther?
5  Using Arduino / Motors, Mechanics, and Power / Re: powering 64 rgb led matrix kinda. on: May 15, 2011, 03:25:37 pm
i have a idea what i should do but iam really confused.
i figured i would only need 6 transistors. i got bag of pnp and npn transistors from radio shack 15 in each.
andthe bag that came in the mail was a bag of 100 common anode rbg leds. and i know i need one type of resistor for red and one type for green and blue.

iam kinda confused has how i would wire them  since ive been testing different ways. and got werid results with my muti meter. for my test i had my arduino plug in by usb and my exttranal power source was a fre 9v battery.
i ran my normal program that fades thru all the colors.but i only used one pin in my testing so i didnt have two wire 3 transistor etc. i know i need to connect the + side of the batter to my arduino but i was sure if i should plug that in to the 3.3v 5v or vin pin i didnt want to mess some thing up. so i concceted my gnd to the gnd of the battery. any ways i was able to get the led to fade but when i  got weird reading on my muti meter. but that dosent really help me out any ways since i need it to  switch with gnd. i have a idea iam doing right but the reads didnt seem right.

if you could wire this setup with just one rgb common anode led and 3 transistors and 3 pins on a arduino in fritzig i could maybe understand it better.

i figured id just need to
run the wire from the arduino to base.
- of the battery to the collector.
and the emitter to a resistor and the cathodes of all my leds. but that didnt work right with one led with a pnp or npn transistor.


6  Using Arduino / Motors, Mechanics, and Power / powering 64 rgb led matrix kinda. on: May 07, 2011, 02:35:03 pm
hello all, pretty sure  this is the right place for this.

this is my first real project.
i cant get my head around how I'm going to power my project. I'm not really making a matrix just two banks of 32 rgb leds for a full size chess board.figured id get a cool chess board that i can make any color or always fading so the white and black squares are never the same color. and some thing to mess with different inputs.i figured it be easy compared to a matrix coding and wireing.  ive tested all my code and that works, i made the chess board. but I'm not sure how to go from two leds to 64. i have a few ideas in my head but, id rather not burn my arduino out.

iam using common cathode rgb leds from spark fun. the specs on them are
Four legs, common cathode
Forward Voltage (RGB): (2.0, 3.2, 3.2)V
Max Forward Current (RGB): (20, 20, 20)mA

for what iam doing so far with this i only need the 6 pwm pins on my uno and one ground pin.
gnd pin. on my bread board i just have one led leads going to pins 9,10,11 and the other to 3,5,6 with some resistors thrown in.
so my idea and help from my buddy who i got in to arduino, was just going to wire two groups of 32 leds in parallel. in each group the colors will be split up but all the grounds  from both groups will be wired up.
so my idea was to use a transistor for each pin between its group of leds.
i was going to send  power to the transistors from a power supply. and the arduino from a 9v battery or the power supply.
the few bits we cant figure out are this.
 
1.are we miss understanding how to use a transistor. lol

2.if i make the power going to the transistors for the red leds 2.0v or little less and the power to the other two colors 3.2 or little less, would i need resistors after the transistors?

3. iam i way over thinking this and the arduino could power all 64 rgb on its own.
7  Development / Suggestions for the Arduino Project / Re: Two ideas on: May 02, 2011, 05:37:22 pm
Yeah I see what is possible for color coding . Figure well make one then just update as we go.
8  Development / Suggestions for the Arduino Project / Re: Two ideas on: May 02, 2011, 03:02:56 pm
You u guys wanna help make lists that would help.


Like I'm still learning coding my self.  If I remember right . You should never have just (=)right it should be == so I could have him make it so (=) is red.
9  Development / Suggestions for the Arduino Project / Re: Two ideas on: May 02, 2011, 11:33:21 am
Sorry about spelling etc I was running around etc.

I'm gonna force my buddy to write a app for the iPhone/iPad so you can just code on the go.
And it will color code like the IDE. So u know you wrote LOW/HIGh not low/high.and have short cuts for certin bits of code so u don't allways have to type it out.
He told me it shouldn't be hard to do and would be easy to port to google phones.

I figure when I'm at lunch etc I can work on coding why I thought of this.
10  Development / Suggestions for the Arduino Project / Two ideas on: May 01, 2011, 08:56:52 pm
Me and one of my friends where talkin and figured it could be useful to have a arduino IDE for iPhone,pad,touch,android. That way you code write code when ur on the bus, plane etc.
Wouldn't have to be able to up load it to the arduino board but that would be awesome if it could.
Would make my life alot easier to cause my work shop dosent have my Mac in it and I don't have a laptop.

It would more or less be A note pad app,but not sure how to say this( would format like the the normal IDE) certin word turn yellow blue etc. That way ur code tell if u typed it right. Maybe have a way to check it for errors. My buddy said if he got a list of all the words that change color etc he could do that part of it. Be able to save said code and email it.

My other idea is to have shortcuts add to the IDE . Like u holt alt and press pm sut type pinmode stuff like that so u would have to type so much.

Let me know what u guys think.


11  Using Arduino / Programming Questions / easy way to program led cubes? on: April 30, 2011, 01:35:52 pm
i know depending on the size of the led cube theres different ways to code it.

i just made a 2x2x2 cube. iam only using 6 pins right now. so i cant do things like bottom layer fully on and the top layer only 1 led on. i know there ways of doing it but iam just starting out you know.

this is just part of my code. but kinda shows how iam doing it.
 
  digitalWrite(l1, LOW);
  digitalWrite(l2, LOW);
  digitalWrite(l3, LOW);
  digitalWrite(l4, LOW);
 
  digitalWrite(level_pin_1, HIGH);
  digitalWrite(level_pin_2, LOW);

ive seen code for some that are like b00000000b000000b00000b00000b0000 etc etc. i under stand how it works etc.

my real question is this. is there like a easier way to code a led cube like using a visual program?
or do i just get some pain killers, a pot of coffee, and 5 packs of smokes lol.

12  Using Arduino / Installation & Troubleshooting / Re: werid problem when useing wall outlet on: April 30, 2011, 01:18:24 pm
lol i should of said the wall wart. my house plugs are fine. iam running on no sleep.
13  Using Arduino / Installation & Troubleshooting / Re: Arduino Uno + Mac OSX = Bad Idea on: April 30, 2011, 01:16:33 pm
new user here.
i had no problem with my new kit and iam running 10.6 .7. on a older mac mini intel.
my mac mini gives me problems tho but i think i messed some thing up add ram lol.

only thing that sucks is every time i plug it in i get a prompt
 a new network interface has been detected.

then some thing like arduino uno. network interface not setup.
cancel or network preferences  are two options for me to do i just click cancel cause i dont know what i should do with that lol.

but i can program and make stuff etc .....

do you get that?
are u picking the right board and port?

board is arduino uno
port   /dev/tty.usbmodem1d11   
is what i picked.
14  Using Arduino / Installation & Troubleshooting / Re: werid problem when useing wall outlet on: April 30, 2011, 01:05:27 pm
ive been stuck away from my home cause of work. i bought this  kit from adafruit. i figured since it came as a all in one starter kit from them it would work.

side note after i made my last post  i tried the 9v battery case that came with the kit. that works fine. so its not the jack on the board.

iam thinking the wall plug is messed up . tips on testing that?
15  Using Arduino / Installation & Troubleshooting / Re: werid problem when useing wall outlet on: April 29, 2011, 04:41:22 am
figured it would be fine since it came with the kit and im lighting 2 leds lol.

input:100-240v 50/60hz 0. 15a
output 9.0v----0.66aa
Pages: [1] 2