Update history_working_pi

This commit is contained in:
tpollina 2020-02-06 23:18:22 -08:00 committed by GitHub
parent 691e462f22
commit a0b989e268
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -1,28 +1,37 @@
#Update and upgrade you Pi
sudo apt-get update -y && sudo apt-get full-upgrade -y sudo apt-get update -y && sudo apt-get full-upgrade -y
sudo reboot now sudo reboot now
#Configure your Pi
sudo raspi-config sudo raspi-config
#Interfacing Options > Camera > Yes > OK
#Interfacing Options > SSH > Yes > OK
#Interfacing Options > I2C > Yes > OK
#Interfacing Options > SSH > No > Yes > OK
#Reboot > Yes
#Install librairies for the steppers (pump and focus)
pip3 install adafruit-blinka pip3 install adafruit-blinka
sudo pip3 install adafruit-circuitpython-motorkit sudo pip3 install adafruit-circuitpython-motorkit
git clone https://github.com/silvanmelchior/RPi_Cam_Web_Interface.git
cd RPi_Cam_Web_Interface #Install the librairy for the fan
./install.sh
cd
git clone https://github.com/WiringPi/WiringPi.git git clone https://github.com/WiringPi/WiringPi.git
cd WiringPi cd WiringPi
sudo ./build sudo ./build
sudo apt-get install gcc sudo apt-get install gcc
sudo apt-get install build-essential
#Install Node-Red
cd cd
sudo apt-get install build-essential
bash <(curl -sL https://raw.githubusercontent.com/node-red/linux-installers/master/deb/update-nodejs-and-nodered) bash <(curl -sL https://raw.githubusercontent.com/node-red/linux-installers/master/deb/update-nodejs-and-nodered)
cd .node-red/ cd .node-red/
npm install node-red-dashboard npm install node-red-dashboard
npm install node-red-contrib-multipart-stream-decoder
npm install node-red-node-base64
npm install node-red-contrib-interval
npm install node-red-contrib-python3-function npm install node-red-contrib-python3-function
npm install node-red-contrib-camerapi npm install node-red-contrib-camerapi
npm install node-red-node-mysql npm install node-red-contrib-gpsd
npm install node-red-contrib-calc npm install node-red-contrib-web-worldmap
sudo systemctl enable nodered.service sudo systemctl enable nodered.service
sudo reboot sudo reboot
cat PlanktonScope/scripts/pump.py cat PlanktonScope/scripts/pump.py
@ -174,7 +183,6 @@
gpsd gpsd
cgps cgps
cd .node-red/ cd .node-red/
npm install node-red-contrib-gpsd
sudo reboot now sudo reboot now
cpsd cpsd
cgps cgps
@ -184,7 +192,6 @@
python gpsdData.py python gpsdData.py
cgps cgps
cd .node-red/ cd .node-red/
npm install node-red-contrib-web-worldmap
sudo reboot now sudo reboot now
cgps cgps
cat /dev/serial0 cat /dev/serial0