Integrate a flame sensor into your ESP32-based LoRa Meshtastic Node with our guide, suitable for boards like Heltec V3 Lora, TTGo, or T-Beam. This setup allows the network to broadcast messages when the sensor detects a flame.
Assembly
The hardware is all ready and set now to the wiring. For this, we will follow the following Schematics.
LM393 IR Flame Detection Sensor 3V – Heltec Lora v3
Meshtastic Settings
On the Sensor Device
- Open Meshtastic App (IOS for this guide)
- Go to the Settings page
- In the module configuration section go to Detection Sensor
- Toggle the switch to enable Enable
- Give the sensor a name
- Set GPIO PIN to monitor to PIN 46
- Lastly, press Save
On the Client Device
- Open Meshtastic App (IOS for this guide)
- Go to the Settings page
- In the module configuration section go to Detection Sensor
- Toggle the switch to enable Enable
- Right under the toggle select Client this time.
- Lastly, press Save
Once this is set up, you’ll receive messages on the public channel whenever the sensor is triggered. It’s worth noting that if your sensor is expected to be triggered frequently, consider setting a limit in the settings. Saturating the network could potentially lead to issues with sending and receiving data. Check out or Channel Utilization post for more information