Get the basics for setting up Raspberry Pi.
The Raspberry Pi is a mini computer that was specifically created to make tech learning easier. It has a lot of components for computer-based projects, like USB ports, an ethernet port, an SD card slot, Wi-Fi antenna ports, and more.
It does not come with peripherals, like cables, a keyboard, a mouse, or a monitor. It is a great for learning program languages, like Python, Scratch, and Wolfram. Most Raspberry Pi enthusiasts like making single-process builds to show off their do-it-yourself talents.
What you will need
The Raspberry Pi ships as just the single-board mini computer. There are a few additional components you will need before you can get started. So, when making your purchase, keep in mind that you'll need the following extras.
1. Raspberry Pi — There are five different models of Raspberry Pi. The Pi 2 Model B or Pi 1 Model B+ and Pi 3 Model B are ideal for beginner projects because they are the most versatile and have the widest range of capabilities. The Pi 3 Model B has the added bonus of having a quad-core processor and 1 GB of RAM so it supports heavier operating systems, like Ubuntu and Microsoft 10. The Model A+ is a powerful board for building robotics, but doesn't have an Ethernet port and only comes with one USB port. So, it's better for people that are a little more savvy with engineering technology. Raspberry Pi Zero is basically a miniature version of the Model A+, but has a more robust computing power. It has a micro USB port and mini HDMI port for 1080p output compatibility but doesn't have wireless capability.
2. Power supply — You will need a 5V micro-USB power supply.
3. USB keyboard
4. USB mouse — If you prefer to use a Bluetooth keyboard and mouse, you could just get a Bluetooth adapter.
5. microSD card — The microSD card must have at least 8 GB of storage. You can purchase one that comes pre-loaded with Raspberry Pi's New Out of Box Software (NOOBS), but you can also download the software for free from the website, so there is no need to purchase a special NOOBS microSD card.
6. microSD USB card reader — You'll need something that you can connect the microSD card to your PC or Mac in order to download software onto it.
7. A monitor or TV that supports HDMI or composite video — You can use an older composite video display, but HDMI works better and supports audio transfers.
8. An HDMI cable or composite video cable, depending on what the screen you use supports
9. An ethernet cable (or Wi-Fi dongle) — A connection to the Internet is not required for setup, but many Raspberry Pi projects use them.
How to reformat your microSD card
The first step to getting started with Raspberry Pi is to reformat the microSD card that you will use to download the operating system. Even brand new SD cards will have some extraneous files on them. Reformatting it will remove all files and completely clear the card.
- Insert your microSD card into the USB card reader.
- Connect the card reader to your computer.
- Download SD Formatter 5.0.
- Double-click on SDFormatter_5.00B.pkg in your downloads folder in your Dock to install SD Formatter 5.0.
- Follow the instructions in the installation window.
- Click the Launchpad icon in your Dock. It looks like a silver rocket ship.
7.Find the SD Formatter 5.0 app.
8.To move between Launchpad windows, click the Next Page icons at the bottom center of the screen, or swipe to the right or left with your trackpad or Magic Mouse.
9.Click on the SD Formatter 5.0 app to open it. A formatting window will appear on your desktop.
10.Under Select Card select your microSD card from the dropdown menu.
11.Click Format in the bottom right corner.
When the reformat is complete, you will get a notification window. Select OK to close the window.
How to download NOOBS onto the microSD card
The next step is to get NOOBS onto the microSD card. Once it's loaded, you can plug it into your Raspberry Pi and configure the operating system. The microSD card should already be connected to your computer at this time.
- Download the ZIP file of NOOBS Version 2.4.5. It is a large file and will take a while to complete. You will want Raspbian, so do not download NOOBS Lite.
- Double-click on the NOOBS file from the Downloads folder in your Dock to open it.
- Select the first file inside the NOOBS folder.
- Scroll down and Shift + left-click on the last file in the NOOBS folder.
- Drag and drop all selected NOOBS files into the SD card icon on your desktop. You don't have to open the SD card drive.
- Right-click on the SD card icon.
- Select "Eject [SD Card Name]".
- Remove the card reader from your computer.
- Remove the microSD card from the card reader.
How to set up your Raspberry Pi
- Insert the microSD card into the card slot on the underside of the Raspberry Pi.
- Plug the USB keyboard into one of the USB ports.
- Plug the USB mouse into one of the USB ports
Alternatively, connect the Bluetooth adapter into one of the USB ports.
- Turn on your monitor or TV set and make sure it is set to the proper input (e.g. HDMI 1 or Component)
- Plug the HDMI or video component cable into the monitor or TV set.
- Connect the other end of the cable into the Raspberry Pi.
- Connect an ethernet cable to your router if you plan to connect to the Internet.
- Connect the other end of the cable to your Raspberry Pi.
Alternately, connect the Wi-Fi adapter to the Raspberry Pi.
- Connect the power supply to the Raspberry Pi.
- Plug the power supply into the power outlet. This will turn on and boot up Raspberry Pi.
A power indicator light will begin to glow, letting you know that you are connected,
How to download the Raspbian operating system on the Raspberry Pi
Beginners should start off using the Raspbian operating system. It is the easiest to use and there are hundreds of projects out there that use the Raspbian operating system. If you want to use a different operating system later on, you can reconfigure your Raspberry Pi then.
Once you have successfully followed the steps above, a start screen will appear on your monitor or TV.
- Select Raspbian.
- Click Install.
When the warning window pops up. Click Yes to confirm. This is just letting you know that the microSD card will be overwritten with an uncompressed version of the Raspbian operating system.
Wait for the installation process to complete.
Once the installation process is finished, Raspbian will automatically begin to boot.
How to configure your Raspberry Pi
When Raspbian begins to load a bunch of lines of code will appear. This will continue until the boot process has completed. Then, the Raspbian Home screen will appear. You will need to configure your Raspberry Pi system in order to add your location, date, and time.
- Click Menu in the upper left corner of the screen.
Select Preferences in the dropdown menu.
Select Raspberry Pi Configuration under Preferences.
- When the configuration window appears, click on the Localisation tab.
- Click on Set Locale… to set your location.
- Click on Set timezone… to set your local time.
- Click on Set Keyboard… to set your keyboard language.
- Reconfiguring your Raspberry Pi will require a reboot. When the reboot window appears, click Yes to continue.
You are set up and ready to start using Raspberry Pi.