Elementzonline has developed a raspberry Pi robot which can be controlled from your android mobile. This article will guide you to start programming with Python in order to control your Raspberry PI Robot using Android mobile Application
Equipment required
All you need is a Raspberry Pi with Wi-Fi Dongle and do it yourself Kit which includes robotic Base, two DC Motors, etc. You may also need a motor Driver Board

Android Application for Pi Robot
You can begin your project by downloading the Android Application that is apk file from github, which is to be installed in your android phone. Further, make your mobile as Hotspot for controlling robot or you can connect mobile and raspberry pi into same Wi-Fi network
Configuration of Raspberry Pi
For configuration, you have to install the Raspian OS in the SD card and connect the internet using GUI or Terminal commands for Downloading python library file
Terminal commands
1. Network Connection: for establishing proper network, you have to check the available Wi-Fi. Here is the configuration. All you have to do is to save the file by pressing ctrl+x and then y and finally press enter
sudo iwlist wlan0 scan
sudo nano /etc/wpa_supplicant/wpa_supplicant.conf
network={
ssid=”The_ESSID_from_earlier”
psk=”Your_wifi_password”
}
Reboot the Raspberry pi from Python library File of GPIO library file loading and download the python program for pi robot from github. Then save the code raspberry_robot.py file in any file. Now, you can either connect the mobile to the same Wi-Fi network or can change the raspberry Pi network connection to mobile hotspot. After establishing connection, check IP Address of Raspberry Pi using the Terminal command. Finally run the python program using Terminal commands and locate file Directory
View the python file and just change IP address in a code with your Raspberry Pi IP Address. Now save the file and run the python program using command
For Android Application Configuration, open your Android Application and enter the Raspberry Pi IP Address and port (9000) given in the Code. After pressing the connect Button, you can control the Pi robot using the Button available in the Android Application
For further details, you can visit the site of elementztechblog. Good luck
Filed Under: Reviews
Questions related to this article?
👉Ask and discuss on Electro-Tech-Online.com and EDAboard.com forums.
Tell Us What You Think!!
You must be logged in to post a comment.