Project showcase
Flame Car

Flame Car © CC BY-SA

The task of this machine is to go straight with a flame sensor module that catches the flame and buzzer gives alarm.

  • 972 views
  • 1 comment
  • 2 respects

Components and supplies

Relay (generic)
×1
Tens70
9V battery (generic)
×2
Adafruit industries ada1536 image
Buzzer
×1
Adafruit flame sensor module
×1
A000057 featured
Arduino Leonardo
×1

Necessary tools and machines

Lasercutter
Laser cutter (generic)

Apps and online services

About this project

INTRODUCTION

This report has the objective of planning a project, that uses the utility of ARDUINO. This project consists in the construction and the programming of a machine in wood that has got two DC motors, flame sensor module, and a buzzer sensor. The task of this machine is to go straight at constant speed a flame sensor module that catches the flame and a buzzer gives the alarm.

PROGRAMMING ARDUINO

The following sketch allows you to start up the relay, except in the case that "val" result HIGH, there is a flame. In this case the relay is disabled and the buzzer makes a sound until "val" doesn't come back to be LOW.

Code

flame_car.inoArduino
int buzzer = 4 ;// define LED Interface

int buttonpin = 13; // define the flame sensor interface

int relay = 10;

int val ;// define numeric variables val

void setup ()

{

pinMode (relay, OUTPUT) ;// define LED as output interface

pinMode (buttonpin, INPUT) ;// output interface defines the flame sensor pinMode (buzzer, OUTPUT);

}

void loop ()

{

digitalWrite(relay, HIGH);

val = digitalRead (buttonpin) ;// digital interface will be assigned a value of 3 to read val if (val == HIGH) // When the flame sensor detects a signal, LED flashes {

digitalWrite(relay, LOW);

digitalWrite (buzzer, HIGH);

}

else

{

digitalWrite (buzzer, LOW);

}

}

Custom parts and enclosures

draw of car
draw of car
Disegno gddngrtsgi

Schematics

motor wiring
motor wiring
Frizting o69cmvxqsg

Comments

Similar projects you might like

Biometric Car Entry - True Keyless Car

Project showcase by Rajeev Velikkal

  • 7,699 views
  • 9 comments
  • 43 respects

Turn your RC Car to Bluetooth RC car

Project tutorial by Prajjwal Nag

  • 18,490 views
  • 2 comments
  • 24 respects

Color Following Car

Project tutorial by Maxconnor

  • 2,198 views
  • 0 comments
  • 16 respects

Clap Controlled Car

Project showcase by Clara & Jone

  • 1,964 views
  • 0 comments
  • 3 respects

RC Car to BT Car Controlled with Blynk

Project tutorial by Team Daxes Hacks

  • 6,384 views
  • 2 comments
  • 7 respects

High Speed Arduino RC car

by Muhammad Aqib

  • 6,043 views
  • 4 comments
  • 17 respects
Add projectSign up / Login