Project tutorial

Home Automation With Arduino 101 Using Bluetooth Low Energy © GPL3+

In this project I have tried to control Fan,CFL and LED lights using Bluetooth Low Energy with Arduino 101 consisting of Intel Curie module.

  • 2,117 views
  • 0 comments
  • 6 respects

Components and supplies

Necessary tools and machines

Apps and online services

About this project

This project is about controlling Christmas lights, a 5 Watt CFL, and a fan through Arduino/Genuino 101 consisting of Intel Curie module using Bluetooth Low Energy through a Android Smartphone. The components which are used in developing this project for e.g. a 5 V 4 channel Relay, male-female pins are cheap and are easily available at any hardware shop.

The video below show how I control the above mentioned appliances:

Medium link to view the article I wrote on my project:

https://medium.com/@naveenmanwani/lets-make-home-automation-easy-831cda460412

Code

Home Automation with BLE
consist of code on how i control the appliances through BLE using Arduino 101 with curie module

Schematics

Step 1:connections from Arduino/Genuino 101 to 5 V 4 channel relay board
This section demonstrate which digital pins i used to connect to the various relay channels of the relay board
1.black pin is connected to Vin which is connected to 5 V on Arduino board
2.white pin is connected to ground of relay to the ground of Arduino board
3.pin 9 is connected to 1 channel of the relay board
4.pin 10 is connected to 2 channel of the relay board
5.pin 7 is connected to 4 channel of the relay board ,you can connect it to channel 3 also.
Img 20171228 205038 hdr fga7fizle9
Step 2: how to prepare round pin male and female for connecting with relay board
the Image below consist of two pictures
1. Picture 1 show how i made a pair of male and female round pins for connecting it to relay channel on the relay board
2. Picture 2 show how using wire strip cutter i cut the red wire into two half.
In next step i'll show you which half goes where
Step2 bwvvpbep9p
Step 3:which pins ends goes where
Since, in previous step i had shown cutting of the red wire into two half ,now in this step i'll show you which half goes where
In the image i have demonstrated two very specific connections:
1. Picture 1 show that how i connect female pin end to com port of the relay channel on the relay board
2. Picture 2 show that how i connect male pin to "NO" (normally open) port of the relay channel on the relay board

i made 3 such pairs ,because i need to control 3 appliances.
Step3 caip0kdv7r
Step 4 : Final look how the setup from relay board to various round pins
in this step ,i have shown the full set up of connection from various relay channels of the relay board to the different round pins male and female
Img 20171228 204242 hdr bh0zpxulto
Step 5: Choosing the Power Source
instead of using USB jack ,to make this project robust i have used 6 AA batteries of 1.5 V each and connect it to the power jack
Img 20171228 205208 hdr y3n2wl74rq
Step 6: How to use nRF connect for mobile app
let me explain each image
1. it shows the first screen you'll see after you open the app and click on scan which is at the top right most corner,Home Automation is the name of the service which i had given through code.please click on CONNECT.

2. after you click on CONNECT,please click on Unknown Service.

3. you must be seeing 3 characteristics on the image, characteristics is equivalent to the appliances you want to control ,i want to control 3 that's why 3 characteristics.

4. this dialog box will appear if you click on up arrow of any of the characteristic.

5. if want to switch ON any of the appliance type 1 on the empty line just below where Write Value is mention .

6. after typing 1, choose UINT 8 from the list beside the space where you typed 1.

7. if want to switch OFF any of the appliance type 0 on the empty line just below where Write Value is mention .

8. after typing 0, choose UINT8 from the list beside the space where you typed 0.
Step6 xkv5lofayb
Step 7: Final setup of project
The image reflects the final setup of the whole project after doing all the steps mentioned above.
Dsc00888 gdjts1vt80

Comments

Similar projects you might like

Open Data Home Automation - Arduino 101 & App Inventor

Project tutorial by 3 developers

  • 3,244 views
  • 1 comment
  • 11 respects

Arduino 101 Bluetooth MIDI

Project showcase by Don Coleman

  • 7,810 views
  • 1 comment
  • 4 respects

Smart Garbage Monitoring System Using Arduino 101

Project tutorial by Technovation

  • 21,413 views
  • 7 comments
  • 32 respects

Control RGB LED by Dragging – Arduino 101 & App Inventor

Project tutorial by DFRobot and CAVEDU Education

  • 4,437 views
  • 0 comments
  • 12 respects

Bluetooth Based Home Automation

Project tutorial by Team Brink.IO

  • 9,654 views
  • 13 comments
  • 38 respects
Add projectSign up / Login