Amit ChoudharyRupin Chheda
Published

Audible Alarm For Increased Temperature

Using Temperature sensor and buzzer I made a Alarm when temperature increases more then certain degree automatically buzzer is start buzzing

BeginnerShowcase (no instructions)1 hour12,591
Audible Alarm For Increased Temperature

Things used in this project

Story

Read more

Schematics

Github

Code

Automated_Alarm_system.ino

Arduino
Automated alarm system when temperature increases.
int temppin=A0;
float temp=0;
int Buzz=A1;
void setup() {
  // put your setup code here, to run once:
Serial.begin(9600);
pinMode(Buzz,OUTPUT);
}

void loop() {
  // put your main code here, to run repeatedly:
temp=analogRead(temppin);
temp=temp*0.48828125;
Serial.println(temp);
delay(1000);
if (temp>30)
{digitalWrite(Buzz,HIGH);}
else
{digitalWrite (Buzz,LOW);}
}

Credits

Amit Choudhary
2 projects • 0 followers
Contact
Rupin Chheda
35 projects • 83 followers
Resident Maker at CuriosityGym! Electronics Engineer, CAD Modeller, Educator
Contact

Comments

Please log in or sign up to comment.