# How to make Home Automation project for controlling Lights of our home?

#### Tryin

##### New Member
Can someone please help me with the Stuff about Home Automation . I saw various videos on but none of them had made it very clear about their connection and not even good expalation . i don't want whole ready mate project all i need is just how to start with it ? what could be my basic first step to understand my project well.
i have very basic idea about arduino boards but don't know its proper usage and configurations.

#### Pommie

##### Well-Known Member
If you google "Wemos IOT project" you'll find lots of info. For example.

Mike.

#### be80be

##### Well-Known Member
This is a lot more fun

#### rjenkinsgb

##### Well-Known Member
Most home automation devices use a dedicated communication system that is totally separate from WiFi etc. so there is no interference.
(The 2.4GHz WiFi band is massively overloaded in most cities and not a reliable communications link).

The earliest ones use X10, a basic "mains carrier" system using ultrasonic pulses. UPB (Universal powerline bus) was an advancement of that with better capabilities.

The best present devices use "Z-Wave", a UHF radio link system running at around 868 or 915 MHz (Europe or USA, respectively).

Every device is two-way, reporting back to whatever controls it as well as receiving, plus every device can act as a repeater and pass on data either way to other Z-Wave devices on the same network that are out of direct range of the controller, a mesh type system - up to five "hops" of extra range.

Zigbee is another UHF mesh system used for some home control, but somewhat less standardised that z-wave, with different devices using different radio bands - mixing 2.4 GHz (the congested WiFi band) with 868 / 915 MHz..

You can get USB stick style Z-Wave controllers that you can use with PCs or a Raspberry Pi etc., so you could build your own main controller while being able to use ready-made sensors and power controllers etc.

You can even get lamps with internal Z-Wave on/off and dimming or colour control - eg.

Most things you would want to control in a home operate on 115 or 230/240V (depending where in the world you are), which is not something you want to mess with as a beginner in electronics - a mistake can have lethal consequences to you or someone else.

Or, you can use "hard wiring" at eg. 12V, with switches and relays connected to input and output boards on an arduino, pic or pi etc.

That's the simplest and cheapest for starting learning about control systems and automation - and how most "serious" (eg. factory, process control, machine tool) automations works - no radio links, everything is wired and generally working on 24V DC, with wired network links between devices if there is more that one intelligent controller in a machine.

#### DrG

##### Active Member
Can someone please help me with the Stuff about Home Automation . I saw various videos on but none of them had made it very clear about their connection and not even good expalation . i don't want whole ready mate project all i need is just how to start with it ? what could be my basic first step to understand my project well.
i have very basic idea about arduino boards but don't know its proper usage and configurations.
The key to getting some help is in refining what you mean by "stuff" (and also returning to the board to see the responses)..

I read your post and the title carefully and from what I can gather, you want to automate lights in your home using an arduino. You have not stated that you want to automate your lights over the Internet using your phone, for example. With that it mind, I think post #3 has some good leads for investigating several techniques.

Several other posts have discussed IoT based approaches.

Let me talk about another very simple, yet effective, approach that you may be able to understand as a good starting point.

Start with the endpoint - the lightbulbs and/or the sockets that the lamps connect to. Here I am assuming the line or mains connection. As a beginner, I would advise that you not try to build that part. Instead, purchase those parts. For example:

Those are remote-controlled light bulb sockets. They receive 433MHz RF to turn them on and off. Your remote controller functions as the transmitter and the receiver is built into the socket.

Here is another example:

Those operate in the same way, but instead of turning on the light bulb socket, they turn on whatever is plugged into the socket (which, of course, is plugged into the wall socket). I think those are also 433MHz, but you need to check as some are 315MHz. These are all pretty low-end.

So, now, the question becomes, how do you get the Arduino to take the place of the remote control transmitters that they come wth. Fortunately, there is a lot of work done with that.

First, you can get some 433 MHz transmitters and receivers that can be hooked up to an Arduino:

Then, you first have the Arduino read the RF communication from the remote. Once read, that information is stored and can be transmitted by the Arduino from within a program.

Here is a good multi-part tutorial on that process.

There are many such tutorials.

Here is a good library for use with the Arduino:

So, armed with those basic tools, there are a couple of points to consider. First is that these will have some limited range - maybe 80ft, maybe less, maybe a little more.

Second is that you will likely want to add a real time clock to your Arduino so that the automation is accomplished at certain times and under certain conditions.

This approach, I think, gives you a good, low cost, foundation for the "stuff" that you mentioned.

It is only one, relatively simple, and relatively hands-on, approach. Go back to post #4 as well as the IoT methods that were mentioned.

Fill in the "stuff"