Skip to main content

Prototype Design for Rubik’s Cube Solver

  • Conference paper
  • First Online:
Intelligent Manufacturing and Mechatronics

Abstract

Rubik’s cube is a modern day plastic material puzzle, where the one need to twist and turn to solve the multicolour squares. At the end, the puzzle need to be solved to make all the same colour cubes on the same surfaces. High intelligence is needed to solve it at a shorter time. Therefore, this research is to create a robot solver to solve the Rubik’s cube in short time smartly. Initially, the algorithm will scan the six surfaces of unsolved cube through a webcam and register the colours in the memory. Once it is completed, the solving algorithm will analyse and instruct the servo motors to twist and turn based on the computed solution. It is then pass it to the solving algorithm to identify the solving process and send the moving instruction to the motors by Raspberry Pi. The robot body was constructed using laser cutter. It is to make sure that the measurements are accurate and correct. To solve the cube, four servo motors with high efficiency were used to twist the cube in certain legit with the rules of the game. Another four servo motors are connected to the rack and pinion gears by clamping to hold the Rubik’s cube from falling when it is twisted. An improvised “Kociemba Algorithm”, also called as “The Two-Phase-Algorithm” is used. It reduced the required moves to solve the cube into a maximum of 25 moves and a minimum of 19. Conclusively, the final prototype discussed in this paper is tested with the solving algorithm. The results are presented.

This is a preview of subscription content, log in via an institution to check access.

Access this chapter

Chapter
USD 29.95
Price excludes VAT (USA)
  • Available as PDF
  • Read on any device
  • Instant download
  • Own it forever
eBook
USD 169.00
Price excludes VAT (USA)
  • Available as EPUB and PDF
  • Read on any device
  • Instant download
  • Own it forever
Softcover Book
USD 219.99
Price excludes VAT (USA)
  • Compact, lightweight edition
  • Dispatched in 3 to 5 business days
  • Free shipping worldwide - see info

Tax calculation will be finalised at checkout

Purchases are for personal use only

Institutional subscriptions

Similar content being viewed by others

References

  1. Jozef V, Frantisek D, Juraj K (2014) Design of pneumatical Rubik’s cube solver. AMM 613:265–272

    Article  Google Scholar 

  2. Fristrom B, Ludvig B (2016) Autonomous Rubik’s Cube Solver. Thesis

    Google Scholar 

  3. Higo R, Yamakawa Y, Senoo T, Ishikawa M (2018) Rubik’s cube handling using a high speed multi-fingered hand and a high-speed vision system. In: IROS, Madrid, pp 6609–6614. IEEE

    Google Scholar 

  4. Ilge A, Marcin A, Maciek C (2019) Solving Rubik’s cube with a robot hand

    Google Scholar 

  5. Zhao G, Tui H, Liu Y (2019) A design of magic cube robot based on STM32. In: MSE, vol 428, CACRE. IOP Conference Series

    Google Scholar 

  6. Zhou YL, Wang ZL, Zhu SQ, Gao HT, Li Y (2017) Design of a multi-servo control system based on PCA9685. JNIT 4(5)

    Google Scholar 

  7. Timothy S, Zheng C (2015) Computational design of twisty joints and puzzles. In: ACM Columbia education

    Google Scholar 

  8. Liu S, Jiang D, Feng L, Wang F, Feng Z, Liu X, Guo S, Li B, Cong Y (2019) Color recognition for Rubik’s cube robot. In: Computer vision and pattern recognition

    Google Scholar 

  9. Shaw JS, Debey V (2016) Design of servo actuated robotic gripper using forcecontrol for range of objects. In: ARIS, pp 1–6. IEEE

    Google Scholar 

  10. Hajduk M, Varga J, Durovsky F (2014) Optimization and design of four gripper pneumatical Rubik’s Cube solver. ACS 10(3):57–67

    Google Scholar 

Download references

Acknowledgements

The authors would like to express sincere appreciation to Vice Chancellor of Universiti Malaysia Perlis for giving permission to use the facilities in the university for the system development and testing. The authors also thanking Universiti Malaysia Perlis for the financial support given.

Author information

Authors and Affiliations

Authors

Corresponding author

Correspondence to A. M. Andrew .

Editor information

Editors and Affiliations

Rights and permissions

Reprints and permissions

Copyright information

© 2021 The Author(s), under exclusive license to Springer Nature Singapore Pte Ltd.

About this paper

Check for updates. Verify currency and authenticity via CrossMark

Cite this paper

Andrew, A.M. et al. (2021). Prototype Design for Rubik’s Cube Solver. In: Bahari, M.S., Harun, A., Zainal Abidin, Z., Hamidon, R., Zakaria, S. (eds) Intelligent Manufacturing and Mechatronics. Lecture Notes in Mechanical Engineering. Springer, Singapore. https://doi.org/10.1007/978-981-16-0866-7_3

Download citation

Publish with us

Policies and ethics