Raspberry Pi
From Chalmers Robotics
Raspberry Pi is a small computer that can come in handy in a lot of projects.
Contents
Workshops
- Slides from Workshop Raspberry Pi - Part 1. Setup (2016-04-09)
- Slides from Workshop Raspberry Pi - Part 2. Electronic (2016-11-13)
Find your Raspberry Pi
- Port scan network for open SSH port 22
nmap -p22 172.16.1.0/24
Run as root to see mac addresses
- Ping scan
nmap -sn 172.16.1.0/24
Run as root to see mac addresses
- Check the arp-table for vendor Raspberry Pi Foundation
arp | grep -i b8:27:eb
- Shows IP-address on the RPi via HID
ifconfig
Backup
Make a backup of a SD-card
ls -ltr /dev/sd* sudo dd bs=4M if=/dev/sdx of=~/rasbian.img
Restore a backup to a SD-card
ls -ltr /dev/sd* sudo dd bs=4M if=~/rasbian.img of=/dev/sdx
Links
SSH
- http://www.chiark.greenend.org.uk/~sgtatham/putty/
- https://filezilla-project.org/ SFTP
- https://wiki.archlinux.org/index.php/SSHFS SSHFS
Images
- http://www.raspberrypi.org/downloads
- https://www.raspberrypi.org/documentation/installation/installing-images/
Servo
- https://github.com/richardghirst/PiBits/tree/master/ServoBlaster
- https://github.com/jabelone/pythonSB/blob/master/example.py