Raspi-Config Settings
Certain settings must be configured to allow the Raspberry Pi computer to communicate with the PCB using the GPIO pins.
Raspi-Config
In an SSH session, run the following command:
sudo raspi-config
Enable SPI
Using the arrow and enter keys, select "Interface Options" > "SPI". Select Yes to the "Would you like the SPI interface to be enabled?"
Enable I2C
Select "Interface Options" > "I2C". Select Yes to the "Would you like the I2C interface to be enabled?"
Enable Serial Port, Disable Login Shell over Serial
Select "Interface Options" > "Serial Port".
- Select No to "Would you like a login shell to be accessible over serial?"
- Select Yes to "Would you like the serial port hardware to be enabled?"
Remote GPIO
Select "Interface Options" > "Remote GPIO". Select Yes to "Would you like the GPIO server to be accessible over the network?"
Reboot
Select "Finish". Allow the Raspberry Pi to reboot if prompted.