You can play Super Mario without a keyboard! When Lego Mario turns into a remote control, it is really controlled manually
the screen and become a VR interactive cutting and cutting in the air, and Mario does not admit defeat!
No, a guy from abroad made a real ‧ manually controlled “Mario Remote Control”, he was holding Mario in front of the computer and commanded up and down, and Mario in the game could jump along to avoid obstacles Things.
Although this remote control may not be so sensitive, it is creative. How is this done? Let’s take a look at Digest Bacteria.
On the basis of Lego toys, the Bluetooth signal is intercepted and transmitted to the virtual machine to realize real ‧ manual control of Mario
This starts with a recently released Lego toy.
On August 1, Lego and Nintendo teamed up to launch the Super Mario toy set, the most basic of which is called “Adventures with Mario Starter Course”. The interesting part is that there is an interactive Bluetooth Mario in this toy.
It has built-in sensors to detect motion and color, as well as accelerometer, gyroscope and Bluetooth. And Mario has LCD screens installed on his eyes, mouth and belly! After charging, you can interact with obstacles in real time through voice and facial expressions.
In addition, by pressing the Bluetooth button on its back, it can also be connected to the Lego Super Mario application. Twitter netizen Rick was inspired by this Mario toy with Bluetooth function, and he wanted to make a “Bluetooth remote control”.
After the release of this Lego toy, he also specially tweeted to ask about the disassembly information or built-in hardware information of the Mario toy with Bluetooth, considering the feasibility of modification and whether it is worthwhile.
It seems that the modification is very successful~
But in fact, the operation is not that complicated. Rick said that he just intercepted the signal sent by Mario via Bluetooth and transmitted it to the emulator in the Linux virtual machine, allowing the sensor to simulate a button to achieve the effect mentioned at the beginning of the article.
However, if you use manual control, it is obviously a little clumsy and delayed, and it will die if you are not careful~
But Rick’s creativity has been recognized by many netizens, and his tweet has received 8.1k + likes.
Some netizens left a message under this tweet and asked how he did it and how long it took. Rick said, “It took about 4 hours. The complicated thing was to find out the Bluetooth protocol, and then just (make the sensor) simulate the keys under certain events. On MacOS, the NES emulator cannot work with the simulated keys, so the game actually It runs in a Linux virtual machine.”
Rick also said that he only tested this project on MacOS 10.15, and it may not work on other systems.
In addition, Rick also gave the project code on Github, which is not very complicated, but the premise is that we have this Mario Lego toy~ otherwise the amount of work will be large~
(The relevant code can be viewed by clicking the link at the end of the article)
Whisper bb: Should Digest Bacteria charge advertising fees for Lego? ? ?
Hardware hackers who like to collect Bluetooth devices
Rick is a hardware hacker and likes to collect some Bluetooth devices. He has registered on Twitter since 2009 and made a lot of small inventions during the period. He must be an experienced engineer.
He usually uses the collected equipment to do some small projects. For example, during the epidemic, he made a small device that can detect whether the mask is wet. If the mask is wet, it will flash a red light and make a sound , like this:
Detection device and internal structure
Rick likes everything related to Bluetooth. He also bought Xiaomi’s smart cube a while back~ It is understood that this cube uses a magnetic positioning design and a racing structure design, plus a six-axis sensor system, which can be connected to via Bluetooth. The mobile phone synchronizes real-time data, and can also automatically capture the rotation and color changes of the Rubik’s cube.
So Rick opened a brain hole and made a mechanism similar to a “password lock” with ESP32 and Xiaomi Smart Cube. To “open the lock”, you need to restore the Rubik’s Cube, on the contrary, if you disrupt the Rubik’s Cube, you will “close the lock”. like this:
Although this “lock” is only a symbol, this video is more like testing whether it works, and has no practical significance. But this is just a hole in his brain, don’t have to be true~