กลับไปหน้ารวมไฟล์
6x6x6-led-cube-with-processing-app-ef611a-en.md

Hello world!

I have searched for a LED cube I can build, but they all had this annoying base attached to it, so I decided to design one myself:

### From the idea...

First of all, it should be easy to control, so I decided to make a xyz-System, instead of something more complicated. To get this working, I needed some AND-Gates, I choose these, because they where the fastest I could find, but probably you could use every AND-Gate.

EXPANDED TECHNICAL DETAILS

Multiplexing with Logic Gates

Controlling 216 LEDs (6x6x6) with a single Arduino Micro requires efficient multiplexing.

  • X-Y-Z Addressing: Instead of standard shift registers, this project uses sn74f08n AND gates to manage the matrix selection. This logic allows for high-speed switching without the propagation delays often found in serial daisy-chained ICs.
  • Layer Control: The cube is divided into 6 horizontal layers (Z-axis) and a 36-LED grid (X-Y). By activating a specific layer through a transitor and selecting the column via the AND gates, the Arduino rapidly cycles through all layers to create a persistent image (Persistence of Vision).

Processing Staging & Interaction

The cube is paired with a Processing application which provides:

  1. Live Preview: A 3D model on the PC screen that matches the physical cube's state.
  2. Animation Editor: Frame-by-frame control of LED patterns.
  3. Serial Communication: Data is packaged into byte arrays and sent over COVID to the Arduino, which decodes and displays the pattern on the physical grid in real-time.

Hardware Assembly

The cube is built without a traditional bulky base by utilizing a Custom PCB that serves as both the mounting structural plane and the wiring hub. Using Ethernet cables (Cat6a) provides a high density of shielded lines for the long connections from the controller to the LED planes.

ข้อมูล Frontmatter ดั้งเดิม

title: "6x6x6 LED Cube with Processing App"
description: "A 6x6x6 LED cube capable producing any type of pattern, including live preview and animations."
author: "AdiOdi"
category: "Lights & LEDs"
tags:
  - "art"
  - "lights"
  - "art"
  - "entertainment system"
views: 16582
likes: 9
price: 2450
difficulty: "Intermediate"
components:
  - "1x Arduino Micro"
  - "1x Soldering iron (generic)"
  - "9x sn74f08n"
  - "1x Custom PCB"
  - "6x Resistor 100 ohm"
  - "1x Plier, Long Nose"
  - "1x Ethernet Cable, Cat6a"
  - "9x IC & Component Socket, 14 Contacts"
  - "216x 5 mm LED: Green"
  - "1x test socket 40 pins"
tools: []
apps:
  - "1x Processing"
downloadableFiles:
  - "https://create.arduino.cc/editor/AdiOdi/ca94e103-b8d7-4113-933c-b5c495b3ac9b"
  - "https://create.arduino.cc/editor/AdiOdi/9a64398c-ba52-4768-9b21-83aa6bab11bb"
  - "https://create.arduino.cc/editor/AdiOdi/ca94e103-b8d7-4113-933c-b5c495b3ac9b"
  - "https://create.arduino.cc/editor/AdiOdi/9a64398c-ba52-4768-9b21-83aa6bab11bb"
  - "https://create.arduino.cc/editor/AdiOdi/c092b953-120d-4583-b1b8-b0f053339fab"
documentationLinks: []
passwordHash: "e2717a224bd0d1028ee7797e4de4f8557de4f77a02ad51104d6a3cfd55b6252c"
encryptedPayload: "U2FsdGVkX19UA8+dyueqq8ZsL5bcfGVKZNzXKZwloQgzEAUJ3I9iwENqJLHsqocbrhwN3Tlh58GZtjZX3NUkVV0vKNcSoGIOFB0HTibEdTo="
seoDescription: "Build a 6x6x6 LED Cube with Processing App. Features live preview and custom animations for any pattern."
videoLinks: []
heroImage: "https://cdn.jsdelivr.net/gh/bigboxthailand/arduino-assets@main/images/projects/6x6x6-led-cube-with-processing-app-ef611a_cover.jpg"
lang: "en"