DEV Community

Cover image for Control rc car using raspberry pi (Part 1 : Introduction)
medmor
medmor

Posted on • Updated on

Control rc car using raspberry pi (Part 1 : Introduction)

This is my first post on Dev.to. I want to write about my last fun project for my kids.

This project was started as learning opportunity and to reuse some old staff, and both goals have been achieved.

The old staff reused in this project are:

  • A raspberry pi 4 that I was using as a kodi server.
  • A sheep non-working rc car.

What to learn from this project:

  • Build a minimal webserver using bottle.py, to receive commands from a smartphone.
  • Setup the python script as service that run at startup, using systemctl.
  • Build a minimal controller app for a smartphone, using Unity. (the app uses the smartphone accelerometer or gyroscope to control the car direction).
  • Wire up raspberry pi gpio to a motor driver to control the two motors of the car.

And let's go, this is the final result:

The final result of the project
More details in the next parts.

Top comments (0)