Hamad MohammadAli Jamal Albloushi
Published

Garage opener - notifer

The project opens the garage door using the particle App and it notifies the user if the garage door left open.

BeginnerFull instructions provided3 hours864
Garage opener - notifer

Things used in this project

Hardware components

Photon
Particle Photon
×2
Jumper wires (generic)
Jumper wires (generic)
×4
reed switch
×1
Garage remote motherboard
×1
Resistor 10k ohm
Resistor 10k ohm
×1
Breadboard (generic)
Breadboard (generic)
×2
USB-A to Micro-USB Cable
USB-A to Micro-USB Cable
×2

Software apps and online services

Maker service
IFTTT Maker service
Excel
Fritzing

Hand tools and fabrication machines

Soldering iron (generic)
Soldering iron (generic)

Story

Read more

Schematics

Notifier Circuit Schematic

Code

Notifier codes

C/C++
int PIRSensor = D0;
///////////////////////////////////////////
void setup(){
pinMode(D7,OUTPUT);
pinMode(PIRSensor,INPUT_PULLUP);
}
//////////////////////////////////////////
void loop() {
    
  if (digitalRead(PIRSensor) == HIGH)
  {
       digitalWrite(D7,1);
       Particle.publish("GarageDoor","Open");
       //state = !state;
       delay(800);
       digitalWrite(D7,0);
  }
    delay (4000);
}
///////////////////////////////////////////

Credits

Hamad Mohammad

Hamad Mohammad

1 project • 1 follower
Ali Jamal Albloushi

Ali Jamal Albloushi

1 project • 1 follower
Mechanical ENG student

Comments

Add projectSign up / Login