Howto:Build your own Panel or Cockpit - Raspberry Pi Tools

From FlightGear wiki
Jump to navigation Jump to search
Return to Build your own Panel or Cockpit
Return to Prototyping

This page gives the software tool requirements for the Raspberry Pi

Remote login to pi

You may have set your pi up with a separate monitor, keyboard and mouse, but that is not necessary if you simply put the pi online and log into it from another computer. You'll need to know your pi login information

Platform Logging into the Pi
Linux/Mac see https://www.raspberrypi.org/documentation/remote-access/ssh/

and https://www.raspberrypi.org/documentation/remote-access/ssh/passwordless.md I'm going to suggest that you use your valid e-mail address instead of <YOURNANME>@<YOURDEVICE>. This will allow you to use this key with other services such as github.

ssh -Y pi@192.168.1.14

and enter your passphrase

you'll be doing things at the command line on the pi, but the -Y will make any windows appear on your main machine.

Windows
Pi

Login to the Pi and

sudo -s
apt-get -y update
apt-get -y upgrade
apt-get -y install gedit
apt-get -y install python-dev
apt-get -y install git-core build-essential
apt-get -y install gitg
apt-get -y install locate
apt-get -y --force-yes install upstart

apt-get install nodejs nodejs-legacy redis-server git restartd libcap2-bin avahi-daemon  python-smbus ntp -y

apt-get -y install i2c-tools
exit

For spi, this looks promising: [ https://github.com/natevw/pi-spi ]