El_Ro_Eye

El_Ro_Eye © GPL3+

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

  • 1,976 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

Smart cane

by saurabhrobotic

  • 10,255 views
  • 25 comments
  • 45 respects

Buzzer Alarm System With Help Of Arduino

by Team ONYX

  • 89,785 views
  • 12 comments
  • 50 respects

Android App-Based Home Automation System Using IOT

Project tutorial by Team Autoshack

  • 74,386 views
  • 23 comments
  • 174 respects

Probability | Autonomous Rover

Project in progress by Cole Purtzer

  • 30,571 views
  • 22 comments
  • 111 respects

Sentinel Security

Project tutorial by Scott Mendenhall

  • 6,525 views
  • 0 comments
  • 35 respects

How to make gas leak alert security alarm using arduino

Project tutorial by Shashwat Raj

  • 6,258 views
  • 3 comments
  • 8 respects
Add projectSign up / Login