Programmer Makes Self-driving Toy Car Powered By Raspberry Pi, Arduino, Python
While tech giants like Google, Microsoft, Apple and others are busy
exploring the new horizons of self-driving cars, a programmer has used
his DIY companion Raspberry Pi to build his own self-driving toy car.
In our previous articles, we have told you about multiple Raspberry DIY hacks like how to make a Tor proxy router, a PiPhone, a homemade data storage system etc.
Taking the Pi-powered creations to
the next level, Zheng Wang from Bridgwater State University has
modified his remote-controlled car and taught it to follow a path,
detect the obstacles, and read road signs.
How Zheng’s Raspberry Pi-powered self-driving car works?
The input unit consists of a Raspberry Pi Model B+ attached with a camera and an HC-SR04 ultrasonic sensor. This unit collects the data (color video and sensor data) that is sent to a computer over local WiFi with the help two client programs running on Pi.
The processing unit receives the video data from Raspberry Pi and it’s converted to gray scale and decoded into numpy arrays. Zheng further explains the other jobs performed in the processing unit — “OpenCV Python neural network training and prediction (steering), object detection (stop sign and traffic light), distance measurement (monocular vision), and sending instructions to Arduino through USB connection.”
After performing the above-mentioned tasks, signals are sent to the Arduino board that simulates the controlling actions in the car. Zheng mentions that his autonomous RC car easily moves on the track and avoid collisions.
If you are interested in working on this project, you can find the relevant documentation on GitHub and Zheng’s blog.
Did you find this self-driving Raspberry Pi-powered car DIY interesting? Share your views in the comments below.
Get The Complete Raspberry Pi 2 Starter Kit and start DIYing.
A few minutes later I wondered a little about my decision to turn them loose with those remote control vehicles. BestViva Guide Battery operated toys are less expensive and probably the choice of most parents.
ReplyDeleteEF0730EEF0
ReplyDeletekiralık hacker
hacker arıyorum
kiralık hacker
hacker arıyorum
belek