This guide walks you through adding a flame sensor to an existing ESP32-based Lora Meshtastic node. This guide also applies to the following ESP32 based boards: Helltech V3 Laura, TTGoor T beam There are some fixes.
hardware
Now let’s get started with the hardware we need.
📢
When ordering from AliExpress, consider consolidating your purchases from a single seller to maximize your savings. For example, if you buy an antenna from seller X, check if that seller also offers an IPEX-SMA-K cable. Sourcing all your items from one seller can significantly reduce your shipping costs.
assembly
The hardware is all ready and the wiring is now complete. For this we will follow the following Schematic:
LM393 IR Flame Detection Sensor 3V – Heltec Lora v3
LM393 IR Flame Detection Sensor 5V – Heltec Lora v3
- VCC->3V3\5V
- DO -> PIN 46 / or another blank PIN of your choice
- Ground -> Ground
💡
The LM393 IR Flame Detection Sensor motion sensor module does not work with batteries and only works from USB if you decide to use 5V for your Heltec board.
💡
If you are using another ESP32 based board such as: Helltech V3 Laura, TTGoor T beam, simply select an available GPIO pin that accepts digital signals, supports pull-up or pull-down resistors, and is not yet used. Then ignore the specific pin numbers mentioned in the instructions and follow the instructions using the pin of your choice.
💡
Capacitors are a great way to isolate one part of a circuit from another.
💡
It is important to note that the connection order may vary. To ensure correct wiring, follow the labels of specific components and Io ports and the provided schematics. Paying attention to these details will help you make the correct connections and avoid potential problems or component damage.
Once all wiring is complete. Double-check your connections and make sure they match the suggested layout before proceeding with the next steps.
Meshtastic settings
In sensor device
- Open Meshtastic app (iOS in this guide)
- move to setting Page
- In the Module Configuration section, go to: detection sensor
- Toggle the switch to activate enable
- on the sensor name
- Set the GPIO PIN to be monitored to: pin 46
- finally get
💡
Detection trigger high turn off For this module, it goes low when a flame is detected and high when idle. If you are using another sensor or the sensor is working, turn it on.
on the client device
- Open Meshtastic app (iOS in this guide)
- move to setting Page
- In the Module Configuration section, go to: detection sensor
- Toggle the switch to activate enable
- Just below the toggle selection customer This time.
- finally get
Once this is set up, you will receive a message on the public channel whenever the sensor is triggered. If you expect your sensor to trigger frequently, consider setting limits in settings. Saturation of the network can potentially cause problems sending and receiving data. For more information, check the channel utilization post or
In conclusion, this comprehensive guide will ensure smooth integration of your flame sensor into your ESP32-based Lora node or any other ESP32-based board, such as: ESP32 DIY roller, TTGoor T beam Meshtastic Node expands its functionality. The instructions provided are for the Heltec Lora V3, but can be applied to other ESP32 based as well with some adjustments. To optimize data transfer, you should pay attention to network usage. This guide not only enhances your device with a flame sensor, but also opens up the possibility of integrating other sensors. Explore the potential of Meshtastic nodes by experimenting with different sensors and configurations and expanding the scope of applications for your mesh network. Have fun tinkering and discovering new horizons!