Cool Projects with a Pi

Getting started with Raspberry Pi

Sabina Pokhrel
Towards Data Science

--

The Raspberry Pi is a series of low-cost, single-board computers, that are as small as your credit-card. They have been very popular amongst hobbyist and makers around the world since the first version came out in 2012. That same year Raspberry Pi won T3’s Innovation of the Year award.

Around 30 million Raspberry Pis were sold by the end of the year 2019. — The Inquirer

In 8 years, the Raspberry Pi has gone through a lot of iterations and improvements. Below is a table showing different models of Raspberry Pi that have been released until today.

Generations of released Raspberry Pi Models (Source)

Projects using Raspberry Pi

Here is a list of some interesting projects that use Raspberry Pi, to give you some ideas on how people are using it:

Home Automation

Basic Object and Motion Detection

DashCam

Media Streaming Server

WhatsApp Surveillance Video Camera with IR Proximity Sensors

In this post, I will show you how to set up your Raspberry Pi 3B+ model so that you can start using it to create your own projects.

Raspberry Pi
Raspberry Pi 3B+ (Image Source)

Raspberry Pi 3B+ Specifications

Raspberry Pi 3B+ is the final version of the Raspberry Pi 3 range.

Processor: Broadcom BCM2837B0, Cortex-A53 64-bit SoC @ 1.4GHz
Memory: 1GB LPDDR2 SDRAM
Networking: Gigabit Ethernet over USB 2.0 (maximum throughput 300 Mbps), 2.4GHz and 5GHz IEEE 802.11.b/g/n/ac wireless LAN
Bluetooth: Bluetooth 4.2, Bluetooth Low Energy (BLE)
GPU: Broadcom Videocore-IV
Storage: Micro-SD
GPIO: 40-pin GPIO header, populated
Ports: HDMI, 3.5mm analogue audio-video jack, 4x USB 2.0, Ethernet, Camera Serial Interface (CSI), Display Serial Interface (DSI)
Dimensions: 82mm x 56mm x 19.5mm, 50g
Operating temperature: 0–50°C
Production Lifetime: will remain in production until at least January 2023

Things you will need:

  1. Raspberry Pi 3B+
  2. SD card
  3. SD card reader
  4. Ethernet Cable

Operating System you will need to download:

Raspbian Buster
Image Source
  1. Raspbian Buster: This is the operating system we will be installing on our Raspberry Pi 3B+. Please download Raspbian Buster with desktop and recommended software.

Software that you will need to downloads:

Etcher SoftwareEtcher
Etcher Software (Image Source)
  1. Etcher: Etcher is a free and open-source utility used for writing image files such as .iso and .img onto storage media to create live SD cards and USB flash drives.
VNC Viewer (Image Source)
VNC Viewer (Image Source)

2. VNC viewer: VNC viewer is a software that allows remote access and control of a device which has VNC server enabled.

Steps:

  1. Insert the SD card to your PC/laptop using the SD card reader.
  2. Format the SD card.
  3. Use Etcher software to burn Raspbian buster image file to the SD card.
Use Etcher to burn Raspbian to SD card

4. Enable ssh so that you can access it remotely, by creating a blank file named ssh in the root directory of the SD card.

Add ssh file to root directory of SD card
Add ssh file to root directory of SD card

5. Eject the SD card from the PC/laptop, insert it into the Raspberry Pi and turn the Raspberry Pi on by connecting it to power.

6. Connect the Raspberry Pi to the PC/laptop using ethernet cable.

Raspberry Pi 3B+ with ethernet cable and power cable connected
Raspberry Pi 3B+ with ethernet cable and power cable connected

7. SSH into the Pi from you PC using terminal. Enter the following command:

ssh pi@raspberrypi.local

8. You will be prompted to enter password. Enter the default password (raspberry).

9. Now enable vncserver on the Raspberry Pi using the following command:

vncserver

10. From your PC, open VNC viewer and add the ip address of the Raspberry Pi to remotely connect to it.

11. Now from remote access, connect it to wifi so that you can access it without having to connect it to the PC using ethernet cable.

All done! Your Raspberry Pi 3B+ is now ready to be used.

Found this post helpful? Leave your thoughts as comments below.

Originally published on www.xailient.com/blog

Looking to implement real-time face detection on a Raspberry Pi? Check out this post.

Looking to implement real-time face tracking on a Raspberry Pi? Check out this post.

About the author

Sabina Pokhrel works at Xailient, a computer-vision start-up that has build the world’s fastest Edge-optimized object detector.

--

--

AI Specialist | Machine Learning Engineer | Writer and former Editorial Associate at Towards Data Science