Answer the question
In order to leave comments, you need to log in
Smart home for a beginner?
Hello!
I often come across articles on Habré and other sites on how users build a smart home based on controllers (Arduino, etc.). I really wanted to learn this. I am currently a C++ programmer. How difficult will it be to get into it? I would like interesting articles, advice. To begin with, I want a light switch on the remote control or through the web interface in the entire apartment. Had a look at the Arduino.
Answer the question
In order to leave comments, you need to log in
To turn on / off the 220v light through the web interface, you need any arduino board, relay and ethernet shield .
It is better to take the board uno / mega, so that you can simply plug the ethernet shield into it.
If you are at least mediocrely familiar with c / c ++, you will learn how to blink an LED or turn on / off the light through a relay on arduino in 10 minutes.
There is nothing complicated with the web interface either, but you will need to understand simple ready-made examples .
It's even easier with a remote control than via ethernet. buy this receiver(you can without a remote control, suitable for any TV). Connect it to the board, connect the required library and watch the port monitor, it will display the hex values of the command pressed on the remote control. You will only have to remember this value and use the if condition (received_command == desired_command) to perform the desired action (turning on the light, etc.). Here is a good example .
First, teach the light in the bedroom to turn off by double clapping your hands.
arduino is programmed in C ++ - so everything will work out, but there are enough examples :)
I can recommend the smartliving.ru community - there are a lot of discussions on Arduino and something more serious :) If anything, please contact me - I will help you as much as I can.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question