DEV Community

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

Posted on • Edited on

4

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.

Heroku

Simplify your DevOps and maximize your time.

Since 2007, Heroku has been the go-to platform for developers as it monitors uptime, performance, and infrastructure concerns, allowing you to focus on writing code.

Learn More

Top comments (0)

The Most Contextual AI Development Assistant

Pieces.app image

Our centralized storage agent works on-device, unifying various developer tools to proactively capture and enrich useful materials, streamline collaboration, and solve complex problems through a contextual understanding of your unique workflow.

👥 Ideal for solo developers, teams, and cross-company projects

Learn more