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.

  • 446 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 Atari Adaptor

Project tutorial by Dante Roumega

  • 6,988 views
  • 6 comments
  • 21 respects

Generating Audio with an Arduino and a Resistor Ladder DAC

Project showcase by 3 developers

  • 2,561 views
  • 5 comments
  • 7 respects

Humidity Measuring Molecule

Project showcase by KatjaNiggl

  • 1,280 views
  • 4 comments
  • 14 respects

Electroplating with Copper

Project tutorial by Ryan Gill

  • 6,669 views
  • 8 comments
  • 15 respects

I2C OLED Display Using Arduino/NodeMCU

by Tarantula3

  • 596 views
  • 2 comments
  • 9 respects

PWM Sound Synthesis

by 3 developers

  • 1,165 views
  • 2 comments
  • 3 respects
Add projectSign up / Login