- orange pi zero 512mb;
- web-camera;
- usb splitter or logic level converter;
- usb-ttl converter;
- XL4005 dc/dc converter;
- arduino pro mini;
- MX1508 motor driver;
- 4x yellow arduino TT gear motors;
- 2x 18650 batteries and battery compartment for them;
- toggle switch;
- wooden board or piece of plywood;
sudo armbian-configGo to Network->WiFi, select the needed access point,
enter the password and connect to it
To find out your IP address, enter
ifconfigUpdating:
sudo apt update
sudo apt upgradeInstalling the python package manager and supporting packages
sudo apt install python3-dev python3-pip python3-numpyInstalling some more dependencies
pip3 install --upgrade pip setuptools wheel
pip3 install flask pyserial Installing openCV
sudo apt install python3-opencvDownloading the project repository
git clone https://github.com/TrashRobotics/CVbotand run the app
cd CVbot/python_app
python3 app.py -i (ip address orange pi) -p (port) -s (serial port)Open a browser and type in
(ip address orange pi):(port)For example:
192.168.42.1:5000For more details watch the video.
