Hacking Rubik's Cube to control home appliances
By Dhiraj Gehlot
Take automation to next level. Control any appliances with rubik's cube.
What inspired you or what is the idea that got you started?
I know we all are bored amid this coronavirus pandemic; most of us have plenty of time to work on our skills, or do fun things in my case working on electronics, which I would say is my passion.
I had purchased xiaomi’s Gikker’s cube long time back because I was fascinated to see that it was not a normal rubik’s cube but a smart cube with BLE technology in-built. The Rubik cube connects to an app called Supercube, which can teach you how to solve Rubik’s cube, and there are many fun variation, games, quizzes etc.
What is your project about and how does it work?
In this project, I have used smart rubik cube from Xiaomi which is BLE enabled rubik's cube.An ESP32 module which acts a central device connects to rubik's cube via BLE. ESP module determines the service and characteristics and tracks the data of present status and moves of the rubik's cube. The final solution combination of this cube is fixed, which is programmed in to the code.When the solution is matched, the relay is turned ON which turns ON the CFL bulb connected to the relay.
What did you learn by doing this project?
It's a fun project and unique input method. As most of the such gadget, initially we are very fascinated but later it just collects dust kept lying around somewhere in cupboard. Recently, I started working on ESP32 modules, which are highly used in IoT field because it adds Wi-Fi to your project in some simple steps. After learning some basics of BLE and how it works on code front, I built some basic project applications.
With this project I learned how can these gadgets be used in unique ways we never ideally use it for.
What impact does your project have on others as well as yourself?
It's a fun project and unique input method. The applications are endless.
The application for this project is endless such as an automatic door lock, password control home appliances and many other IoT applications.