https://github.com/saurabhdaware/smartlights.js
Smart Street Lights made in NodeJS & Arduino
https://github.com/saurabhdaware/smartlights.js
arduino iot javascript johnny-five nodejs
Last synced: about 2 months ago
JSON representation
Smart Street Lights made in NodeJS & Arduino
- Host: GitHub
- URL: https://github.com/saurabhdaware/smartlights.js
- Owner: saurabhdaware
- Created: 2018-10-01T16:12:08.000Z (over 7 years ago)
- Default Branch: master
- Last Pushed: 2018-10-08T10:55:37.000Z (over 7 years ago)
- Last Synced: 2025-02-07T23:43:28.206Z (over 1 year ago)
- Topics: arduino, iot, javascript, johnny-five, nodejs
- Language: C++
- Size: 43.9 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# SmartLights.js
In this project we are using NodeJS to Control devices connected to the Arduino to create Smart Street Light that automatically gets turned on when car passes from front of it
## INSTALLATION
- `git clone https://github.com/saurabhdaware/SmartLights.js.git` or download zip file and extract
- Connect LED, Ultrasonic Sensor, LDR to arduino and connect Arduino to your laptop (You can see connections on http://johnny-five.io/examples/ )
- Open ArduinoCode folder this repository and open pingFirmata.ino using Arduino IDE
- Upload Code to your Arduino (Press => arrow button on upper bar)
- `cd SmartLights.js`
- `node server.js`
## SOFTWARE
- NODEJS (Johnny-five library)
- Arduino
## HARDWARE
- Arduino UNO
- UltraSonic Sensors
- RGB LEDs
- LDR