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
warren "(just testing something) [graph:/i/27694.csv] " | Read more » over 5 years ago
xose "Sorry, yes, the upper right is the solar panel. In relation to the battery needed I really don't know. As we turn it off for 57 minutes every hour,..." | Read more » over 5 years ago
xose "Hi @icarito! In that setup we're using this solar panel to lipo pcb, and from that to the Witty Pi energy manager → https://www.seeedstudio.com/LiP..." | Read more » over 5 years ago
warren "Some serious progress has been made on this, for running SpectralWorkbench on the Raspberry Pi and connecting to it's camera: https://github.com/pu..." | Read more » over 5 years ago
warren "We now have a great solution for this! https://publiclab.org/infrapi !! and a kit available there. " | Read more » over 5 years ago
warren "We now have a great solution for this! Pi Builder!!! https://publiclab.org/pi-builder " | Read more » over 5 years ago
icarito "Thanks xose! I love that setup, it looks so rugged! I've been doing some research on how to power the pi with solar. Is the plaque in the upper ri..." | Read more » over 5 years ago
xose "Hi Icarito. The project we're working with the witty pi energy manager is this. The case was made with a PVC tube and an external solar panel. Af..." | Read more » over 5 years ago
raj "raspberry pi camera: spectral response curves for more details go through my website you can get all details http://zipansion.com/1TSg4 " | Read more » almost 6 years ago
MaggPi "1)Check out: - https://opencv.org/ - Good opencv-install video : https://www.youtube.com/watch?v=j6RD3X94rEA 2)It looks like Mr Warren may be ..." | Read more » about 6 years ago
cedarlodge "That sounds like a great idea. Can you recommend somewhere to get up to speed with OpenCV? " | Read more » about 6 years ago
MaggPi "Has anyone tried using computer vision software (openCV) to analyze the spectral data on the Raspberry PI? This may have lots of advantages since ..." | Read more » about 6 years ago
warren "With the NOIR for sure. The extra infrared band is where we get the extra data to do the vegetation analysis. " | Read more » about 6 years ago
sjmanosalvas "I have another question. It is better to use these filters with the normal Pi camera or with the Pi NOIR camera? " | Read more » about 6 years ago
warren "I got this running -- it was pretty simple to change a couple files in the boot drive. But I found that it wasn't easy to just connect via a web br..." | Read more » about 6 years ago
warren "This is amazing!!!! Super great. I'll reply back to the issue in there. " | Read more » about 6 years ago
cedarlodge "I forgot to mention, the response.text is a long html document which looks like it might be spectralworkbench.org/dashboard. Do I need to include m..." | Read more » about 6 years ago
cedarlodge "Here's the code I've been working on: https://github.com/classimago/spectral-workbench.py/ I've removed the features that are geared towards my sp..." | Read more » about 6 years ago
warren "Also it's really exciting to have Python API code. Perhaps if you're interested we could host it as the "official" python API interface for Spectra..." | Read more » about 6 years ago
warren "Hmm, can you share your script, maybe on GitHub? I think the API is supposed to return a URL or at least a spectrum id. https://spectralworkbench...." | Read more » about 6 years ago
cedarlodge "Thanks for the help. So far I've written a script in python which takes the photo, saves a copy to my media, then takes the middle line of pixels ..." | Read more » about 6 years ago
cedarlodge "Sure, so far I'm just doing test with CFL and halogen bulbs. The spectra I've uploaded do register as a bit dim, so I'm having to tinker with the c..." | Read more » about 6 years ago
warren "Also, would you mind uploading or sharing some spectra you've taken? I'm eager to see some replications of the fairly new Lego design for verificat..." | Read more » about 6 years ago
warren "This is a great question and we need better (or just more refined) solutions. But there are a few options to start with: https://github.com/publi..." | Read more » about 6 years ago