KY-026 Flame Sensor + Buzzer + Lights

Adding to the flame sensor a buzzer and LED lights to turn it into an alarm system, useful for deaf people as well, as they can't hear the typical alarms.

COMPONENTS AND SUPPLIES

InventrKits HERO

The HERO is a derivative of “Arduino UNO R3 Reference design” we just changed up a few things to make it our own. If you’re curious about what goes into our HERO board we published the open-source hardware files on our GitHub.

1

RGB Led

1

KY-026 Flame Sensor

Part of 37 in 1 Sensor Kit

1

KY-012 Buzzer

Part of 37 in 1 Sensor Kit

ABOUT THIS PROJECT

I have deaf friends and they can’t hear a regular fire alarm, but by making the buzzer produce a high pitch that actually can be picked up even in the lowest setting of a hearing device and lights to indicate an emergency, I recreated the flame sensor code as a fire alarm system for deaf or hard of hearing people.

CODE

				
					
				
			

SCHEMATICS

Fire Alarm

COMMENTS

Leave a Reply

Your email address will not be published. Required fields are marked *

//–SDR–// int Buzzer = 8; int BlueLed = 13 ; // define BlueLED Interface int RedLed = 12; //define RedLED Interface int digitalPin = 2; // KY-026 digital interface int analogPin = A0; // KY-026 analog interface int digitalVal; // digital readings int analogVal; //analog readings void setup() { pinMode(BlueLed, OUTPUT); pinMode(RedLed, OUTPUT); pinMode(Buzzer, OUTPUT); pinMode(digitalPin, INPUT); //pinMode(analogPin, OUTPUT); Serial.begin(9600); } void loop() { // Read the digital interface digitalVal = digitalRead(digitalPin); if(digitalVal == HIGH) // if flame is detected { digitalWrite(BlueLed, 255); // turn ON Arduino's LED digitalWrite(RedLed, 0); digitalWrite(Buzzer, HIGH); delay(100); digitalWrite(BlueLed, LOW); // turn OFF Arduino's LED digitalWrite(RedLed, LOW); digitalWrite(Buzzer, LOW); delay(10); digitalWrite(BlueLed, 0); digitalWrite(RedLed, 255); digitalWrite(Buzzer, HIGH); delay(100); } else { digitalWrite(BlueLed, LOW); // turn OFF Arduino's LED digitalWrite(RedLed, LOW); digitalWrite(Buzzer, LOW); } // Read the analog interface analogVal = analogRead(analogPin); Serial.println(analogVal); // print analog value to serial delay(100); }
PROJECT AUTHOR
Leave a comment
TEAM MEMBERS
SDR

SDR - Stephanie Duverge, code, setup, recording.

TABLE OF CONTENTS
Leave a comment
Share on whatsapp
Share on facebook
Share on twitter
Share on linkedin
Share on reddit
Share on pinterest
Share on email

SIMILAR PROJECTS YOU MIGHT LIKE

I cascaded four SN74HC595 shift registers to control 32 LEDs on 4 registers using 3 wires. I am adding a I2C 20×4 LCD screen to display the register and led values. I might add a standard 16×2 LCD screen to show up it is done.
A simple light meter. It’s not calibrated to any meaningful scale, but the digital readout shows a higher number the brighter is the light falling on the photoresistor.