https://github.com/mathdroid/evasap-arduino
Nodejs app to control Arduinos for https://bantu-asap.firebase.io based on Johnny-five.
https://github.com/mathdroid/evasap-arduino
Last synced: over 1 year ago
JSON representation
Nodejs app to control Arduinos for https://bantu-asap.firebase.io based on Johnny-five.
- Host: GitHub
- URL: https://github.com/mathdroid/evasap-arduino
- Owner: mathdroid
- Created: 2016-05-17T00:46:22.000Z (about 10 years ago)
- Default Branch: master
- Last Pushed: 2016-05-19T13:14:46.000Z (about 10 years ago)
- Last Synced: 2025-01-04T06:13:47.156Z (over 1 year ago)
- Language: Arduino
- Size: 8.79 KB
- Stars: 3
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.MD
Awesome Lists containing this project
README
# Setting Up (Hardware)
1. While unplugged to anything, connect the Arduino to the MQ2 Smoke Sensor as follows:
a. VCC `1` to Arduino `VCC` (5V)
b. Ground `2` to Arduino `GND`
c. Data `3` to Arduino Analog 0 `A0`
2. Connect Arduino to PC using USB. Pay attention to which `Port` it's using for the Software steps.
# Setting Up (Software)
1. `git clone https://github.com/mathdroid/evasap-arduino && cd evasap-arduino`
2. `npm install`
3. Open **Arduino IDE**, upload the `StandardFirmata` software using one of the options below:
a. From the **Arduino IDE**, go to `File` > `Examples` > `Firmata` > `StandardFirmata`.
b. Copy-and-paste the file from `./Arduino/StandardFirmata.ino`.
4. Wait for it to be uploaded successfully.
a. If upload fails, make sure you have the right `Board` and `Port` set up in the Tools.
5. `node index.js`