- NMEA2000 Smoke sensor
This smoke and flame sensor is capable of detecting and measuring smoke and fire. Fire is detected on infrared elvel emited from the flames. Depending on the gas sensor used, different gases can be detected for more information see Gas / Smoke sensor
This device does not replace a professional device in any way. In particular, I decline any guarantee or liability should an accident or damage occur! Every effort should be made to prevent a fire from starting.
The device sends the following PGN's
- 126983, // Alert
- 126984, // Alert response
- 126985, // Alert text
The Software has been created using Visual Studio with the addon Visual Micro. In order to build it you als need some libraries.
- NMEA2000
- NMEA200_ESP
- AsyncTCP
- ESPAsyncWebServer
- IotWebConf
- IotWebConfAsync
- IotWebRoot
Gas sensors play a vital role in various industries and applications, ensuring safety and enabling efficient monitoring of gas concentrations. Among the popular gas sensor modules available in the market, the MQ Gas Sensor Module Series stands out as a reliable and versatile option.
The MQ-2 gas sensor module is primarily designed for detecting and measuring LPG, propane, butane, methane, alcohol, hydrogen, and smoke concentrations in the air.
The MQ-3 module is suitable for detecting Alcohol, Benzine, CH4, Hexane, LPG, CO
The MQ-7 gas sensor module is specifically designed for detecting and monitoring carbon monoxide (CO) gas concentrations.
The MQ-9 gas sensor module combines the ability to detect carbon monoxide (CO) and flammable gases, such as liquefied petroleum gas (LPG), propane, butane, and methane.
4 Pin Flame Sensor Module 3.3V-5V Infrared Receiving Module for Arduino DIY Kit
This should be unique at least on one device. May be best to have it unique over all devices sending this PGN. Depending on the number of sensors connected, between 1 and 4 instances are used, starting with the number set here.
Sequence identifier. In most cases you can use just 255 for SID. The sequence identifier field is used to tie different PGNs data together to same sampling or calculation time.
What type of sensor is used
- Gas / Smoke
- Flame
Value used to compare with the measured value
Method with which the measured value is compared with the threshold value
Methode | Description |
---|---|
equal | The measured and threshold values must be the same |
lower than | The measured value must be lower than the threshold value |
greater than | The measured value must be greater than the threshold value |
Location where the sensor is mounted
Engine room
Enter an alarm message here. This is sent via the NEMA network in the event of an alert
Smoke detected in the engine room
When not connected to an AP the default password is 123456789
When in AP mode, the default IP address is 192.168.4.1
OTA is enabled, use default IP address or if connected to a AP the correct address. Port is the default port.
After the first boot, there are some values needs to be set up. These items are maked with * (star) in the list below.
You can set up the following values in the configuration page:
- Thing name - Please change the name of the device to
a name you think describes it the most. It is advised to
incorporate a location here in case you are planning to
set up multiple devices in the same area. You should only use
english letters, and the "_" underscore character. Thus, must not
use Space, dots, etc. E.g.
lamp_livingroom
* - AP password - This password is used, when you want to access the device later on. You must provide a password with at least 8, at most 32 characters. You are free to use any characters, further more you are encouraged to pick a password at least 12 characters long containing at least 3 character classes. *
- WiFi SSID - The name of the WiFi network you want the device to connect to. *
- WiFi password - The password of the network above. Note, that unsecured passwords are not supported in your protection. *
Prevoius chapters were mentioned blinking patterns, now here is a table summarize the menaning of the blink codes.
- Rapid blinking (mostly on, interrupted by short off periods) - Entered Access Point mode. This means the device create an own WiFi network around it. You can connect to the device with your smartphone (or WiFi capable computer).
- Alternating on/off blinking - Trying to connect the configured WiFi network.
- Mostly off with occasional short flash - The device is online.
When CONFIG_PIN is pulled to ground on startup, the Thing will use the initial password to buld an AP. (E.g. in case of lost password)
Reset pin is GPIO 36