Skip to content

Latest commit

 

History

History
78 lines (71 loc) · 1.79 KB

README-en.md

File metadata and controls

78 lines (71 loc) · 1.79 KB

A robot to work with openCV
A simple robot to work with openCV

Русский(Russian)English

Main parts of the platform

  • 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;

Orange pi setup

Connecting to an access point

sudo armbian-config

Go to Network->WiFi, select the needed access point, enter the password and connect to it
To find out your IP address, enter

ifconfig

Installing dependencies

Updating:

sudo apt update
sudo apt upgrade

Installing the python package manager and supporting packages

sudo apt install python3-dev python3-pip python3-numpy

Installing some more dependencies

pip3 install --upgrade pip setuptools wheel
pip3 install flask pyserial 

Installing openCV

sudo apt install python3-opencv

App launch

Downloading the project repository

git clone https://github.com/TrashRobotics/CVbot

and 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:5000

For more details watch the video.