DIY Linux

Getting Started with Raspberry Pi Zero

Christian Cawley 16-02-2016

Whether you were lucky enough to buy a magazine with one glued to the front, or you’ve patiently waited after buying the full kit online, the chances are that you’re now the proud owner of a $5 computer, the Raspberry Pi Zero Raspberry Pi Launches $5 Model Zero: Here's How It Compares The Raspberry Pi foundation just announced the Raspberry Pi Zero: it's essentially a cut-down Raspberry Pi, with a price tag to match: each one costs $5. That isn’t a typo. Read More .

This guide is available to download as a free PDF. Download Getting Started with Raspberry Pi Zero now. Feel free to copy and share this with your friends and family.

This remarkable slimline iteration of the Raspberry Pi shares hardware attributes with the Raspberry Pi A+ What Can You Do With The New Raspberry Pi A+? Curiously, this new Raspberry Pi doesn't feature any additional hardware. In fact, it has fewer ports. Just what are the Raspberry Pi Foundation up to? Read More , while bringing affordable computing and projecting to anyone with around $5 in their pocket.

If the Raspberry Pi was revolutionary, this takes that revolution to absolutely anyone who wants it, anywhere in the world.

What Is the Raspberry Pi Zero?

It’s unlikely that you’ve ever had problems with the dimensions of the already compact Raspberry Pi, but just in case you have a need for an ultra-low-profile minicomputer with very little weight, the amazing chaps at the Raspberry Pi Foundation and its manufacturing partners (PremierFarnell, RS Components and Egoman) have done it again with the tiny Pi Zero.


The latest iteration of the Raspberry Pi is essentially a model A+ but with the ports removed, compressed into a single Micro USB OTG port (the familiar Micro USB power connector remains, the port on the right in the diagram above, supplying a lower-than-previous ~160 mA) and a Mini-HDMI port (RCA composite video is also available via the GPIO, ready for an optional connector to be soldered on). Audio is also sent via Mini-HDMI, but there is a PWM connection on the GPIO for DIY analogue audio out.


At the heart of the Pi Zero is a Broadcom BCM2835 SoC, housing a 1 GHz ARM1176JZF-S single-core CPU, Broadcom VideoCore IV @ 250 MHz GPU (still with HD support), and 512MB SDRAM.


Finally, a MicroSDHC slot is provided, for high storage disks with robust error-connection, while the GPIO is – in a Raspberry Pi first – unpopulated, which means you need to solder your own pins onto the Pi Zero. Among the “missing” components, you’ll find that there is no video input for the Raspberry Pi camera and NoIR camera modules.

Oh, and it’s just $5. Did we mention that?


Resembling a piece of laptop RAM, the only way the Pi Zero could be any smaller is if it was packaged without the USB or HDMI connector. But that would lead to problems with developing projects.

What Do You Get in the Box?

Various kits are available, depending on where you get your Pi Zero from. Following launch of the computer, supplies are very low, thanks to the great success of the device launch. However, various sites currently offer kits for pre-order. list a couple of kits. In the first, you’ll get the Pi Zero, a mini HDMI adaptor and a micro USB OTG cable, which can be connected to a (preferably powered) USB hub, providing connectivity for wireless dongles, keyboard, mouse, external HDD, and any other USB components you need to connect. There’s also a row of GPIO (General Purpose Input/Output) pins for you to manually solder onto the board.



You will also find a more modest kit, like that shipped on the cover of MagPi magazine, offering the Mini HDMI adaptor, USB OTG cable, GPIO header pins, and little else.


Variant kits are also available, depending upon which supplier you use. Along with the USB OTG cable and HDMI adaptor, you might find options including microSD cards and adaptors, a tin or case, rubber feet, and even mains adaptors.

Note that these kits will increase the basic price, depending upon which package you opt for. So while the Pi Zero on its own is only $5 (or £4 in the UK), this might shoot up to $20 or even beyond with the cables, microSD card and GPIO.


Size Comparison

At 65 mm × 30 mm × 5 mm (2.56 in × 1.18 in × 0.20 in), the Raspberry Pi Zero is one hell of a tiny computer.


Less than half the size of the traditional Raspberry Pi, it’s even-more-compact dimensions make it ideal for projects that require a board that can slip into small gaps, as well as one for which weight is a consideration. For example, the Raspberry Pi 2 5 Things Only a Raspberry Pi 2 Can Do The latest edition of the pint-sized computer is awesome. So awesome, in fact, that there's 5 things you can only do on a Raspberry Pi 2. Read More weighs 45 g (1.6 oz); in contrast, the Pi Zero is just 9 g (0.32 oz).

