It is a basic temperature Alarmer based on the DS18B20 sensor and johnny-five.
- 6 - Alarm Pin
- 3-5 - Indication of progress reaching the max from the base temperature. Each pin(1-3) gets brightness/pwd signal in one of three ranges
- 3 led - 0-33%
- 4 led - 33%-66%
- 5 led- 66%-100%.
- 2 - Input data from the sensor
Important: You need to have 4.7 kOm resister. Refer to the schema
-
Install/Deploy ConfigurableFirmata on your arduino device
-
Install latest nodejs
-
Run
npm i
-
Run
npm start -- --baseTemp <number> --maxIncrease <number>
for example:
npm run start -- --baseTemp 24 --maxIncrease 0.3
also optionally, You could define
serialPort
, by default it detects automaticallynpm run start -- --baseTemp 24 --maxIncrease 0.3 --serialPort COM5