Aug 2025 - Feb 2026 (Graz Competition) 30€ Amazon RC Car Base Unity ML-Agents (PPO) First Real Project Experiment

Crazy Car: Autonomous AI/RL RC Car

Our very first real engineering project besides the 6DoF simulator. We bought a cheap 30€ Amazon RC car, rebuilt it with a microcontroller and servo and trained an AI model in Unity to drive autonomously. A vital experiment built to test boundaries, learn from failures and succeed in future competitions.

Base Platform
€30 Amazon RC Car
Microcontroller
ESP32 & Custom PCB
Control Approach
Direct AI Motor Control
Version Control
None (A Big Lesson Learned)

Project Timeline & Milestones

Aug 2025 – Dec 2025: AI Model Training & Hardware Design

As project lead, I spent countless hours in Unity ML-Agents coding and training the reinforcement learning agents. I used progressive learning—giving the AI an easy track first before transitioning to the full racetrack layout. Simultaneously, we rebuilt the 30€ RC car with a micro-servo and designed our custom PCB in CAD.

Jan 2026 – Feb 2026: Delayed Hardware Assembly & Uncovered Problems

The main mistake was waiting too long to finish the physical build. The car was assembled only a few days before the Graz competition. Last-minute bench testing revealed critical issues: PCB trace routing errors omitted the IMU sensor connection and high motor current draw generated EMI noise that corrupted sensor signals.

Feb 2026: Competition in Graz & On-Site Debugging

Even though the car wasn't running properly at home, we still went to Graz determined to compete. At the venue, nothing worked—the vehicle failed to respond to control commands. We spent 2 intense days troubleshooting power lines and noise on-site, but couldn't resolve the hardware flaws before our run. Though we didn't score points, this failure motivated us to start our 2027 Ground Effect vehicle 8 months early!

1. Direct AI End-to-End Motor Control (No PID Buffer)

In our initial design, the trained neural network directly controlled the motor speed percentage and steering servo angle based on velocity, IMU values and 3 Time-of-Flight (ToF) distance sensors. There was no PID controller or safety filter in between. While this end-to-end approach worked seamlessly in the Unity simulation, real-world motor latency and unbuffered sensor spikes caused erratic responses on the physical track.

2. PCB Routing Flaws & Motor Current Noise

Designing the custom PCB during the Aug–Dec window was a huge learning curve. During board routing, traces for the IMU sensor were accidentally omitted from the layout. Furthermore, powering the drive motor from the same rail as the sensors caused severe voltage sags and electromagnetic interference (EMI) whenever the motor accelerated, causing sensor readings to drop.

Why Version Control (Git) Matters & Key Takeaways

Stupidly, we didn't use Git for source control on this project. When code edits were made late at night before Graz, tracking working states became impossible. We learned these lessons the hard way: all future projects now enforce strict Git commits, decoupled power isolation, PID control buffers and early hardware integration!

PCB Engineering Schematics & Gerber Files

Official CAD schematic diagrams, PCB layout board drawings and manufacturing Gerber files designed between Aug–Dec 2025.

Project Media, Code & CAD Assets

Click any image to view in full-screen zoom mode. Captions document the build evolution and Graz competition venue.

Figure 1: Modified 30€ Amazon Lamborghini RC car body and chassis.
Figure 1: Modified 30€ Amazon Lamborghini RC car body and chassis.
Figure 2: Interior electronics layout with ESP32, steering micro-servo, and custom PCB.
Figure 2: Interior electronics layout with ESP32, steering micro-servo, and custom PCB.
Figure 3: On-site hardware assembly and diagnostic session at the Graz competition venue.
Figure 3: On-site hardware assembly and diagnostic session at the Graz competition venue.
Figure 4: Open chassis power & sensor wiring troubleshooting taken at the Graz competition.
Figure 4: Open chassis power & sensor wiring troubleshooting taken at the Graz competition.
Figure 5: 3D CAD layout of the custom microcontroller PCB designed in late 2025.
Figure 5: 3D CAD layout of the custom microcontroller PCB designed in late 2025.
Figure 6: The official competition racetrack in Graz.
Figure 6: The official competition racetrack in Graz.
← Back to Main Portfolio Version control (Git) was omitted on this first build — a mistake fixed on all subsequent projects.