This repository has been archived by the owner on Apr 22, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 24
Raspberry Pi 3 mod B
fgiaimo edited this page Feb 15, 2018
·
10 revisions
Official site: https://raspberrypi.org/
Getting started Page: https://www.raspberrypi.org/forums/viewtopic.php?t=4751
Main steps:
- The official list of Raspberry Pi OS images can be found here.
- Raspberry recommends using Etcher to write images to SD cards, while the manual procedure for flashing OS images on SD cards can be found in the Raspberry documentation.
- The recommended OS is "Raspbian Stretch with desktop".
Insert the SD card into the board and turn it on, either by 1) plugging it to a microUSB cable connected to a computer or a USB charger, or 2) powering on the ESC.
- Either way, make sure the board is powered off before inserting the SD card.
Browse the board to enable SSH, following this guide.
- Using a monitor and keyboard, enable SSH following the instruction listed at the point "2. Enable SSH" of the guide.
- Alternatively and without the need for additional devices, SSH can be enabled following the steps at point "3. Enable SSH on a headless Raspberry Pi (add file to SD card on another machine)" of the guide.
- Default username and password for SSH:
pi
/raspberry
.
Once logged into the Raspberry (either via SSH or using monitor and keyboard), it is possible to use the terminal to SSH into the BeagleBone Blue.
- First, check whether the connection between the two is working. With the command
ip a
a network interface named "eth1" should be listed, which represent the USB connection among the two boards that is configured to be treated as a network interface. The "inet" field of the interface should have value "192.168.7.1/30".- If the address is not in range of 192.168.7.X/30 (for example 169.254.192.176/16) it means that something is set wrongly. A simple attempt to fix the misconfiguration is to disable and re-enable the interface with the commands
sudo ip link set eth1 down
followed bysudo ip link set eth1 up
which should take care of most -hopefully all- the problems of this kind. Check again the inet field to make sure that the interface received the correct IP address.
- If the address is not in range of 192.168.7.X/30 (for example 169.254.192.176/16) it means that something is set wrongly. A simple attempt to fix the misconfiguration is to disable and re-enable the interface with the commands
- The BeagleBone Blue's IP address will be 192.168.7.2, so all is ready to SSH with the command
ssh debian@192.168.7.2
.
- Enable the camera interface by running
sudo raspi-config
and going to "Interfacing Options -> Camera" (rebooting may be necessary, but the setting will be remembered in the future). - Test that the camera works as expected with the command
raspistill -o test.jpg
. This will show the camera feed for few seconds and then snap a picture, saving it in the working directory as "test.jpg". - Add a video device with the command
sudo modprobe bcm2835-v4l2
. The device should appear as/dev/video0
and it will be needed by the OpenDaVINCI software stack.- This setting will be lost at every reboot. To make it permanent, append
bcm2835-v4l2
as a new line in the system file/etc/modules
and reboot.
- This setting will be lost at every reboot. To make it permanent, append