Introduction: Arduino Home Automation System (Using Bluetooth) AHAS BY PYT
Since my 1st Instructable i've not got enough likes. so, I thought Of making a new instructable.
here is my 2nd instructable to build a Arduino Home Automation System.
This is the First Build Using Bluetooth And the Other Is Using Ethernet.
So Let's Began The Build With The Bluetooth,.........................................................
SO WHATS THE PLAN
I am a very lazy person, and usually as am the only child of my parent's and they tell me to do many of the work. And I really hate when they tell me to get up and specially when am working on my laptop,, and the reason's to get are "turn on the light ; give me the TV remote ; " and i hate to do that.....
so i came up with an idea, as we teenagers always have our mobile with us. i thought of controlling all the things present in the house with our smartphone.
LET'S BEGAN WITH THE BUILD
Teachers! Did you use this instructable in your classroom?
Add a Teacher Note to share how you incorporated it into your lesson.
Step 1: GO GET SOME PARTS
Materials Required To Build:-
- Bluetooth Module
- 12V or 24V Power Supply Unit
- 7809 Voltage Regulator
- 7812 For a Fan (Optional If your Using 24V Power Supply)
- Small 12v dc Fan
- Some Wires " I'll Suggest You To Use a SMPS Wires As They Are Good "
- Screws Project Enclosure Box
- 12V or 24V relay "I've Used 24V industrial Relays"
- Some Buffer's
- Terminal Blocks
- some heat shrink
- 2 way switch (optional if u want mannual light ON/OFF)
An Android Phone
- Drill Machine
- soldering iron
- screw driver
- wire stripper
Step 2: ASSEMBLE THE ELECTRONICS
Watch The Steps To Do Pcb Printing
Then Install all The Components In The Enclosure As Per You'r Needs..
Please See The Photos To Get The Ideas.
You Can Even Make Your Own Relay Board....
Do The Wiring As Per The Circuit Diagram Its Very Simple.
Sorrry i have connected only 8 relays there is an option for 9 relays you need to add one more ULN2803.
Please Watch the video to see the 2-way switch wiring, and see the photos.
the only thing you need to change in the switch wiring is that instead of the 1st switch connect the relay which even has a 3 pins.
I have even housed the powersupply in a smps cabin.
ill suggest to see all the photos i've posted to get all the idea
Step 3: LETS PLAY WITH SOME SOFTWARE'S!!!!!!
First Download The IR LIBRARY
unzip it , and place it in the library folder. see the photos for the reference.
now open the arduino IDE.
go to the examples option and open the ArduinoIrRemoteMaster (or whatever You have Named It) and open IRRecevDump file and upload it on the board with the Ir receiver Connected to Pin 11.
Now Watch The Video Of How to Record The Ir Code With The Explanation.
Now Upload The Arduino Code
Am Providing The Code With Already Ir Codes Inserted For TATASKY STB and SONY TV.
Please edit it as per your decoded codes
Now Upload The Code With The Transmitter Pin Of The Bluetooth Module Disconnected From The Board .
Once Code Is Uploaded Connect The Transmitter Pin Of Bluetooth Module To The Arduino Receive pin.
Step 4: GET THE ANDROID PHONE
Now Install The Android App On The Phone.
Small Video On How To Use The App And Set Up Your Android Phone For Use With The Bluetooth Module.
Step 5: SETUP EVERYTHING NEEDED
now till this point your code is ready your hardware is ready and even your mobile is ready.
so before turning on please check the positive and negative lines weather they are in proper polarities from the power supply or not, cross check the connections and turn it on.
Step 6: YOU'R DONE
If Everything Is Good to go the start using it.
further if you want a more custom app can contact me and ill be there to help you all.
thanks a lot
if you all like my instructables then please vote for me :)
Participated in the
Participated in the
Remote Control Contest
Participated in the