El_Ro_Eye

El_Ro_Eye © GPL3+

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

  • 956 views
  • 0 comments
  • 0 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

Probability | Autonomous Rover

Project in progress by colepurtzer

  • 6,228 views
  • 19 comments
  • 41 respects

Multi-Dashboard Display with Arduino Controller

Project showcase by Colin O'Dell

  • 25,797 views
  • 6 comments
  • 70 respects

Wireless weather station (Arduino + ESP8266 + Thingspeak)

Project tutorial by Alin-Constantin Paun

  • 8,862 views
  • 2 comments
  • 11 respects

IoT for coins

Project tutorial by Erik Moran

  • 8,373 views
  • 1 comment
  • 42 respects

Plant watering alarm system with arduino

Project tutorial by Giannis Arvanitakis

  • 3,398 views
  • 1 comment
  • 5 respects

PIR Automated Intelligent Zebra Crossing

Project showcase by Adersh B

  • 2,832 views
  • 1 comment
  • 8 respects
Add projectSign up / Login