Grove Pi with Raspberry Pi camera

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.

What are you trying to do with the camera?

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

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.

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

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

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

Thank you guys, it worked out pretty well!