Led Cube 8x8x8
Led Cube 8x8x8
Led Cube 8x8x8
step 6: The anatomy of a LED cube . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 11 step 7: Cube size and IO port requirements . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 12 step 8: IO port expansion, more multiplexing . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 12 File Downloads . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 13 step 9: IO port expansion, alternative solution . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 13 File Downloads . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 14 step 10: Power supply considerations . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 14 step 11: Buy a power supply . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 15 step 12: Build a power supply . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 15 step 13: Choose your LEDs . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 16 step 14: Choose your resistors . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 17 step 15: Choose the size of your cube . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 18 step 16: How to make straight wire . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 19 step 17: Practice in small scale . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 19 step 18: Build the cube: create a jig . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 20 step 19: Build the cube: soldering advice . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 21 step 20: Build the cube: test the LEDs . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 21 step 21: Build the cube: solder a layer . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 22 step 22: Build the cube: test the layer . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 25 step 23: Build the cube: straigthen the pins . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 26 step 24: Build the cube: bend the pins . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 27 step 25: Build the cube: solder the layers together . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 28 step 26: Build the cube: create the base . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 30 step 27: Build the cube: mount the cube . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 31 step 28: Build the cube: cathode risers . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 31 step 29: Build the cube: attach cables . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 32
http://www.instructables.com/id/Led-Cube-8x8x8/
step 30: Build the controller: layout . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 34 File Downloads . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 35 step 31: Build the controller: clock frequency . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 35 step 32: Build the controller: protoboard soldering advice . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 36 step 33: Build the controller: Power terminal and filtering capacitors . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 37 step 34: Build the controller: IC sockets, resistors and connectors . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 38 step 35: Build the controller: Power rails and IC power . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 39 step 36: Build the controller: Connect the ICs, 8bit bus + strobe . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 39 step 37: Build the controller: Address selector . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 40 step 38: Build the controller: AVR board . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 40 step 39: Build the controller: Transistor array . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 42 step 40: Build the controller: Buttons and status LEDs . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 43 step 41: Build the controller: RS-232 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 44 step 42: Build the controller: Make an RS-232 cable . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 45 step 43: Build the controller: Connect the boards . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 47 step 44: Build the controller: Connect the cube . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 48 step 45: Program the AVR: Set the fuse bits . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 48 step 46: Program the AVR with test code . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 50 File Downloads . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 50 step 47: Test the cube . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 50 step 48: Program the AVR with real code . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 51 File Downloads . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 52 step 49: Software: Introduction . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 52 File Downloads . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 53 step 50: Software: How it works . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 53 step 51: Software: IO initialization . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 54 step 52: Software: Mode selection and random seed . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 54 step 53: Software: Interrupt routine . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 55 step 54: Software: Low level functions . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 57 step 55: Software: Cube virtual space . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 58 step 56: Software: Effect launcher . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 59 step 57: Software: Effect 1, rain . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 60 step 58: Software: Effect 2, plane boing . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 61 step 59: Software: Effect 3, sendvoxels random Z . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 63 step 60: Software: Effect 4, box shrinkgrow and woopwoop . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 64 step 61: Software: Effect 5, axis updown randsuspend . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 67 step 62: Software: Effect 6, stringfly . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 68 step 63: Software: RS-232 input . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 70 step 64: PC Software: Introduction . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 70 File Downloads . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 71 step 65: PC Software: Cube updater thread . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 71 step 66: PC Software: Effect 1, ripples . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 72
http://www.instructables.com/id/Led-Cube-8x8x8/
step 67: PC Software: Effect 2, sidewaves . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 72 step 68: PC Software: Effect 3, fireworks . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 73 step 69: PC Software: Effect 4, Conway's Game of Life 3D . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 74 step 70: Run the cube on an Arduino . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 75 File Downloads . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 76 step 71: Hardware debugging: Broken LEDs . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 77 step 72: Feedback . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 77 Related Instructables . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 78 Advertisements . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 78 Comments . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 78
http://www.instructables.com/id/Led-Cube-8x8x8/
License: Attribution Non-commercial Share Alike (by-nc-sa) Intro: LED Cube 8x8x8
Create your own 8x8x8 LED Cube 3-dimensional display! We believe this Instructable is the most comprehensive step-by-step guide to build an 8x8x8 LED Cube ever published on the intertubes. It will teach you everything from theory of operation, how to build the cube, to the inner workings of the software. We will take you through the software step by step, both the low level drivers/routines and how to create awesome animations. The software aspect of LED cubes is often overlooked, but a LED cube is only as awesome as the software it runs. About halfway through the Instructable, you will actually have a fully functional LED cube. The remaining steps will show you how to create the software. A video is worth a thousand words. I'll just leave it up to this video to convince you that this is the next project you will be building:
I made this LED cube together with my friend chiller. The build took about 4 days from small scale prototyping to completed cube. Then another couple of hours to debug some faulty transistors. The software is probably another 4-5 days of work combined.
http://www.instructables.com/id/Led-Cube-8x8x8/
http://www.instructables.com/id/Led-Cube-8x8x8/
Image Notes 1. Don't look at the color codes. This is not 100ohms.
http://www.instructables.com/id/Led-Cube-8x8x8/
Image Notes 1. Very tiny wire. Perfect for working on prototyping PCBs.
File Downloads
http://www.instructables.com/id/Led-Cube-8x8x8/
pricelist.xls (12 KB) [NOTE: When saving, if you see .tmp as the file ext, rename it to 'pricelist.xls']
Image Notes 1. 1000 leds for 16 bucks. But beware! The descriptions aren't always that great. We ordered diffused leds and got clear ones :/
http://www.instructables.com/id/Led-Cube-8x8x8/
http://www.instructables.com/id/Led-Cube-8x8x8/
Image Notes 1. Do this fast enough, and your human eyes won't know the difference! Robots may be able to see past the illusion, though.
http://www.instructables.com/id/Led-Cube-8x8x8/
Image Notes 1. 8 layers 2. A 64x64 image is flashed first on layer 0 3. Then another image is flashed on layer 1 4. Wash rinse repeat
Image Notes 1. Was easier to see when I didn't draw all 64 lines
http://www.instructables.com/id/Led-Cube-8x8x8/
http://www.instructables.com/id/Led-Cube-8x8x8/
PORTA = buffer[i]; PORTB = i+1; } The outputs of the 74HC138 are active LOW. That means that the output that is active is pulled LOW. The latch pin (CP) on the latch is a rising edge trigger, meaning that the data is latched when it changes from LOW to HIGH. To trigger the right latch, the 74HC138 needs to stay one step ahead of the counter i. If it had been an active HIGH chip, we could write PORTB = i; You are probably thinking, what happens when the counter reaches 7, that would mean that the output on PORTB is 8 (1000 binary)on the last iteration of the for() loop. Only the first 8 bits of PORT B are connected to the 74HC138. So when port B outputs 8 or 1000 in binary, the 74HC138 reads 000 in binary, thus completing its cycle. (it started at 0). The 74HC138 now outputs the following sequence: 1 2 3 4 5 6 7 0, thus giving a change from LOW to HIGH for the current latch according to counter i.
File Downloads
multiplex_theoretical.sch (21 KB) [NOTE: When saving, if you see .tmp as the file ext, rename it to 'multiplex_theoretical.sch']
http://www.instructables.com/id/Led-Cube-8x8x8/
degrees to compensate ;)
File Downloads
multiplex_alternative.sch (10 KB) [NOTE: When saving, if you see .tmp as the file ext, rename it to 'multiplex_alternative.sch']
http://www.instructables.com/id/Led-Cube-8x8x8/
Image Notes 1. Old SCSI disk 2. Inside here is a small powersupply that used to supply the SCSI hard drive that was inside.
Image Notes 1. Used a Molex connector so we could disconnect the cube easily.
http://www.instructables.com/id/Led-Cube-8x8x8/
Image Notes
Image Notes
http://www.instructables.com/id/Led-Cube-8x8x8/
1. So many choices..
Image Notes 1. BAD This is not what we ordered! Damn you ebay!
http://www.instructables.com/id/Led-Cube-8x8x8/
http://www.instructables.com/id/Led-Cube-8x8x8/
http://www.instructables.com/id/Led-Cube-8x8x8/
Image Notes 1. If you make a small indentation before drilling, the drill won't slide sideways.
Image Notes 1. All done. We used this LED to test all the holes. 2. Everything but the kitchen sink? We sort of used the kitchen sink to hold the jig in place ;)
http://www.instructables.com/id/Led-Cube-8x8x8/
Image Notes 1. If the tip of your soldering iron looks like this, it is time to clean it!
Image Notes 1. This little gadget is great for cleaning your soldering iron
http://www.instructables.com/id/Led-Cube-8x8x8/
Image Notes 1. Multimeter connected in series to measure mA. 2. 5 volts from power supply
http://www.instructables.com/id/Led-Cube-8x8x8/
Image Notes 1. Start with this row 2. Then do this column 3. And then the rest.. 4. Don't remove the leg that sticks out to the side. It is convenient to connect ground to it when testing the LEDs.
Image Notes 1. LED ready to be soldered. Look how nicely they line up.
Image Notes 1. We marked off where we wanted to have the midway bracing, so we didn't accidentally put it in different locations in each layer :p
http://www.instructables.com/id/Led-Cube-8x8x8/
http://www.instructables.com/id/Led-Cube-8x8x8/
Image Notes 1. Ground connected to the layer 2. 5v from power supply 3. 5 volts via resistor.
http://www.instructables.com/id/Led-Cube-8x8x8/
Image Notes 1. This isn't going to be a very nice LED cube! 2. We use a 4x4x4 cube here to demonstrate.
Image Notes 1. Pin straightening paid off.. see how straight the cube is
http://www.instructables.com/id/Led-Cube-8x8x8/
Image Notes 1. Pins are bent in order to make contact with the next LED
http://www.instructables.com/id/Led-Cube-8x8x8/
Image Notes 1. All the pins are bent and ready to receive the next layer.
Image Notes 1. We taped over the battery terminals to avoid any disasters!
http://www.instructables.com/id/Led-Cube-8x8x8/
Image Notes 1. We added these 4x4x4 images to help illustrate the process.
http://www.instructables.com/id/Led-Cube-8x8x8/
Image Notes 1. This is mounted on the underside of the board to hold the wires in place.
http://www.instructables.com/id/Led-Cube-8x8x8/
Image Notes 1. Didn't have any rubber feet that were high enough.
Image Notes 1. All the wires are bent 90 degrees. This is more than enough to hold the cube in place.
http://www.instructables.com/id/Led-Cube-8x8x8/
Image Notes 1. Ground wire for layer 0 2. Ground for layer 1 3. Ground for layer 2
http://www.instructables.com/id/Led-Cube-8x8x8/
Image Notes 1. The connections are a bit flimsy. The cube will last a lot longer with this strain relief.
http://www.instructables.com/id/Led-Cube-8x8x8/
Image Notes 1. Way to little space in between the ICs. No room for resistors and connectors.
http://www.instructables.com/id/Led-Cube-8x8x8/
File Downloads
multiplexer_board.sch (238 KB) [NOTE: When saving, if you see .tmp as the file ext, rename it to 'multiplexer_board.sch']
avr_board.sch (249 KB) [NOTE: When saving, if you see .tmp as the file ext, rename it to 'avr_board.sch']
http://www.instructables.com/id/Led-Cube-8x8x8/
Image Notes 1. I got an oscilloscope for Christmas :D we used it to visualize some of the signals in the LED cube.
Image Notes 1. This is what the clock signal from a crystal looks like
http://www.instructables.com/id/Led-Cube-8x8x8/
Image Notes 1. 1 2. 2 3. 3
step 33: Build the controller: Power terminal and filtering capacitors
The cube is complete, now all that remains is a monster circuit to control the thing. Let's start with the easiest part, the "power supply". The power supply consists of a screw terminal where you connect the GND and VCC wires, some filtering capacitors, a switch and a an LED to indicate power on. Initially, we had designed an on-board power supply using an LM7805 step down voltage regulator. However, this turned out to be a big fail. We used this with a 12V wall wart. But as you may already know, most wall warts output higher voltages than the ones specified on the label. Ours outputted something like 14 volts. The LM7805 isn't a very sophisticated voltage regulator, it just uses resistance to step down the voltage. To get 5 volts output from 14 volts input means that the LM7805 has to drop 9 volts. The excess energy is dispersed as heat. Even with the heat sink that you see in the picture, it became very very hot. Way to hot to touch! In addition to that, the performance wasn't great either. It wasn't able to supply the necessary current to run the cube at full brightness. The LM7805 was later removed, and a wire was soldered between the input and output pins. Instead we used an external 5V power source, as covered in a previous step. Why so many capacitors? The LED cube is going to be switching about 500mA on and off several hundred times per second. The moment the 500mA load is switched on, the voltage is going to drop across the entire circuit. Many things contribute to this. Resistance in the wires leading to the power supply, slowness in the power supply to compensate for the increase in load, and probably some other things that we didn't know about ;) By adding capacitors, you create a buffer between the circuit and the power supply. When the 500mA load is switched on, the required current can be drawn from the capacitors during the time it takes the power supply to compensate for the increase in load. Large capacitors can supply larger currents for longer periods of time, whereas smaller capacitors can supply small but quick bursts of energy. We placed a 1000uF capacitor just after the main power switch. This works as our main power buffer. After that, there is a 100uF capacitor. It is common practice to have a large capacitor at the input pin of an LM7805 and a smaller capacitor at it's output pin. The 100uF capacitor probably isn't necessary, but we think capacitors make your circuit look cooler! The LED is connected to VCC just after the main power switch, via a resistor.
Image Notes 1. Bottom side of power supply. See, only solder traces. No wires.
http://www.instructables.com/id/Led-Cube-8x8x8/
2. This was removed later, because it couldn't deliver the needed amps.
Image Notes 1. A layer in the led cube is switched on. 2. The resulting rise in current draw makes VCC fluctuate a little
http://www.instructables.com/id/Led-Cube-8x8x8/
Image Notes 1. GND and VCC runs along the length of the board.
Image Notes 1. VCC crosses GND once for each row of ICs
step 36: Build the controller: Connect the ICs, 8bit bus + strobe
In the first picture, you'll notice a lot of wires have come into place. All the tiny blue wires make up the 8+1bit bus that connects all the latch ICs. 8 bits are for data, and the +1 bit is the output enable line. At the top of the board, we have added a 16 pin connector. This connects the latch board to the micro controller board. Next to that, you see the 74HC138. The tiny blue wires are Kynar wire. This is a 30 or 32 AWG (american wire gauge) wire. Very tiny. We love working with this type of wire. Because it is so thin, it doesn't take up that much space on the circuit board. If we had used thicker wire, you wouldn't be able to see the board through all the wires. Kynar wire is coated with tin, so you can solder directly after stripping it. No need for pre-tinning. The tiny blue wires are connected to the same pin on every latch IC. From the connector at the top, you can see 8 green wires connected to the bus. This is the 8 bit data bus. We used different colors for different functions to better visualize how the circuit is built. The orange wire connected to the bus is the output enable (OE) line. On the right hand side of the connector, the first pin is connected to ground.
http://www.instructables.com/id/Led-Cube-8x8x8/
http://www.instructables.com/id/Led-Cube-8x8x8/
The address selector on the latch array (74HC138) is connected to bit 0-2 on PORTB. Output enable (OE) is connected to PORTB bit 3. In the first image, you see the AVR board right-side-up. The large 40 pin PDIP (Plastic Dual Inline Package) chip in the center of the board is the ATmega32, the brainz! Just to the left of the ATmega, you see the crystal oscillator and it's two capacitors. On either side of the ATmega there is a 100nF filtering capacitor. One for GND/VCC and one for AVCC/GND. In the top left corner, there is a two pin connectors and two filtering capacitors. One 10uF and one 100nF. The LED is just connected to VCC via a resistor, and indicates power on. The large 16 pin connector directly above the ATmega connects to the latch array board via a ribbon cable. The pinout on this corresponds to the pinout on the other board. The smaller 10 pin connector to the left, is a standard AVR ISP programming header. It has GND, VCC, RESET, SCK, MISO and MOSI, which are used for programming. Next to it, there is a jumper. When this is in place, the board can be powered from the programmer. Caution: DO NOT power the board from the programmer when the actual LED cube is connected to the controller. This could possibly blow the programmer and even the USB port the programmer is connected to! The second image shows the underside. Again all GND and VCC lines are soldered as traces on the protoboard or bare wire. We had some more left over straight metal wire, so we used this. The orange wires connect the ATmega's RESET, SCK, MOSI and MISO pins to the ISP programming header. The Green wires connect PORTA to the data bus. The blue wires are the address select lines for the 74HC138 and output enable (OE) for the latch array. 1) Start by placing the 40 pin IC socket, the 10 pin ISP connector with a jumper next to it and the 16 pin data bus connector. 2) Solder in place the power connector, capacitors and power indicator LED. 3) Connect all the GND and VCC lines using solder traces or wire. Place a 100nF capacitor between each pair of GND/VCC pins on the ATmega. 4) Solder in the crystal and the two 22pF capacitors. Each capacitor is connected to a pin on the crystal and GND. 5) Run all the data bus, address select and OE wires, and the ISP wires. Transistors, buttons and RS232 will be added in later steps. At this time, the AVR board can be connected to an ISP programmer and the ATmega should be recognized.
http://www.instructables.com/id/Led-Cube-8x8x8/
http://www.instructables.com/id/Led-Cube-8x8x8/
Image Notes 1. Signal goes to two transistors. 2. This point was connected to VCC after this picture was taken.
Image Notes 1. Pull up resistors. This type of resistor is called a resistor network. It just has a bunch of resistors connected to a common pin. 2. Two and two resistors work together.
http://www.instructables.com/id/Led-Cube-8x8x8/
http://www.instructables.com/id/Led-Cube-8x8x8/
Image Notes 1. These capacitors helps the max232 bump the voltage up to rs232 levels.
http://www.instructables.com/id/Led-Cube-8x8x8/
http://www.instructables.com/id/Led-Cube-8x8x8/
http://www.instructables.com/id/Led-Cube-8x8x8/
http://www.instructables.com/id/Led-Cube-8x8x8/
http://www.instructables.com/id/Led-Cube-8x8x8/
File Downloads
test.hex (14 KB) [NOTE: When saving, if you see .tmp as the file ext, rename it to 'test.hex']
http://www.instructables.com/id/Led-Cube-8x8x8/
http://www.instructables.com/id/Led-Cube-8x8x8/
File Downloads
ledcube_8x8x8_eeprom.eep (1 KB) [NOTE: When saving, if you see .tmp as the file ext, rename it to 'ledcube_8x8x8_eeprom.eep']
ledcube_8x8x8.hex (46 KB) [NOTE: When saving, if you see .tmp as the file ext, rename it to 'ledcube_8x8x8.hex']
http://www.instructables.com/id/Led-Cube-8x8x8/
File Downloads
ledcube_8x8x8-v0.1.2.tar.gz (20 KB) [NOTE: When saving, if you see .tmp as the file ext, rename it to 'ledcube_8x8x8-v0.1.2.tar.gz']
http://www.instructables.com/id/Led-Cube-8x8x8/
http://www.instructables.com/id/Led-Cube-8x8x8/
http://www.instructables.com/id/Led-Cube-8x8x8/
Image Notes 1. The interrupt routine pulls Output Enable high while running to disable the output of the latch array.
Image Notes 1. Layer 0 is on 2. Layer 1 is on 3. My oscilloscope doesn't have 8 channels, so I can only show the first two layers.
Image Notes 1. The interrupt routine runs roughly 21% of the time. This leaves the remaining 79% for effect code!
Image Notes
http://www.instructables.com/id/Led-Cube-8x8x8/
1. If you move the camera when taking a picture of any POV gadget, you can see the POV action. I moved the camera very fast in this picture. Yet you can barely see the effect. With a lower refresh rate, the dots and spaces would be longer
http://www.instructables.com/id/Led-Cube-8x8x8/
http://www.instructables.com/id/Led-Cube-8x8x8/
http://www.instructables.com/id/Led-Cube-8x8x8/
The %EFFECTS_TOTAL after rand() keeps the random value between 0 and EFFECTS_TOTAL-1.
http://www.instructables.com/id/Led-Cube-8x8x8/
http://www.instructables.com/id/Led-Cube-8x8x8/
http://www.instructables.com/id/Led-Cube-8x8x8/
http://www.instructables.com/id/Led-Cube-8x8x8/
http://www.instructables.com/id/Led-Cube-8x8x8/
2) Enter a for() loop going from 0 to 15. 3) Set xyz to 7-i. This makes xyz the reverse of i. We want to shrink the box first, then grow. xyz is the point along the diagonal. We just used one variable since x, y and z are all equal along this diagonal. 4) When i = 7, the box has shrunk to a 1x1x1 box, and we can't shrink it any more. If i is greater than 7, xyz is set to i-8, which makes xyz travel from 0 to 7 when i travels from 8 to 15. We did this trick to avoid having two for loops, whith one going from 7-0 and one from 0-7. 5) Blank the cube and delay a little bit to make sure the blanking is rendered on the cube. Disable the interrupt routine. We do this because the mirror functions takes a little time. Without disabling interrupts, the wireframe box would flash briefly in the original rotation before being displayed rotated. 6) Draw the wireframe box in its original rotation. side of the box is always at 0,0,0 while the other travels along the diagonal. 7) Do the rotations. If flip is greather than 0, the cube is turned upside-down. rot takes a number from 0 to 3 where 0 is 0 degrees of rotation around Z and 3 is 270 degrees. To get 270 degrees we simply mirror around X and Y. 8) Enable interrupts to display the now rotated cube. 9) Delay for a while then clear the cube. The other function involved in the wireframe box effect is effect_box_woopwoop(). The name woopwoop just sounded natural when we first saw the effect rendered on the cube ;) The woopwoop function only does one iteration and takes two arguments, delay and grow. If grow is greater than 0, the box starts as a 2x2x2 box and grow to a 8x8x8 box. Here is how it works: 1) Clear the cube by filling the buffer with 0x00; 2) For()-loop from 0 to 3. 4) Set ii to i. If grow is specified we set it to 3-i to reverse it. 5) Draw a wireframe box centered along the diagonal between 0,0,0 and 7,7,7. One corner of the box uses the coordinates 4+ii on all axes, moving from 4-7. The other corner uses 3-ii on all axes, moving from 3-0. 6) Delay for a while, then clear the cube. These two functions are used as one single effect in the effect launcher. First the shrink grow effect is called 8 times, one for each corner, then woopwoop is called four times, two shrink and grow cycles. To launch the shrink grow function, we used a for loop with some neat bit manipulation tricks inside to avoid writing 8 lines of code. The second argument of the shrink grow functions is the rotation, in 4 steps. We are counting from 0 to 7, so we can't simply feed i into the function. We use the modulo operator % to keep the number inside a range of 0-4. The modulo operator divides by the number specifies and returns the remainder. The third argument is the flip. When flip = 0, the cube is not flipped. > 0 flips. We use the bitwise AND operator to only read bit 3 of i. Bitwise operators are an absolute must to know about when working with micro controllers, but that is outside the scope of this instructable. The guys over at AVR Freaks have posted some great information about this topic. You can read more at http://www.avrfreaks.net/index.php?name=PNphpBB2&file=viewtopic&t=37871
http://www.instructables.com/id/Led-Cube-8x8x8/
http://www.instructables.com/id/Led-Cube-8x8x8/
http://www.instructables.com/id/Led-Cube-8x8x8/
http://www.instructables.com/id/Led-Cube-8x8x8/
Image Notes 1. Takes an ASCII character as input and returns a bitmap of the character.
http://www.instructables.com/id/Led-Cube-8x8x8/
http://www.instructables.com/id/Led-Cube-8x8x8/
File Downloads
cube_pc-v0.1.tar.gz (82 KB) [NOTE: When saving, if you see .tmp as the file ext, rename it to 'cube_pc-v0.1.tar.gz']
http://www.instructables.com/id/Led-Cube-8x8x8/
http://www.instructables.com/id/Led-Cube-8x8x8/
http://www.instructables.com/id/Led-Cube-8x8x8/
http://www.instructables.com/id/Led-Cube-8x8x8/
http://www.instructables.com/id/Led-Cube-8x8x8/
Image Notes 1. ATmega temporarily removed 2. Layer select lines can be connected to this header, without the ATmega interfering.
File Downloads
arduinocube.pde (12 KB) [NOTE: When saving, if you see .tmp as the file ext, rename it to 'arduinocube.pde']
http://www.instructables.com/id/Led-Cube-8x8x8/
http://www.instructables.com/id/Led-Cube-8x8x8/
Related Instructables
LED Cube 4x4x4 LED Cube 3x3x3 4x4x4 LED with ATMEGA8 by chr Cube! by joewp by G7Electronica.NET
Comments
50 comments Add Comment view all 194 comments
Jan 11, 2011. 2:18 PM REPLY
tzarkyl says:
great detail on this build, as i prepare to build my 8x8x8 i have a question ...what do you think of using 74259 chips? thanks
jan4321 says:
an old 3d television XD
lazardj says:
How will it look with 1.5cm space between leds? i got leds with small legs from ebay :(
skajam66 says:
Jan 11, 2011. 4:59 AM REPLY Very nice. I must say that I built an 8x8x8 cube and it took forever to complete. The amount of soldering was tremendous - in the region of 2000 solder joints! Wah... but it was fun, I guess. Jan 11, 2011. 12:55 AM REPLY
natekling says:
Where is the best place to purchase an ISP? Is the USBtinyISP necessary, or will other ISPs work? Thank you.
natekling says:
Is there a C code example file? Thank you.
t.rohner says:
Wow it took you 4 days to build the cube, 4-5 for the software, but how long for the instructable? The cube itself and the driving electronics look really nice and the effects rock. Although i don't see the (long term) use for the cube itself, i don't think i have seen such a fantastic instructable. You have my 5 and my vote for sure.
chr says:
Thank you! :D
Actually, it took even more time to write the entire Instructable. We did it in a MediaWiki so we could collaborate easily, and it took more than 10 days to write it all up. We also wrote some new animations and cleaned up the code during this process. We could have written the Instructable in a lot less time, but we wanted to take the time ti demystify how LED cubes work. This isn't the first guide to LED cubes, but I think it is the first that tries to explain every aspect of it.
t.rohner says:
Jan 10, 2011. 10:56 PM REPLY The demystification of the subject really works. Especially the multiplexing is nicely explained. I first saw it in use for 7 segment displays some 30 years ago... At that time we used Z80's with much more surrounding circuitry, than with the actual Atmels. At that time, 1 Mhz was fast, now it's the frequency of the sleep mode...
http://www.instructables.com/id/Led-Cube-8x8x8/
kool-lites says:
Where is the Code Example for this setup you mentioned in the test?
emcniece says:
Is anyone else having trouble downloading this file? All I get following the link is a .tmp file...
jabbawokie says:
Jan 10, 2011. 3:07 PM REPLY encore encore!! love your work mate i made your 4x4x4 and im gonna get the stuff to make this 1 2 love your work!! keep it up are you ever gonna make a 16x16x16??
chr says:
I am considering a 16x16x16, yes.
I was thinking of using a LACK table from IKEA as the base, the 22x22 inch black version: http://www.ikea.com/us/en/catalog/products/40104270 If I make the led spacing 3mm, this would fit perfectly on top of the LACK table :D I would also add wheels to it so it can be moved around. The only problem is that I really don't have any room for it. I could throw out the TV to make room for it, but I don't really want to do that ;)
nickboy98 says:
REALLY IMPRESSIVE suggestions -more leds close together to make images look more detailed -colour changing leds -maybe make different shapes like for christmas you could make it in the shape of a tree
chiller says:
More leds closer together would obscure the view of the leds behind more, so that would probably be worse.
rru96 says:
Jan 10, 2011. 12:24 PM REPLY What if you made them closer together.... ALOT closer.... but only made it around.... 5 LED's deep to give for a minimal curve... Technology will bring the wire visibility down with time.But if the display was tighter packed, using RGB's...........the possibilities...
Jan 7, 2011. 5:59 PM REPLY This is by far the best instructable on here! the one question i have for you though is if you could possibly give me more information on what i could leave out in order to use the Arduino? i would love to build this but i would like to have a better idea of what i need to do to make it especially for the Arduino
chr says:
You can leave out the entire AVR board except the transistors.
sbrown7792 says:
Is the pushbutton a momentary pushbutton?
chr says:
Yes. One press of the button produces one electrical pulse. It is not an on/off switch.
mcpattrsn says:
Correct me if I'm not reading this correctly.
Here you say "Each pin on PORTB is connected to a pair of transistors that drive a ground layer." But in the schematic you show the pins on PORTC connecting to the transistors.
chr says:
The schematic and source code has the correct answer, which is PORTC. I have updated the text in the Instructable. Thank you for pointing that out!
http://www.instructables.com/id/Led-Cube-8x8x8/
Blardo says:
Jan 10, 2011. 3:15 AM REPLY Out of curiosity, wouldn't it be a good idea to have a common cathode as opposed to anode? Many ICs are better at sinking power than sourcing it. It would simply invert all bits of the programming by making the LEDs active-low rather than active-high, but might save some chips. Just a thought. a.k
chr says:
Jan 10, 2011. 9:08 AM REPLY Yes, that is true. If you want to drive more high power LEDs, you probably want to use a specialized LED driver chip. However, these are a lot more expensive than the standard CMOS logic chips we use here. The CMOS logic can source enough current to make the cube very bright even at 1/8 duty cycle for each layer. If the LEDs were any brighter, I actually think it would cause ghosting problems. The bottom LEDs would illuminate all the LEDs above them. We made a 8x8 RGB LED display (2D) where we used a special chip with onboard PWM for each channel.
icefloe01 says:
Jan 8, 2011. 11:41 AM REPLY It does not seem like it is unles I'm missing something but, is it possible to have true individual LED control in this set up? As in you want to light all LEDs except for a certain few... This does look awesome by the way!!
chr says:
Jan 10, 2011. 8:58 AM REPLY For all intents and purposes, you do have individual control of the LEDs. At 1300 FPS you have to try very hard to even see that it uses multiplexing and POV. You have individual control over the LEDs in software, and I don't think "upgrading" to individual control in hardware would improve the cube. Multiplexing gives you the benefit of only needing 1 wire for each column. Individually addressable LEDs in hardware would require 8 wires per column. Unless you use something like super thin magnet wire, this would obscure the view.
nixnope says:
Jan 8, 2011. 11:48 AM REPLY Read one of the first steps about POV. Because of the way the human vision works, it will look like one have full control over induvidual leds.
TehMessiah says:
i agree he'd need 512 i/o ports...
icefloe01 says:
Jan 10, 2011. 4:21 AM REPLY Yeah, it would be an epic undertaking, but at least he wouldn't have to switch the ground layers anymore. There's always that... lol *hears crickets* *hangs head in shame*
joymonkey says:
Jan 10, 2011. 5:11 AM REPLY If we're going to use an Arduino with this Instructable, how much of the AVR board would we actually need to make? I'm wondering if I can cut down on my components list and soldering time.
chr says:
Jan 10, 2011. 8:52 AM REPLY The only part you have to make is transistor array. You should be able to fit that and a data bus connector on an Arduini Prototype shield.
darthspartan says:
Jan 2, 2011. 2:44 PM REPLY Wow this is sweet and one of the best documented cubes ive seen thanks for posting im gonna get a few friends together and build one I wonder if it would be worth the trouble to use RGB leds it would be 3x the IO .... Anyway Thanks again your awesome.
Monkeyking668 says:
Let me know if you get it running on RGB I would really appearciate seeing video of it.
darthspartan says:
I'll be sure to let you know.
NiKiToS says:
Hi, I'm straggling to find LEDs for less than $60 can you help me please :)
http://www.instructables.com/id/Led-Cube-8x8x8/
smithygotlost says:
Good work on this well documented :). i did notice crustals should be crystal. There are a few items i couldnt find anywhere. 2x polarized plug for pwr cable 4x inserts for plugs 9x 8-pin terminal pins 1x 4-pin terminal pins, right angle I cant find these anywhere even on futurlec, can you provide a link to them. Cheers Mike Edit : Had a brainwave. could you put a picture of the shopping cart from futurlec it provides all the item codes :)
perysonh says:
we are pm 1:47 hello
perysonh says:
I really want to make how much is it?
brucesallen says:
Great writeup. Bruce
Jan 6, 2011. 7:21 PM REPLY I hope to build this with Arduino. I would buy PCBs from anyone if they were available-- and parts kits. Anything to get it closer to a complete kit would help.
chr says:
We are considering to make the project into a kit. You can sign up here to get more information: http://zomgtronics.com/
sirbobls says:
Jan 9, 2011. 4:47 PM REPLY this button with the 2 built in LED's, can you post a link on where i can get one! or email it to me, i have been looking for this type of button for a while!
chr says:
Jan 9, 2011. 7:03 PM REPLY I think its from http://www.goldmine-elec.com/ but I couldn't find it there anymore. It's a surplus store, so the stock changes over time..
Euphy says:
This is such a good quality instructable!
Genderle says:
Jan 8, 2011. 9:21 PM REPLY Hey I really love your Ibble. I am in the top with you of the epilog challenge, I really want to win because I can use it at my high school for another contest we are doing there. Then I looked at yours and first thought "Wow I could even do this, this is so stupid." I was under the assumption that it was only a nightlight. Well I was Wrong! This is cooler than my ibble i would say, but mine would be more useful to others in the long run. Advice: Get a large sheet of Black paper thick (1mm) and put it on the back face to add a better 3D experience. Good-luck and may the best ibble win!
http://www.instructables.com/id/Led-Cube-8x8x8/
chiller says:
Jan 8, 2011. 11:41 PM REPLY Why would you think it would be more useful for your high school than our university? Glad you liked our project, it would be easy to distribute the making of it for a class project at your school. Good luck to you too.
Genderle says:
Jan 9, 2011. 1:15 PM REPLY I would like to apologize for my last remark... i read it and it didn't seem bad at all, and i re-read it now again and it does seem kinda harsh. But the reason I think it will be more useful for my High school other than your UN is this (biased answer) that in our large shop we don't have any laser stuff, we only have plasma which is a POS. "Yes I use acronyms because I don't swear." Also we are doing another contest called "Project Grill" http://www.fdlac.com/grill.php And we would like to use it for engraving forks, spoons, etc with Lomira and Kondex on them, and it would be way too hard with chemicals. Your last sentence doesn't seem to be properly worded, but i presume you are giving me permission to use this as a project, though we have no electronics class yet... as we got a new teacher who might start one! Most likely when I'm gone... Again Good luck till Jan 10th
B.F.L.M says:
could you use a capacitor or transformer to increase energy effefficiency? If not, is there a way to acomplish this goal?
ITman496 says:
Jan 9, 2011. 12:53 PM REPLY I'm not sure if you could. Led's will draw what they draw, you can't reduce that. And in reality, its pretty efficient, since 0.5 of an amp at 5 volts is only 2.5 watts. Which is able to be powered by a standard usb port. So it is pretty efficient. Jan 8, 2011. 7:50 AM REPLY LM2575 from national Semiconductor would be a quite easy solution, if you are already working with a 7805, as it is a so called switching power supply, and just needs a couple more of the surrounding parts, but not a lot. The very first schematic on the datasheet http://www.national.com/profile/snip.cgi/openDS=LM2575 shows exactly the circuit to build. 7 to 40V in, 5V out with 1A. For the inductor use e.g. PISR331M-04 from Fastron. This will only need a tiny heatsink, if any.
ragnarroeck says:
Augman says:
Jan 9, 2011. 11:20 AM REPLY ABSOLUTELY AWESOME!!! Very clean build, excellent instructions and great programming. I am going to do my best to copy it. The song is "She Strings" by MimZ. I saw a bunch of comments trying to find out what it was.
http://www.instructables.com/id/Led-Cube-8x8x8/