Skip to main content

6.Fire Prevention Device

Case Description

The servo drives the flame sensor to perform radial scanning and detect whether there is a flame. When a flame is detected, an alarm is triggered.

###Key Knowledge Points

• How to use the Sugar flame sensor

##Case Implementation

###Structural Assembly Fire Prevention Device.pdf

###Circuit Connection

  • Connect the flame sensor to the Robotbit P0 terminal block.
  • Connect the servo to the Robotbit S1 socket.

###Programming

1、The flame detection is connected to P0. When the detected value is greater than 10, it indicates the presence of a flame, and the LED matrix displays a warning!

2、If no flame is detected, the servo rotates back and forth within the range of 0 to 140 degrees.

image.png

Program Source Files