Controlling a smart monitor car using a remote
To remote control the car, we need to select the right gpio
library so that we can change the IO state on the Banana Pro via the Internet. The webiopi
will be the best choice. To control the movements of the car, we also need to know the control logic of the motor.
Webiopi for Banana Pro
Webiopi is originally developed for the Raspberry Pi, but it was ported to Banana Pro by LeMaker, and it is called webio-lemaker
on the LeMaker GitHub account. The webiopi
is a web application that allows us to control Banana Pro with the help of a browser. All the tutorials and examples for the Raspberry Pi version of webiopi
can be directly used for the Banana Pro version of webiopi
. As webiopi
allows us to control our Banana Pro over the Internet, it's a good starting point for remote controlling from home.
Installing webiopi for Banana Pro
First, we need to download the webiopi
library for Banana Pro and build it:
cd ~/remote_monitor_car git clone https...