Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/samrocksc/johnny-five-pir-counter
Used for creating a 2 way 90 degree people counter
https://github.com/samrocksc/johnny-five-pir-counter
Last synced: 20 days ago
JSON representation
Used for creating a 2 way 90 degree people counter
- Host: GitHub
- URL: https://github.com/samrocksc/johnny-five-pir-counter
- Owner: samrocksc
- Created: 2014-12-10T18:42:08.000Z (almost 10 years ago)
- Default Branch: master
- Last Pushed: 2015-08-20T17:31:12.000Z (about 9 years ago)
- Last Synced: 2023-06-11T11:55:13.596Z (over 1 year ago)
- Language: JavaScript
- Size: 2.3 MB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
johnny-five-pir-counter
=======================This is my first attempt at creating a johnny-five app to control an arduino. A lot of what I create in this project will be persistent through future applications. I really wanted to learn how to record data being sent from a sensor for analyzation.
Used for creating a 2 way 90 degree people counter. Utilizes a breadboard to split 5v from an Arduino Nano and then pins A0/A1 to count two different sensors.
The goal of this sensor is for measuring pedestrian traffic in front of a business versus how many actually enter said business. This allows for testing atmospheres for new signage and various other methods of streetside advertisement.
Includes: johnny-five, lodash, lowdb(lodashDB), node-json-db,
Equipment Needed
----
An Arduino loaded with standard firmata(any will do the trick really,the goal of this example is to chain to a raspberry pi via bluetooth)
2x 3pin PIR sensors
1x breadboard(to split 5v off the arduino)
Any computer running node & johnny fiveInstructions
----
git clone this repot
npm install
node app.jsapp.js
----
Main file responsible for firing sensors and recording.Future Features
----
* BLE interfacing using a LightBlue bean.
* Recording times of entry for later inclusion into a graph.