Get Started with the Raspberry Pi Zero

Now you’ve met the Raspberry Pi Zero, it’s time to get it setup, switched on, and start your project. To begin with, you’ll need to install an operating system onto a microSD card. This is done by inserting the card into your computer, usually using an adaptor (although some tablets and notebooks have built in slots for microSD cards), and writing your chosen Raspberry Pi distro to the card.


Currently, the best OS for the Pi Zero is Raspbian Jessie 5 Ways New Raspbian Jessie Makes Raspberry Pi Even Easier to Use Following the release of Debian Jessie in July, the Raspberry Pi community has been blessed with a new release of the Raspbian variant, based on the "parent" distro. Read More . This free operating system is available from the Raspberry Pi Downloads page and can be installed on any Raspberry Pi model to date. Note that two versions are available, the Full desktop image and the Minimal image. The latter comes without some of the expected tools, but is a faster download and takes up less space on the SD card.

Writing the operating system is straightforward regardless of what operating system you’re using.

Installing Raspbian with Windows

While Raspbian is downloading (or on slower connections, after), head to Sourceforge to download your copy Win32 Disk Imager. When complete, install it.


Once you have downloaded and unzipped the Raspbian, insert your formatted (using the SD Association’s Formatting tool) microSD card into your PC’s card reader (or a suitable USB card reader). Run Win32 Disk Imager, and ensure the drive letter corresponding to your microSD card is selected in Device.

Click in the Image File field to find the unzipped Raspbian .IMG file, select it, then Write. Wait until the progress bar has finished and Win32 Disk Imager informs you that writing has completed, and then safely remove the card from your PC. You can now pop it into the powered-off Pi Zero, connect the power cable and boot up. Our full guide for using the Win32 Disk Imager to install Raspbian provides even more information How to Install an Operating System on a Raspberry Pi Here's how to install an OS on your Raspberry Pi and how to clone your perfect setup for quick disaster recovery. Read More .

Installing Raspian with a Mac

Apple Pi Baker provides a similar feature set as Win32 Disk Imager. Once your card is inserted and recognised, select it from the list on the left; then select your downloaded .IMG file from the right, and click Restore Backup.


Don’t forget to eject the card when you’re done to prevent data corruption.

Hey, NOOBS, Flash This!

Rather than install Raspbian this way, why not take a look at NOOBS? This software, which can be copied straight onto a formatted SD card, contains a number of different OSes (including Raspbian), ready for you to experiment with.


Due to the modest connectivity options of the Pi Zero, we would advise the full, offline NOOBs installation, which means that each of the operating systems offered with NOOBS is available for your Pi Zero without additional downloads. If you have a full-size Raspberry Pi, you can also use the online NOOBS installer to complete the installation, and then insert the card into your Pi Zero.

For the best results, Raspbian Jessie should be your preferred OS, at least at first. How you install it is up to you!

You might also be interested in creating a full disk image backup Easily Clone Your SD Card For Trouble-free Raspberry Pi Computing Whether you have one SD card or several, one thing that you will need is the ability to back up your cards to avoid the problems that occur when your Raspberry Pi fails to boot. Read More to save time with installation and setup in future.

Pre-Installed SD Cards

Don’t have an SD card for your Raspberry Pi Zero? Missing a card reader, or don’t have the bandwidth to download a copy of Raspbian? Don’t worry – you can purchase microSD cards from Amazon with NOOBS pre-installed!

Connecting the Cables

With your Pi Zero operating system writing to SD card, now is the time to connect the cables. If you want to see output from the Pi Zero on your monitor, connecting the HDMI adaptor cable should be your first step (unless you already have a suitable Mini-HDMI cable).


Are you planning on adding a USB device? You might opt to add a wireless dongle, as the Pi Zero doesn’t ship with built in Wi-Fi or an Ethernet port. With a Wi-Fi dongle added, you’ll be able to connect to the Pi Zero remotely via SSH, for instance, although note that this will require system resources and if you opt to power the Pi Zero with batteries 3 Raspberry Pi Battery Packs for Portable Projects A Raspberry Pi battery can make a regular Pi into a portable computer. You'll need one of these battery solutions to get started. Read More , any network activity will reduce battery longevity.

Getting the Pi Zero Online

If you’re installing with NOOBS, you’ll need to take care to download the full, offline installer, as opposed to the lighter option. This will ensure you actually have an operating system to install, as opposed to a menu giving you a choice of OS to download.

