# SnapPiCam Raspberry Pi Camera

## Overview

![](https://cdn-learn.adafruit.com/assets/assets/000/014/721/medium800/lcds___displays_IMG_2411.jpg?1393958994)

Make your very own open-source, Raspberry Pi linux-powered digital snappy camera with built in rechargeable battery! The SnapPiCam Raspberry Pi Digital Camera is a cool project showing what you can be done with a Raspberry Pi, PiTFT and acrylic enclosure. **This is a fairly advanced project, for people who are very comfortable with soldering, assembly, Raspberry Pi hacking, etc!**  
  
The Laser-Cut sets can be bought from [The LittleBox Company](http://thelittlebox.co/theshop) and the other major components are available from [Adafruit](http://adafruit.com).  
  
Inside is the 5 megapixel Raspberry Pi camera, this can be either the standard version or the Noir Infrared-sensitive edition. Power comes from a rechargeable [1200mAh LiPo](http://www.adafruit.com/products/258) battery. The battery is recharged via a Mini-B USB cable plugged into the built-in LiPo charger. A 2.8" [TFT + Touchscreen](http://www.adafruit.com/products/1601) at the back allows access to the camera's GUI.   
  
On the outside can be attached a variety of lenses including Fish-Eyes, Telephoto Lenses, Zoom lenses, and Macro Lenses. On the underside of the SnapPiCam is a standard 1/4-20 Nut for attachment to a Tripod.

# SnapPiCam Raspberry Pi Camera

## Pre-Checks

![](https://cdn-learn.adafruit.com/assets/assets/000/014/723/medium800/lcds___displays_IMG_2180.jpg?1393963580)

Info: 

# You'll need the following before you can begin.

## **Parts**

Raspberry Pi, camera, and power!

- 1 x Raspberry Pi Model A
- 1 x Raspberry Pi Camera ([Standard](http://www.adafruit.com/products/1367) | [Noir](http://www.adafruit.com/products/1567))
- 1 x [PiTFT](http://www.adafruit.com/products/1601)
- 1 x [LiPo Charger](http://www.adafruit.com/products/259)
- 1 x [1200 mAh LiPo](http://www.adafruit.com/products/258)
- 1 x Step-Up DC DC Converter (5v output) - [A PowerBoost 500B might work](https://www.adafruit.com/product/1903)
- 1 x USB A to Mini-B Cable

Storage and a way to get the data off:

- 1 x [8gb Micro SD Card](http://www.adafruit.com/products/1294)
- 1 x [SD Card Adapter](http://www.adafruit.com/products/1569)

[SnapPiCam Laser-Cut Set](http://thelittlebox.co "Link: http://thelittlebox.co") containing the following:

- 26 x Laser-Cut Parts
- 4 x M3 Microbarb Brass Inserts
- 2 x M2.5 Microbarb Brass Inserts
- 15 x M2 Microbarb Brass Inserts

You'll also need some hardware, available from mcmaster.com and others:

- 4 x M3 45mm Screws
- 2 x M2.5 8mm Nylon Screw
- 4 x M2 12mm Screws
- 4 x M2 8mm Screws
- 7 x M2 4mm Screws
- 1 x 1/4-20 Square Nut
- 2 x M3 4mm Nylon Spacers
- 1 x 3mm x 12mm x 15mm Stick Foam Pad

Some headers:

- 2 x 0.1" Right-Angle Pin Header
- 2 x 0.1" Female Connector
- 2 x 0.1" Single Pin Covers

Switches:

- 1 x SPDT Slide Switch
- 4 x [Slim Tactile Button](http://www.adafruit.com/products/1489)

Optional (but strongly suggested!)

- 1 x [Small Raspberry Pi Sticker](http://shop.pimoroni.com/products/stickers)
- 1 x Wrist Strap

**Extras**  
  
The SnapPiCam has been designed to use Mobile Phone Magnetic Lenses. The standard size for the magnetic ring which the lenses attach to has a ~13.5mm Outer Diameter (OD) and a ~9.5mm Inner Diameter (ID). There are hundreds of different lenses available, I favour the Fish-Eye Lenses myself.

## **Tools**

Soldering Iron **|** Screw Drivers **|** Needle Files | Small Hammer | Hobby Knife **|** Mini Clamps | Acrylic Glue **|** Suitable Wire **|** Heat-Shrink

# SnapPiCam Raspberry Pi Camera

## First Steps

The Laser-Cut Parts are protected on each side with a thin film layer. The film will need to be removed from both sides of each Laser-Cut part. Use the point of a knife to tease the film up.

![](https://cdn-learn.adafruit.com/assets/assets/000/014/724/medium800/lcds___displays_IMG_2183.jpg?1393965105)

![](https://cdn-learn.adafruit.com/assets/assets/000/014/725/medium800/lcds___displays_IMG_2193.jpg?1393965194)

With the film removed from both sides of all the acrylic parts we can begin to assemble the SnapPiCam.  
  
The SnapPiCam is built up in 3mm layers, we'll start with the front Fascia. In the Fascia must go 4 x M2 Microbarb Brass Inserts. These inserts act as bolt anchors for screws, instead of using nuts. The inserts are captive which means they won't fall out when the screws are undone.

![](https://cdn-learn.adafruit.com/assets/assets/000/014/726/medium800/lcds___displays_IMG_2196.jpg?1393965419)

The four holes where the Microbarbs fit might need enlarging. This can be done with a round needle file.

![](https://cdn-learn.adafruit.com/assets/assets/000/014/727/medium800/lcds___displays_IMG_2195.jpg?1393965543)

![](https://cdn-learn.adafruit.com/assets/assets/000/014/728/medium800/lcds___displays_IMG_2198.jpg?1393965581)

The brass inserts fit into the back of the Fascia. A lip on the inserts stops them from being pulled through the acrylic if the screw are over-tightened.

Info: 

The inserts can be gently hammered into the acrylic. If the inserts do not fit with a light tap of the hammer use a needle file to make the holes slightly larger.

![](https://cdn-learn.adafruit.com/assets/assets/000/014/729/medium800/lcds___displays_IMG_2199.jpg?1393965892)

Info: 

# SnapPiCam Raspberry Pi Camera

## Glued Parts

Several of the smaller components are glued together to strength the assembly.

![](https://cdn-learn.adafruit.com/assets/assets/000/014/746/medium800/lcds___displays_IMG_2241.jpg?1393970126)

Two corner pieces are glued together and then they are glued to layer 9.

![](https://cdn-learn.adafruit.com/assets/assets/000/014/747/medium800/lcds___displays_IMG_2242.jpg?1393970176)

Info: 

![](https://cdn-learn.adafruit.com/assets/assets/000/014/748/medium800/lcds___displays_IMG_2247.jpg?1393970205)

![](https://cdn-learn.adafruit.com/assets/assets/000/014/750/medium800/lcds___displays_IMG_2335.jpg?1393970318)

![](https://cdn-learn.adafruit.com/assets/assets/000/014/751/medium800/lcds___displays_IMG_2337.jpg?1393970361)

The two U-Sections of layers 6 & 7 can be glued together. They can be left unglued if you wish.

![](https://cdn-learn.adafruit.com/assets/assets/000/014/749/medium800/lcds___displays_IMG_2249.jpg?1393970250)

The Back-Plate must be glued to layer 15. Check the orientation before bonding. The numbering dots must be face down with the Back-Plate glued to the rear of layer 15.

# SnapPiCam Raspberry Pi Camera

## The Lens Assembly

Four 2mm layers make up the lens assembly. The order of the layers doesn't really matter at this stage as we will need to disassemble and reassemble them at a later stage.

![](https://cdn-learn.adafruit.com/assets/assets/000/014/739/medium800/lcds___displays_IMG_2200.jpg?1393969050)

![](https://cdn-learn.adafruit.com/assets/assets/000/014/741/medium800/lcds___displays_IMG_2201.jpg?1393969130)

![](https://cdn-learn.adafruit.com/assets/assets/000/014/740/medium800/lcds___displays_IMG_2203.jpg?1393969088)

The layers are held to the Fascia with 4 x M2 12mm screws.

![](https://cdn-learn.adafruit.com/assets/assets/000/014/742/medium800/lcds___displays_IMG_2205.jpg?1393969166)

# SnapPiCam Raspberry Pi Camera

## Fitting the Camera Board

 **Layer 1 |** This layer needs no modifications and can be placed directly behind the Fascia.  
  
**Layer 2 |** Four Brass inserts must be fitted into the back of the layer. Use the same methods as described in the First Steps. The Raspberry Pi Camera rests on a 15mm strip of 3mm x 12mm foam. The foam strip is measured and cut to fit between the 4 x M2 Brass inserts. ![](https://cdn-learn.adafruit.com/assets/assets/000/014/731/medium800/lcds___displays_IMG_2209.jpg?1393967353)

![](https://cdn-learn.adafruit.com/assets/assets/000/014/732/medium800/lcds___displays_IMG_2212.jpg?1393967387)

![](https://cdn-learn.adafruit.com/assets/assets/000/014/733/medium800/lcds___displays_IMG_2213.jpg?1393967434)

Info: 

The Flat Flexible Cable (FFC) which connects the camera board to the Raspberry Pi fits through special holes cut into the layers.

![](https://cdn-learn.adafruit.com/assets/assets/000/014/734/medium800/lcds___displays_IMG_2214.jpg?1393967521)

4 x M2 x 8mm Screws hold the camera flat against the foam strip.

Info: 

Info: 

# SnapPiCam Raspberry Pi Camera

## Installing the LiPo Charger

 **Layer 3 |** This layer needs no modifications and can be place directly behind layer 3.  
  
**Layer 4 |** 4 x M2 Brass inserts fit into the back and 2 x M2.5 Brass inserts fit into recessed holes on the front of layer 4.  
![](https://cdn-learn.adafruit.com/assets/assets/000/014/735/medium800/lcds___displays_IMG_2221.jpg?1393968515)

![](https://cdn-learn.adafruit.com/assets/assets/000/014/736/medium800/lcds___displays_IMG_2223.jpg?1393968549)

![](https://cdn-learn.adafruit.com/assets/assets/000/014/737/medium800/lcds___displays_IMG_2226.jpg?1393968586)

Info: 

![](https://cdn-learn.adafruit.com/assets/assets/000/014/738/medium800/lcds___displays_IMG_2227.jpg?1393968638)

4 x M2 x 4mm screws secure the LiPo charger to layer 4. Make sure the Mini B USB socket is facing outwards.

# SnapPiCam Raspberry Pi Camera

## Preparing the LiPo Battery

The wires need to be disconnected from the 1200mAh LiPo so they can be extended during assembly.

![](https://cdn-learn.adafruit.com/assets/assets/000/014/785/medium800/lcds___displays_IMG_2268.jpg?1394012285)

First we need to peel back the Kapton tape protecting the PCB and the solder pads.

![](https://cdn-learn.adafruit.com/assets/assets/000/014/786/medium800/lcds___displays_IMG_2269.jpg?1394012312)

Using a pair of sharp small scissors make two cuts at the outer edge of each solder pad.

![](https://cdn-learn.adafruit.com/assets/assets/000/014/787/medium800/lcds___displays_IMG_2270.jpg?1394012346)

Hold the tape clear of the solder pads and using a good quality Soldering Iron remove the two wires from the LiPo

![](https://cdn-learn.adafruit.com/assets/assets/000/014/788/medium800/lcds___displays_IMG_2271.jpg?1394012388)

# SnapPiCam Raspberry Pi Camera

## Assemble the PiTFT

![](https://cdn-learn.adafruit.com/assets/assets/000/014/789/medium800/lcds___displays_IMG_2274.jpg?1394013030)

The [PiTFT](http://www.adafruit.com/products/1601) needs to be soldered together before it can be installed into the SnapPiCam. To make this process easier we will remove the TFT panel from the PCB.

Info: 

![](https://cdn-learn.adafruit.com/assets/assets/000/014/790/medium800/lcds___displays_IMG_2275.jpg?1394013062)

Lay the PiTFT face down and using a screwdriver unclip each end of the [ZIF](http://en.wikipedia.org/wiki/Zero_insertion_force) socket holding the TFT's [FFC](http://en.wikipedia.org/wiki/Flat_Flex_Cable) in place.

![](https://cdn-learn.adafruit.com/assets/assets/000/014/791/medium800/lcds___displays_IMG_2276.jpg?1394013096)

Carefully remove the FFC from the socket.

Info: 

With the TFT safely removed we can now fit the 2x13 extra-tall female header to the PiTFT's PCB

![](https://cdn-learn.adafruit.com/assets/assets/000/014/792/medium800/lcds___displays_IMG_2278.jpg?1394013578)

Fit the header to the PCB, thread a length of scrap wire between the pins at each end of the header.

![](https://cdn-learn.adafruit.com/assets/assets/000/014/793/medium800/lcds___displays_IMG_2279.jpg?1394013805)

Place the PCB face-down keeping the PCB square to the female header. Solder one pin at each end of the header to hold it in place.

![](https://cdn-learn.adafruit.com/assets/assets/000/014/794/medium800/lcds___displays_IMG_2280.jpg?1394013836)

Remove the wire from between the PCB and the header and solder the remaining pins.

![](https://cdn-learn.adafruit.com/assets/assets/000/014/795/medium800/lcds___displays_IMG_2281.jpg?1394013870)

When you have finished there should be a gap between the PCB and the header.

![](https://cdn-learn.adafruit.com/assets/assets/000/014/796/medium800/lcds___displays_IMG_2283.jpg?1394014229)

Solder four [6mm Tactile Switches](http://www.adafruit.com/products/1489) to the top of the PiTFT's PCB.

![](https://cdn-learn.adafruit.com/assets/assets/000/014/797/medium800/lcds___displays_unclipped.jpg?1394014264)

![](https://cdn-learn.adafruit.com/assets/assets/000/014/798/medium800/lcds___displays_split.jpg?1394014286)

The Step-Up DC DC Converter comes with three Right-Angle 0.1" pin headers. They need to be split up with a sharp knife.

![](https://cdn-learn.adafruit.com/assets/assets/000/014/799/medium800/lcds___displays_IMG_2287.jpg?1394014692)

Two pins are soldered into Pin 2 (5v) & Pin 9 (gnd).

![](https://cdn-learn.adafruit.com/assets/assets/000/014/807/medium800/lcds___displays_pins.jpg?1394016171)

Info: 

![](https://cdn-learn.adafruit.com/assets/assets/000/014/804/medium800/lcds___displays_IMG_2288.jpg?1394015606)

Reinsert the TFT's FFC into the ZIF Socket.

![](https://cdn-learn.adafruit.com/assets/assets/000/014/805/medium800/lcds___displays_IMG_2289.jpg?1394015646)

Remove the covering on the two sticky strips on the back of the TFT and carefully attach the TFT to the PCB. Do not remove the protective film on the TFT.

Info: 

![](https://cdn-learn.adafruit.com/assets/assets/000/014/848/medium800/lcds___displays_IMG_2292.jpg?1394024280)

Fit three M2 Brass Inserts into the three recessed holes in layer 13.

![](https://cdn-learn.adafruit.com/assets/assets/000/014/850/medium800/lcds___displays_IMG_2294.jpg?1394024465)

Attach the PiTFT to layer 13 with three M2 x 4mm screws.

![](https://cdn-learn.adafruit.com/assets/assets/000/014/849/medium800/lcds___displays_IMG_2293.jpg?1394024314)

# SnapPiCam Raspberry Pi Camera

## Assemble the SnapPi

![](https://cdn-learn.adafruit.com/assets/assets/000/015/998/medium800/lcds___displays_IMG_2411.jpg?1398360311)

Follow the next six steps to finish building your SnapPi.

# SnapPiCam Raspberry Pi Camera

## Part One

![](https://cdn-learn.adafruit.com/assets/assets/000/014/808/medium800/lcds___displays_IMG_2299.jpg?1394017351)

The LiPo Charger comes with a JST cable, plug this and the cable removed from the battery into the LiPo Charger.

![](https://cdn-learn.adafruit.com/assets/assets/000/014/809/medium800/lcds___displays_IMG_2300.jpg?1394017401)

Place layer 3 on to layer 4, and then place layer 2, with the camera board, on top of that. The wire plugged into the Load socket on the charger runs inside a channel in layer 3. The camera's FFC fits through it's own cut-outs.

Info: 

![](https://cdn-learn.adafruit.com/assets/assets/000/014/810/medium800/lcds___displays_IMG_2301.jpg?1394017441)

Place the Step-Up DC/DC Converter into the cut-out in the upper right corner. Measure and cut the wires from the Load connector on the Charger. We need to do this for both the Red & Black wires.

![](https://cdn-learn.adafruit.com/assets/assets/000/014/811/medium800/lcds___displays_IMG_2303.jpg?1394018673)

Solder the Red wire from the Load connector on the Charger to the VIN hole on the DC/DC Converter.

![](https://cdn-learn.adafruit.com/assets/assets/000/014/812/medium800/lcds___displays_IMG_2304.jpg?1394018703)

Solder a length of Red wire into the VOUT hole on the DC/DC Converter.  
  
The DC/DC Converter uses a common ground (GND) so you will need to solder the Black wire from the Load connector on the Charger in the GND hole on the DC/DC Converter along with another length of Black wire.   
  
To help keep things tidy I have soldered the wires from the Load connector on the Charger in to the holes on the DC/DC Converter from the top of the PCB, and the wires leading out from the DC/DC Converter through the holes from the underside of the PCB.

# SnapPiCam Raspberry Pi Camera

## Part Two

Feed the wires from the DC/DC Converter along the channel taking the red wire off to the side where a switch will be fitted.

![](https://cdn-learn.adafruit.com/assets/assets/000/014/816/medium800/lcds___displays_IMG_2305.jpg?1394019469)

Make sure the DC/DC Converter is in its approximate position before measuring and cutting the red wire to length.

![](https://cdn-learn.adafruit.com/assets/assets/000/014/817/medium800/lcds___displays_IMG_2306.jpg?1394019498)

![](https://cdn-learn.adafruit.com/assets/assets/000/014/818/medium800/lcds___displays_IMG_2307.jpg?1394019529)

The switch is a [SPDT](http://en.wikipedia.org/wiki/Single_pole,_double_throw#Contact_terminology) Sub-Micro Slide switch. Connect the red wire from the DC/DC Converter to the middle pin on the switch. Solder a length of red wire to one of the other pins on the switch.

![](https://cdn-learn.adafruit.com/assets/assets/000/014/819/medium800/lcds___displays_IMG_2309.jpg?1394019585)

Slide the switch into the Off position (slid away from the soldered pins) and fit the switch into it's socket in the layers.

![](https://cdn-learn.adafruit.com/assets/assets/000/014/820/medium800/lcds___displays_IMG_2310.jpg?1394019635)

Place layer 1 on top of layer 2.

Info: 

![](https://cdn-learn.adafruit.com/assets/assets/000/014/821/medium800/lcds___displays_IMG_2311.jpg?1394019681)

Place the Fascia on top of layer 1.

# SnapPiCam Raspberry Pi Camera

## Part Three

![](https://cdn-learn.adafruit.com/assets/assets/000/014/822/medium800/lcds___displays_IMG_2315.jpg?1394020504)

Fit an M3 45mm Screw into each of the corners and lay the assembly face down.

![](https://cdn-learn.adafruit.com/assets/assets/000/014/823/medium800/lcds___displays_IMG_2319.jpg?1394020530)

Bend the Camera's FFC as shown in the photo.

![](https://cdn-learn.adafruit.com/assets/assets/000/014/824/medium800/lcds___displays_IMG_2321.jpg?1394020597)

Solder extensions onto the two power leads. Insulate the joins with heat-shrink.

![](https://cdn-learn.adafruit.com/assets/assets/000/014/825/medium800/lcds___displays_IMG_2323.jpg?1394020629)

Place two M3 x 4mm Nylon Spacers over the two M2.5 Brass Inserts.

![](https://cdn-learn.adafruit.com/assets/assets/000/014/826/medium800/lcds___displays_IMG_2324.jpg?1394020667)

Fit the Raspberry Pi Model A. Secure it with two M2.5 Nylon Screws.

Info: 

![](https://cdn-learn.adafruit.com/assets/assets/000/014/827/medium800/lcds___displays_IMG_2325.jpg?1394020736)

Info: 

Fit the previously glue U-Section, and the glued corner to the assembly.

# SnapPiCam Raspberry Pi Camera

## Part Four

Info: 

![](https://cdn-learn.adafruit.com/assets/assets/000/014/829/medium800/lcds___displays_IMG_2326.jpg?1394021530)

Line up the cable with the ZIF Socket on the Raspberry Pi.

![](https://cdn-learn.adafruit.com/assets/assets/000/014/831/medium800/lcds___displays_IMG_2328.jpg?1394021559)

Press the FFC into the socket and close the latch.

![](https://cdn-learn.adafruit.com/assets/assets/000/014/833/medium800/lcds___displays_IMG_2329.jpg?1394021588)

Carefully bend the FFC flat against the ZIF Socket.

![](https://cdn-learn.adafruit.com/assets/assets/000/014/834/medium800/lcds___displays_IMG_2330.jpg?1394021621)

Place the clear 1mm thick layer 9, with the other parts pre-glued to the corner, onto the assembly making sure to thread the power cables correctly through the layer.

# SnapPiCam Raspberry Pi Camera

## Part Five

![](https://cdn-learn.adafruit.com/assets/assets/000/014/839/medium800/lcds___displays_IMG_2333.jpg?1394022693)

![](https://cdn-learn.adafruit.com/assets/assets/000/014/840/medium800/lcds___displays_IMG_2331.jpg?1394022721)

Slot the 1/4-20 Square Nut into the hole in the lower left corner.

![](https://cdn-learn.adafruit.com/assets/assets/000/014/841/medium800/lcds___displays_IMG_2341.jpg?1394022772)

Measure and cut the power cables which go to the LiPo. Solder them to the battery and replace the Kapston Tape over the contacts.

![](https://cdn-learn.adafruit.com/assets/assets/000/014/843/medium800/lcds___displays_IMG_2342.jpg?1394022915)

Fit the 1mm thick clear layer 11, then layer 12, and then place layer 13 with the PiTFT on top of the assembly. Make sure to correctly route the cables.

Info: 

![](https://cdn-learn.adafruit.com/assets/assets/000/014/844/medium800/lcds___displays_IMG_2350.jpg?1394022949)

Cut the two power cable to length to match up with the pin headers on the PiTFT GPIO. Attach grimps to the end of the cables. I prefer to use Needle-Nose Pliers to do the crimping.

![](https://cdn-learn.adafruit.com/assets/assets/000/014/845/medium800/lcds___displays_IMG_2357.jpg?1394023003)

Slip covers over the crimps and attach to the pins on the GPIO

![](https://cdn-learn.adafruit.com/assets/assets/000/014/846/medium800/lcds___displays_IMG_2457.jpg?1394023597)

Remove the protective film on the TFT and place the last layer onto the assembly. Tighten the M3 screws.

![](https://cdn-learn.adafruit.com/assets/assets/000/014/851/medium800/lcds___displays_IMG_2378.jpg?1394025398)

# SnapPiCam Raspberry Pi Camera

## Part Six

![](https://cdn-learn.adafruit.com/assets/assets/000/014/852/medium800/lcds___displays_IMG_2390.jpg?1394025472)

Remove the lens assembly from the Fascia.

![](https://cdn-learn.adafruit.com/assets/assets/000/014/854/medium800/lcds___displays_IMG_2392.jpg?1394025533)

Gently peel off the protective cover on the camera lens

![](https://cdn-learn.adafruit.com/assets/assets/000/014/855/medium800/lcds___displays_IMG_2393.jpg?1394025568)

If you have some Magnetic Lenses attach one of the supplied sticky metal rings to the second layer of the lens assembly.

![](https://cdn-learn.adafruit.com/assets/assets/000/014/857/medium800/lcds___displays_lens.jpg?1394025854)

![](https://cdn-learn.adafruit.com/assets/assets/000/014/856/medium800/lcds___displays_IMG_2395.jpg?1394025660)

Rebuild the Lens Assembly with the rings in the correct order.

![](https://cdn-learn.adafruit.com/assets/assets/000/014/858/medium800/lcds___displays_IMG_2396.jpg?1394025899)

Check the Magnetic Lenses fits correctly.

![](https://cdn-learn.adafruit.com/assets/assets/000/014/859/medium800/lcds___displays_IMG_2401.jpg?1394026171)

If you have a wrist strap undo the M3 screw in the lower left corner, slide it out so the gap opens up and place the strap loop into the opening. Refit the M3 screw.

![](https://cdn-learn.adafruit.com/assets/assets/000/014/860/medium800/lcds___displays_IMG_2408.jpg?1394026319)

Connect a USB cable to the SnapPiCam and allow the battery to fully charge.

# SnapPiCam Raspberry Pi Camera

## Power-On

When charging has completed remove the USB cable from the SnapPiCam.

![](https://cdn-learn.adafruit.com/assets/assets/000/014/861/medium800/lcds___displays_IMG_2411.jpg?1394026407)

You will need to follow the Tutorials showing you how to enable the PiTFT with a Raspberry Pi and how to install the Camera Software.  
  
**First Tutorial |** [Adafruit PiTFT - 2.8" Touchscreen Display for Raspberry Pi](http://learn.adafruit.com/adafruit-pitft-28-inch-resistive-touchscreen-display-raspberry-pi/overview)  
  
**Second Tutorial |** [DIY WiFi Raspberry Pi Touchscreen Camera](http://learn.adafruit.com/diy-wifi-raspberry-pi-touch-cam)  
  
You will need to enable Standalone Mode during the camera installation to make the camera software will load automatically at boot.  
  
I have also set one of the Tactile Switches to work as a Power Button, the instructions for this are in the Extras section of the First Tutorial.

![](https://cdn-learn.adafruit.com/assets/assets/000/014/862/medium800/lcds___displays_IMG_2387.jpg?1394026918)

Once you have the software installed you can slide the switch to the On position.  
  
The screen will be white for a few moments until the framebuffer is initialised and the TFT is enabled.

## Tweeks
  
It is possible to disable the red LED on the camera board. To do this you will need to edit config.txt in the /boot/ folder on the Raspberry Pi SD Card. You can do this from a Windows PC with an SD Card reader. The /boot/ folder is readable in a Windows environment.  
  
Simply add the following line to the end of the config.txt file.  
  

```
disable_camera_led=1
```
## Once your SnapPiCam is up and running it's time to give the camera it's stamp of approval.
![](https://cdn-learn.adafruit.com/assets/assets/000/014/868/medium800/lcds___displays_IMG_2412.jpg?1394028324)

Undo and remove the four M3 screws. Lift off the Fascia.

![](https://cdn-learn.adafruit.com/assets/assets/000/014/869/medium800/lcds___displays_IMG_2414.jpg?1394028356)

Stick the Raspberry Pi sticker to layer 1.

![](https://cdn-learn.adafruit.com/assets/assets/000/014/870/medium800/lcds___displays_IMG_2415.jpg?1394028386)

Replace the Fascia and refit the four M3 screws.

# SnapPiCam Raspberry Pi Camera

## Infragram

The Raspberry Pi Noir Camera is Infrared-Sensitive. The Noir camera is supplied with a square of blue coloured plastic.  
  
By fitting the blue square to the SnapPiCam we can make an Infragram camera.  
  
For more information about Infragram please visit their website at [Infragram.org](http://infragram.org/)

![](https://cdn-learn.adafruit.com/assets/assets/000/014/876/medium800/lcds___displays_infra.jpg?1394029139)

To fit the blue square to the lens assembly we'll be sandwiching it between two black card layers.

![](https://cdn-learn.adafruit.com/assets/assets/000/014/863/medium800/lcds___displays_IMG_2448.jpg?1394027703)

The Magnetic Ring has been stuck to the second card layer instead of the second plastic layer. This means that we are able to use all the lenses while the camera is in Infracam mode.

![](https://cdn-learn.adafruit.com/assets/assets/000/014/864/medium800/lcds___displays_IMG_2450.jpg?1394028138)

Info: 

![](https://cdn-learn.adafruit.com/assets/assets/000/014/865/medium800/lcds___displays_IMG_2451.jpg?1394028186)

![](https://cdn-learn.adafruit.com/assets/assets/000/014/866/medium800/lcds___displays_IMG_2452.jpg?1394028225)

![](https://cdn-learn.adafruit.com/assets/assets/000/014/867/medium800/lcds___displays_IMG_2453.jpg?1394028267)

The SnapPiCam is now enabled to take raw Infragram images. You can process the raw images online, for free, using the [Infrgram.org sandbox](http://infragram.org/sandbox/).

# SnapPiCam Raspberry Pi Camera

## Sample Shots

# Using A Fish-Eye Lens
![](https://cdn-learn.adafruit.com/assets/assets/000/014/871/medium800/lcds___displays_IMG_0120.jpg?1394028679)

![](https://cdn-learn.adafruit.com/assets/assets/000/014/872/medium800/lcds___displays_IMG_0012.jpg?1394028728)

![](https://cdn-learn.adafruit.com/assets/assets/000/014/874/medium800/lcds___displays_IMG_0081.jpg?1394028854)

![](https://cdn-learn.adafruit.com/assets/assets/000/014/875/medium800/lcds___displays_IMG_0097.jpg?1394028911)

# With No Additional Lenses
![](https://cdn-learn.adafruit.com/assets/assets/000/014/873/medium800/lcds___displays_IMG_0100.jpg?1394028782)

![](https://cdn-learn.adafruit.com/assets/assets/000/014/892/medium800/lcds___displays_IMG_0053.jpg?1394041294)

![](https://cdn-learn.adafruit.com/assets/assets/000/014/891/medium800/lcds___displays_swans.jpg?1394041213)

The photos of the Swans have been edited in Photoshop.# Infragram Photos
![](https://cdn-learn.adafruit.com/assets/assets/000/014/882/medium800/lcds___displays_IMG_0040.jpg?1394038778)

![](https://cdn-learn.adafruit.com/assets/assets/000/014/883/medium800/lcds___displays_2014-03-05T17_00_53.263Z.png?1394038913)

![](https://cdn-learn.adafruit.com/assets/assets/000/014/884/medium800/lcds___displays_IMG_0046.jpg?1394038980)

![](https://cdn-learn.adafruit.com/assets/assets/000/014/885/medium800/lcds___displays_2014-03-05T17_03_51.927Z.png?1394039049)

![](https://cdn-learn.adafruit.com/assets/assets/000/014/886/medium800/lcds___displays_2014-03-05T17_09_01.256Z.png?1394039356)

![](https://cdn-learn.adafruit.com/assets/assets/000/014/887/medium800/lcds___displays_IMG_0044.jpg?1394040429)

![](https://cdn-learn.adafruit.com/assets/assets/000/014/890/medium800/lcds___displays_IMG_0029.jpg?1394040875)


## Featured Products

### Adafruit PiTFT - 320x240 2.8" TFT+Touchscreen for Raspberry Pi

[Adafruit PiTFT - 320x240 2.8" TFT+Touchscreen for Raspberry Pi](https://www.adafruit.com/product/1601)
Is this not the cutest little display for the Raspberry Pi? It features a 2.8" display with 320x240 16-bit color pixels and a resistive touch overlay. The plate uses the high speed SPI interface on the Pi and can use the mini display as a console, X window port, displaying images or video...

Out of Stock
[Buy Now](https://www.adafruit.com/product/1601)
[Related Guides to the Product](https://learn.adafruit.com/products/1601/guides)
### USB LiIon/LiPoly charger

[USB LiIon/LiPoly charger](https://www.adafruit.com/product/259)
This is a Lithium Ion and Lithium Polymer battery charger based on the [MCP73833](http://www.microchip.com/wwwproducts/Devices.aspx?dDocName=en027785). It uses a USB mini-B for connection to any computer or 'USB wall adapter'. Charging is performed in three stages: first a...

In Stock
[Buy Now](https://www.adafruit.com/product/259)
[Related Guides to the Product](https://learn.adafruit.com/products/259/guides)
### Lithium Ion Polymer Battery - 3.7v 1200mAh

[Lithium Ion Polymer Battery - 3.7v 1200mAh](https://www.adafruit.com/product/258)
Lithium-ion polymer (also known as 'lipo' or 'lipoly') batteries are thin, light, and powerful. The output ranges from 4.2V when completely charged to 3.7V. This battery has a capacity of 1200mAh for a total of about 4.5 Wh. If you need a larger battery, <a...></a...>

In Stock
[Buy Now](https://www.adafruit.com/product/258)
[Related Guides to the Product](https://learn.adafruit.com/products/258/guides)
### Raspberry Pi NoIR Camera Board - Infrared-sensitive Camera

[Raspberry Pi NoIR Camera Board - Infrared-sensitive Camera](https://www.adafruit.com/product/1567)
The Raspberry Pi NoIR Camera Module is a custom designed add-on for Raspberry Pi that does not have an 'IR cut filter' installed. Like the regular Pi camera, it attaches to Raspberry Pi by way of one of the two small sockets on the board upper surface. This interface uses the dedicated...

No Longer Stocked
[Buy Now](https://www.adafruit.com/product/1567)
[Related Guides to the Product](https://learn.adafruit.com/products/1567/guides)
### Raspberry Pi Camera Board

[Raspberry Pi Camera Board](https://www.adafruit.com/product/1367)
The Raspberry Pi Camera Module is a custom designed add-on for Raspberry Pi. It attaches to Raspberry Pi by way of one of the two small sockets on the board upper surface. This interface uses the dedicated CSI interface, which was designed especially for interfacing to cameras. The CSI bus is...

No Longer Stocked
[Buy Now](https://www.adafruit.com/product/1367)
[Related Guides to the Product](https://learn.adafruit.com/products/1367/guides)
### Tactile Switch Buttons (6mm slim) x 20 pack

[Tactile Switch Buttons (6mm slim) x 20 pack](https://www.adafruit.com/product/1489)
Slim clicky momentary switches are standard input "buttons" on electronic projects. These are half the width of classic 6mm tactile switches so they line up better on a breadboard, just plug them into every-other row. These work best in a PCB but <a...></a...>

In Stock
[Buy Now](https://www.adafruit.com/product/1489)
[Related Guides to the Product](https://learn.adafruit.com/products/1489/guides)
### Blue Shortening microSD card adapter for Raspberry Pi & Macbooks

[Blue Shortening microSD card adapter for Raspberry Pi & Macbooks](https://www.adafruit.com/product/1569)
Adding shortening to a Pi makes it fatter - but _this kind_ of shortening makes your Pi a little slimmer! This short-style **blue** microSD adapter slides in where the SD card goes but is 9mm shorter. This makes it stick out a lot less and makes for a more elegant (and less...

No Longer Stocked
[Buy Now](https://www.adafruit.com/product/1569)
[Related Guides to the Product](https://learn.adafruit.com/products/1569/guides)
### SD/MicroSD Memory Card (8 GB SDHC)

[SD/MicroSD Memory Card (8 GB SDHC)](https://www.adafruit.com/product/1294)
Add mega-storage in a jiffy using this 8 GB class 4 micro-SD card. It comes with a SD adapter so you can use it with any of our shields or adapters. Preformatted to FAT so it works out of the box with our projects. Tested and works great with our <a...></a...>

In Stock
[Buy Now](https://www.adafruit.com/product/1294)
[Related Guides to the Product](https://learn.adafruit.com/products/1294/guides)

## Related Guides

- [Multi-Cell LiPo Charging](https://learn.adafruit.com/multi-cell-lipo-charging.md)
- [Ultimate Youtube Live Camera](https://learn.adafruit.com/ultimate-youtube-live-camera.md)
- [Kali Linux on the Raspberry Pi with the PiTFT](https://learn.adafruit.com/kali-linux-on-the-raspberry-pi-with-the-pitft.md)
- [Trinket Bluetooth Alarm System](https://learn.adafruit.com/trinket-bluetooth-alarm-system.md)
- [Processing on the Raspberry Pi & PiTFT](https://learn.adafruit.com/processing-on-the-raspberry-pi-and-pitft.md)
- [3D Printed Camera LED Ring](https://learn.adafruit.com/3d-printed-camera-led-ring.md)
- [Monitor PiCam and temperature on a PiTFT via adafruit.io](https://learn.adafruit.com/monitor-picam-and-temperature-on-a-pitft-via-adafruit-dot-io.md)
- [Pi Hole Ad Detection Display with PiTFT](https://learn.adafruit.com/pi-hole-ad-pitft-tft-detection-display.md)
- [Running OpenGL-based Games & Emulators on Adafruit PiTFT Displays](https://learn.adafruit.com/running-opengl-based-games-and-emulators-on-adafruit-pitft-displays.md)
- [apt.adafruit.com](https://learn.adafruit.com/apt-adafruit-com.md)
- [Wireless Music Veto Button for your Office](https://learn.adafruit.com/wireless-bluetooth-music-veto-button.md)
- [Flora-Powered TARDIS Costume (for Dogs!)](https://learn.adafruit.com/wearable-flora-powered-tardis-costume-dogs.md)
- [Color Remote with Circuit Playground Bluefruit](https://learn.adafruit.com/color-remote-with-circuit-playground-bluefruit.md)
- [RasPi - Animated GIF Picture Frame](https://learn.adafruit.com/raspi-animated-gif-picture-frame.md)
- [Adafruit PiTFT - 2.8" Touchscreen Display for Raspberry Pi](https://learn.adafruit.com/adafruit-pitft-28-inch-resistive-touchscreen-display-raspberry-pi.md)
