Schlagwort: Rubik’s Cube

  • Arduino-controlled robot solves Rubik’s Cubes in a couple seconds

    Arduino-controlled robot solves Rubik’s Cubes in a couple seconds

    Reading Time: 2 minutes

    Arduino TeamAugust 1st, 2022

    Rubik’s Cubes have been sold in stores for more than 40 years now, but most of us still can’t solve them. Others take the puzzles very seriously, competing in many speed-solving competitions around the world. The world record for the fastest Rubik’s Cube solution is a mere 3.47 seconds, set by China’s Yusheng Du. But this robot created by Redditor iBoot32 puts that record to shame by solving the 3D puzzle in less than two seconds.

    It may not seem like it, but the central square on each side of a Rubik’s Cube remains stationary. By spinning those squares, one can rotate the entire side of the cube. iBoot32’s robot design takes advantage of that fact and has six steppers motors that attach to the central squares on each of the Cube’s six sides. This arrangement gives the robot full manipulation of the Rubik’s cube.

    An Arduino Mega 2560 board controls those six motors through a CNC shield with DRV8825 drivers. The shield only has four motor drivers, so the Arduino has to switch between the motors it can control at any given moment. A nearby PC runs Kociemba’s Optimal Solver software to generate solutions, which then output to the Arduino as a series of rotation commands. iBoot32 can either manually input the Rubik’s Cube’s initial state or use computer vision to automatically input the state into the solver software.

    The exact amount of time it takes to solve a cube depends on its initial state, but iBoot32 says that it usually takes around 1.5 to 2 seconds. 

    Website: LINK

  • Arduino-controlled Rubik’s cube chandelier solves itself

    Arduino-controlled Rubik’s cube chandelier solves itself

    Reading Time: 2 minutes

    Arduino-controlled Rubik’s cube chandelier solves itself

    Arduino TeamApril 25th, 2021

    Rubik’s cubes have been mystifying and frustrating people for more than 40 years now. According to Forbes, 450 million Rubik’s cubes had been sold by 2020. But based on our very scientific estimates, only a small fraction of those have been solved. To avoid that difficulty, Stuart Gorman gave his Rubik’s cube chandelier the ability to unscramble itself.

    This large 3D-printed chandelier looks exactly like the iconic cube, except that each section is lit by LEDs instead of covered with a sticker. Those are WS2812B individually-addressable RGB LEDs controlled by an Arduino Mega board. People usually choose the Mega when they need a lot of I/O pins, but in this case Gorman picked the Mega because it has lots of RAM to work with. That RAM is necessary for handling the complexity of the Arduino code that the lamp is running.

    The lamp has a few different LED effects modes, which are selectable through a smartphone app that connects to the Arduino via a Bluetooth module. Static colors can be set to each face or it can flash random colors. But the exciting modes replicate traditional Rubik’s cube play. The first starts with a solved cube and then endlessly rotates random faces, like most people do when they attempt to solve a Rubik’s cube. The second mode will actually solve the cube, which it does by playing the first mode in reverse. This chandelier looks fantastic and is a lot of fun to watch in action.

    [youtube https://www.youtube.com/watch?v=wnBRsU6DJKY?feature=oembed&w=500&h=281]

    Website: LINK

  • Solving the Rubik’s cube with an Arduino-powered machine

    Solving the Rubik’s cube with an Arduino-powered machine

    Reading Time: 2 minutes

    Solving the Rubik’s cube with an Arduino-powered machine

    Arduino TeamJune 6th, 2019

    Since its invention in 1974, Rubik’s cubes have been entertaining and frustrating those that choose to take on the challenge of aligning their shapes. More recently, however, people have been building algorithms and machinery to do it for them, including Mario Milanesio’s Arduino Rubik Solver, or ARS.

    ARS, which was constructed with the help of Milanseio’s students, is comprised of several 3D-printed and laser-cut parts. The device utilizes a series of four stepper motors to rotate the cube, along with two more to pull the grippers back when needed. 

    Solving is assisted by the ARS Studio software package, which lets users program in the existing color sequence. It then sends movement commands to an Arduino Uno over serial, which controls the motors via six A4988 Pololu drivers to complete the puzzle.

    [youtube https://www.youtube.com/watch?v=xboPoVXxuZM?feature=oembed&w=500&h=281]

    Website: LINK

  • Q-Bot is an Arduino Mega-driven Rubik’s Cube solver

    Q-Bot is an Arduino Mega-driven Rubik’s Cube solver

    Reading Time: < 1 minute

    Q-Bot is an Arduino Mega-driven Rubik’s Cube solver

    Arduino TeamMarch 14th, 2019

    Rubik’s Cubes seem to have been most popular in the 1980s, but never really went away. As such, if you have one lying around your house unsolved, why not ‘simply’ construct a machine to do this for you? 

    One possibility is the Q-Bot, outlined here. While it won’t break any world records, it’s a solid-looking assembly that appears to be relatively easy to build.

    The Q-Bot features six NEMA 17 stepper motors, four of which turn one face at a time. When needed, the other two use timing belts to alternatively pull opposed stepper motor pairs back, allowing the other two to rotate the entire assembly. An Arduino Mega is utilized to control the steppers via a custom shield, with a computer running the Kociemba’s Algorithm.

    [youtube https://www.youtube.com/watch?v=IGStJeXubtQ?feature=oembed&w=500&h=281]

    Website: LINK