0

members

Easy Raspberry basics: Project 01a Raspberry PI 3 Model B board setup

of Acoptex.com in Raspberry Pi 3

Raspberry basics: Project 01a

Project name: Raspberry PI 3 Model B board setup

Tags: Raspberry, Raspberry PI 3 model B board

Raspberry Pi
Monitor or TV
HDMI cable
USB keyboard
USB mouse
Power supply
8GB SD card

In this project, you need these parts :

1.Raspberry PI 3 model B 1 pc

 2. Micro SD card with NOOBS and SD card adapter 1 pc

3. Micro USB power supply (2.1 A, max 2.5 A) 1 pc

4. USB keyboard 1 pc

5. USB mouse 1 pc

6. TV or PC monitor 1 pc

7. HDMI caable 1 pc

8. T-Cobbler Breakout and GPIO Cable 1 pc

9. Ethernet (network) cable (optional) 1 pc

10. USB wireless dongle (optional) 1 pc

11. Audio lead - speakers or headphones (optional) 1 pc

or 

General

We will learn how to setup and use the Raspberry PI 3 model B board.

Understanding the Raspberry PI 3 model B board

The Raspberry Pi 3 is the third-generation Raspberry Pi. It replaced the Raspberry Pi 2 Model B in February 2016.

Specification:

  • Quad Core 1.2GHz Broadcom BCM2837 64bit CPU
  • 1GB RAM
  • BCM43438 wireless LAN and Bluetooth Low Energy (BLE) on board
  • 40-pin extended GPIO
  • 4 USB 2 ports
  • 4 Pole stereo output and composite video port
  • Full size HDMI
  • CSI camera port for connecting a Raspberry Pi camera
  • DSI display port for connecting a Raspberry Pi touchscreen display
  • Micro SD port for loading your operating system and storing data
  • Upgraded switched Micro USB power source up to 2.5A

Signals and connections of the Raspberry PI 3 model B


Step by Step instruction

1. A little about equipment required

Before you plug anything into your Raspberry Pi, make sure that you have all the equipment you need:

  1. A Raspberry Pi 3 model B board
  2. A micro SD card with with a full-size SD adapter. We recommend an 8GB class 4 SD card, ideally preinstalled with NOOBS. To get started with Raspberry Pi, you also need an operating system. If you haven't purchased a pre-installed micro SD card with NOOBS - not a problem, we will explain how to install an operating system onto an SD card.
  3. A monitor with the correct cable and adapter (HDMI - HDMI or HDMI - DVI). Any HDMI/DVI monitor and any TV should work as a display for the Pi. Most modern television sets and monitors have an HDMI port, and are the easiest to get working with the Raspberry Pi. You can use an HDMI cable to connect the Raspberry Pi directly to the television or monitor. Some older monitors have a DVI port. These work well with the Raspberry Pi, although you'll need an HDMI-to-DVI adapter to attach to an HDMI cable, or a one-piece HDMI-to-DVI cable. Some old monitors have a VGA port. These can be trickier to use as you'll need an HDMI-to-VGA converter, which can change digital video to analogue video. A simple port adapter won't work. For best results, use one with HDMI input, but other connections are available for older devices.
  4. A wired keyboard and mouse, or a wireless keyboard and mouse with a Bluetooth adapter. Any standard USB keyboard and mouse will work with your Raspberry Pi. Wireless keyboards and mice will work if already paired. For keyboard layout configuration options see raspi-config.
  5. A micro USB power supply. The Pi is powered by a USB Micro power supply (like most standard mobile phone chargers). Many mobile devices are powered using a 5V micro USB charger. These can often be used to power the Raspberry Pi, although it's worth checking that they provide sufficient voltage and current (5V / 1.2 - 2.5A). There are many devices which are capable of providing power over USB. Some modern wall sockets have USB ports, for instance. You can also connect to USB hubs, computers, and battery packs. If you have a micro USB cable, then you could try to power your Raspberry Pi using any powered USB port. You'll need a good-quality power supply that can supply at least 2A at 5V for the Model 3B, or 700mA at 5V for the earlier, lower powered models. Low current (~700mA) power supplies will work for basic usage, but are likely to cause the Pi to reboot if it draws too much power.
  6. A T-Cobbler Breakout and GPIO Cable.  This is the perfect extension for Raspberry Pi GPIO to breadboard, with clear GPIO labeling. This is the assembled version of the Pi T-Cobbler.  It only works with the Raspberry Pi Model Zero, A+, B+, Pi 2,Pi 3! (Any Pi with 2x20 connector). The Raspberry Pi has landed on the Maker World like a 40-GPIO pinned, quad-USB ported, credit card sized bomb of DIY joy. And while you can use most of our great Model B accessories by hooking up our downgrade cable, its probably a good time to upgrade your set up and accessorize using all of the 40 pins. That's why we now carry the Assembled Pi T-Cobbler - Breakout + Cable for Raspberry Pi. This Cobbler is in a fancy T-shape, which is not as compact, but is a little easier to read the labels. The T-Cobbler is an add on prototyping board for the 2x20 connector-type Raspberry Pi, and can break out all those tasty power, GPIO, I2C and SPI pins from the 40-pin header onto a solderless breadboard. This set will make "cobbling together" prototypes with the Pi super easy. Each order comes with a 40 pin ribbon cable and assembled T-Cobbler. You can plug the 40-pin GPIO cable between the Pi computer and the T-Cobbler breakout. The T-Cobbler can plug into any solderless breadboard. The T-Cobbler PCB has all the pins labeled nicely so you can go forth and build circuits without keeping a pin-out printout at your desk. We think this will make it more fun to expand the Pi and build custom circuitry with it. Designed for use with any 2x20 connector Raspberry Pi.  No soldering required.
  7. An ethernet (network) cable. [Model B/B+/2/3 only]. An Ethernet cable is used to connect your Pi to a local network and the internet.
  8. A USB wireless dongle. Alternatively, you can connect to a wireless network using a USB wireless dongle, which will require configuration.
  9. An audio lead. Audio can be played through speakers or headphones using a standard 3.5mm jack. Without an HDMI cable, an audio lead is necessary to produce sound. No separate audio lead is necessary if you're using an HDMI cable to connect to a monitor with speakers, as audio can be played directly through the display; but it is possible to connect one if you prefer to have the audio played through other speakers - this requires configuration.

