Smart Garage Door Control

Garage doors are very heavy and our smart system enables user to control the door via mobile phone app, saving energy and time.

AdvancedShowcase (no instructions)2 days349
Smart Garage Door Control

Things used in this project

Hardware components

Relay (generic)
×2
MSP-EXP430G2 MSP430 LaunchPad
Texas Instruments MSP-EXP430G2 MSP430 LaunchPad
×1
HC-05 Bluetooth Module
HC-05 Bluetooth Module
×1
General Purpose Transistor NPN
General Purpose Transistor NPN
×2

Software apps and online services

MIT App Inventor 2
MIT App Inventor 2

Hand tools and fabrication machines

Laser cutter (generic)
Laser cutter (generic)

Story

Read more

Code

Code for Motor Control via bluetooth

Arduino
USe it for motor control via two relays one for clockwise and other for anti clockwise rotation
unsigned char temp;
int up=6;
int down=7;
int n=20000; // time of 20 sec for shutter up and down
void setup() {
  // put your setup code here, to run once:
Serial.begin(9600);
pinMode(up,OUTPUT);
pinMode(down,OUTPUT);
digitalWrite(up,LOW);
digitalWrite(down,LOW);
}

void loop() {
  // put your main code here, to run repeatedly:

   while(!Serial.available());
   if(Serial.available()>0)
   {
    temp=Serial.read();
    if(temp=='A')
    {
      digitalWrite(up,HIGH);
      delay(n);
      digitalWrite(up,LOW);
    }
    if(temp=='B')
    {
      digitalWrite(down,HIGH);
      delay(n);
      digitalWrite(down,LOW);
    }
   }
}

Credits

Dr. Umesh Dutta

Dr. Umesh Dutta

38 projects • 39 followers
Working as Director of Innovation Centre at Manav Rachna, India. I am into development for the last 12 years.
Nilansh Khurana

Nilansh Khurana

3 projects • 2 followers
devdutt

devdutt

10 projects • 7 followers
Robotic Gold Medalist at IIT Guwahati and Embedded,Hardware Developer at Manav Rachna Innovation and Incubation Centre
Texas Instruments University Program

Texas Instruments University Program

91 projects • 94 followers
TI helps students discover what's possible to engineer their future. Learn about TI tech for the classroom: www.university.ti.com
Energia

Energia

34 projects • 22 followers
Founder of @energiaproject

Comments