Introduction: IR Based Home Automation Using Arduino

Follow This Steps And Convert Your Home To Smart Home

Step 1: Use 12 V 1 or 1.5 Amp Power Supply

Step 2: Make 12 V to 5 V Converter Circuit

component list

1 multipurpose circuit bord

2 capacitor 470uf ,1uf

3 diode in4007

4 ic LM7805

5 transistor bc547

6 relay 5v

7 arduino uno

" width:120px;height:240px;"="" marginwidth="0" marginheight="0" scrolling="no" frameborder="0" src="//®ion=IN&placement=B00H1HR576&asins=B00H1HR576&linkId=&show_border=true&link_opens_in_new_window=true">buy

8 any remort

9 tsop 1738

10 arduino ide software for mac/windows

Step 3: Connect of TSOP 1738 to Arduino

Connect tsop1738 ground to arduino ground ,+5v to arduino +5v ,output to arduino 0 number in (RX)

Step 4: Downlod IR Decord.ino File From Here


Use arduino ide softwere open ir decorc.ino and upload to bord

if you have any error like (C:\Program Files (x86)\Arduino\libraries\RobotIRremote\src\IRremoteTools.cpp:5: error: 'TKD2' was not declared in this scope) so downlod ir Library from here and extrect and past to C:\Program Files\Arduino\libraries

after problem not solve downlod this libraries and past on same path

Step 5: Open Seriel Moniter(ctrl+shift+M)

press button from remort and note down received code

like 16220287





Note down same code recived from pressing one button

Step 6: Download Final Home Automation.ino

home automation.ino

Downlod code and upload to bord

change define code to your remort code

Step 7: Joint This Circuit for Use Reley (make Your Own Relay Bord for On/off Home Application)

Joint +12v direct connection from power supply

for more unformation go to


DIY Hacks and How Tos (author)2016-07-17

Great Arduino project. You can use it to automate almost anything.