|
ARDUINO UNO REV3 |
x 1 | |
|
stepper motors nema 17motionkimg
|
x 1 | |
|
A4988 motor driversvarious
|
x 3 | |
|
EDH476M050S9HAAKEMET
|
x 3 | |
|
Jumpers DupontVarious
|
x 1 |
|
arduino IDEArduino
|
|
|
Python |
Rubik's Cube Solver Robot - 18 seconds to solve- Spinner cube- Version 3
Scope of work
This project is implemented in arduino, python and opencv to solve the rubik′s cube. The main goal was to obtain one cheap robot wich could solve the rubik′s cube in less than one minute.
However I need to mention that my additional idea was to desgin a T-shirt with some ideas to talk about with other people-so this project need to understand some fundamental maths and train yourself in Python and opencv.
Rubik's cube T-shirt - final design
Technical Motivation
I was checking some rubik′s cube solver robot and I got captived by the ingenious of the LEGO's robot named SpinnerCube.
Operation
This robot use 3 stepper motors to perform all the moves of the cube's faces URFLDB. The stages are:
To capture sticker's color face by face, according to a sequence
To processing each face, using python and establish the scrambled initial position of the cube
To solve the cube by Kociemba algorithm
To send solution from python to Arduino throught serial port
From arduino to perform all the moves as soon as accurate and as repetable as possible!!!
Best Time reached
In order to obtain good time record, one trick easy to perform with these robots based on stepper motors is an inverse sequence, however is easy to identify if the solution is real because Kociemba normally solve the cube with 20 to 27 moves, and other methods as Fridrich, CFOP, normally solve in more moves. By the way I am not interested in a Record as my main goal, I am interested in learning, but look for physical limits, without tricks, is a good exercise to go with patient in the calibration process - Fine Tunning.
Consequently, depending on robot model, there is a physical limit ; in this case on the stepper motors is adequate torque to move the faces and maximum speed and acceleration associated. However the delays between moves and the spins for U(up),D(down),B(back) moves are constrains.
I have seen working Spinner Cube robots, based on Servos, and speed to solve is better. In the near future, I will share with all of you my project with this model based on servos.
In this case, playing with calibration settings, I got 18 seconds as my minimal time, and to avoid
In video above you can see how after iterations, I got 18 seconds ( different scrambled positions-same calibration parameters):
An application was developed with Arduino and Python to integrate program, solve the cube and control the robot. This help us to test and make more efficient the input of cube state and to take pictures.
This APP use programming strategies from other open source developers and was tuned for weeks in order to teach the system to watch and extract sticker's color.
GUI-Arduino/Python Software
This is my first attempt using stepper motors, bear in mind that you need to improve the zero position control on each iteration or new robot or after an Arduino manual reset. In the next model I will use a tachometer strategy to turn repeatable the initial position of the cube.
What for?
The answer to this question will be given to the readers in the near future; now this answer could be to develop a product for a niche of people who likes rubik's cube . Let's see what happen.
Rubik's cube and LEGO are trademarks.
Rubik's Cube Solver Robot - 18 seconds to solve- Spinner cube- Version 3
- Comments(0)
- Likes(0)
- 0 USER VOTES
- YOUR VOTE 0.00 0.00
- 1
- 2
- 3
- 4
- 5
- 6
- 7
- 8
- 9
- 10
- 1
- 2
- 3
- 4
- 5
- 6
- 7
- 8
- 9
- 10
- 1
- 2
- 3
- 4
- 5
- 6
- 7
- 8
- 9
- 10
- 1
- 2
- 3
- 4
- 5
- 6
- 7
- 8
- 9
- 10
More by Bolaños Hernando
- How to build a Bike computer DIY-Heart Rate sensor comparison and selection This project is about a tutorial to evaluate 3 hear rate Sensor. In this way I will choose the bette...
- How to build a Bike computer with a ESP32 -WROOM + 2 Reed Switches + 1 Cellular Phone(old with GPS and BTH) The complete tutorial explaining all the details for this project, can be watched in the next vide...
- How to build a Mecanum Wheels Robot The storyHow to bulild a Robot usally is an assay and error process, you can see my firts prototype ...
- How to use AI to program a 2DOF ROBOT- Arduino+ pyhton+opencv+chatgp+ps3eyecam The challenge was to obtanin a mix of code generated by chatgpt for pyhton, opencv, and arduino and ...
- Node MCU based Wi Fi Servo Switch- DIY About:Regulations usually forbide to introduce pieces of equipment in the conecctions and wiring of ...
- CNC_DIY_LASER_PLOTTER_VYNIL CUTTER ABOUT THIS PROJECTSummaryTo develop a CNC need you to learn about code, IT, electricity, electronics...
- Arduino Based Table Tennis Robot V1 DIY AboutThis project is about a TTR(Table Tennis Robot) made at home with cardboard and wood, using som...
- Robot Arm to implement CV projects StoryFour years ago I was looking for a good robot arm, this year I have time and decided to replica...
- MINI ROBOT ARM MINI ROBOT ARM - YouTubeIdea based on Tutorials shared by Mr. Pinaut for :software -schematics -inst...
- Bluetooth Controlled LEGO Toy Car MotivationMy motivation was my kids. I want to share time and have fun with them teaching them some ...
- Integrated HOME Irrigation System Motivation:Since I left the university, 24 years ago, I haven't had the chance to update my knowledg...
- Rubik's Cube Solver Robot DIY - V.3.0 Scope of the projectThe idea was to build a Rubik's cube solver robot, as simple as possible, easy t...
- Rubik's Cube Solver Robot v1 The drivers to develop my project were:Rubik′s cube is a "best seller" category toy, more than 350 m...
- WiFi ESP8266 and DHT22 Sensor I wanted to design a small weather station and use it for tracking for long periods of time the outd...
- Matchbox LEDs with ESP8266 IoT IntroductionThis is one device inside a matchbox controlling two LEDs from an Android APP by WiFi. T...
- Atari Punk Console_Analogic Noise One day, my brother in law show me this video:APK inspirationI took this inspirational video and sta...
- Rubik's Cube Solver Robot - 18 seconds to solve- Spinner cube- Version 3 Scope of workThis project is implemented in arduino, python and opencv to solve the rubik′s cube. Th...
-
Open Source Very Large Stick - Freejoy & MMjoy2 breakout board
311 0 0 -
RF Control training board for students based on ESP32 C3
435 0 2 -
Aquarius+ Computer, Standard PCB
628 0 3 -
KINETIC COASTERS with a TWIST! Laser or 3D Print some DIY Magic
459 0 1 -
RPI - 8 IO PLC With ATTiny85 Watch Dog
405 0 0 -
Nintendo Famicom HVC-001 Controller Shells
502 0 1 -
COMMODORE 128 DIAGNOSTIC REV.785260 KEYBOARD DONGLE
482 0 4 -
COMMODORE 128 15KHz DISPLAY ADAPTER (C128 80 COLUMN ADAPTER)
589 1 4 -