Kyle Olive

Computer Engineering Student & IEEE Student Branch Chair

EEWeb Stats

Kyle's Blog :

Return to Blog

The Raspberry Pi - Part I: Introduction and Required Hardware

Recently, interest in hobby electronics has grown dramatically. With platforms like the Arduino gaining popularity and achieving wide success in various retail markets, it’s no wonder that these kinds of hobby electronics have become more prevalent. While the Arduino is designed around a microcontroller like the Atmel AVR and allows hobbyists to acquire and build various shields and add-ons for more functionality however, the Raspberry Pi (though a similar piece of hobbyist electronics) takes a different approach.

Rather than a microcontroller board, the Raspberry Pi is a complete computer about the size of a playing card. At its core is an ARM11 microprocessor, and it contains HDMI and audio output, 8 GPIO Pins, 2 USB Ports, Ethernet, a dedicated GPU, and more. It’s basically a standalone platform that you can fit in your pocket. The introductory model costs only $25 (the higher end model with more memory runs for $35).

The Raspberry Pi pictured next to an SD Card for size comparison

The Raspberry Pi pictured next to an SD Card for size comparison

The Pi is capable of running various distributions of Linux, and using it is very straightforward and easy. In fact, the idea behind the Raspberry Pi was to provide a cheap computer platform for schoolchildren to use as an educational tool. It was to be a tool that students with little to no experience using computers could use to learn more about programming, computers, and really any other topic that lends itself well to electronic education. The platform quickly took off however with hobbyists, and it even began to be used in some commercial applications. The device’s low price point, small size, relative power, and ease of use makes it an interesting and flexible development platform.

Because the Raspberry Pi runs Linux, developers who are used to working in a Linux environment can easily get up to speed on the Pi, and they quickly come up with ideas and applications for the device. Many of the popular software packages available for traditional Linux desktops are available on ARM versions of Linux meant for use on the Raspberry Pi, and with the incorporation of a dedicated GPU, multimedia applications that were often limited to desktop environments or specialized embedded platforms are completely viable, and cheap. Finally, the large network of developers provides a good support network for those who are stuck on a problem, or looking for advice — a benefit that some hobbyist platforms and specialized platforms lack.

Even if you’re not a hobbyist, and looking to develop a new embedded solution for a particular problem, the Raspberry Pi can be a good way to prototype a solution without having to go through the entire design and development process. Rather than spending a large amount of money and time into developing a custom built functioning prototype, you can use a Raspberry Pi to greatly reduce initial prototyping costs and get a feel for a potential idea.

If you’re going to do development with a Raspberry Pi, you’re going to need some hardware. Below is a discussion of various pieces of hardware that you’ll need to get started using a Raspberry Pi, and a brief note on its purpose. Most of the parts are easy to acquire at your local electronics store, but the Raspberry Pi vendors listed below will also often sell you this equipment with your Raspberry Pi.

