- Open a new Terminal (Ctrl+Alt+T)
- Type
sudo raspi-config
and press Enter to launch the Raspberry Pi Configuration app. - Choose the option as highlighted below,
- When a confirmation dialog box appears, press Enter to return to the main menu.
- Press Tab twice to choose Finish and press Enter.
- Choose YES and press Enter when it prompts to reboot.
Note: The latest Raspberry Pi OS image will expand the filesystem automatically at the initial boot.
Crowpi2 software is recommended to run on a Raspberry Pi 4 Model B with 2GB RAM or higher (preferably with 4GB or 8GB).
GPIO-0 (SDA0) is reserved to detect Raspberry Pi startup status in order to control the power on/off on the PCBA board, so without this pin signal being driven 'low', the CrowPi2 will shutdown unexpectedly.
After flashing a new Raspberry Pi OS image, you will need to edit the config.txt, located in the /boot directory of the SD card, adding (Cut & Paste) the following statements to the end of the file.
hdmi_force_hotplug=1
hdmi_group=2
hdmi_mode=82
hdmi_drive=2
enable_uart=1
gpio=0=op,dl
In addition, after booting up with the new image, open a new Terminal and execute the following commands
git clone https://github.com/elecrow-engle/elecrow_crowpi2.git
cd elecrow_crowpi2/GPIO
chmod +x start.sh
sudo ./start.sh