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
Control terminal
It works perfectly.
Upgrade
M5tack hear this thing, they sent a motor that is compatible with Lego for us. Let's find out.
M5Stack Roller485 Lite Unit without Slip Ring (STM32)
View Product
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.
Leave a comment
All blog comments are checked prior to publishing