The goals of this project are to:
- install Raspbian OS on Raspberry PI and
- connect to Raspberry PI via remote desktop
At the end of this project, we will test our operating system and remote desktop connection by pushing a library to the Raspberry PI and opening a gauge program that we have developed. This will be the basis for the following projects.
Step 1) Download Raspbian OS
You can download Raspbian OS from the following website: https://www.raspberrypi.org/downloads/raspbian/
Download this as a .zip file to your computer.
Step 2) Download Etcher
Etcher is used take the Raspbian OS from your computer and write it to an SD card.
Step 3) Open Etcher and push (flash) Raspbian OS to an SD Card
Step 4) Install Rasbian OS
Insert the SD card in Raspberry Pi and turn on the board. This the vital step to install Raspbian OS to your Raspberry PI.
Congratulations, you have now installed an operating system on your Raspberry PI.
Step 5) If you are using an LCD, indicate your resolution
If you are using an LCD, you need to ensure that the /boot/config.txt file indicates the resolution of your LCD. You can do this with the command sudo nano.
Change or add this code for defining your LCD resolution (800×480 lcd or 1024×600)
hdmi_cvt=800 480 60 6 0 0 0
#hdmi_cvt=1024 600 60 6 0 0 0
use Ctl+O for saving and ctl+X for exit
Step 6) Connect Raspberry Pi to WIFI
Step 7) Identify your (Raspberry’s) IP address
In the terminal issue the following command to identify your IP address.
Step 8) Connect to Raspberry PI via remote desktop
On your Raspberry PI, use the following commands to enable remote desktop:
sudo apt-get update
sudo apt-get purge realvnc-vnc-server
sudo apt-get install xrdp
You may be asked if you want to allow the remote connection. Reply y. Then, issue the reboot command.
Open the remote desktop app on your computer, provide the IP address of your Raspberry PI and connect.
The default username is pi and the password is raspberry.