Pluto Logo

by Drona Aviation

Profile
Menu
All Projects
FlameSense
ADD-ON MODULE
FlameSense on Drone

FlameSense

SENSORBeginner
X2_FLMSN

Learn how digital sensors communicate with the Pluto drone by interfacing a flame detection module. This project teaches you to read GPIO digital inputs and use them to trigger autonomous flight - a core skill in building reactive drone systems.

DIFFICULTYBeginner
PORTRC
SIGNALDigital

WHAT YOU'LL LEARN

  • Reading digital HIGH/LOW signals from a GPIO pin
  • Understanding IR-based flame detection principles
  • Implementing sensor-triggered autonomous takeoff
  • Using LED indicators for drone state feedback

DOWNLOADS

PlutoBlocks Code
Coming Soon
HEX Firmware File
GitHub Latest.hex
1

The Challenge

✨

Build a program to add fire sensing ability to Pluto drone. The drone should sense fire and take off accordingly.

2

Understanding the Add-On

A flame sensor module is essentially an IR receiver that detects fire by sensing the infrared waves emitted by flames. Under normal conditions, the sensor output stays HIGH. When fire or a flame is detected in its sensing range, the output goes LOW. The detection sensitivity can be fine-tuned using the onboard potentiometer.

3

Wiring & Connections

Connect the FlameSense to the RC port on the Primus V5/X2 board. The flame sensor has a limited detection angle. Point it in the direction you want to monitor. Adjust the onboard potentiometer to set sensitivity.

Primus V5/X2 PinPeripheral
VCC on RC portVCC on flame_module
GND on RC portGND on flame_module
Signal on RC portSignal on flame_module
4

How It Works

Approach We utilise the input signal from the flame sensor to evaluate the drone's takeoff decision. Code Logic Explained On Start: Blue LED turns ON to signal the program is initialized.Pluto Loop: The loop continuously reads GPIO_1 (connected to the flame sensor on the RC port). Under normal conditions, the sensor sends a HIGH signal. When it detects flames nearby, the signal drops to LOW (false). When this LOW is detected, the drone takes off to 150cm. The LED changes to Green + Red (Yellow) to indicate the loop is running, and Blue turns OFF to show the transition from standby to active mode.On Stop: Green LED turns ON confirming the program ended cleanly.

5

Real-World Applications

Fire detection and alert drone Emergency response automation Industrial safety monitoring

6

Try Further

Ready for the next challenge? Try these extensions to deepen your understanding. 1Use multiple flame sensors to determine the direction of fire. 2Combine with a Hooter module to create a fire alarm drone that buzzes when fire is detected. Pluto Drone Add-On Projects — Compatible with Pluto 1.2 (Primus V5) & Pluto X (Primus X2) — Drona Aviation

7

PlutoBlocks Code

✨

PlutoBlocks code for this module is coming soon. Stay tuned for updates!

8

PlutoIDE Code (C++)

✨

PlutoIDE C++ code for this module is coming soon. Stay tuned for updates!

9

Real-World Applications

Fire detection and alert drone
Emergency response automation
Industrial safety monitoring
10

Try Further

Ready for the next challenge? Try these extensions to deepen your understanding.

1
Use multiple flame sensors to determine the direction of fire.
2
Combine with a Hooter module to create a fire alarm drone that buzzes when fire is detected.