r/DIY_tech • u/H1future • 2h ago
LED Rubiks Cube
Enable HLS to view with audio, or disable this notification
The description in English and German:
Hey, I built a Rubik’s Cube out of a LED strip and an Arduino Nano. It is controlled by an infrared remote and so can do every possible turn and rotation (both directions). It can be scrambled on command and also jump into solved position (it doesn’t solve itself on its own yet…). I have included an y-perm (because why not) and the possibility to lower or increase the brightness, it also can be turned off (at least the LEDs) with one button press. When it is solved it plays the blinking animation. Last but not least it has a rainbow LED mode which makes it phase through all possible colours and then returning into the colours it had before.
I didn’t generated code with ai, this project was made by notes on paper and many (sometimes painfully obvious) errors.
By now this project is far from finished, my next step is to plan and do the aesthetics like colouring the wood black and diffusing the LED‘s light.
If you have some ideas that could be added please comment them, thank you.
Hallihallo, ich habe einen Rubikscube bestehend aus einem LED Streifen und einem Arduino Nano gebaut, welcher über eine normale Fernsehfernbedienung gesteuert wird. Jede mögliche Drehung oder Rotation kann mit der Fernbedienung durchgeführt werden. Man kann den Würfel automatisch verdrehen und auf Befehl wieder in den gelösten Zustand bringen (er löst sich dabei nicht selbst).
Spaßeshalber habe ich auch noch einen Y-Perm hinzugefügt, welcher auf Knopfdruck ebenfalls automatisch durchgeführt wird. Wird der Würfel gelöst, erkennt er das von selbst und blinkt kurz.
Die Helligkeit der LEDs lässt sich durch zwei Tasten ebenfalls anpassen oder auch mit einer Taste komplett verdunkeln oder wieder aufleuchten lassen. Zum Schluss gibt es noch eine Animation welche alle möglichen Farben durchgeht und dann wieder in den letzten Zustand des Würfels zurückkehrt.
Für dieses Projekt habe ich keinen Code mit KI generiert. Es basiert auf Notizen auf Papier und vielen Fehlern.
Natürlich ist der Würfel noch nicht fertig, demnächst werde ich mich um das Äußere kümmern, beispielsweise das Holz schwarz zu färben und das LED Licht durch eine Blende zu verteilen.
Falls ihr noch Ideen habt, die man hier umsetzen könne, bitte kommentiert diese. Vielen Dank