Comments on: Arduino – LED Cube 3x3x3 https://randomnerdtutorials.com/arduino-led-cube-3x3x3/ Learn ESP8266, ESP32, Arduino, and Raspberry Pi Sat, 21 Jun 2025 23:13:27 +0000 hourly 1 https://wordpress.org/?v=6.8.2 By: mike https://randomnerdtutorials.com/arduino-led-cube-3x3x3/#comment-1059824 Sat, 21 Jun 2025 23:13:27 +0000 http://randomnerdtutorials.com/?p=965#comment-1059824 In reply to ramielghaoui.

int columns[] = {2, 3, 4, 5, 6, 7, 8, 9, A0};
int layers[] = {10, 11, 12};

void setup() {
for (int i = 0; i < 9; i++) pinMode(columns[i], OUTPUT);
for (int i = 0; i < 3; i++) pinMode(layers[i], OUTPUT);
}

void loop() {
for (int z = 0; z < 3; z++) {
digitalWrite(layers[z], LOW); // turn on this layer (via transistor)
for (int c = 0; c < 9; c++) {
digitalWrite(columns[c], HIGH);
delay(50);
digitalWrite(columns[c], LOW);
}
digitalWrite(layers[z], HIGH); // turn off this layer
}
}

]]>
By: John https://randomnerdtutorials.com/arduino-led-cube-3x3x3/#comment-1026062 Sat, 12 Apr 2025 05:41:11 +0000 http://randomnerdtutorials.com/?p=965#comment-1026062 I have it working now I uninstalled and Installed Arduino 1.0.5-r2.

Thank you for your time.

]]>
By: Sara Santos https://randomnerdtutorials.com/arduino-led-cube-3x3x3/#comment-1016368 Fri, 14 Mar 2025 09:18:23 +0000 http://randomnerdtutorials.com/?p=965#comment-1016368 In reply to John.

Hi.
What is the error that you get?
Regards,
Sara

]]>
By: John https://randomnerdtutorials.com/arduino-led-cube-3x3x3/#comment-1016277 Thu, 13 Mar 2025 22:30:22 +0000 http://randomnerdtutorials.com/?p=965#comment-1016277 The code won’t compile with Arduino Legacy IDE.

]]>
By: Omer https://randomnerdtutorials.com/arduino-led-cube-3x3x3/#comment-729445 Mon, 28 Feb 2022 20:31:28 +0000 http://randomnerdtutorials.com/?p=965#comment-729445 In reply to Rui.

we are making 3x3x3 led cube with using stm32 .Can you share with us the source code of arduino.PLZ.

]]>
By: Sara Santos https://randomnerdtutorials.com/arduino-led-cube-3x3x3/#comment-359206 Thu, 21 Mar 2019 11:12:36 +0000 http://randomnerdtutorials.com/?p=965#comment-359206 In reply to Barry Allen.

Hi Barry.
This project was created a few years ago. So, it is a bit outdated.
The code we were using was part of an old version of Arduino IDE – version 1.0.5 that you can download here: arduino.cc/en/Main/OldSoftwareReleases#previous
Then, you should find the code in your Arduino IDE under File > Examples > LedCube > ledcube.
I haven’t tested this and I don’t know if this is still working.
But these were the instructions we’ve followed a few years ago.
Regards,
Sara

]]>
By: Barry Allen https://randomnerdtutorials.com/arduino-led-cube-3x3x3/#comment-359115 Wed, 20 Mar 2019 16:32:10 +0000 http://randomnerdtutorials.com/?p=965#comment-359115 In reply to Barry Allen.

The other question I had was how to install the libraries of the cube?

]]>
By: Barry Allen https://randomnerdtutorials.com/arduino-led-cube-3x3x3/#comment-359114 Wed, 20 Mar 2019 16:28:06 +0000 http://randomnerdtutorials.com/?p=965#comment-359114 Hello dear friend, thank you very much for the video you created. I built my cube and I only have trouble with code. Please explain very clearly about compiling.

]]>
By: Rui Santos https://randomnerdtutorials.com/arduino-led-cube-3x3x3/#comment-348609 Mon, 17 Dec 2018 16:14:55 +0000 http://randomnerdtutorials.com/?p=965#comment-348609 In reply to Michelle.

It depends on your LEDs size… You need to measure how much space will your LEDs use. Thanks for asking!

]]>
By: Michelle https://randomnerdtutorials.com/arduino-led-cube-3x3x3/#comment-345823 Wed, 28 Nov 2018 22:40:52 +0000 http://randomnerdtutorials.com/?p=965#comment-345823 How big should the stripboards be for this project?

]]>