This section describes how to use Bricks and Bricklets with a Raspberry Pi together with Debian.
As the first step you have to set up Raspberry Pi OS on a SD card. It is recommended to use Raspberry Pi Imager to do this.
Connect a keyboard, a monitor and a power supply to your Raspberry Pi. After connecting the power supply the Raspberry Pi should start booting.
At the end of the boot process you should see the a login prompt. Enter the user name and password you choose in Raspberry Pi Imager. You should be logged in.
Follow the Brick Daemon installation guide.
Follow the Brick Viewer installation guide.
You can use the Raspberry Pi to run the Brick Daemon and control the attached devices from the outside. For example you can use this to control stuff from your mobile phone.
To do this you have to change the host the IP Connection is connecting to in your code from "localhost" to the IP address of the Raspberry Pi.
The USB port of the Raspberry Pi may not be able to handle the power that is needed by a big stack of Bricks and Bricklets. In this case you should use a Step-Down Power Supply.