2. Raspberry Pi software setup. Install an operating system to Micro SD card

If you haven't purchased a pre-installed micro SD card  - not a problem, we will explain how to install an operating system onto an SD card now.

Beginners should start with NOOBS (New Out Of Box Software), which gives the user a choice of operating system from the standard distributions. The recommended distribution for normal use is Raspbian. Alternatives are available, such as LibreELEC (Kodi media centre) or Arch Linux.

  1. Prepare a SD card. The Raspberry Pi works with any compatible SD card. For installation of NOOBS or the image installation of Raspbian, the minimum recommended card size is 8GB. For Raspbian Lite image installations we recommend a minimum of 4GB. Some distributions, specifically LibreELEC and Arch, can run on much smaller cards. If you're planning to use a card of 64GB or more with NOOBS, see this page first. The card class determines the sustained write speed for the card; a class 4 card will be able to write at 4MB/s, whereas a class 10 should be able to attain 10 MB/s. However, it should be noted that this does not mean a class 10 card will outperform a class 4 card for general usage, because often this write speed is achieved at the cost of read speed and increased seek times. The original Raspberry Pi Model A and Raspberry Pi Model B require full-size SD cards. The newer Raspberry Pi Model A+, Raspberry Pi Model B+, Raspberry Pi 2 Model B, Raspberry Pi Zero, and Raspberry Pi 3 Model B require micro SD cards.
  2. Format SD card. Before installing anything on SD card you need to have it formatted. You'll also need to make sure your computer has a built-in SD card reader, or you can use a USB SD card reader. Download SD Formatter 5.0 for either Windows or Mac and follow the instructions to install the software. Insert your SD card into the computer or laptop’s SD card reader and make a note of the drive letter allocated to it, e.g. F:/. In SD Formatter, select the drive letter for your SD card and format it.
  3. Note: If your SD card has 64GB or more, it will automatically be formatted as exFAT, which is not compatible with NOOBS. Follow these instructions to force your SD card to format as FAT32 so that you can use NOOBS.
  4. Download NOOBS files. Visit the official Raspberry Pi Downloads page.
  5. Click on NOOBS. Then click on the Download ZIP button under ‘NOOBS (offline and network install)’, and select a folder to save it to. Extract the files from the zip. Drag all the files in the extracted NOOBS folder and drop them onto the SD card drive. The necessary files will then be transferred to your SD card. When this process has finished, safely remove the SD card and insert it into your Raspberry Pi 3 board.

