Hello friends

Today I am back with another project called ultra cheep home automation under $5

Home automation means you can control home applies more easily. You can control your fan lights exits’ with tip of your finger or allow them to work automatically

The project contains three different switching circuits

1. IR remote controlled switch

2. Automatic water level controller

3. Automatic night light

Step 1: My Goal

Picture of My Goal

“To make a cheap and efficient home automation circuits under $5”



This is the driving circuit of the IR remote controlled switch

To make this circuit you need

1. BC 547 & BC 558 Transistors = 9 INR

2. CD4017 IC & 16 Pin IC holder = 15

3. TSOP 1738 = 17

4. 100 Ohm resistor = 0.50

5. 100K Ohm resistor = 0.50

6. 4.7 K Ohm resistors x2 = 1

7. 10uf Electrolytic Capacitor = 10

8. 0.1uF Film Box Capacitor = 5

9. 1N4148 Diode High-speed diode = 2

10. 5V relay = 20

11. 2-Pin PCB connector x2 = 10

12. Wires = 5

13. PCB = 10

Total = 105 INR

Total cost of this circuit is equals to 105Rs or 105INR (70 INR = 1 USD).that means this circuit is under $5 budget



This is the driving circuit of the Automatic water level controller

To make this circuit you need

1. BC 547 Transistor X 3 = 9 INR

2. 220 K Ohm & 5.4 K Ohm resistors = 1

3. 1N4007 Diode = 1

4. 12V relay = 12

5. One, 3-pin PCD connector & two, 2-Pin PCB connector = 25

6. Wires = 5

7. PCB = 10

Total = 66 INR

Total cost of this circuit is equals to 66Rs or 66INR (70 INR = 1 USD).that means this circuit is under $5 budget


Picture of The Circuit : AUTOMATIC NIGHT LIGHT

This is the driving circuit of the Automatic night light

To make this circuit you need


2. 150 K Ohm resistor = 0.50

3. LDR = 2

4. 1N4007 Diode = 1

5. 12V relay = 12

6. 2-Pin PCB connector X 3 = 25

7. Wires = 5

8. PCB = 10

Total = 72.50 INR

Total cost of this circuit is equals to 72.50Rs or 72.50 INR (70 INR = 1 USD).that means this circuit is under $5 budget

Total cost of the these circuits are under 5$ budget

Step 5: Fitting and Wiring

Picture of Fitting and Wiring

IR REMOTE CONTROLLED SWITCH need an 5 V DC to can use any IR blaster as switch

AUTOMATIC WATER LEVEL CONTROLLER need 12V DC to can control any water pump Max load is 1.4kW).use stainless steel bolts as sensor

AUTOMATIC NIGHT LIGHT need 12v DC to operate

Step 6: The Moment of Truth

this is the video of IR REMOTE CONTROLLED SWITCH (Video 1)

this is the video of AUTOMATIC WATER LEVEL CONTROLLER(Video 2)

this is the video of AUTOMATIC NIGHT LIGHT(Video 3)


for more details about AUTOMATIC NIGHT LIGHT "


wreckekek10 (author)2016-09-17

Sorry im a newbee. Where do i connect this switch? Am i gonna tap it to the wire of the appliance im using?

vina1991 (author)wreckekek102016-09-18

like this

vina1991 (author)wreckekek102016-09-18

it's a can replace any ordinary switch with this IR switch

wreckekek10 (author)2016-09-17

Hi. I have a question. What are the other things that i can connect to the ir remote controlled switch?

vina1991 (author)wreckekek102016-09-18

any thing under 4Kw :)

beware!! not use with any device that use an IR remote

wreckekek10 (author)2016-09-17

Where do i put the 5v dc?

vina1991 (author)wreckekek102016-09-18

put 5 volt hear :)

beardoo (author)2016-09-06

Hi, im new in electronics and i have a question, maybe is a fool one, but what am i have to connect to ve+ and ve- ?

vina1991 (author)beardoo2016-09-07

+ve means positive. usually a red or white wire & -ve means negative. usually a black wire.use a multimeter to ensure the polarity




vina1991 (author)2016-08-25

Yes You Can!

TSOP1838 and 1738 are same.18 series comes with small size package

SasukeU (author)2016-08-25

Can I use TSOP 1838?

tn. (author)2016-07-02