Should you choose the lighter, online installation with NOOBS, you’ll need to first ensure that the Pi Zero is connected to the Internet. In the absence of an operating system with which to setup wireless networking, you’ll need to find a compatible USB Ethernet adaptor, which might be micro USB compatible, or else standard USB connected to the an adaptor.

However, other options exist. One popular alternative is connecting a mini Ethernet PCB to the Pi Zero’s GPIO, but this isn’t an easy task for beginners. One thing to keep in mind is that connecting an Ethernet cable into the Pi Zero will almost guarantee instant connectivity; connecting a wireless dongle may not.

Plugable USB 2.0 OTG Micro-B to 100Mbps Fast Ethernet Adapter Compatible with Windows Tablets, Raspberry Pi Zero, and Some Android Devices (ASIX AX88772A chipset). Plugable USB 2.0 OTG Micro-B to 100Mbps Fast Ethernet Adapter Compatible with Windows Tablets, Raspberry Pi Zero, and Some Android Devices (ASIX AX88772A chipset). Buy Now On Amazon $13.89

One shortcut you can use is to setup Raspbian and your wireless USB dongle on a full size Raspberry Pi. With the wireless card setup – the SSID is detected, the username and password input, and the connection made – you should then shutdown the Raspberry Pi, remove the microSD card and insert it into your Pi Zero. Similarly, remove the Wi-Fi USB dongle and attach this to the Pi Zero and boot up. If all has gone smoothly, you’ll have saved time downloading, installing and configuring Raspbian for the Pi Zero, and have the device online immediately.

With the Raspberry Pi Zero online, you will be able to install new tools, browse the web, access the Pi Store 5 Ways To Install Software On Raspberry Pi To do anything with a Raspberry Pi, you'll need to know how to install an operating system, and software to run on it. If you're new to Linux, this can be daunting. Read More and connect to other devices on your network.

Mouse and Keyboard Options

How will you control the Pi Zero? The obvious option would seem to be with a mouse and keyboard, but the limited USB connection options (unless you have a powered USB hub connected) may put a dampener on this.

Rii 2.4G Mini Wireless Keyboard with Touchpad Mouse,Lightweight Portable Wireless Keyboard Controller with USB Receiver Remote Control for Windows/ Mac/ Android/ PC/Tablets/ TV/Xbox/ PS3. X1-Black . Rii 2.4G Mini Wireless Keyboard with Touchpad Mouse,Lightweight Portable Wireless Keyboard Controller with USB Receiver Remote Control for Windows/ Mac/ Android/ PC/Tablets/ TV/Xbox/ PS3. X1-Black . Buy Now On Amazon $17.99

While Bluetooth is an also option (and various keyboards with built-in touchpads are available), this will still require a USB mouse to initially setup, as well as a Bluetooth dongle. The Kano Raspberry Pi kit Kano: The DIY Computer For Kids To Code and Learn (Review and Competition) Can a small child build a computer and learn to code on it? To find out, I tested it on one 3 year old boy with little experience of computers, and his 9 year cousin,... Read More comes with such a keyboard and touchpad.

Other options for entering text and controlling your Raspberry Pi Zero are available, however, using SSH or VNC.

Should You Connect a Monitor or Not?

The initial response to anyone reading this might of course be “well, how else will I be able to control the Pi Zero?”. But you don’t need a monitor connected to the device in order to control it.

While the Pi Zero does an HDMI connector, you may find that this isn’t compatible with your TV. Don’t worry too much – if your TV or monitor has VGA, an inexpensive HDMI-to-VGA connector can be used, as we previously demonstrated 5 Ways to Display Your Raspberry Pi On a Monitor Or TV Back in the 1980s and 1990s, home computers didn’t rely on dedicated monitors to display operating systems, applications and games. In those days, things were far simpler. Instead of paying extra for a monitor, the... Read More .


You can also remotely connect to the Raspberry Pi Zero using a desktop or notebook computer. The most common way of doing this – and the easiest to setup – is with SSH Setting Up Your Raspberry Pi For Headless Use With SSH The Raspberry Pi can accept SSH commands when connected to a local network (either by Ethernet or Wi-Fi), enabling you to easily set it up. The benefits of SSH go beyond upsetting the daily screening... Read More , which gives you command line access.

