Raspberry pi – rc car (5 Part Series)
1 Control rc car using raspberry pi (Part 1 : Introduction)
2 Control rc car using raspberry pi (Part 2 : The web server)
3 Control rc car using raspberry pi (Part 3 : Run the server at startup)
4 Control rc car using raspberry pi (Part 4 : Build the controller)
5 Control rc car using raspberry pi (Part 5 : Wire up raspberry pi…)
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:
More details in the next parts.
Raspberry pi – rc car (5 Part Series)
1 Control rc car using raspberry pi (Part 1 : Introduction)
2 Control rc car using raspberry pi (Part 2 : The web server)
3 Control rc car using raspberry pi (Part 3 : Run the server at startup)
4 Control rc car using raspberry pi (Part 4 : Build the controller)
5 Control rc car using raspberry pi (Part 5 : Wire up raspberry pi…)
原文链接:Control rc car using raspberry pi (Part 1 : Introduction)
暂无评论内容