Difference between revisions of "Likoboard"
OneArtPlease (talk | contribs) |
OneArtPlease (talk | contribs) (→Installation) |
||
(7 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
==Overview== | ==Overview== | ||
− | [[Image:Likoboard.JPG|thumb| | + | [[Image:Likoboard.JPG|thumb|250px|liko.board top]] |
+ | [[Image:Likoboard_bottom.jpg|thumb|250px|liko.board bottom (with Mini-USB connected)]] | ||
+ | |||
The Likoboard ([http://www.likoboard.com/]) is an Open Hardware pcb that can be used to interface with an Elphel camera over USB. | The Likoboard ([http://www.likoboard.com/]) is an Open Hardware pcb that can be used to interface with an Elphel camera over USB. | ||
Line 17: | Line 19: | ||
* Size: 39mm x 16mm x 4 mm | * Size: 39mm x 16mm x 4 mm | ||
− | + | ==Installation== | |
− | == | ||
You can get the latest package including binaries for libusb, libhid, liblikoboard and php_likoboard with: | You can get the latest package including binaries for libusb, libhid, liblikoboard and php_likoboard with: | ||
− | git clone git:// | + | git clone git://git.alsenet.com/likomapper-bin.git |
− | and install it on the camera with something like: | + | and install it on the camera with something like (replacing 192.168.0.9 with your cameras IP): |
cd likomapper-bin | cd likomapper-bin | ||
− | tar | + | tar cp . | ssh root@192.168.0.9 tar xvp -C / |
+ | |||
+ | ==Compiling== | ||
To build binaries from source you need: | To build binaries from source you need: | ||
Line 34: | Line 37: | ||
* libusb-0.1.11 from sourceforge (version 0.1.12 is broken) | * libusb-0.1.11 from sourceforge (version 0.1.12 is broken) | ||
* libhid-svn from http://libhid.alioth.debian.org/ I used revision 634. (svn co svn://svn.debian.org/libhid/trunk libhid-svn) | * libhid-svn from http://libhid.alioth.debian.org/ I used revision 634. (svn co svn://svn.debian.org/libhid/trunk libhid-svn) | ||
− | * liblikobard (git clone git:// | + | * liblikobard (git clone git://git.alsenet.com/liblikoboard.git) |
− | * php_likoboard (git clone git:// | + | * php_likoboard (git clone git://git.alsenet.com/php_likoboard.git) |
You will need to modify some "configure.in" so that crisv32 is accepted as host type (eg adding "*" after "cris") before ./configure works, | You will need to modify some "configure.in" so that crisv32 is accepted as host type (eg adding "*" after "cris") before ./configure works, | ||
Line 72: | Line 75: | ||
make | make | ||
cp modules/php_likoboard.so /usr/local/crisv32/usr/local/lib/php/extensions/no-debug-non-zts-20060613/ . | cp modules/php_likoboard.so /usr/local/crisv32/usr/local/lib/php/extensions/no-debug-non-zts-20060613/ . | ||
− | |||
==Configuration== | ==Configuration== |
Latest revision as of 08:16, 29 July 2010
Overview
The Likoboard ([1]) is an Open Hardware pcb that can be used to interface with an Elphel camera over USB.
Some quick specs:
- Based on GNU GPL library MyUSB
- Compiled by GNU GCC
- Can be upgraded by standard USB DFU tools
- Atmel at90usb162 USB chip in QFN 5mmx5mm package
- Atmel/Quantum QT1106 touch sensor in QFN 5mmx5mm package
- World smallest 16MHz quartz
- Micro buzzer
- BC807/817 500mA transistors
- Special sensor layout routed on one side of PCB for human touch control
- Secured debug connector
- Size: 39mm x 16mm x 4 mm
Installation
You can get the latest package including binaries for libusb, libhid, liblikoboard and php_likoboard with:
git clone git://git.alsenet.com/likomapper-bin.git
and install it on the camera with something like (replacing 192.168.0.9 with your cameras IP):
cd likomapper-bin tar cp . | ssh root@192.168.0.9 tar xvp -C /
Compiling
To build binaries from source you need:
- the axis crisv32 compiler,
- libusb-0.1.11 from sourceforge (version 0.1.12 is broken)
- libhid-svn from http://libhid.alioth.debian.org/ I used revision 634. (svn co svn://svn.debian.org/libhid/trunk libhid-svn)
- liblikobard (git clone git://git.alsenet.com/liblikoboard.git)
- php_likoboard (git clone git://git.alsenet.com/php_likoboard.git)
You will need to modify some "configure.in" so that crisv32 is accepted as host type (eg adding "*" after "cris") before ./configure works, and some "libtool" script so that crisv32-axis-linux-gnu-ranlib is found (adding path) before make install works.
You can use crisv32-axis-linux-gnu-strip to strip the resulting binaries.
Build libusb-0.1.11 with :
. /?/elphel.env ./configure --host=crisv32-axis-linux-gnu --build=i686-pc-linux-gnu --prefix=/usr/local/crisv32 --with-pic make make install
Build libhid-svn with:
. /?/elphel.env ./configure --host=crisv32-axis-linux-gnu --disable-swig --with-pic --prefix=/usr/local/crisv32 make make install
Build liblikoboard with:
. /?/elphel.env ln -sf Makefile.crisv32 Makefile make make install
Build php_likoboard with:
. /?/elphel.env export LDFLAGS=-llikoboard ./autogen.sh phpize make cp modules/php_likoboard.so /usr/local/crisv32/usr/local/lib/php/extensions/no-debug-non-zts-20060613/ .
Configuration
The main configuration file is located at
/etc/conf.d/likomapper.conf
Setting DAEMON=0 in /etc/conf.d/likomapper.conf allows you to run likomapper from the command line, without patching the firmware.