Hey did you ever want to build your own custom Rc-Car, but it was complicated, What was the motor-controller going to be? What would control that? what would power that? what would send a signal to that? Eventually reaching the end you know what you want to get but don't know where to start programming. Well i was practically on the same boat, here is a tutorial which will go through almost every step of the way to build yourself a UDOO controlled RC car.
Prerequisites:
- A keyboard and mouse
- A Xbox wireless controller
- A Xbox wireless controller receiver(usb)
- Lots of AA's
- Some soldering skills with a Soldering iron
- Some basics understanding of how the steering of your RC car works
- A Rc car that has enough room inside or on top to support the UDOO
- A Rc car with at least 7 AA slots, if not i'll show you a fix later on
- Some programming/python programming knowledge
- A power source
UDOO-RC-CAR
A RC Car programmed in Arduino, Python, and terminal
As said above at least 7 batteries are needed, so if not on Rc already add a generic 2 AA battery holder and connect it to the other batteries in a Series Circuit not parallel
If you don't want an IP camera you are done just skip this part and screw on the top of your RC car, By the way (not in the photos) add a switch to the batteries so you can turn your car of and on
WHAT YOU NEED(Software)
Libraries for ubuntu/linux
Make sure everything is plugged in
USBLIB
sudo apt-get install libusb-1.0-0-dev
sudo apt-get install libusb-dev
GNU
sudo apt-get install build-essential
PYGAME
sudo apt-get install python-pygame
PYTHON 2.7 Dependencies
sudo apt-get install build-essential
sudo apt-get install libreadline-gplv2-dev libncursesw5-dev libssl-dev libsqlite3-dev tk-dev libgdbm-dev libc6-dev libbz2-dev
Then download using the following command:
cd ~/Downloads/
wget http://python.org/ftp/python/2.7.5/Python-2.7.5.tgz
Extract and go to the dirctory:
tar -xvf Python-2.7.5.tgz
cd Python-2.7.5
Now, install using the command you just tried:
./configure
make
sudo make install
GSTREAMER
sudo add-apt-repository ppa:gstreamer-developers/ppa
sudo apt-get update
sudo apt-get install gstreamer1.0*
g++
sudo apt-get install g++
XBOXDRV
sudo add-apt-repository ppa:grumbel/ppa
sudo apt-get update && sudo apt-get install xboxdrv
gksu gedit /etc/modprobe/blacklist.conf
blacklist xpad
sudo rmmod xpad
sudo xboxdrv --silent
or sudo xboxdrv --silent --detach-kernel-driver
Other packages will be needed to install these packages
By the way if you have a camera module look up on google motion, or how to install motion to simulate a ip camera, I won't go over how to simulate a ip camera on the udoo module, unless people want me to add it
Comments