PiJuice at instructables.com designed an interesting compact camera project with raspberry pi. Raspberry Pi A+ is used in this project as it is the cheapest and smallest available Raspberry Pi. The real challenge in this kind of portable Pi projects is powering the Raspberry Pi. This issue is solved using PiJuice—an all in one battery module for the Raspberry Pi.
Required Parts
- 1 × PiJuice
- 1 × Raspberry Pi Model a+
- 1 × Raspberry Pi Camera Module
- 1 × LaserCut Kit
- 1 × 2.2″ Adafruit TFT screen
- 1 × Push Switch
- 1 × Micro SD card
- 1 × Plastic Spacers
- 4 × Screws
- 1 × Right Angle Header
Enable the camera in the menu and then reboot the Pi. The camera should work properly after a successful reboot. To test the camera, enter the following command:
raspistill -o pic.jpg
This will take a snap and save it in the /home/pi directory.
Connect A Push Button
You need a push button to simulate a shutter action. Locate the pin 17 on the GPIO breakout on the top of the TFT screen. Now, solder two wires to the terminals of the push button. You can either solder a right angle header to the pin 17 or you can directly solder one wire from push button to that pin. There is a pad labeled WP on the board. It is actually connected to the ground. Solder another wire from the push button to this pad.
Read more: A Compact Camera Using Raspberry Pi A+ And Adafruit TFT Display