Introduction to Raspberry Pi

Raspberry Pi is a development board that can be applied to build IoT applications. Various sensors and actuator devices can be attached to the board. In this chapter, we explore Raspberry Pi and cover its models. We also learn how to set up the board for

  • PDF / 1,330,753 Bytes
  • 25 Pages / 439.37 x 666.142 pts Page_size
  • 107 Downloads / 401 Views

DOWNLOAD

REPORT


Introduction to Raspberry Pi Raspberry Pi is a development board that can be applied to build IoT applications. Various sensors and actuator devices can be attached to the board. In this chapter, we explore Raspberry Pi and cover its models. We also learn how to set up the board for the first time. The following list of topics is covered in this chapter: •

Learn about the Raspberry Pi



Review the Raspberry Pi models



Learn about the Raspbian OS



Set up Raspbian OS on a Raspberry Pi board



Perform headless Raspbian SSH network setup



Configure a WiFi network



Explore the Raspbian OS desktop



Configure the VNC server



Learn to power off the Raspbian

© Agus Kurniawan 2019 A. Kurniawan, Raspbian OS Programming with the Raspberry Pi, https://doi.org/10.1007/978-1-4842-4212-4_1

1

Chapter 1

Introduction to Raspberry Pi

1.1  What Is Raspberry Pi? Raspberry Pi is a mini computer that you can operate as a normal computer. This board was developed by Raspberry Pi Foundation in the UK. Currently, Raspberry Pi runs on the top of an ARM processor. Raspberry Pi is not a PC, so we couldn’t expect more in computation. Raspberry Pi is designed to be small in size to perform some processes. The small form size of the Raspberry Pi form has advantages. We can put sensor and actuator devices on the Raspberry Pi board and then perform measurement and sensing. The first Raspberry Pi Model B board was released in February 2012. The latest model is the Raspberry Pi 3 B+ board and it was released in March 2018. You can see this board in Figure 1-1. This board can run an operating system to perform computations.

Figure 1-1.  Raspberry Pi 3 B+ board The Raspberry Pi board usually exposes GPIO pins, to which we can attach sensors or actuator devices. Some Raspberry Pi models also provide network stacks such as Ethernet, WiFi, and Bluetooth. Raspberry Pi can also be connected to monitor through an HDMI connector.

2

Chapter 1

Introduction to Raspberry Pi

Various operating systems can be applied to Raspberry Pi boards. A list of supported operating systems for Raspberry Pi can be found at this site: https://www.raspberrypi.org/downloads/. Raspbian OS is the official operating system of the Raspberry Pi. This book focuses on Raspbian OS for implementation and evaluation.

1.2  Reviewing the Raspberry Pi Board Models There are several Raspberry Pi models that we can use to perform specific purposes. The latest model as I am writing this book is Raspberry Pi 3 Model B+. This board consists of Broadcom BCM2837B0, Cortex-A53 (ARMv8) 64-bit SoC @ 1.4GHz, with 1GB LPDDR2 SDRAM. The board also provides Ethernet, WiFi, and Bluetooth 4.2 (BLE). You can see the Raspberry Pi 3 Model B+ board in Figure 1-1. For further information about Raspberry Pi 3 Model B+, see https://www.raspberrypi.org/ products/raspberry-pi-3-model-b-plus/. If you have concerns about hardware size, Raspberry Pi Foundation has an even smaller version, which is half the size of a credit card. It is called the Raspberry Pi Zero. There are tw