Project showcase
Home Automation Using Bluetooth

Home Automation Using Bluetooth

In this project, you will learn how to make a home automation system for use with a smartphone through Bluetooth.

  • 1,254 views
  • 0 comments
  • 7 respects

Components and supplies

About this project

Go to my YouTube channel: www.youtube.com/c/yobots

We will give all the details.

Code

Home Automation Arduino CodeArduino
#include <SoftwareSerial.h>
SoftwareSerial mySerial (11, 12);
int pinNumber;
void setup() {
  mySerial.begin(9600);
 pinMode(6, OUTPUT);
  pinMode(7, OUTPUT);
  pinMode(8, OUTPUT);
  pinMode(9, OUTPUT);
  pinMode(10, OUTPUT);
  pinMode(14, OUTPUT);
  pinMode(15, OUTPUT);
  pinMode(16, OUTPUT);
  }

void loop() {
  while (mySerial.available())
  {
    pinNumber = mySerial.parseInt();
    digitalWrite(pinNumber , !digitalRead(pinNumber));    
  }
  // put your main code here, to run repeatedly:

}
Home Automation Arduino CodeArduino
#include <SoftwareSerial.h>
SoftwareSerial mySerial (11, 12);
int pinNumber;
void setup() {
  mySerial.begin(9600);
 pinMode(6, OUTPUT);
  pinMode(7, OUTPUT);
  pinMode(8, OUTPUT);
  pinMode(9, OUTPUT);
  pinMode(10, OUTPUT);
  pinMode(14, OUTPUT);
  pinMode(15, OUTPUT);
  pinMode(16, OUTPUT);
  }

void loop() {
  while (mySerial.available())
  {
    pinNumber = mySerial.parseInt();
    digitalWrite(pinNumber , !digitalRead(pinNumber));    
  }
  // put your main code here, to run repeatedly:

}

Schematics

Home Automation Circuit Diagram
Home auto mation circuit   copy rblkonb186

Comments

Similar projects you might like

Bluetooth Based Home Automation

Project tutorial by Team Brink.IO

  • 11,670 views
  • 14 comments
  • 40 respects

Bluetooth Home Automation

Project tutorial by TATCO

  • 6,334 views
  • 3 comments
  • 15 respects

Home Automation With Arduino 101 Using Bluetooth Low Energy

Project tutorial by naveen manwani

  • 1,693 views
  • 0 comments
  • 4 respects

Voice Controlled Home Automation Prototype

Project showcase by Bharath Rao M

  • 1,409 views
  • 0 comments
  • 4 respects
Add projectSign up / Login