Loading...
  Show Posts
Pages: 1 [2] 3 4
16  Using Arduino / General Electronics / Re: Help needed with shift registers on: February 26, 2013, 04:37:22 am
Thanks! Thats exactly what I was looking for. This is faster and easier then writing 0's to the shift registers.
17  Using Arduino / General Electronics / Re: Help needed with shift registers on: February 25, 2013, 02:36:06 pm
Ok...Another question. For now I have my Master Reset/Reclear tied to 5v. However I want to control the MR.
Now is it right when I pull the MR to LOW that all the shift registers will be cleared, and the bytes that were in the shift registers are gone(even when I set it to HIGH again)?
18  Using Arduino / General Electronics / Re: Help needed with shift registers on: February 22, 2013, 12:13:57 pm
Got it fixed, I was so stupid to shift out B00001 instead of B00000 at the void setup(I shift out B00000 to clear out all the shift registers). So I got it fixed smiley!
19  Using Arduino / General Electronics / Re: Help needed with shift registers on: February 21, 2013, 06:19:12 am
So I tried 1k, still some very faint flashes on powering up smiley-sad
20  Using Arduino / General Electronics / Re: Help needed with shift registers on: February 20, 2013, 11:06:44 am
So I tryed it on a single shift register but no luck, its still flashing when getting powered up. However when I put a 10k resistor on the latch to ground on a single shift register on my breadboard it won't flash at all, but on my cube with 6 registers it will flash when using a 10k pull down resistor.
21  Using Arduino / General Electronics / Re: Help needed with shift registers on: February 20, 2013, 10:23:28 am
Im going to try a 10k from OE to 5V and see if that works, ill report back!

Btw, i wrote a piece of code in the void setup to put all latches to low and shift out B00000 (each zero is a LED in off state) to all shift registers
22  Using Arduino / General Electronics / Re: Help needed with shift registers on: February 20, 2013, 07:01:26 am
The problem is not with latching data out, but the leds are flashing when i connect my arduino to my laptop via usb (so when the arduino gets powered up). So im already using a pull down resistor on the latch I get significant less flashing on powering up. However its not completely gone(like 1ms flash or so).
23  Using Arduino / General Electronics / Re: Help needed with shift registers on: February 19, 2013, 11:23:28 am
So i got my cube working and all smiley. Only thing is that i still get a really faint flash on all leds (pretty hard to see because its maybe on for a millisecond or so). I tried lowering my pull down resistor to 3k but i still see the flashes. Maybe someone know why I still get flashes??
24  Using Arduino / LEDs and Multiplexing / Re: 3x3x3 LED cube, newbie questions (5x5x5 comming soon) on: February 18, 2013, 05:55:10 pm
I absolutely agree with the statement you made. However I think a good meter will be a good investment though (for my study and other projects in the future) even if it isnt really meaningful for now yet.

25  Using Arduino / LEDs and Multiplexing / Re: 3x3x3 LED cube, newbie questions (5x5x5 comming soon) on: February 18, 2013, 05:37:44 pm
I did a measurement with a cheap digital volt meter and it came around 2.5V. I think I should invest in a better multimeter in the first place (a buddy of mine has an industrial fluke that works really well he said, maybe I should look for something like that) to get some accurate readings  smiley-red
26  Using Arduino / LEDs and Multiplexing / Re: 3x3x3 LED cube, newbie questions (5x5x5 comming soon) on: February 18, 2013, 01:47:23 pm
The digital pins from the arduino can only sink(/source) up, up to 40mA. If I turn on 25 LEDs on one layer the total current that need to be sinked by the digital pin would be 25*13mA = 325mA, this is far too much for a digitalpin. Instead I use NPN transistors, the collector from the transistor is connected to each layer of the cube. The emitter is connected to ground from the arduino (Ground from the arduino can sink up to around 450 mA on USB) and the base is connected to a digital pin on the arduino (in my case to the shift register). Now I am able to turn on 25 LEDs on one layer without frying something. The other advantage from transistors is the way how the ground is turned on/off, I send a HIGH signal to the base from the transistor so it switches the selected layer to ground. Because I can use HIGH instead of LOW (what you mentioned) it makes it easier to program.
27  Using Arduino / LEDs and Multiplexing / Re: 3x3x3 LED cube, newbie questions (5x5x5 comming soon) on: February 18, 2013, 12:57:18 pm
Yes there quite a few parts in this one, here a list of all things I used:

-125 LEDs
-Copper wire to give the layers more thoughness
-5 NPN 800mA (2n2222) transistors
-5 x 150 ohm resistor for the transistors
-2 experiment boards to solder the components on
-14 male, 5pin connectors
-13 female, 5 pin connectors
-1 male, 3 pin connector
-2 meter 10wires ribbon cable
-6 meter white wire
-2 meter black wire
-2 meter red wire
-1 meter blue wire
-2 meter green wire
-2 meter yellow wire
-6 shift registers and 6 ic-sockets
-6 100nF ceramic capacitors
-25x 220 ohm resistors
-1x 10K resistor

This is all I used. I use 5 shift registers to control 5 LEDs per shift register, the 6th shift registers is for controlling the layers via the NPN transistors.
28  Using Arduino / LEDs and Multiplexing / Re: 3x3x3 LED cube, newbie questions (5x5x5 comming soon) on: February 18, 2013, 10:15:03 am
Here are some pics smiley:















Next time I'm gonna design a PCB and etch it at school.
29  Using Arduino / LEDs and Multiplexing / Re: 3x3x3 LED cube, newbie questions (5x5x5 comming soon) on: February 17, 2013, 04:14:19 pm
Sorry for the delay but I have been on vacation lately. Tommorow I will post some pics of it. I still have some struggling with the code but I almost figured out. So the videos will be posted within a week smiley.

I figured out the brightness issue though. Its because the duty cycle is around 1/5 if I multiplex 5 layers. To fix it I should pulse my leds with much more current then I do right now. I dont really mind about the brightness loss so I keep it in its original state:).
30  Using Arduino / LEDs and Multiplexing / Re: 3x3x3 LED cube, newbie questions (5x5x5 comming soon) on: February 11, 2013, 03:49:47 pm
So after 3 days I finished my 5x5x5 LED cube. Now everything is working fine, however if I multiplex more then three layers my LEDs goes less bright then when I'm only multiplexing 3 layers. It's not a big deal but if someone has an explanation for it it would be great!

pics comming soon!
Pages: 1 [2] 3 4