Set Raspberry Pi – Step by step

Setting up Raspberry Pi

Today in this article, we will cover step-by-step details on how to Set up Raspberry Pi,

In this article, we will cover below aspects,

Prerequisites

You need the below set of hardware to get started. All other required software can be downloaded directly from the internet.

Setting up Raspberry Pi

  • AMR32v7 processor and above
    • Raspberry Pi – 2B or 3B Plus (preferred)
  • MicroSDHC card (16 GB and above preferred) and SD Adapter (to burn the OS Image to SD card using the laptop)
  • USB Keyboard
  • Monitor
  • Power Supply

Set up Raspbian Linux SD card

Step 1: Download the Linux image

Download the latest c to your local machine. The Latest Linux image can be downloaded below,

https://www.raspberrypi.org/downloads/raspbian/

Step 2: Flash the Raspbian image to the SD card

Download the Etcher image flashing utility.

  • Open Etcher and select the image(.zip) downloaded in step 1.
  • Select the SDHC card.
  • Click ‘Flash!’ Please make sure to have a space of a minimum of 4 GB on Micros SDHC.

You shall see files in the SD card drive (Ex. D drive) post success in a flash.

Enable SSH

Create a file with the name ‘ssh‘. This file needs to be created without any extension. This file will enable SSH when you boot your device next time.

Step 3. Boot up Raspberry Pi

Insert imaged SD card into Raspberry Pi. Connect Raspberry Pi to HDMI and power up the setup.

blank

Boot up Raspberry Pi. A welcome message will be displayed on your monitor.

blank

SSH will be Enabled as performed in Step 2 will be displayed. Click “OK” to proceed.

blank

Step 4. Get IP of Raspberry Pi

Get the IP of your Pi.

sudo ip addr show

or

sudo hostname --ip-address

or

sudo ipconfig

Step 5. Update the software

Please connect Pi to WiFi. Run the below commands before use.

sudo apt-get update

sudo apt-get upgrade

This is what minimum you would be needing for further usage. Once you have all these configured, you will be all set for an adventure (as you have thought of !! )

References:

Summary

Today we learned the basics of setting up Raspberry Pi running Raspbian and learned how to get started easily on exploring the world of IoT.



Please bookmark this page and share it with your friends. Please Subscribe to the blog to receive notifications on freshly published(2024) best practices and guidelines for software design and development.



Leave a Reply

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