FumenBot Wiki
A DIY gadget to automatize specific plant growing
Status: Pre-Alpha
Brought to you by:
basilean
First we need to build an electronic device (relays controller) to plug at the parallel port. There are many designs around the web, I gonna public one myself in a near future. Next we need a pc with Linux and a parallel port working.
BASE
sudo apt-get update
WEBCAM
sudo apt-get install motion
sudo apt-get install ffmpeg
ls -al /dev/video0
crw-rw---- 1 root video 81, 0 feb 26 14:26 /dev/video0
sudo vi /etc/motion/motion.conf
# norm 0
norm 2
# webcam_localhost on
webcam_localhost off
sudo /etc/init.d/motion restart
PERL
sudo cpan -i CGI::Ajax
Are you ready for manual configuration? [yes] no
sudo cpan -i Config::Crontab
sudo cpan -i Device::ParallelPort
sudo cpan -i Device::ParallelPort::drv::parport
PARALEL
sudo usermod -G lp www-data
sudo modprobe ppdev
sudo su -
echo ppdev >> /etc/modules
exit
WEBSERVER
sudo apt-get install lighttpd
sudo lighttpd-enable-mod cgi
sudo vi /etc/lighttpd/lighttpd.conf
index-file.names = ( "index.pl", "index.php", "index.html",
sudo vi /etc/lighttpd/conf-enabled/10-cgi.conf
# $HTTP["url"] =~ "^/cgi-bin/" {
# cgi.assign = ( "" => "" )
# }
cgi.assign = (
".pl" => "/usr/bin/perl",
)
sudo /etc/init.d/lighttpd force-reload
sudo tail -f /var/log/lighttpd/error.log
INSTALL
cd /var/www
svn checkout http://fumenbot.googlecode.com/svn/trunk/ .