Project showcase

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.

  • 482 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

Arduino Bluetooth Basic Tutorial

by Mayoogh Girish

  • 455,878 views
  • 44 comments
  • 242 respects

Home Automation Using Raspberry Pi 2 And Windows 10 IoT

Project tutorial by Anurag S. Vasanwala

  • 289,583 views
  • 96 comments
  • 677 respects

Security Access Using RFID Reader

by Aritro Mukherjee

  • 231,895 views
  • 40 comments
  • 241 respects

OpenCat

Project in progress by Team Petoi

  • 197,000 views
  • 154 comments
  • 1,370 respects
Add projectSign up / Login