44
www.adeept.com
If the following contents are shown, it indicates the module is enabled successfully.
Install I2C-Tools
Install I2C-Tools to check whether the external devices are connected successfully as well as
the address of the devices. Type in the command to install:
sudo apt-get install i2c-tools
Install the Python drive program for PCA9685:
sudo pip3 install adafruit-pca9685
To install the library from source, so that you can use the PCA9685 PWM servo/LED
controller with a Raspberry Pi.
Look for more information and example at its homepage:
https://github.com/adafruit/Adafruit_Python_PCA9685/
*Now you may wonder about the difference between apt-get install and pip install, here is the
answer:
pip3
is used to download and install packages directly from PyPI (Python Package Index),
hosted by Python Software Foundation. It is a specialized package manager that only deals
with python packages.
Note:
There are two versions of Python in Raspberry Pi by default, for our Python programs
are written with Python 3.x(3.7), you need to use
pip3
instead of
pip
, which is used to install
software in Python 2.x.
apt-get
is used to download and install packages from Ubuntu repositories which are hosted
by Canonical.
OpenCV Installation
sudo apt-get install libopencv-dev
sudo apt-get install python-opencv
sudo pip3 install imutils
sudo pip3 install opencv-python
The libopencv-dev is a meta package. It has dependencies to many packages that do contain
the necessary libraries and header files that OpenCV require.
Python-OpenCV and OpenCV-Python are libraries of Python bindings designed to solve
computer vision problems.
More information:
https://docs.opencv.org/3.0-beta/doc/py_tutorials/py_setup/py_intro/py_intro.html
Imutils contains a series of convenient functions which make basic image processing
Summary of Contents for RaspRover
Page 1: ...www adeept com...
Page 10: ...7 www adeept com 3 Connect the Raspberry Pi Camera and the Raspberry Pi...
Page 35: ...32 www adeept com Effect diagram after assembling M3 60 Copper Standoff X1 M3 8 Screw X2...
Page 36: ...33 www adeept com Effect diagram after assembling M3 60 Copper Standoff X1 M3 8 Screw X2...
Page 56: ...53 www adeept com...