What a great idea! I'd put circuits for all lights in the apartment on a board in direct sightline to the entrance so when i leave or enter, it's one click to kill or activate all lights. Great for families whose kids keep forgetting to shut off the lights and those who have anxiety disorders.

tn. (author)tn.2016-07-02

Also, the water controller would be a terrific backup for a sump pump or a painless way to maintain aquarium water levels.

vina1991 (author)tn.2016-07-03

i don't know the the water level controller is safe to fish.but i know it's not harmful to human because i am still alive ;)

tn. (author)vina19912016-07-03

Generally speaking, stainless is safe for freshwater fish.

Saltwater might be a different story, however, since salt is corrosive and also changes the conductivity of the water. I have zero experience with marine tanks, so perhaps someone else can chime in.

fred_ (author)tn.2016-07-16

It's probably not the best circuit for a few reasons. You'd probably get corrosion where the copper wire attaches to the bolt. A DC current is likely to corrode the ss bolts and would make a small amount of chlorine. Chlorine and copper are two things you'd want to keep away from a marine tank. You could probably use a cheap pressure sensor and a pic/duino etc to analyze rational level measurements and other logic tests to trap system failures. That way you'd only have a plastic tube exposed to the water with the electronics away from the moisture/salt. Might be $10+ range though.

Raphango (author)2016-07-02

Great! ?

vina1991 (author)Raphango2016-07-03

WHAT "?"

Thank you for your comment :)

Raphango (author)vina19912016-07-03

Sorry, this "?" is a emoticon from my phone hehe

relbatto (author)2016-07-01

I really enjoyed the water level controller, electronics is a world class hobby that needs projects like this to spread the joy of being able to actually fix things. ebay has some fantastic bargains on electronic relays capable of handling 20, 40, even 100 amps of ac (triggered by 3-to 36v dc)at low prices. i do a lot of simple projects living in the country , and used the water level controller on my evaporation cooler . they have a little float valve that gets plugged easily and floods the ground or goes dry and quits cooling. I substituted the water inlet valve (110ac) from a discarded washing machine for the pump and solved the problem. While relays can be salvaged from automobiles where they control fuel pumps and lots of other items,(0$ cost), the solid state stuff will last for decades... if the electrical storms and tornadoes don't get them first, .... i live in Oklahoma! thanks for doing what you can to make electronics useful to ordinary folk who are missing out on a great hobby.

vina1991 (author)relbatto2016-07-01

Thank you for your comment :)

beic (author)2016-06-30

But why to use that powerful MosFET for only a Relay switching?

vina1991 (author)beic2016-06-30

are you sad about the MOSFET in the NIGHT LIGHT?

i am using MOSFET because two reasons.

one, MOSFET can handle i can use 12V relay for my project.otherwise i need 3 transistors,resistors and a 5V relay.12V relay is cheaper than 12v relay also the circuit become simple too

the second reason is, i already have a 12v relay and MOSFET used in the previous project. i don't want to waste that components ;)

beic (author)vina19912016-07-01

Okay, but you could easily use 2N2222, BC547 or any general purpose NPN transistor here. Anyway, great work you did there! ;)

vina1991 (author)beic2016-07-01

yes but 2N2222 or BC 547 cant handle cheapest options is MOSFET

this is the circuit i designed with two BC547 for 5/6V relay

beic (author)vina19912016-07-01

You are talking about Emitter-Base Voltage for 2N2222 and BC547?

vina1991 (author)beic2016-07-01


Emitter-Base Voltage for 2N2222 and BC547 are less or equal to 6v

pwdandekar (author)2016-06-30

Nice Circuits.

A small doubt though!

In IR Switch, you are using BC547 to drive coil of a relay. That is fine. Why not use the same circuit for driving relay in Automatic Night Switch Circuit? BC547 costs much less than IRFZ44. MOSFET is under-utilized here.

I have a suggestion. The next step could be two combine all three circuits in a single board - driven by a ATmega328, using a code written in Arduino.

Best wishes.

vina1991 (author)pwdandekar2016-06-30

Thank you for your support

actually i don't have any type of formal education in electronics :)

pwdandekar (author)vina19912016-06-30

Yet you are doing such a wonderful work.

I am going to ask my students to replicate your circuits for practice and then do the same with an Arduino board. It would be great fun to perform all 3 parts in a single circuit.

vina1991 (author)pwdandekar2016-07-01

Hello sir

these are only my pride projects.i already have thousands of working projects in my lab, like Joule Thief to Tesla Coil :)

