-
Notifications
You must be signed in to change notification settings - Fork 1
setup
- Raspberry Pi
- Adafruit DC and Stepper Motor HAT for Raspberry Pi
Optional:
- Wifi Module
- Webcam
- USB Powerbank
- USB Cables
- Lipo for Motor Power (7.4 recommended)
(i'm willing to publish a ready to run iso - but thats still in progress)
sudo apt-get update
sudo apt-get upgrade
follow this guide
`sudo apt-get install git
cd ~
mkdir ftpi
cd ftpi
git clone https://github.com/eXpire163/ftPi.git`
curl -sLS https://apt.adafruit.com/add | sudo bash
sudo apt-get install node
node -v
this should output: v0.12.0
sudo -i npm install forever -g
sudo nano /etc/rc.local
Add at the end:
/usr/local/bin/forever start /home/pi/ftpi/noderoot/server.js
//TODO install python / python dev / easy_install / autobahn Follow this guide -> i skipped the pypy setup and just ran it on python native setup
sudo nano /etc/rc.local
Add at the end:
sudo python /home/pi/ftpi/pythonserver/server.py
follow this guide stream - clone of the site if link is down
sudo nano /etc/rc.local
Add at the end:
//TODO CHeck for command
TIP: run top
to see your CPU usage, if over 90%, lower -q (qualtity to linke 50) or resolution. This depends on your raspberry
Just open in browser
- Website -> http://[yourPiIP]:8081/
- Webcam -> http://[youtPiIP]:8883/
- PythonServer -> http://[yourPiIP]:9000/