The Raspberry Pi – You can’t have a Raspberry Pi project without a Raspberry Pi. As discussed above, the Raspberry Pi is a playing-card sized computer that starts at $25. You can get these from various locations, but some vendors that are listed on the Raspberry Pi Foundation’s website ( are:

An SD Card – You’ll need a regular old SD card to store the operating system and any other files you’ll want to use on your Raspberry Pi. 2GB is the minimum size of SD card you’ll need to run the default operating system, Rhaspbian, but if you are going to be using the Pi heavily, you’ll probably want a bigger SD card to suit your needs. In that case, I would probably recommend at least an 8GB SD card. You can get one at your local electronics store, or bundled with a Raspberry Pi at the above listed vendors.

An HDMI Cable – If you plan on doing more than SSH’ing into your Raspberry Pi, you’ll want an HDMI cable (or an HDMI-to-something adapter) so you can view the device video and audio output. You can get one at your local electronics store, or bundled with a Raspberry Pi.

An SD Card Reader/Writer – If you’re working on a laptop, odds are you’ll already have an SD Card slot to work with. If you don’t, you’ll have to get your hands on an SD Card Read/Write device that you can plug into your computer. You’ll need it to flash the SD Card with whatever operating system you’re going to be using. If you don’t plan on ever needing to reflash your Raspberry Pi, you can buy a pre-formatted SD Card from one of the vendors listed above. Otherwise, you can usually pick up an SD Card Reader at your local electronics store.

A Micro-usb Power Supply – The Raspberry Pi is powered by 5V Micro-usb, so you’ll need to get a power supply. The manual recommends against powering your Raspberry Pi directly from the USB port of your computer, but unless you’re working with a lot of high power peripherals or USB hubs you’ll probably be OK doing so. In either case, the safest bet is to buy a power supply either at one of the retailers above or get a micro-usb power supply (the one used for your cellphone or tablet might be able to power the Raspberry Pi).

Ethernet Cable – You’ll want an Ethernet cable for your Pi so you can give it an Internet connection; you’ll at least need to set it up on a local network for remote access. The cables are pretty cheap, and you probably have an extra one lying around somewhere. If you don’t you can pick one up online with your Raspberry Pi or at a local retail store. USB Keyboard/Mouse – This is fairly straightforward. You’ll need a keyboard and mouse to develop on the Pi.
The default desktop of the Raspbian Wheezy Operating System running on a Raspberry Pi

The default desktop of the Raspbian Wheezy Operating System running on a Raspberry Pi

The parts listed above are what you’ll need to get started doing anything with your Raspberry Pi. Once you’ve gotten a hold of these items, you can start looking into developing the next cool Pi Project. Intrepid developers have created everything from robots to low-powered FM transmitters and webservers; they’ve even creating mini-supercomputers by parallelizing many Raspberry Pi’s. Check back again on EEWeb for more Raspberry Pi articles!

Tags: Raspberry-Pi, Linux,

Comments on this post:

Mark Harrington

2 years ago:  Nice start lets have some lessons on unix as well including how to set up telnet and ftp servers, and so forth looking forwrad to developing projects along side you in various langauges

Mark ,"Just bought one myself B type " So i cant wait to get stuck into the java side of the subject on this not to mention other languages including c and C++ I haven’t got as far as powering mine up yet I’m busy trying to decide what peripherals I’m going to add to this

I think I’m going to make my own power supply for this I can see the weak link is going to be the Micro USB at the moment also I’m going to build my own case suggestion here is Perspex with a thin metal shield under the pcb obviously mounted off the via suitable spaces nuts and bolts and earthed The mini USB is going to break with early ages even older ages

You have to be so careful with this so I’m suggesting possible change to this with hardwire via the schematic but ill post picture as and when its done which i hope not to be to long from now PS word of advice don’t rush take your time with this and most importantly read documentation thoroughly especially when configuring IO ports If you get this wrong you can muck the unit up Care and attention and don’t rush

Mark Harrington

2 years ago:  Alos just another point of interest the RPI does draw more current than 750ma depending on what your doing so again be carefull with USB plug ins and SD cards etc There is a full recommended what to use and what not to use inclusive makes posted on thier site


Also read very carefully "verified peripherals Important NB !! take note

Mark Harrington

2 years ago:  Might be an idea before you start with this to build a simple Linux box Old computer or something as this will at least show you the basics of linux and various how too's etc ,man pages etc You can also download suze linux for free put this onto a old pc check the specs first for what you intend to put on it or their is ubantu but I think there is a small charge for this now Then you can practice on the main box before attempting on the RPI

It’s just some practical advice This can be quite daunting if you have never done this before

Most people work with windows not Linux although I guarantee one they see what you can do with Linux they will soon change

Look like we going to have an interesting year for a change It would be nice wouldn’t it !

Mark Harrington

2 years ago:  You can see why this has caught my eye cant you !!

Mark Harrington

2 years ago:  Here is a complete list of Linux how too's to get you started with understanding Linux

Excellent bed time reading he he he he !!

Login or Register to post comments.
Like Free Stuff? Click Here!
EEWeb Weekly Giveaway Sponsored by Mouser This Week: Phoenix Contact SF-M SET 2 Bit Screwdriver Set
Enter Here
Login and enter if you're already a member.
Click Here