El_Ro_Eye

El_Ro_Eye © GPL3+

Like God's Sight || Arduino Nano based PIR motion tone alarm.

  • 1,166 views
  • 0 comments
  • 2 respects

Components and supplies

Necessary tools and machines

Hy gluegun
Hot glue gun (generic)
09507 01
Soldering iron (generic)

Apps and online services

About this project

El_Ro_I is powered by Arduino Nano. Passive Infra Red sensor detects the thermal image from the surrounding. After that it sings a song or melody to interrupt our mind. Also this prototype will be developed to alert the Deaf people shortly. It is going on.

El_Ro_Eye sang "CBAGFEDC", "CDEFGABC". In my regional language it hears as "Sa, Ni, Tha, Pa, Ma, Ga, Ri Sa", "Sa, Ri, Ga, Ma, Pa, Tha, Ni, sa". It was generated from the tone library header file which is included in tone function.

EL_RoI Sing a song we it detected me.....

Code

CodeC/C++
int Bulb = 3;
int buzzer = 4;
int El_Ro_I = 2;

int tone_duration = 200;
int duration = 200;

void CBAGFEDC();
void CDEFGABC();

void setup()
{
  pinMode(Bulb, OUTPUT);
  pinMode(El_Ro_I, INPUT);
  pinMode(buzzer, OUTPUT);
  Serial.begin(9600);
}

void loop() {
  int alpha = digitalRead(El_Ro_I);
  if (alpha == HIGH)
  {
    digitalWrite(Bulb,HIGH);
    CBAGFEDC();
    CDEFGABC();
  }
  else
  {
    digitalWrite(Bulb,LOW);
    noTone(buzzer);
  }
}
void CDEFGABC()
{
  noTone(buzzer);
  delay(duration);
  tone(buzzer, 262, tone_duration); // c
  delay(duration);
  noTone(buzzer);
  delay(duration);
  tone(buzzer, 294, tone_duration); // d
  delay(duration);
  noTone(buzzer);
  delay(duration);
  tone(buzzer, 330, tone_duration); // e
  delay(duration);
  noTone(buzzer);
  delay(duration);
  tone(buzzer, 349, tone_duration); // f
  delay(duration);
  noTone(buzzer);
  delay(duration);
  tone(buzzer, 392, tone_duration); // g
  delay(duration);
  noTone(buzzer);
  delay(duration);
  tone(buzzer, 440, tone_duration); // a
  delay(duration);
  noTone(buzzer);
  delay(duration);
  tone(buzzer, 494, tone_duration); // b
  delay(duration);
  noTone(buzzer);
  delay(duration);
  tone(buzzer, 523, tone_duration); // c
  delay(duration);
}
void CBAGFEDC()
{
  noTone(buzzer);
  delay(duration);
  tone(buzzer, 523, tone_duration); // c
  delay(duration);
  noTone(buzzer);
  delay(duration);
  tone(buzzer, 494, tone_duration); // b
  delay(duration);
  noTone(buzzer);
  delay(duration);
  tone(buzzer, 440, tone_duration); // a
  delay(duration);
  noTone(buzzer);
  delay(duration);
  tone(buzzer, 392, tone_duration); // g
  delay(duration);
  noTone(buzzer);
  delay(duration);
  tone(buzzer, 349, tone_duration); // f
  delay(duration);
  noTone(buzzer);
  delay(duration);
  tone(buzzer, 330, tone_duration); // e
  delay(duration);
  noTone(buzzer);
  delay(duration);
  tone(buzzer, 294, tone_duration); // d
  delay(duration);
  noTone(buzzer);
  delay(duration);
  tone(buzzer, 262, tone_duration); // c
  delay(duration);
}

Schematics

EL_RoI Wiring
El ro eye

Comments

Similar projects you might like

Buzzer Alarm System With Help Of Arduino

by Team ONYX

  • 55,744 views
  • 9 comments
  • 33 respects

Android App-Based Home Automation System Using IOT

Project tutorial by Team Autoshack

  • 43,128 views
  • 21 comments
  • 121 respects

Probability | Autonomous Rover

Project in progress by UniverseRobotics

  • 14,289 views
  • 19 comments
  • 70 respects

Sentinel Security

Project tutorial by Scott Mendenhall

  • 5,284 views
  • 0 comments
  • 33 respects

Motion Detector Clock

Project in progress by Frazer Reid

  • 2,397 views
  • 1 comment
  • 5 respects

Multi-Dashboard Display with Arduino Controller

Project showcase by Colin O'Dell

  • 27,941 views
  • 6 comments
  • 79 respects
Add projectSign up / Login