/servo-server

Primary LanguageJavaScriptMIT LicenseMIT

Home-made 2 servo 2DOF pan-tilt web controller

Goal: RPi IR-CUT camera webview with IR filter and IR led toggle buttons + 2DOF pan-tilt servo control via arrow buttons

Setup:

Follow pigpio installation; Follow uv4l installation;

sudo apt-get install uv4l uv4l-raspicam uv4l-raspicam-extras uv4l-server uv4l-mjpegstream

Edit /etc/uv4l/uv4l-raspicam.conf:
width = 1280
height = 720

pip install bottle

Edit scripts/servor-server.service with working dir/path/user

sudo cp scripts/servo-server.service /etc/systemd/system/
sudo systemctl daemon-reload

If running on pi3:

build rpi3-gpiovirtbuf

cd ~
git clone https://github.com/6by9/rpi3-gpiovirtbuf.git
cd rpi3-gpiovirtbuf
make
sudo cp rpi3-gpiovirtbuf /usr/local/bin

also

sudo cp scripts/nvstart /usr/local/bin
sudo cp scripts/nvstop /usr/local/bin