loading

This is a 4x4x4 LED cube kit from Ebay costing about £3.50. It uses 2 x 74HC595 ICs to drive it. The kit comprises of a circuit board, 2 x ICs, 2 DIP Sockets, 70 LEDs, 6 resistors, and 2 x 40 rows of pins, but NO INSTRUCTIONS! I asked the supplier if there were any but did not get a reply. Anyway looking at it, I thought it should not be so difficult as there are some printed bits on the double sided board.

Anyway this is the result - IT WORKS!

There are 16 pins for the anodes which are connected to the output pins of the two 595 ICs. The four planes are connected to the arduino (pins 7,6,5,4) through 4 x 500 ohm resistors.

I have tested it on both the UNO & MEGA. The pins used are hard wired into the shield.

74HC595 pin ..... Arduino

SH - Clock................0

ST - Latch.................1

OE - Output Enable..2

DS - Data..................3

Shield

D16...........................4

D17...........................5

D18...........................6

D19...........................7

.

Step 1: Solder the Components to the Board

1. Solder the resistors to the the board.

2. Solder the DIP Sockets next.

3. Solder the round pins into each location (D0 - D19). Rather fiddly.

4. Solder the 4 blocks of long pins.

Step 2: Assemble the LEDs

I have no photos of the assembly, but looked at what others had done for their cubes

1. Make some sort of template to hold the LEDs in place.

2. Check each LED is working.

3. Bend legs.

4. Solder all 16 LEDs together (Cathodes).

5. Check that they are still all working!

6. Do this 3 times more.

7. Solder each layer together (Anodes).

8. Insert bottom layer into PCB pins and solder if required.

9. Connect the ground planes to D16, D17, D18, D19. (There were no wires in the kit to do this).

10. Enjoy your creation.

Step 3: Write Some Code

This code works with the Arduino UNO & MEGA.

There is a routine to deal with the code snippets that you find all over the internet in both code samples.

led4x4x4checker was written from scratch by myself.

LED4x4x4with595s is code I modified from another instructable.

<p>Shift registers are so helpful! </p>

About This Instructable

2,047views

10favorites

License:

Bio: I like tinkering with electronics, PCs, ESP8266s and Arduinos. Would like to share what I have done as it may help others getting started or ... More »
More by JohnL142:NODEMCU LUA Driving a M5450B7 LED Display Driver IC NODEMCU LUA ESP8266 WIFI Serial Dev Kit NODEMCU LUA ESP8266 Connect to MySQL Database 
Add instructable to: