Flashing Raspberry and plugin
1. Flashing Raspberry Pi OS
Section titled “1. Flashing Raspberry Pi OS”- Download Tools: Visit the official Raspberry Pi website to download the Raspberry Pi Imager.
- Select OS: Open the Imager and choose Raspberry Pi OS with desktop.
- Configure Settings: Click the settings icon to pre-configure your hostname (e.g.,
XLerobot.local), username/password, and WiFi credentials. - Write to SD: Insert a microSD card (32GB+ recommended) into your computer and click “Write” to flash the image.
2. Connecting Robot Arms and Cameras
Section titled “2. Connecting Robot Arms and Cameras”After flashing and booting your Raspberry Pi, you can connect your robot arms and cameras:
It is important to connect the robot arms and cameras to the correct USB ports. Often it happens that USB Hub will bottleneck the bandwidth of the cameras, so it is recommended to connect the cameras directly to the Raspberry Pi’s USB ports and use a powered USB hub for the robot arms, and another sensors if you have them.
3. Remote Access Setup (Optional but Recommended)
Section titled “3. Remote Access Setup (Optional but Recommended)”To control the robot without a dedicated monitor:
- SSH Access: You can also SSH into your Pi using
ssh pi@XLerobot.local(replacepiwith your configured username if you have changed it). - SSHFS Access: For file transfers, use
sshfs pi@XLerobot.local: /mnt/robocrew(you can replace/mnt/robocrewwith any empty directory on your local machine).- Linux (Debian/Ubuntu): Install
sshfsviasudo apt install sshfs. - MacOS: Install
sshfsvia Homebrew withbrew install sshfs. - Windows: in PowerShell run
winget install SSHFS-Win.SSHFS-Win.
- Linux (Debian/Ubuntu): Install
- VNC Access: Run
sudo raspi-configin the terminal, go to Interface Options, and enable VNC server.- Connect from PC: Install RealVNC Viewer on your laptop and connect using your pre-configured hostname (e.g.,
XLerobot.local).
- Connect from PC: Install RealVNC Viewer on your laptop and connect using your pre-configured hostname (e.g.,
4. Software Preparation
Section titled “4. Software Preparation”Once hardware is connected, ensure your Pi is updated and has essential tools:
sudo apt update && sudo apt upgrade -ysudo apt install -y python3-pip git curl wget