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.

  • 572 views
  • 1 comment
  • 1 respect

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

Turn your RC Car to Bluetooth RC car

Project tutorial by Prajjwal Nag

  • 11,971 views
  • 1 comment
  • 11 respects

Clap Controlled Car

Project showcase by Clara & Jone

  • 1,181 views
  • 0 comments
  • 1 respect

Color Following Car

Project tutorial by Maxconnor

  • 1,054 views
  • 0 comments
  • 14 respects

RC Car to BT Car Controlled with Blynk

Project tutorial by Team Daxes Hacks

  • 3,598 views
  • 2 comments
  • 6 respects

Banger BLE Car

Project showcase by Francesc0

  • 1,231 views
  • 0 comments
  • 10 respects

Arduino Controlled Car with HC-SR04

Project showcase by VASILEIOS MOUGIOS

  • 7,741 views
  • 0 comments
  • 11 respects
Add projectSign up / Login