Show Posts
|
|
Pages: 1 [2] 3 4
|
|
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)?
|
|
|
|
|
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.
|
|
|
|
|
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  . 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??
|
|
|
|
|
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.
|
|
|
|
|
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  . 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:).
|
|
|
|
|