cubieboard pix hawk webcam & DSLR control. PX4 mini pin out

Home  >>  Uncategorized  >>  cubieboard pix hawk webcam & DSLR control. PX4 mini pin out

cubieboard pix hawk webcam & DSLR control. PX4 mini pin out

cubie is a powerful small PC A10 processor perfect for UAS application. Ubuntu bistro are no longer available from Ubuntu so used Debian images as a base , set up is similar to raspberry PI . I will be building 2 images one for USB webcam the other for DSLR. firs DSLR setup you need to install .
Get the NAND image on to the NAND flash of the board using phoenix suite found here ,
cubieboard cubie conect DSLR

NAND image
http://cubieboard.org/2013/12/21/a-debian-image-for-cubieboard2-cubieez/

PhoenixSuit
http://cubieboard.org/download/

Edit sources.list add reps below.
nano /etc/apt/sources.list
deb http://http.debian.net/debian/ wheezy main contrib non-free
deb http://http.debian.net/debian/ wheezy-updates main contrib non-free
deb http://http.debian.net/debian wheezy-backports main
deb http://security.debian.org/ wheezy/updates main contrib non-free
#deb-src http://http.debian.net/debian/ wheezy main contrib non-free
deb http://packages.cubian.org/ wheezy main non-free
deb http://repo.ajenti.org/debian main main debian
# squeeze
#deb http://http.debian.net/debian/ oldstable main
# wheezy
#deb http://http.debian.net/debian/ stable main
# jessie
#deb http://http.debian.net/debian/ testing main
# sid
#deb http://http.debian.net/debian/ unstable main
deb http://security.debian.org/debian-security wheezy/updates main
deb http://security.debian.org/debian-security wheezy/updates main

Install wireless USB adapters:
aptitude install firmware-ralink firmware-iwlwifi wireless-tools

now edit & add wireless interface !
/etc/network/interfaces

auto wlan1
iface wlan1 inet dhcp
wireless-essid your_network_ssid
wireless-key 0123456789ABCDEF0123456789

auto wlan1
iface wlan1 inet dhcp
wpa-driver wext
wpa-ssid your_network_ssid
wpa-psk 1f33b3cd4bd8a044ea958af749881bde774cf6a3f85d363f3f826c526ca468bf

now update and install applications for DSLR ENTANGLE gphoto
aptitude install git entangle libav-tools localeconf python-pip python-numpy python-opencv python-serial python-pyparsing ser2net gphoto2
sudo apt-get install entangle libav-tools localeconf python-pip python-numpy python-opencv python-serial python-pyparsing ser2net gphoto2

install Mavlink Mavproxy.
sudo apt-get update –fix-missing
aptitude install git python-pip python-numpy python-opencv python-serial python-pyparsing ser2net
sudo apt-get install git python-pip python-numpy python-opencv python-serial python-pyparsing ser2net

sudo pip install droneap

ENTANGLE 7 install upgrade
wget http://entangle-photo.org/download/sources/entangle-0.7.0.tar.gz
aptitude install libgexiv2-2 libgphoto2-6 libgphoto2-port10 libgtk-3-0 libpango-1.0-0 libpangocairo-1.0-0 entangle
apt-get install libgexiv2-2 libgphoto2-6 libgphoto2-port10 libgtk-3-0 libpango-1.0-0 libpangocairo-1.0-0 entangle
tar -zxvf entangle-0.7.0.tar.gz
cd entangle-0.7.0.
sudo make
sudo make install
to remove sudo make uninstall make clean

setup ser2net edit conf file port and protocol RAW port 2000
/etc/ser2net/ser2net.conf

for webcam you need to install and configure motion but if it is not installed at the beginning you will have issues.
You can also use a SD image that a lot more stable cubieanx follow the same build insrustions remove entangle and ass motion.

download SD ard image here:
http://cubian.org/downloads/
write to SD card then boot to the image password cubie user cubie
use cubie-config to setup board .

edit conf file
/etc/motion/motion.conf

pix hawk lite or PX4 mini
PX4 mini, pixhawk lite

AUTHOR

COMMENTS

Leave a Reply

Your email address will not be published. Required fields are marked *

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <s> <strike> <strong>