# AdaBox 005

## Introduction

https://www.youtube.com/watch?v=KXWd9noYqxg

[If you're looking to subscribe to AdaBox, click here!](https://www.adafruit.com/adabox)

# Hi there!

If you're here, it's because you were given the gift of electronics with an AdaBox! You are a beginner who is getting started with your AdaBox or you just want to relive what it's like being a beginner at electronics again. But most of all, you want to learn how to build and make stuff with electronics! ([If, rather than learn electronics, you'd like to look at pictures of cats instead, please check https://www.adafruit.com/galleries/cats-of-engineering](https://www.adafruit.com/galleries/cats-of-engineering))

And, you're in luck: there's _never_ been a better time.

Gone are the days where you need thousands of dollars of equipment and lots physics/math background. Nowadays, if you want to learn to work with electronics, you can jump right in for $100 or less, and any sort of computer. And we're talking about learning _a lot_ of electronics - from the basics of analog to the complexities of embedded Linux. With a good pack of parts, you can build a base of knowledge that will take you from your first blinking LED to someone who can start prototyping and inventing custom products.

# Who is this for?

Anyone with a computer they can install software on, with a TV and a love of video games! That's pretty much the minimum. Remember, this guide is specifically for people who have purchased or received an AdaBox subscription.

**You don't need to know a lot of physics or math** , and just like an Art Degree isn't required for making art and being creative, **you _don't_ need to have a computer science degree**. It helps if you're comfortable using computers but that's a skill most people pick up through life.

**If you know how to solder or use Raspberry Pi already - great! If not, don't worry, we'll teach you enough to be dangerous.**

# Who **isn't** this for?

While you can follow along without an AdaBox, it will not make as much sense unless you have _all_ of the components and more which either came as a gift or purchased yourself - remember, the goal is helping beginners!

If you're an expert, please visit our hundreds other tutorials and jump right in at [learn.adafruit.com](learn.adafruit.com)

# Who are you?

Great question. This is me:

https://youtu.be/VDIwnLllLZQ

I'm Ladyada, and I love to teach people how to build stuff and how they can be creative with technology.

So, are you ready?

Let's do this thing!

# AdaBox 005

## Unboxing AdaBox 005

You've consumed four AdaBoxes - the equivalent of a delicious, nutritious, meal of DIY electronics. And now it's time for dessert.

Pour yourself some coffee (or a nice cold glass of milk) because it is finally time for Raspberry Pi.

![](https://cdn-learn.adafruit.com/assets/assets/000/045/837/medium800/raspberry_pi_Adabox_05_kit_ORIG.jpg?1504019771)

# Kit Contents

- [Raspberry Pi Zero](https://www.adafruit.com/product/2885) -&nbsp;This is the slimmest, most pared down Raspberry Pi to date. &nbsp;It's kind of like the little cousin to the [Pi 2](https://www.adafruit.com/product/2358) - with just a micro SD card slot, a mini HDMI port, two micro USB ports (one for power, one for USB), and 512MB of RAM. It has a single-core 1 GHz processor chip, similar to the Pi A+ and B+. These Pi's are limited but the Pi Foundation kindly helped us out to get one in each Adabox!
- [Adafruit Joy Bonnet](https://www.adafruit.com/product/3464) -&nbsp;Pocket-sized fun is the name of this game, with the **Joy Bonnet** &nbsp;–&nbsp;our most fun Bonnet ever (no we didn't even think that was possible, either!). This Bonnet fits perfectly on top of your Raspberry Pi Zero (any kind) and gives you adorable hand-held arcade controls. Once you install our script onto your Pi, the controls will act like a keyboard, for easy use with any emulator or media player.
- [Raspberry Pi Zero Case](https://www.adafruit.com/product/3252) -&nbsp;This is a basic, classic **Pi Zero enclosure** with a black base and a clear top.&nbsp;The case is as minimal as it gets, coming in just two pieces of polycarbonate that snap snugly together. This case will keep your&nbsp;Pi Zero safe and secure while also looking super sleek.
- [Mini HDMI Cable](https://www.adafruit.com/product/2775)- This cable is nice and long, you can plug in one half into your&nbsp;Pi Zero and the other into a TV
- [Hammer Headers](https://www.adafruit.com/product/3413) - courtesy of our friends at Pimoroni -&nbsp; **Absolutely no soldering required!** All that's needed is a few gentle taps with a hammer and bazinga! Your header is securely attached to your Pi Zero.
- [USB&nbsp;Power Supply](https://www.adafruit.com/product/1995)- This power adapter has a long cord and a micro USB connector on one end. Plug it into your Pi Zero to power it. Its plenty strong! If you are not in the US, you can use a common '$1' plug adapter, the power supply can take 100V-240V 50-60Hz power and just needs a plug adapter.
- [8GB SD Card](https://www.adafruit.com/product/2767)- Lots of space! This SD card will hold the _operating system_ (Raspbian) and video games you will play
- [USB MicroSD Card Reader](https://www.adafruit.com/product/939)- We added one of these in case you do not already (Adabox is for beginners!) You can use it to read/write data from the SD card

![](https://cdn-learn.adafruit.com/assets/assets/000/045/838/medium800/raspberry_pi_Adabox_05_iso_packaging_ORIG.jpg?1504019801)

# Bonus parts (for subscribers only!)

- **EAGLE insert** - Check out the EAGLE design for the Adafruit Joy Bonnet! This is the real design, with some nifty colors, so you can get a sense of what it's like to design a PCB. Autodesk's EAGLE is a great way to start designing electronics. Makers and students can download EAGLE for free.
- **Pi Foundation&nbsp;swag** - it wouldn't be a pi-break without some fun stuff from the Raspberry Pi foundation. They've included the latest MagPi magazine, a fun offer for MagPi subscribers, and a few stickers to show your love of all things Pi.
- **Limited Edition Collectible Pin** - Joy is the super fun game controller friend you've always wanted. While most everything makes her smile, DIY gaming rigs make her grin tooth to tooth.&nbsp;

![](https://cdn-learn.adafruit.com/assets/assets/000/045/839/medium800/raspberry_pi_Adabox_05_top_Magpi_ORIG.jpg?1504019812)

# AdaBox 005

## Getting started with your new AdaBox

![](https://cdn-learn.adafruit.com/assets/assets/000/046/185/medium800/raspberry_pi_3464-06.jpg?1504729189)

With this AdaBox, you will be able to create a tiny gaming machine that will fit in your pocket. Take it out, attach to power and your tv and play all of your favorite classic games.

Like all AdaBoxes, there is no soldering required. We have partnered with our&nbsp;pals at Pimoroni to include the neat Hammer Headers. With this project, you should be gaming in no time.

As usual, our team of Creative Engineers have come up with some really unique projects for those who want to take the theme of this box to the next level.

Let's get started!

# AdaBox 005

## Step 1: Install the Hammer Headers

These awesome Hammer Headers from our friends at [Pimoroni](https://pimoroni.com/)&nbsp;allow you to fit the male&nbsp;header to your Pi Zero with absolutely no soldering required. Nifty! Here, you'll learn how to fit them using the&nbsp;jig that comes with the kit.

**It's important to hammer on a sturdy, stable, well-supported surface like a worktop or a solid wood table (although not your expensive dining table!)**

The jig comes in three pieces, and has two nylon bolts. Snap apart the acrylic pieces, and peel off the protective film (althought this isn't absolutely necessary).

Danger: 

https://vimeo.com/232544504

Push the nylon bolts through the larger plastic piece with the long rectangular hole cut in it for the GPIO pins. It doesn't matter which way up this piece is.

![](https://cdn-learn.adafruit.com/assets/assets/000/045/856/medium800/raspberry_pi_hammer-header-tut-1.jpg?1504036133)

Next, put the other rectangular acrylic piece below it, so that the heads of the nylon bolts fit neatly into the two holes. This piece prevents the pins from being pushed too far through.

![](https://cdn-learn.adafruit.com/assets/assets/000/045/855/medium800/raspberry_pi_hammer-header-tut-2.jpg?1504036131)

Now, push your Pi Zero PCB, right way up, onto the jig.

![](https://cdn-learn.adafruit.com/assets/assets/000/045/854/medium800/raspberry_pi_hammer-header-tut-3.jpg?1504036130)

Place the hammer header on top of the pin holes on your Pi Zero, making sure that the longer ends of the pins (without the retaining nubbins) are pointing upwards.

![](https://cdn-learn.adafruit.com/assets/assets/000/045/853/medium800/raspberry_pi_hammer-header-tut-4.jpg?1504036128)

Now, place the last acrylic piece on top of the pins and push it down until it touches them.

![](https://cdn-learn.adafruit.com/assets/assets/000/045/852/medium800/raspberry_pi_hammer-header-tut-5.jpg?1504036126)

Using a hammer, gently tap back and forth on the top acrylic piece to push the pins through. Pushing one end of the header all the way it can cause the other pins to bend when you hammer them in. It's worth taking your time over this part.

Danger: 

![](https://cdn-learn.adafruit.com/assets/assets/000/045/851/medium800/raspberry_pi_hammer-header-tut-6.jpg?1504036125)

# AdaBox 005

## Step 2: Burn image to SD card

Next step is to burn our custom image onto the SD card.&nbsp;This image is a custom version of RetroPie / Emulation Station with some free or open source games pre-loaded, and set up to work with the Joy Bonnet.

Click the button below to start downloading the image. This is a large file and may take awhile!

[Download Custom Image](http://adafruit-raspberry-pi.s3.amazonaws.com/adabox005.rar)
While that image downloads, go ahead and download Etcher. A free piece of software that will easily allow you to flash&nbsp;the image onto your SD card. [Head to Etcher.io](https://etcher.io) and download/install the correct version for your operating system.

Once the custom image file has downloaded, you will need to extract it. The file is a .rar file, so if you don't have any way to extract that file type, see below.

For Windows computers, [use 7-Zip to extract the .rar file](http://www.7-zip.org).

For Mac computers, use [The Unarchiver](https://theunarchiver.com).

# Flash!

Once you have extracted the .rar file, you should see a file called **pizerogamer.img**. Go ahead and open up the Etcher app. Click the Select image button and find the **pizerogamer.img** file. Then pull the micro SD card out of the 8GB SD card and insert the micro SD into the micro SD card reader provided. Plug this into your computer and Etcher should automatically find the drive. If not, click the Select drive button and find the SD card. Then click the Flash! button.

![](https://cdn-learn.adafruit.com/assets/assets/000/045/978/medium800/raspberry_pi_Etcher_and_Adafruit_Learning_System.png?1504192064)

This can take some time to flash. While you wait, you can install the case onto your Pi Zero. Snap the Pi Zero into the bottom of the case, then put the top on. Once you have that done you can install your Joy Bonnet over the case like this:

![](https://cdn-learn.adafruit.com/assets/assets/000/045/979/medium800/raspberry_pi_gaming_3464_iso_demo_ORIG.jpg?1504196254)

Once you get the Flash Complete! screen in Etcher, go ahead and remove the micro SD card from the reader and install in your Pi Zero (there is an opening in the case to slide it in).

# Support Your Joy Bonnet

Thanks to a hot tip from [Adafruit Forums member cvadillo](https://forums.adafruit.com/viewtopic.php?f=50&t=123637&p=619544#p618773), you can take the extra piece of plastic from the case that you removed over the header pins, and use that to support your Joy Bonnet. Just slide it under the Joy Bonnet like so:

![](https://cdn-learn.adafruit.com/assets/assets/000/046/757/medium800/raspberry_pi_262-rz.jpg?1506541981)

And now you are ready to hammer away on those buttons without worrying about causing stress on your hammer header connection.

![](https://cdn-learn.adafruit.com/assets/assets/000/046/758/medium800/raspberry_pi_268-rz.jpg?1506542046)

# AdaBox 005

## Step 3: Play!

![](https://cdn-learn.adafruit.com/assets/assets/000/046/184/medium800/raspberry_pi_3464-05.jpg?1504728427)

First, install the micro SD card into the Raspberry Pi Zero. Then, plug in the HDMI cable to a monitor or TV. You will need to use the mini HDMI side of the cable on the Raspberry Pi Zero, and the full size HDMI for your TV or monitor. Now, use the included power adapter and plug it in to the 'PWR IN' port on the Raspberry Pi Zero.

You should see it almost instantly start to boot up into the RetroPie system. Give it plenty of time to fully boot up and you should be able to scan through all of the available emulators and we have included some free games to get you started.

# Adding Games

If you want to add games to your tiny new gaming system, load them up on a USB drive [as instructed here.](https://github.com/retropie/retropie-setup/wiki/Transferring-Roms)&nbsp;Then, using the included micro USB adapter, transfer them using the USB port on the Raspberry Pi Zero labeled 'USB'.

# AdaBox 005

## AdaBox Upgrade: Haunted Portrait

![](https://cdn-learn.adafruit.com/assets/assets/000/046/686/medium800thumb/raspberry_pi_projects_mainLoopWPark.jpg?1505921524)

With the help of Adabox 005 parts, John Park built this super creepy haunted portrait project.

> You can make&nbsp;a seemingly innocuous portrait come to life using an ornately framed flat panel TV powered by a Raspberry Pi. With proper lighting, it will look just like a painting, but every so often, the portrait subject's eyes will shift their gaze ever so slighting, sending chills up the spines of your unsuspecting victims, er, friends.
> 
> You'll use a hidden Raspberry Pi Zero as the&nbsp;image playback device to drive the TV over HDMI. Plus, you'll have a set of controls available using the buttons and thumbstick of the Joy Bonnet so you can pause and start the show, and more!

[Check out the full guide here!](../../../../haunted-portrait)

# AdaBox 005

## Need Help? Questions?

# AdaBox 005

## Redeem your coupon code

To redeem your AdaBox coupon code, sign into your Adafruit account then click 'My Account' on the top right of the Adafruit page.

![](https://cdn-learn.adafruit.com/assets/assets/000/035/495/medium800/arduino_Screen_Shot_2016-09-05_at_11.48.13_AM.png?1473090515)

Once you're in your account page, click 'Gift Certificates and Coupons.

![](https://cdn-learn.adafruit.com/assets/assets/000/035/496/medium800/arduino_Screen_Shot_2016-09-05_at_11.48.54_AM.png?1473090556)

Your coupon code will appear under 'account coupons.'

This code is associated with your AdaBox order and can be used once per AdaBox subscription. You must be logged into the Adafruit account associated with your AdaBox order to redeem your coupon code. If you received AdaBox as a gift, the code will appear in your account once you link your Adafruit account to the AdaBox you received.

Shipping costs do not count towards free items. Discount codes do not apply to shipping costs. Discount codes do not apply to gift certificates and software. Only one discount code can be applied if available. Discount does not apply to orders placed before the sale time start. Discount can not combine with reseller, educational, or any other discounted orders.

&nbsp;


## Featured Products

### Adafruit Joy Bonnet for Raspberry Pi

[Adafruit Joy Bonnet for Raspberry Pi](https://www.adafruit.com/product/3464)
Pocket-sized fun is the name of this game, with the **Joy Bonnet** &nbsp;–&nbsp;our most fun Bonnet ever (no, we didn't even think that was possible, either!). This Bonnet fits perfectly on top of your Raspberry Pi Zero (any kind) and gives you adorable hand-held arcade...

Out of Stock
[Buy Now](https://www.adafruit.com/product/3464)
[Related Guides to the Product](https://learn.adafruit.com/products/3464/guides)
### Raspberry Pi Zero - Version 1.3

[Raspberry Pi Zero - Version 1.3](https://www.adafruit.com/product/2885)
At first glance, the Pi Zero isn't much. &nbsp;It just looks like a slimmed down version of the Raspberry Pi we know and love. &nbsp;But when we started to think of the possibilities - [and what a well-chosen set of accessories could add](https://www.adafruit.com/product/2816) -...

In Stock
[Buy Now](https://www.adafruit.com/product/2885)
[Related Guides to the Product](https://learn.adafruit.com/products/2885/guides)
### AdaBox001 - Welcome to the Feather Ecosystem

[AdaBox001 - Welcome to the Feather Ecosystem](https://www.adafruit.com/product/3193)
 **Please note! This is NOT the subscription version of AdaBox! This is _ONLY_ AdaBox001 that shipped out to AdaBox&nbsp;subscribers in September of 2016. &nbsp;This version does&nbsp;not include free shipping, the lithium ion battery,&nbsp;or AdaBox subscriber exclusive pin....**

No Longer Stocked
[Buy Now](https://www.adafruit.com/product/3193)
[Related Guides to the Product](https://learn.adafruit.com/products/3193/guides)
### AdaBox002 – Making Things Move

[AdaBox002 – Making Things Move](https://www.adafruit.com/product/3235)
 **AdaBox002&nbsp;- Making Things Move** with our Feather Bluetooth LE Mini Robot Rover is the perfect gift for folks who are just getting started in the world of DIY electronics. It's an excellent&nbsp;introduction to our wide world of <a...></a...>

No Longer Stocked
[Buy Now](https://www.adafruit.com/product/3235)
[Related Guides to the Product](https://learn.adafruit.com/products/3235/guides)
### AdaBox003 – The World of IoT – Curated by Digi-Key

[AdaBox003 – The World of IoT – Curated by Digi-Key](https://www.adafruit.com/product/3268)
**AdaBox003 –&nbsp;The World of IoT (Curated by Digi-Key)** is the perfect gift for folks who are just getting started in the world of DIY electronics. It's an excellent&nbsp;introduction to our wide world of the [Internet...](https://www.adafruit.com/category/342)

No Longer Stocked
[Buy Now](https://www.adafruit.com/product/3268)
[Related Guides to the Product](https://learn.adafruit.com/products/3268/guides)
### AdaBox004 – Making Things Dance

[AdaBox004 – Making Things Dance](https://www.adafruit.com/product/3370)
 **AdaBox004&nbsp;–&nbsp;Making Things Dance** &nbsp;is the perfect gift for folks who are just getting started in the world of DIY electronics. It's an excellent addition to our family of Feather projects, and a great way to test the waters of AdaBox before committing to...

No Longer Stocked
[Buy Now](https://www.adafruit.com/product/3370)
[Related Guides to the Product](https://learn.adafruit.com/products/3370/guides)

## Related Guides

- [Haunted Portrait](https://learn.adafruit.com/haunted-portrait.md)
- [NES Cart RetroPie Game Console](https://learn.adafruit.com/nes-cart-retropie.md)
- [CNC Joy Bonnet Case](https://learn.adafruit.com/joy-bonnet-case.md)
- [Adafruit Joy Bonnet for Raspberry Pi](https://learn.adafruit.com/adafruit-joy-bonnet-for-raspberry-pi.md)
- [MakeCode Arcade with Raspberry Pi Zero](https://learn.adafruit.com/makecode-arcade-with-raspberry-pi-zero.md)
- [Game & Watch Octopus](https://learn.adafruit.com/game-watch-octopus.md)
- [MakeCode Arcade with SAMD51 M4](https://learn.adafruit.com/makecode-arcade-with-samd51-m4.md)
- [Adafruit Arcade Bonnet for Raspberry Pi](https://learn.adafruit.com/adafruit-arcade-bonnet-for-raspberry-pi.md)
- [DOOM on Fruit Jam](https://learn.adafruit.com/doom-on-fruit-jam.md)
- [Adding a Real Time Clock to Raspberry Pi](https://learn.adafruit.com/adding-a-real-time-clock-to-raspberry-pi.md)
- [Playing Arduboy Games on Arcada](https://learn.adafruit.com/playing-arduboy-games-on-arcada.md)
- [Plush Game Controller](https://learn.adafruit.com/plush-game-controller.md)
- [DIY Adaptive Game Controllers](https://learn.adafruit.com/diy-adaptive-game-controllers.md)
- [Adafruit IO Environmental Monitor for Feather or Raspberry Pi](https://learn.adafruit.com/adafruit-io-air-quality-monitor.md)
- [Arcade Coin-Op](https://learn.adafruit.com/arcade-coin-op.md)
