- Pi Camera
- Pi Camera Ribbon Cable
First the camera needs to be physically installed and enabled.
The installation looks like this, note the orientation of the connector compared to the USB ports.
Next the interface has to be enabled. First find Configuration settings in the main menu.
And enable the camera interface like this:
Setting up Node-Red
Start Node-Red and navigate to 127.0.0.1:1880. Into the flow area drag an “inject” node and a “camerapi takephoto” node.
Link them together.
Deploy the flow, then point the camera at something and press the inject button. The camera will take a picture and then store it in /home/pi/Pictures by default. Open the file explorer.
Click on the Pictures folder.
There your photo is!
Advanced Camera Settings
By double clicking on the camera-node you can access some more advanced camera settings.
Here you can adjust what kind of filename the images will be saved with, or even apply effects to your photos like making them black and white, or adding a sketch filter.
The next step is to integrate the camera with something other than an inject node.
For example, activate with a button or the ultra-sonic sensor.
Or the fully featured selfie-station!