Not enough? You can enjoy a remote desktop experience on your Raspberry Pi using VNC How to Run a Remote Desktop on Raspberry Pi with VNC What if you need access to the Raspberry Pi desktop from your PC or laptop, without having to plug in a keyboard, mouse and monitor? This is where VNC comes in. Read More . This can be improved upon, using the Xming tool for VNC over SSH, and Windows RDP (remote desktop protocol) can be used if you install xrdp onto your Raspberry Pi Zero. But note that these options both require Ethernet or Wi-Fi connectivity.

With these solutions applied, you won’t need a monitor for your Raspberry Pi, as you’ll be able to control it via an application window on your main computer. Note that SSH and VNC options are also available for Android smartphones and tablets, and these are ideal for connecting Android to your Raspberry Pi 6 Android Apps Every Raspberry Pi Owner Should Use There are a whole host of Android utilities that can be used by Raspberry Pi owners to make life easier, including a couple that are custom designed. Read More .

A Pi Zero Case

With your Raspberry Pi Zero connected, booted up and some method of controlling it established, it’s time to find somewhere to keep it safe. Four mounting holes are provided in the PCB which allow you to screw the Pi Zero to whatever project you happen to be working on, but you might also require a more reliable, sturdy home for the little computer.

A collection of Raspberry Pi Zero cases are available on Amazon, such as this compact, affordable offering:

Alternatively, you might rely on LEGO, or even 3D printing in order to achieve a safe home for the Pi Zero. Although the computer is smaller than the original Raspberry Pi, various ideas for DIY cases Some Crazy Ideas for Homemade Cases For The Raspberry Pi As the owner of a Raspberry Pi, I’ve spent a bit of time looking for a suitable case for my versatile miniature computer. For a time I settled on the popular “punnet” design that other... Read More still apply to the compact little brother.

Adding Pins to the GPIO

Your Raspberry Pi Zero is capable of doing most of the things that a full-sized Pi can do… eventually. Straight out of the box, however, you’re a bit limited thanks to the lack of GPIO pins.

Pins are either shipped in a separate container, or if you were lucky enough to get the Pi Zero on the front cover of MagPi magazine, they’re not there at all. As a result, you’ll need to order a suitable array of pins, not only for the GPIO, but also for the four pins next to the Raspberry Pi logo. These pins for the run/reset jumper, when fitted, enable you to turn off your Raspberry Pi safely How To Add a Reset Switch To Your Raspberry Pi Removing and replacing the USB power cable puts undue wear and tear on your Raspberry Pi, particularly the power port itself. What the system really needs is a reset switch, but sadly none was included. Read More with a Python script.

If you know how to solder, you should be fine with these new components. Otherwise, spend some time reading our soldering tutorial Learn How to Solder, with These Simple Tips and Projects Are you a little intimidated by the thought of a hot iron and molten metal? If you want to start working with electronics, you're going to need to learn to solder. Let us help. Read More . Bear in mind, however, that you might not actually want pins connecting to the GPIO. You might, for example, prefer a female header, as demonstrated in this video.

Meanwhile, if you’re not really sure whether you’ll need the GPIO at all, check our in-depth look at using the pins, and how you can communicate with any Raspberry Pi Getting Started With GPIO On a Raspberry Pi If you though the Arduino was cool, just wait till you get your hands on a Raspberry Pi - these things are amazing. As well as being a fully functional computer, they also have a... Read More more directly than you would via USB.

What the Pi Zero Means for Projects

You’re probably not going to buy the Pi Zero to use it as a desktop computer Use Your Raspberry Pi Like a Desktop PC There are so many amazing things that you can do with a Raspberry Pi, from running your own space program to building a media centre. Although ostensibly intended as a compact computer that can be... Read More . Rather, this compact, half-sized Raspberry Pi is capable of revolutionizing the project you’ve already built or the ones you’re looking at starting. To illustrate, here are five popular Raspberry Pi projects with a slight revision for Raspberry Pi Zero owners.

FM Radio Broadcast Your Own FM Radio Station, with a Raspberry Pi Sick of listening to babbling DJs and want to broadcast your own radio station? Raspberry Pi will come to your rescue, with its previously unknown ability to broadcast on the FM band. Read More

With GPIO pins added, the FM radio project can become even more compact. No network connectivity is required, and a compact rechargeable battery will make situating this project even easier (useful if you’re situated in a land governed by an oppressive regime 5 Ways to Avoid Censorship & Reach Your Audience with Technology Censorship prevents you from sharing your message with your audience. Technology can be a way around that. Here are ways to unmute yourself and get your message out. Read More ).

