Grove Pi with Raspberry Pi camera


#1

Hi,
I am working on a Smart Home Project and among the components i am using are Raspberry Pi Model B+ with Pi Camera and Grove Pi, May i get Python Codes to work out Pi camera with Grove Pi?
Thank you.


#2

What are you trying to do with the camera?


#3

Just taking picture when motion is detected, I am using PIR motion sensor too,


#4

Hi,
I am working on a Smart Home Project and among the components i am using are Raspberry Pi Model B+ with Pi Camera and Grove Pi, May i get Python Codes to work out Pi camera with Grove Pi?
Just taking picture when motion is detected, I am using PIR motion sensor too,
Thank you.


#5

Hey,
The Pi camera and the GrovePi should work independentaly.
Once you are able to use python to take a picture (there should be some examples available oin the internet) and also get a python code to use the PIR sensor https://github.com/DexterInd/GrovePi/blob/master/Software/Python/grove_pir_motion_sensor.py you can just combine then together so that the camera is triggered by the PIR sensor.

-Karan


#6

There is some great information from the Pi Foundation on using the Pi Camera with Python here: https://www.raspberrypi.org/documentation/usage/camera/python/README.md

A great place to start with the Pi Camera. As Karan notes, you can then integrate it with some of the Grove sensors.

John


#7

Thank you guys, i appreciate all your contributions!
I am working on the solutions you provided.


#8

Thank you guys, it worked out pretty well!