How to Setup Raspbian Buster on a Raspberry Pi 3B+ and Install and Test Mono

In this post we’ll learn how to setup a Raspberry Pi 3 Model B+, install Raspbian Buster, Update it, Configure the interfaces, Install Samba, Install Mono and test it with a sample C# .Net application created in Visual Studio.

In the video below I unbox the CanaKit Raspberry Pi 3 Model B+ Complete Starter Kit. Then I demonstrate how to flash the SD card with Raspbian Buster, boot up with Raspbian Buster, go through the initial configuration where we enable the interfaces including VNC, the Serial UART (NOTE: we do not want to enable the Serial Console – I was too quick in enabling everything) using the setup and then running through raspi-config to double check that everything is enabled including I2C, SPI and Serial UART. We also learn how to install Mono and create a sample .Net application in Visual Studio and run it on the Raspberry Pi.

Use these jump points to quickly navigate within the video:
06:02 Download of Raspbian Buster Linux Distro
06:18 Flash SD card with Balena Etcher
07:07 Booting up Raspberry Pi with Raspbian Buster image
07:27 Install keyboard/mouse in Raspberry Pi
07:38 Initial Configuration of Raspbian Buster
10:16 Setup of Interfaces in Raspberry Pi Config including VNC
11:06 Using raspi-config to double check interfaces
12:45 Check IP Address for connecting via VNC
13:42 Configuring VNC Viewer
14:56 Connecting to Raspberry Pi via VNC from Windows 10
16:16 Installation of Samba for filesharing with Windows 10
21:10 Creating folder on Desktop of Raspberry Pi for File Sharing
21:38 Connecting to Raspberry Pi from within Windows 10
23:26 Installation of Mono for running .Net console applications
27:21 Check version of Mono installation
27:34 Install I2C Tools
27:58 Use Visual Studio 2019 to create a .Net test application
29:27 Copy compiled application to shared folder on Raspberry Pi
29:46 Within Raspberry Pi via VNC run Mono to execute the application

Important Links:

https://www.realvnc.com/en/raspberrypi/

https://www.mono-project.com/download/stable/#download-lin-raspbian

https://learn.sparkfun.com/tutorials/raspberry-pi-spi-and-i2c-tutorial/all

smb.conf configuration for setup of Samba

[global]
netbios name = RP
server string = The Pi File Center
workgroup = WORKGROUP
hosts allow =
socket options = TCP_NODELAY IPTOS_LOWDELAY SO_RCVBUF=65536 SO_SNDBUF=65536
remote announce =
remote browse sync =

[HOMEPI]
path = /home/pi
comment = No comment
browsable = yes
read only = no
valid users =
writable = yes
guest ok = yes
public = yes
create mask = 0777
directory mask = 0777
force user = root
force create mode = 0777
force directory mode = 0777
hosts allow =

Leave a Reply

Your email address will not be published. Required fields are marked *