No description, website, or topics provided.
Clone or download
Latest commit 767384d Oct 15, 2018
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
.gitignore Initial commit. Jul 9, 2014
Dockerfile.template update readme and switch to using Dockerfile.template Aug 13, 2018
README.md URL correction Oct 15, 2018
app.js clean up and comment a bit Dec 16, 2014
package.json Rename Oct 15, 2018

README.md

balena + picamera + node.js

This is a simple app that demonstrates how to get started with the raspberry pi camera module, using node.js and balena. All it does is snap one photo and then stores it in the /data directory on the pi.

Before you get started, you will need to make some changes to the device configuration in the dashboard to enable the camera, instructions here -> http://balena.io/docs/learn/develop/hardware/i2c-and-spi/#raspberry-pi-camera-module

The /data directory allows the data, in this case the image, to presist between code deployments with balena. It then just sits in an infinite loop, this loop allows you to use the web terminal session to poke around on the pi itself and see that your photo was successfully saved in the /data directory.

This project depends on raspistill, this is installed the majority of our raspbian/Debian base images for the Raspberry Pi family.