First, install the latest version of Raspberry Pi OS onto an SD card. You can refer to the CircuitPython Libraries on Linux and Raspberry Pi guide for more help setting it up.

Once you have everything set up, you will need to open a terminal and install Blinka. Refer to the Installing CircuitPython Libraries on Raspberry Pi page to quickly get up and running.

Install Azure CLI

Azure CLI is a command line tool that you can use on Linux computers, like the Raspberry Pi, to access various Azure functions and information. In this instance, you'll use Azure CLI to generate a Bearer token to authenticate while making an HTTP request in the code.py file.

To install Azure CLI, open a terminal window and enter the following command:

sudo apt-get install azure-cli

This will run through the Azure CLI installation process. After installation finishes, log into your Azure account with:

az login

This opens a browser and prompts you to log into your Microsoft Azure account.

After logging in, the browser will let you know that the login was successful and then navigate to the Azure CLI documentation page.

In the terminal, you'll see a printout of your Azure subscription information. This information is sensitive so you may want to close out of the terminal after viewing.

Hide the Taskbar

To allow the dashboard display window to take up the full Raspberry Pi display, you'll want to hide the top taskbar when it isn't in use.

Right-click on the taskbar and select Panel Preferences. In the Panel Preferences window, go to the Advanced tab and check off "Minimize panel when not in use". Then, click Close.

This guide was first published on Aug 23, 2022. It was last updated on Jun 23, 2024.

This page (Prepare Your Raspberry Pi) was last updated on Mar 08, 2024.

Text editor powered by tinymce.