Skip to content

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

16 Commits
 
 
 
 
 
 

Repository files navigation

Flame Detection and Robotic Motion Control System

This repository contains the source code for a flame detection and robotic motion control system built using Arduino. The system integrates DC motors, a servo motor, flame sensors, and a temperature sensor to detect flames and respond appropriately with motorized actions and a relay-controlled actuator.

Features

Flame Detection: Utilizes three flame sensors and a temperature sensor to detect fire or high temperatures.
Smooth Motor Control: Provides acceleration and deceleration for DC motors for smooth movement.
Servo Swivel Action: Swivels a servo motor to simulate a spraying mechanism or other actuating response.
Relay Control: Activates a relay for further operations, such as triggering an extinguisher.
Forward Movement: Moves the robot forward until a flame is detected.
Interactive Debugging: Prints system status and sensor readings to the serial monitor.

Components

  1. Microcontroller: Arduino board (compatible with the AFMotor library).
  2. Motor Driver: Adafruit Motor Shield.
  3. DC Motors: Four motors for robot movement.
  4. Servo Motor: Controlled swivel action for spraying.
  5. Flame Sensors: Three sensors for flame detection.
  6. Temperature Sensor: For additional flame detection criteria.
  7. Relay Module: To control external devices, such as extinguishers.

How It Works

Step 1: Initialization

  • Sets up pins, motor speeds, and servo positions.
  • Configures flame sensors with internal pull-up resistors.

Step 2: Loop

  • Continuously monitors flame sensors and the temperature sensor.
  • Moves forward if no flame is detected.
  • Stops, activates the relay, and performs a servo swivel action when a flame is detected.

Step 3: Motor Acceleration/Deceleration

  • Gradually changes motor speeds to ensure smooth transitions.

Step 4: Servo Swivel Action

  • Moves the servo in a predefined pattern (0° to 180° and back).

About

An autonomous fire-extinguishing robot that detects flames, navigates toward the source, and extinguishes fires using sensor-based robotics and embedded systems.

Topics

Resources

Stars

2 stars

Watchers

1 watching

Forks

Releases

Packages

Contributors

Languages