
What happened
The author built a palm-sized car where a PC runs a PyTorch CNN (NVIDIA PilotNet, shrunk) that maps camera images to F/L/R/S commands, streamed over Bluetooth to an Arduino UNO.
Why it matters
The wiring mirrors real vehicles — smartphone as camera, PC as the AI SoC, Arduino as the vehicle-control MCU — and keeps two failsafes off the AI, so the safety design is likely transferable beyond toys.
What to watch
Whether the trained model actually holds the lane hinges on data balance, since forward dominates the labels and high validation accuracy can hide a car that cannot corner.
WHO IT HITSMakers and robotics hobbyists building small autonomous vehicles, and embedded engineers curious how a PC-to-microcontroller split with independent failsafes is wired, gain a reproducible reference with parts costing a few thousand yen.
Summaries like this, every morning.
The system splits work the way a production vehicle does: a heavier AI process runs on a PC (standing in for a vehicle's AI SoC), while a microcontroller (the Arduino UNO, standing in for the vehicle-control MCU) drives the motors. The link between them here is Bluetooth via an HC-05 module rather than automotive CAN or Ethernet. The code ships as four Python files plus one Arduino sketch, and the model is a scaled-down version of NVIDIA's PilotNet that outputs one of three actions: forward, left, or right.
The write-up spends much of its space on pitfalls the author hit. Latency stacks up at every seam — camera, Wi-Fi, inference, Bluetooth, Arduino — and two causes are easy to miss: OpenCV buffering old frames, and the blocking pulseIn() call on the ultrasonic sensor, whose default timeout can stall the whole control loop unless shortened. The PulseIn timeout is set to 25ms. The author also notes that changing room lighting between data collection and driving degrades the model, and that ColorJitter during training helps.
The stakes here are less about this particular toy than about the pattern it demonstrates: pushing AI decisions across a laggy link to physical motors surfaces the same structural difficulty whether the vehicle is palm-sized or full-scale. The author's stated principle is that placing failsafes on a lower-level microcontroller, independent of the AI, holds for both. What this hinges on for anyone replicating it is likely the quality and balance of the collected driving data, since a model can post good accuracy numbers while still failing to steer through a curve. The article states the parts cost a few thousand yen.
Pick your industry and the AI tools you use, and get news related to your work every day.
Free · 30 seconds with Google · unsubscribe anytimeWhat is AIToday? →
Ask AI anything about this article. The AI reads this article, earlier AIToday articles, and Wikipedia, and cites its sources. Q&As are published on this page for other readers too.
Anthropic announced on November 24 that "Install as app" lets Claude's conversational Artifacts — charts, web…

Simon Willison marked the one-year anniversary of Claude Opus 4.5 on November 24th 2026, naming it the first m…

On November 18, naga tried Cursor's Remote Control to drive their home Cursor remotely, but it failed in their…

A report based on interviews with US companies found that Anysphere, the developer of the coding agent Cursor…

In a July 20 blog post, Anthropic's Addy Osmani described a software factory as many harnessed loops supplied…

Tesla posted a July video of 93-year-old Lois using FSD Supervised, and Elon Musk said self-driving "enables s…
