Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/tk120404/motion-activated-camera

Motion Activated Camera
https://github.com/tk120404/motion-activated-camera

Last synced: 9 days ago
JSON representation

Motion Activated Camera

Awesome Lists containing this project

README

        

Motion-Activated-Camera
=======================

Takes a picture and tweets it when motion is detected

Materials:
* [Tessel](https://tessel.io)
* [Camera Module](tessel.io/modules#module-camera)
* [PIR motion detector](http://www.adafruit.com/products/189)

Connecting the PIR:
PIR's GND goes to Tessel's GND on the GPIO bank
PIR's +5V goes to Tessel's Vin on the GPIO bank
PIR's OUT goes to Tessel's G3 on the GPIO bank

Connecting the camera:
Plug in the camera module to Tessel port A.

Running the code:

1. Clone this repo.
1. From inside this directory, run `npm install` to install dependencies.
1. Run the code with `tessel run index.js` (the flag specifies where pictures will be saved).

Now, when you move in front of the PIR motion detector, Tessel will take a picture and will tweet it!

Reference:
==========

* [Tessel Cam](https://projects.tessel.io/projects/tesselcam)
* [Motion Activated Camera](https://projects.tessel.io/projects/motion-activated-camera)