3. Raspberry Pi hardware setup

  1. Insert your micro SD card into the TF card slot on the Raspberry Pi 3 board. It will only fit one way.
  2. Connect Raspberry PI 3 board HDMI port to your TV or Monitor HDMI port (use HDMI cable).
  3. Make sure that your monitor or TV is turned on, and that you have selected the right input (e.g. HDMI 1,  etc).
  4. Plug in your USB mouse and USB keyboard to Raspberry PI 3 USB ports.
  5. If you intend to connect your Raspberry Pi to the internet, plug an Ethernet cable into the Ethernet port, or connect a WiFi dongle to one of the USB ports (unless you have a Raspberry Pi 3 board).
  6. The Raspberry Pi 3 board comes equipped with a 3.5mm audio port. This will allow you to plug most speakers or headphones into the Raspberry Pi, so that you can listen to the output from fantastic programs like Sonic Pi. With either the Raspberry Pi 3 board or a Bluetooth dongle, you can connect to Bluetooth speakers or headphones. Your success rates may vary depending on the dongle and/or speakers you're using, so ensure that you read the manufacturer's documentation.
  7. You can add  extra storage to your Raspberry Pi 3 board. There are several options for increasing the storage capacity of your Raspberry Pi 3 board: bigger micro SD card, USB flash drives, external hard drives.
  8. Connect Micro USB power supply to Raspberry PI 3 board micro USB input.
  9. The Raspberry PI desktop will start up.

4. Raspberry Pi networking

Let's connect your Raspberry Pi 3 board to your local network or the internet. You can use any of the following options to do this:

  • Connecting via Ethernet. The Raspberry Pi 3 board has an Ethernet port. If your Raspberry Pi is close to a router, access point, or switch, you can connect to a network using an Ethernet cable. Once you've plugged the Ethernet cable into the Raspberry Pi 3 board Ethernet port and the other end into an access point (AP), your Raspberry Pi 3 board will automatically connect to the network.
  • Connecting via WiFi. If you have a Raspberry Pi 3 board, then there is built-in WiFi. If you're using an earlier version of the Raspberry Pi, then you'll need a USB WiFi dongle. Some WiFi dongles, when used with the Raspberry Pi, are simple plug and play devices. Others require specific drivers, and may not be compatible with the Raspberry Pi. Make sure you read the device manufacturer's documentation before making a purchase.

 

5. Using Raspberry PI 3 board for programming

GPIO ports allow you to connect electronic components such as LEDs and buttons to the Raspberry Pi.

We will show you how to attach T-Cobbler Breakout and GPIO Cable to Raspberry PI 3 board GPIO pins. Please find below:

Insert the other end of TCobbler Breakout (with pins) to breadboard.

Of course you can use jumper cables F-M, F-F to connect your Raspberry PI 3 board to breadboard, sensors too.

Troubleshooting

If you are having trouble with corruption of your SD cards, make sure you follow these steps:

  • Make sure you are using a genuine SD card. There are many cheap SD cards available which are actually smaller than advertised or which will not last very long.
  • Make sure you are using a good quality power supply. You can check your power supply by measuring the voltage between TP1 and TP2 on the Raspberry Pi; if this drops below 4.75V when doing complex tasks then it is most likely unsuitable.
  • Make sure you are using a good quality USB cable for the power supply. When using a high quality power supply, the TP1->TP2 voltage can drop below 4.75V. This is generally due to the resistance of the wires in the USB power cable; to save money, USB cables have as little copper in them as possible, and as much as 1V (or 1W) can be lost over the length of the cable.
  • Make sure you are shutting your Raspberry Pi down properly before powering it off. Type sudo halt and wait for the Pi to signal it is ready to be powered off by flashing the activity LED.
  • Finally, corruption has been observed if you are overclocking the Pi. This problem has been fixed previously, although the workaround used may mean that it can still happen. If after checking the steps above you are still having problems with corruption, please let us know.

Summary

We have learnt how to setup and use the Raspberry PI 3 model B board.

Library

  • No libraries needed in this project

Sketch

  • No sketches needed in this project


Other projects of Acoptex.com
Easy Raspberry basics: Project 26a Raspberry PI Zero W board - Enable SSH of Acoptex.com in Raspberry Pi Zero W 07-01-2019
Easy Raspberry basics: Project 24a Raspberry PI Zero W board - Apache web server of Acoptex.com in Raspberry Pi Zero W 05-01-2019

« Go back to category
Is this project fake? Report it!   
Recommend to a friend
Published at 11-11-2017
Viewed: 298 times