Skip to content

Latest commit

 

History

History
62 lines (26 loc) · 1.12 KB

README.md

File metadata and controls

62 lines (26 loc) · 1.12 KB

pi_tips

Raspbery Pi Tips and Tricks

REBOOT SYSTEM (WITH NO DELAY)

$ sudo reboot -n

Terminal Pin Out

-
$ pinout 

(On Raspbery Pi Zero - Hold the Pi with the HDMI Top Left)

ref: https://pimylifeup.com/raspberry-pi-pinout/

Exit out of SSH Session

 ~.

Run a Python Script Over SSH

ssh pi@192.168.0.IPADDRESS python3 /home/pi/FOLDERNAME/FILENAME.py

SCP

SCP

- To Copy File to Pi
scp file1.txt file2.txt pi@192.168.1.xx:folder1/

To Copy All File from a Dir to a Pi

scp -r /Users/name/3 pi@192.168.0.xx:/home/pi/foldername

Set the Pi Zero ACT LED trigger to 'off'.

echo 0 | sudo tee /sys/class/leds/led0/brightness

Set the Pi Zero ACT LED trigger to 'on'.

 echo 1 | sudo tee /sys/class/leds/led0/brightness

USEFULL LINKS

https://www.dataplicity.com/ - Connect to Raspbery Pi terminal in a webbrowser for free