Skip to main content

Hello, Raspberry Pi

Step 1 - Install .NET Runtime

Download and install the latest version of the .NET runtime.

Step 2 - Install Visual Studio

Download and Install Visual Studio 2022 for Windows to prepare your development machine. Community edition will work fine.

Step 3 - Add VS Linux Debugger Studio Extension

Open Visual Studio’s Extensions Manager and install the VS Linux Debugger Extension.

Make sure you go through their Getting Started instructions to properly configure the target device (Raspberry Pi) and how to use the extension to build and deploy the Meadow.Linux application over the network.

Step 4 - Create your first Meadow application

In Visual Studio, open the Create a new project window. When you search for Meadow, you will see a list of project templates, click on Meadow.Linux Raspberry Pi App (Wilderness Labs):

Create new Meadow Application

This is a minimal Meadow.Linux application that it'll output a few strings on a terminal to confirm the application is running correctly.

Step 5 - Run a Meadow Application

Once the application is deployed successfully, open a terminal on the Raspberry Pi and go to inside the project's folder and type:

dotnet [Your Project Name].dll

The terminal will output a few console output strings ending with Hello, Raspberry Pi!.

Initializing OS... 
Using default app.config.yaml...
Log level: Information
Platform does not support gpiod
Update Service is disabled.
Health Metrics disabled.
Initialize...
Run...
Hello, Raspberry Pi!

Step 6 - Check out additional samples

You can check more samples in our Meadow.Desktop.Samples GitHub repo.

Meadow.Desktop.Samples GitHub Repository