Beginners Guide to Raspberry Pi

9,496

78

4

For quite a while I have been working with Arduino. It is easy, cheap and gets the job done. But lately I have been inclining more towards IoT projects. So I started using ESP development board and it worked perfectly. But now I want to move towards bigger projects like image processing etc. And the best board for this purpose is Raspberry Pi.
In this post I will be sharing basic information about Raspberry Pi and how to get started. So you can start making cool projects along with me.

Teacher Notes

Teachers! Did you use this instructable in your classroom?
Add a Teacher Note to share how you incorporated it into your lesson.

Step 1: What Is Raspberry Pi ?

First question that arise in mind is "What really is Raspberry pi?" so let me start with introducing Pi to all the beginners.
Raspberry Pi is a cheap single board computer introduced in 2012 by Raspberry Pi Foundation. This credit card sized computer is very popular among the maker community. There are may models of raspberry pi Raspberry Pi 3 model B+ being the latest. There is also a smaller version named Raspberry Pi Zero and Zero W these are incredibly small boards.
Below I have listed specifications of the two popular boards.

  1. Raspberry Pi 3 Model B+:
    • ARM cortex-A53 1.4GHz processor
    • 1GB RAM
    • Integrated WiFi 2.4GHz/5GHz
    • Bluetooth 4.2
    • 300Mbps Ethernet
    • 4 USB ports, 1 HDMI , 1 earphone jack and a micro USB power port.
  2. Raspberry Pi Zero W:
    • BCM2835 1GHZ processor
    • 512MB RAM
    • Integrated WiFi 2.4GHz
    • Bluetooth 4.0
    • 2 USB ports, 1 mini HDMI

You can learn more about these boards and other, Check out Raspberry Pi Foundation's official website raspberrypi.org.

Step 2: Requirements:

Here I have listed all the materials you will be needing to get started.

Hardware Components:

  1. Raspberry Pi
  2. Micro SD card (Amazon Link)
  3. Micro SD card Reader (Amazon Link)
  4. OTG cable (for Pi Zero w) (Amazon Link)
  5. HDMI cable (Amazon Link)

    OR
  6. HDMI to mini HDMI (Amazon Link)
  7. OR you can get a Raspberry Pi Starter kit (Amazon Link)
  8. Mini Wireless Keyboard (Amazon Link)

Software Requirements:

  1. Raspbian
  2. 7-Zip
  3. Win32diskimager

Step 3: Installing Operating System:

Raspberry Pi is a computer and every computer requires an Operating System to work. There are may OS available for Raspberry Pi but I will be using Raspbian which is the official OS by Raspberrypi Foundation.
To get started:

  1. First download the Raspbian Stretch
  2. Next download and install 7-Zip
  3. Extract the Raspbian Zip file using 7-Zip
  4. Next download and install Win32diskimager
  5. Insert the SD card into the card reader and plug it in the computer
    Note the name of drive, in my case it is (I:) drive.
  6. Open the disk imager and select the SD card drive.
  7. Click on the file icon and navigate to the folder where Raspbian image is extracted.
  8. Select the image and click on "write".

Now it will take few minutes for the completion of burning process. Make sure you do not cancel it in between.

Step 4: First Boot:

Once the Raspbian image is burned on to the card successfully. Insert the SD card into Raspberry Pi. Now follow the steps given below.

  1. Connect HDMI to the port on board and a monitor.
  2. Connect the wireless module of keyboard into the USB port of Rpi, if you have Pi Zero W use an OTG adapter.
  3. Finally power the board using a micro USB. Make sure you use proper power supply. I used a 5v 2A smartphone charger which works perfectly.

The Pi will take a while for the first boot so be patient and do not power it off or remove the SD card.
Once the boot is successful, you will see the home screen of Raspbian. You can use a mouse or track pad to navigate.

Step 5: Enabling Interfaces:

As we will be using the Pi for robotics we will need to enable some features of Pi. These features will allow us to operate I/O pins and interface devices like LED, Servo, Motors, etc to Raspberry Pi.

  1. Click on the Raspberry icon on top left corner.
  2. From the drop-down menu select "Preferences" and click on "Raspberry Pi Configuration".
  3. From the Configuration window select "Interfaces" tab.
  4. Next Enable GPIO, I2C, SSH, Camera and Serial Port. These are the features we will be needing mostly.

Step 6: Final Note:

That is all for this tutorial. Now you can boot an OS into any Raspberry Pi. In next tutorial I have shared how to use Raspberry Pi in headless mode

If you are interested in robotics and still in the learning process , Check out my first eBook "Mini WiFi Robot" where you will learn everything you need to get started with robotics.

If you want to get a certified robotics course check out this e-course

I hope you liked the post and learned from it.
If you faced any problem or difficulty, please leave a comment below.

Thank you

Be the First to Share

    Recommendations

    • Assistive Tech Contest

      Assistive Tech Contest
    • Reuse Contest

      Reuse Contest
    • Made with Math Contest

      Made with Math Contest

    4 Discussions

    0
    None
    LancasterPA

    7 months ago on Introduction

    Just started reading. ESP and loT WTF. You are talking in gibberish for beginners. Maybe you start by telling us what the heck a raspberry is and why I need to keep reading.

    1 reply
    0
    None
    WolfxPacLancasterPA

    Reply 7 months ago

    Sorry if it is hard for you to understand. But the introduction part is just to share why I chose to use raspberry pi and what article is going to be about. The actual tutorial starts from next step. So I request you to read the complete article before commenting.

    0
    None
    Julezz

    7 months ago on Introduction

    This is a very well written Instructable - thank you for this share. I actually think that, with your instructions, I will be successful putting together my first pi! Thank you again!

    1 reply
    0
    None
    WolfxPacJulezz

    Reply 7 months ago

    Thank you, I am glad you liked it :)