Simple realtime smoke monitor using Arduino, MQ2 sensor and Node.js
- Arduino UNO
- 3 wires
- MQ2 Sensor
- Upload the StandardFirmataPlus sample to your Arduino
- Wiring:
- MQ2 VCC - Arduino 5v
- MQ2 GND - Arduino GND
- MQ2 A0 - Arduino A0
npm install
npm run start
Open your browser at http://localhost:3000 (or any other specified port in case you choose another)