leovolpatto (author)2016-06-30

Fantastic! I'm going to make it. Thank you!

vina1991 (author)leovolpatto2016-06-30

Thank you for your positive comment :)

i am happy to help you

kramhat (author)2016-06-30

Nice project.

vina1991 (author)kramhat2016-06-30

Thank you for your positive comment :)

kiwizero (author)2016-06-30

Hey, you, awesome project! I loved it.

I have a question if you dont mind: I'm very tempted on making one "IR REMOTE CONTROLLED SWITCH" for the lighting on my bedroom, how powerful is the signal? I really need to know if I will be able to control it from my bed.

Thanks in advance.

vina1991 (author)kiwizero2016-06-30

Thank you for your positive comment :)

Yes its powerful IR switch and you can used for any type of home appliances except a devices that use an IR remote like TV.max load is 1.4Kws

i am using one on my bedroom to switch on my fan :) you can also use your mobile as IR remote(but your mobile need an IR blaster)

THE HOCKSTER (author)2016-06-30

I love it!! By chance do you have plans for a wireless digital temperature sensor? Or can you point me in the right direction? Otherwise I'm trying to create a wifi accessible datalogger to capture temperature from multiple locations, using the adafruit datalogger. But I'll need to work on the temperature piece of the project next

doctor_g (author)THE HOCKSTER2016-06-30

Hockster, You may want to check out the Texas Instruments SensorTag.

THE HOCKSTER (author)doctor_g2016-06-30

Dr G, this may be exactly what I've been looking for. This was not coming up in my previous internet searches. Thank you so much the suggestion!

I'll throw another one at you - I'm trying to add a feature to a home automation project which will allow the system to identify which family members are home based on their smart phones connecting to the home wifi. I've been doing some research with open source routers but can't yet find a way for the system to trigger events based on MAC addresses connected to the router. Would you happen to have any thoughts on that?

JasonW4 (author)THE HOCKSTER2016-06-30

adafruit sells blue fruit modules, I'm thinking they could use the mac address once connected and then know who's home

Craig12345 (author)THE HOCKSTER2016-06-30

The ESP8266 is a cheap WiFi device that can be programmed to scan for IP addresses and respond via a web service alerts (Text/email/voice). I have not done this, but only read about it. Google is your friend to make it happen.

christoams (author)THE HOCKSTER2016-06-30

you can look sensor DS18B20 with esp8266, i 've build one for my swiming pool, you can see my blog (but un french...)

FYI I have been using the Dallas Maxim DS1820 programmable resolution 1-wire digital thermometer IC for some time now and have found these sensors to be far superior to solutions you typically see on the web . These cheap (~$4) sensors offer an accurate (0.5deg C accuracy from -10 to +85C) digital solution without the analog sensor noise problem. You can have as many sensors as you want strung out on one 3 wire signal cable and use only one port pin on an Arduino UNO (my choice for a controller). I added an SD card/RTC data logger board for my weather station or an LCD display board for a second inside/outside dual temperature display box. Internet or WiFi access was not for me, but is readily available using the right board. Dallas offers complete coding solutions but the code needs to be slightly modified for the ATMEL environment (relatively easy effort if you do code).

MarcinF (author)THE HOCKSTER2016-06-30

DS18B20 + ESP8266 with arduino / adafriut or even without. I've seen project like this somewhere on web.One ESP8266 was operating DS18B20 other as reciever and I2C display controller

boneo (author)2016-06-30

Nice project! Your IR Remote circuit is showing a BC 557 but you have it listed as BC 558 on your list. which one is the correct?

vina1991 (author)boneo2016-06-30

actually you can use both :)

BC557 and BC558 are PNP Transistor

pwdandekar (author)2016-06-30

Sorry, I noticed the sump well from where the water is pumped, little later. It might be a good idea to put one or two level sensors in sump well. If the water level in sump falls very low, motor may run dry and burn. So that pump motor will run only if there is sufficient water in source.

Similarly and upper level sensor in sump will switch the pump on if there is space in upper tank, even if the water level does not fall below lower sensor.

If we use a microcontroller then we can implement some interesting logic.

abelcasa (author)2016-06-29

What amazing ideas!

I give a vote to the automation contest 2016

vina1991 (author)abelcasa2016-06-29

Thank you for your support and feedback :)

About This Instructable




Bio: a MAD man who fancies himself a genius
Add instructable to: