M5Stack Realizing the LEGO 42096 Porsche 911 Powertrain
10 Oct 2024
0 Comments
Today, OpenELAB got a new toy, LEGO 42096 Porsche 911. This collectible toy features a detailed cockpit, working differential, independent suspension and a six-cylinder boxer engine with moving pistons mounted in front of the rear axle. That makes us excited. In particular, we also got new products from M5Stack, so let them hit it off.
Splicing
Let's splice LEGO.
For the steering system, we first used the SG90 servo. We can see that worked very nice, use hot melt glue to fix SG90 to the steering wheel.
Spliced into the power part, you can see that this Porsche uses a 6-cylinder horizontally opposed engine, for toys, the power transmission loss of the horizontally opposed engine will be relatively large, so we used a 12V high speed motor to drive like this:
About the microcontroller, ESP is our first choice, because ESP-NOW, it's a wireless communication protocol for quick responses and low-power control.
Debug
IDE: Arduino IDE
Library: M5Atom.h, esp_now.h, WiFi.h, ESP32Servo.h
You can find detailed upgrade information in this article: Roller485 Unit, New Robot Motor by M5Stack
This is a high performance robot joint motor.
Let's put it in our Porsche. That makes me very excited. The roller485 unit is perfect for this car.
Have fun!