Home Automation with OpenHAB Getting Started with OpenHAB Home Automation on Raspberry Pi OpenHAB is a mature, open source home automation platform that runs on a variety of hardware and is protocol agnostic, meaning it can connect to nearly any home automation hardware on the market today. Read More

Although a network connection is required for this project, the compact dimensions of the Pi Zero improve the possibilities of creating a compact, tidy home automation project.

Airplay Receiver Turn An Old Amp Into A Smart Streaming Speaker With Raspberry Pi The ultimate self-contained music streaming speaker, with support for Spotify, Google Music, SoundCloud and Airplay. Let's do it. Read More

With this project, the little Pi Zero will need a network connection for streaming. However, the smaller dimensions mean that it can be easily migrated to other combo amps of virtually any size.

Build a Raspberry Pi iBeacon Build a DIY iBeacon with a Raspberry Pi Advertisements targeted to a particular user walking through a metropolitan center are the stuff of dystopian futures. But that isn't a dystopian future at all: the technology is already here. Read More

It doesn’t need a network connection, although it does require Bluetooth. Like the FM radio, the half-sized Pi will require a battery, but as a PiBeacon is small enough to be hidden out of sight.

A Raspberry Pi Media Center The Easiest Raspberry Pi Media Centre, With RasPlex Read More

For many the holy grail of Raspberry Pi usage, the Pi Zero will need network connectivity and typically a USB drive, necessitating the addition of a powered USB hub. However, the Pi Zero itself is light enough to be mounted on the rear of a TV – or even, if you’re particularly adventurous, inside!

So, with the Pi Zero, all of these projects can be improved, either saving space or weight.

The Raspberry Pi Zero: A Must Have for DIY

DIY computing and robotics projects were given a shot in the arm by the original Raspberry Pi. Filling a surprisingly large niche that no one had previously identified in a satisfactory manner, the Pi became the de facto minicomputer, squeezing itself into spaces previously occupied by old PCs and discarded netbooks.

The Raspberry Pi Zero takes this success a step further, shrinking it down and introducing user choice for hardware components. Essentially a Raspberry Pi A+ on a strict diet, the Raspberry Pi Zero – costing just $5 – is the computer that everybody with an interest in educating children in computing and building DIY projects should own.

The fact that the price point is so cheap it can be bought for the price of a cup of coffee – and (in an industry first) mounted to the front of a magazine – means that more children around the world can get access to it, and develop the skills that can help to push their lives away from poverty.

How will you be using the Pi Zero? Have you already started or completed some projects? Tell us more in the comments.

Image Credit: Efa via Wikipedia

Related topics: Longform Guide, Raspberry Pi.

Affiliate Disclosure: By buying the products we recommend, you help keep the site alive. Read more.

Whatsapp Pinterest

Leave a Reply

Your email address will not be published. Required fields are marked *

  1. Rahul Sinha
    April 4, 2018 at 1:24 pm

    What we will do for analog audio in in Raspberry pi zero W?? How we receive user Audio and send it to the system?? Please give me the answer...

  2. moon man
    August 17, 2017 at 1:57 am

    awful article the board is a worthless POS
    i still can't get it to do anything at all
    you never tell us how to make it work with a keyboard i put rasbian jessie on my SD and th e zero boots up but i can;t log in because it won;t detect ANY keyboard i connect to it
    i canl;t SSH in because no wifi is setup and i can't setup wifi because i cant type anything because this POS board will not detect ANY keyboard i try to connect to it ,i tries 5 different jeyboard NONE of them work is there any image i can use that will work ,latest rasbian jessie lite doe snot work it boots but i can;t log in because there is no keyboard support, this board is worthless garbage do not but it ,it's crap

  3. Daniel
    November 9, 2016 at 5:47 pm

    My fist project is a audio-line switch for 4 inputs (PC, RasPlex, Airplay and XBox360) and 2 outputs (Speaker and Hedset).
    The device has a OLED-Display to show what is active and what is switched.
    Also a switch for the Mic (ON/OFF) is integrated.
    Because the device is smale, i used a Pi Zero.
    Test-system (and Software) is working now and i need the two prints for the relais, driver and buttons.
    The Pi Zero is perfect for such a smale device ;-)

  4. Christian Cawley
    March 4, 2016 at 1:29 pm

    I haven't come across anything as yet, but I'm sure a solution will be along soon. This may help:

  5. Sam
    March 3, 2016 at 3:39 pm


    Any idea for connecting pi zero with usb webcam (camera)?

    I tried using it with three diferent cameras but dose not work!!