IoT Switch
Вставка
- Опубліковано 9 лис 2017
- What is more IoT than controlling your power outlets through your smartphone?
I realize this project with an ESP8266, a relay and a power outlet. Quite simple and a little dangerous.
Project Page
rohling-de.blogspot.com/2017/...
Links
ESP 8266 NodeMcu - amzn.to/2h4Zobh
Relay - amzn.to/2h7hgT9
Simple Power strip - amzn.to/2j2aodK
Jumper Wire - amzn.to/2jfAOc0
Smartphone - amzn.to/2Fv8KvL
Code - bitbucket.org/Remnis/mqtt-iot...
Banggood 11.11 Global Shopping Carnival Electronic Special -- goo.gl/zHEiJW - Наука та технологія
Awesome.
You made me inspired to start DIY IOT projects.
Tonns of appreciation for your efforts.
Thanks! Inspiring people was the main reason, I started this channel. So this is one of the best compliments, I can receive. Keep it up! And be careful when working with high voltage!
Hi, I have a question. can i power up a 5 volt 4 channel relay module with a 5 volt 0.7-0.8 mAh wall type charger, which is basically use for charge the simple mobiles.
If yes, then how i connect, i mean what will be the circuit diagram. which wire will be connect with the vcc and which wire connect with the ground and which wire is connect with the ESP8286.
OR,
ESP8266 nodeMCU board 3.3volt is sufficient for 4 channel 5 volt relay?
i am try to built a home automation project.
Thank you very much. Please help me
Hi. You seem very knowledgable... so question: i want to set up my home yard sprinkler, interior lights, etc. so that i can control them remotely on my smart phone/PC. Yes, there r a lot of products out there that do this via wifi. However, my wifi router at home occasionally needs a reboot (unplug and plug back in). I wont be able to physically do this rebooting while traveling in other countries for many months at a time. What are my options these days to alleviate this issue? Thanks!
There is no need to reinvent the wheel. There are cheap digital plugs, that can be programmed to turn off/on at a specific time. No WiFi required and you'll probably find them at your local hardware store.
Thanks! but when im overseas, i want to be able to turn off the lawn sprinkler system, AC, etc in the winter season
What was that interface you were using to make the button etc? Did you write your code or did you get help with an external application.
I'm using MQTT Dash. But any MQTT Dashboard/Client will do.
@@nenioc187 That's great, thanks.
5v relays.work.with the mcu just fine.You can power the relay5v via the 5v pin.And the relay geta triggered by the 3.3v signal
That is correct. As you can see in the video, the relay does it's job without the need for a level shifter.
Great project; much nicer solution than fastening the power strip on the wall within your reach (and your visitors' view)! Wish I could do this in my home, but I understand that you would burn my house down or electrocute me for pirating your creation. 😂
You should add strain relief to the mains (AC) cable, it can easily be pulled loose.
Good advice! I'll will add this.
Thanx for the project, but above all thanx for the coding which is short and simple! :D
Is there a way how to add to this project another mechanical (normal) switch and what would be the difference in coding?
The relay works like most light switches. You can build a cross connection with it. The code only handles the relay state. So there is no need to modify it.
Danke hab es überlebt
Ein Glück!
Could you please share github link or code link so that i will try to replicate at my home ??
Thanks for noticing. I added the link to Bitbucket (like github) to the description section and on the project page.
By which application u made the button on the lenova tablet
I'm using MQTT Dash from the play store. But any MQTT client will do.
Thanks
but once you said relay works with 5v but in video it also get triggered with 3v.why?
It has to be powered with 5V. But due it's cheap quality, the trigger pins are 3.3V tolerant.
nice sir please make more iot based projects
I'll try my best!
Have a look at Sonoff .. it's cheap and easy to load with custom firmware
Already got two of them on my workbench. Ready to be played with ;-)
but for one small application we need to use one wifi transreviever which costs around 3000 rupees...
its soo sad :(
Well, I ordered the NodeMCU board for about 3 Euro from china (that should be around 240 rupees)?
Is there any way so that we can use only NodeMCU without a wifi router +internet??!! ?
add additional manual push button inside project
As a manual override? Nice idea!
How far?
How far what?
@@nenioc187 how far the distance to reached by android?
Well, if you are using a MQTT broker that is accessible from the internet, you can control it from everywhere on the world, where you have internet connection.
sir can i have your e-mail id..?
Why dangerous?
Mains voltage is dangerous! And can be lethal if you are doing it wrong! If you have to ask this kind of question, I highly recommend asking a professional for help you with this project. Your life is too valuable for this.
@@nenioc187 thanks for the suggestion mate. I am more into programming and stuff rather than assembling hardware components that's why I'm bad at this. Thanks for the information :)
where is sketch ?
If you go to the project page there is a link to the code