Ardumower Control Center

Aus www.wiki.ardumower.de
Wechseln zu: Navigation, Suche

NOTE: everything here is still in development!

Connect a Raspberry PI to your Ardumower PCB, add a WIFI web browser interface to it, monitor and control your mower - and more.

Requirements

  • Raspberry Pi 3 (Raspbian jessie)
  • ...
pi@raspberrypi:~ $ uname -a
Linux raspberrypi 4.1.18-v7+ #846 SMP Thu Feb 25 14:22:53 GMT 2016 armv7l GNU/Linux
pi@raspberrypi:~ $ hostnamectl
  Static hostname: raspberrypi
        Icon name: computer
          Chassis: n/a
       Machine ID: 3882d14b5e8d408bb132425829ac6413
          Boot ID: b1c8c56f323e447099b5040a161f8f2b
 Operating System: Raspbian GNU/Linux 8 (jessie)
           Kernel: Linux 4.1.18-v7+
     Architecture: arm

Install NodeJS

apt

apt-get install nodejs

Test node installation:

node --version

Raspberry Pi Model A, B, B+

wget https://nodejs.org/dist/v4.0.0/node-v4.0.0-linux-armv6l.tar.gz 
tar -xvf node-v4.0.0-linux-armv6l.tar.gz 
cd node-v4.0.0-linux-armv6l
sudo cp -R * /usr/local/

Raspberry Pi 2 Model B

wget https://nodejs.org/dist/v4.0.0/node-v4.0.0-linux-armv7l.tar.gz 
tar -xvf node-v4.0.0-linux-armv7l.tar.gz 
cd node-v4.0.0-linux-armv7l
sudo cp -R * /usr/local/

Install node libraries

usb

-sudo apt-get install libusb-1.0-0-dev
-sudo apt-get install libudev-dev
npm install usb

serial

npm install serial


Configure WIFI (WEP)

sudo nano /etc/wpa_supplicant/wpa_supplicant.conf

ctrl_interface=DIR=/var/run/wpa_supplicant GROUP=netdev
update_config=1
network={
       ssid="NETID"
       key_mgmt=NONE
       wep_key0="blabla"
       wep_tx_keyidx=0
}