Raspberry Pi Compact Camera
Step 1: Parts
1 x PiJuice
1 x LaserCut Kit
1 x Push Switch
1 x Micro SD card
10 x Plastic Spacers
4 x Screws
Approximately 15cm of thin conducting Wire with insulating cladding.
Step 2: Setting Up the SD Card
The SD card should contain the latest version of Raspbian, available for download from the Raspberry Pi Website.
Download the image and burn it onto your blank SD card using your preferred method. You then need to install the drivers for the TFT screen. The best method is to run the DIY installer script, explained on the Adafruit page. At this stage I would recommend testing that the everything is working properly, so connect the screen to the Raspberry Pi, attach the PiJuice with a charged battery and switch it on. If everything has gone to plan your screen should be showing the normal boot up messages. Hooray!
Step 3: Setting up the Camera Module
Inset the the camera’s ribbon cable into the Raspberry Pi. The connection point is located between the audio and HDMI ports. Make sure that the blue side is facing away from the HDMI port.
Now is a good time to check that the camera is working. First it needs to be enabled so go to the terminal and type “sudo raspi-config” and follow the menu to enable the camera after which the Raspberry Pi must be rebooted. After reboot the camera should be working properly. Go to the terminal and type the following command. “raspistill -o pic.jpg” This will make the camera take a picture with the title pic and save it in the /home/pi directory.
Step 4: Attatch the push button
The push button is what we’ll be using to take photos. This part requires a soldering iron, so make sure you are comfortable with using a soldering iron safely. If you’re not sure how to use a soldering iron, ask for help from somebody that does.
First we need to solder the right angle header to the TFT screen. You will notice the GPIO breakout on the top of the screen. Locate pin number 17 and solder a single right angle header into this pin so that makes the pin available on the underside of the screen. We have soldered on two header pins (as seen in picture) but this is not necessary.
Now connect a female jumper lead (~7cm) to the pin and solder the side to one of the connecters on the push button.
On the underside of the screen there is a pad labelled wp. This is ground. Solder a black wire (~7cm) to this pad.
Solder the other end of the black wire to the second connecter on the push button.
For more detail: Raspberry Pi Compact Camera