Pi Camera
question:pi-camera

This page collects different ways to use Raspberry Pi computer boards (and related boards) to make small, cheap, lightweight cameras for different purposes, including #aerial-mapping, #balloon-mapping, #kite-mapping, #timelapse and #spectrometry. ## Raspberry Pi Simple Camera Kit We've [been working on some software](https://github.com/publiclab/image-builder-rpi/) for this widely used mini camera-and-computer in a tiny box (especially the lightweight "Zero W" model) to make it available with a **pre-flashed SD card** that turns this into a **ready-to-use WiFi enabled camera**. This gets over many of the barriers of using the regular Raspberry Pi kit and having to do a lot of programming/installing to get it running. We've managed to get a **plug and play** version running! Just plug it in using a Micro USB cable (or battery pack) and it'll create a WiFi network called "00PiCamera" -- password "publiclab" -- which you can log into from your phone or laptop. You'll quickly see streaming video, be able to take photos, timelapses, or videos, do motion triggered capture, and more: * [Pi Camera Kit](https://store.publiclab.org/products/raspberry-pi-camera) * [Infragram Pi Camera Kit](https://store.publiclab.org/products/infragram-pi-camera) * our [Microscope Pi kits](https://store.publiclab.org/collections/microscopes) use this as well * [Pre-flashed SD cards for Raspberry Pi cameras](https://store.publiclab.org/products/pi-builder-cards) * combine with (maybe?) [CR123a lithium battery](https://www.amazon.com/s/?ie=UTF8&keywords=cr123a) (and tell us how that goes!) For more on the open source Pi Builder software that made this possible, [see this blog post](/notes/icarito/10-21-2018/introducing-pi-builder) and [troubleshoot on this wiki page](/pi-builder) [notes:grid:activity:pi-camera-setup] **** ## Questions Questions can be either frequently asked questions, or "next step" challenges we're looking to solve. [questions:pi-camera] ## Activities Activities show how to use this project, step by step. [activities:pi-camera] **** ### Resources * Camera module http://m.e-cantonfair.com/#/product/552106 * Focus tricks https://raspi.tv/2013/adapt-your-raspberry-pi-camera-for-close-up-use * Very detailed documentation https://elinux.org/Rpi_Camera_Module * Datasheets and very detailed documentation on v1 camera: https://github.com/techyian/MMALSharp/wiki/OmniVision-OV5647-Camera-Module * Datasheets and very detailed documentation on v2 camera: https://github.com/techyian/MMALSharp/wiki/Sony-IMX219-Camera-Module...


Author Comment Last activity Moderation
LaPa "ok, i have to solve some problems of remote link of the Raspberry before taking other photos. And, of course, I have to buy a red filter because th..." | Read more » over 8 years ago
cfastie "LaPa, yes that would be very useful. It would also be useful if someone could do that with a red filter on the NoIR. Blue should be exaggerated whe..." | Read more » over 8 years ago
LaPa "Hi Chris thank you for the suggestions! Do you think would it be a good idea take a set of photos (NoIR camera + blue filter) of the plant graduall..." | Read more » over 8 years ago
cfastie "Those basil leaves should not be the same color as the flower pot. They need to be more orange. To get NDVI values in the appropriate range, the va..." | Read more » over 8 years ago
LaPa "At the moment I took a photo two plants in sunny light. But I didn't manage to take another without gain because it became cloudy :(. Is it possib..." | Read more » over 8 years ago
LaPa "Thank you cfastie, I seem that your post encourages me to keep on this way; I ask confirmation about this. Do you have any idea how to modify the p..." | Read more » over 8 years ago
cfastie "That orange color of the leaves is promising. It should be even oranger. If you can put the plant in brighter outdoor light and take two photos -- ..." | Read more » over 8 years ago
LaPa "anyway I try awbg. I wrote in the terminal "raspistill -awb off -awbg 0.88,0.97 and I took a picture of the tester and a two plants. The light was ..." | Read more » over 8 years ago
LaPa "Actually I don't know if it is possible mount two modulo cam in 1 Raspberry because it has just 1 slot to mount a modulo cam. I'll find out more ab..." | Read more » over 8 years ago
cfastie "It is not clear that the other respondents at the Pi forum understand what you are asking about. Using awb_gains will allow every photo to exaggera..." | Read more » over 8 years ago
LaPa "What do you think about this way to proceed? https://www.raspberrypi.org/forums/viewtopic.php?p=856005#p856005 " | Read more » over 8 years ago
cfastie "Thanks Erwan, It looks like awb_gains allows the red and blue channels to be adjusted relative to one another which is just what is needed. Howeve..." | Read more » over 8 years ago
Erwan "hi, Did you trying this with picamera ? https://picamera.readthedocs.org/en/release-1.10/api_camera.html Here there are some possibility to parame..." | Read more » over 8 years ago
cfastie "LaPa, The custom white balance procedure you refer to works only for certain cameras. A year ago it was not possible to set a custom white balance..." | Read more » over 8 years ago