Header Ads

ad728
  • Beginers Guide to Raspberry Pi

    Beginners Guide to Raspberry Pi


    Step 1: What Is Raspberry Pi ?

    What Is Raspberry Pi ?
    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:

    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 / Banggood)
    3. Micro SD card Reader................(Amazon / Banggood)
    4. OTG cable (for Pi Zero w)..........(Amazon / Banggood)
    5. HDMI cable................................(Amazon / Banggood)

      OR
    6. HDMI to mini HDMI....................(Amazon / Banggood)
    7. OR you can get a Raspberry Pi Starter kit......(Amazon)
    8. Mini Wireless Keyboard...................................(Amazon / Banggood)
    Software Requirements:
    1. Raspbian
    2. 7-Zip
    3. Win32diskimager

    Step 3: Installing Operating System:

    Installing Operating System:
    Installing Operating System:
    Installing Operating System:
    2 More Images
    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:

    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:

    Enabling Interfaces:
    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. 
    Thank you

    No comments