
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, in your inbox 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.
David Soria Parra led the 2026-07-28 Model Context Protocol spec, which deletes the initialize/initialized han…

Developer ttokunaga reported September 2026 usage of about 41.574 billion Codex tokens and roughly 2.098 billi…

The AI Security Lab outlined its standard experiment setup: Python programs call Ollama's API directly to run…

A hands-on guide shows three Claude Code hooks — PostToolUse auto-formats edited files with prettier, ruff, or…

Operating an AIエージェント pipeline from GitHub Issue to pull request, the author found waiting time splits into fo…

Writing up Stanford CS146S course material, the author corrected three of his own MCP mistakes: the Server nev…
