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
  • Наука та технологія

КОМЕНТАРІ • 45

  • @jawaharsarkar2011
    @jawaharsarkar2011 4 роки тому

    Awesome.
    You made me inspired to start DIY IOT projects.
    Tonns of appreciation for your efforts.

    • @nenioc187
      @nenioc187  4 роки тому

      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!

  • @DeViLsCrEaTiOn
    @DeViLsCrEaTiOn 4 роки тому

    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

  • @joapps8135
    @joapps8135 5 років тому

    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!

    • @nenioc187
      @nenioc187  5 років тому

      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.

    • @joapps8135
      @joapps8135 5 років тому

      Thanks! but when im overseas, i want to be able to turn off the lawn sprinkler system, AC, etc in the winter season

  • @neomatrix3612
    @neomatrix3612 5 років тому

    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.

    • @nenioc187
      @nenioc187  5 років тому

      I'm using MQTT Dash. But any MQTT Dashboard/Client will do.

    • @neomatrix3612
      @neomatrix3612 5 років тому +1

      @@nenioc187 That's great, thanks.

  • @claytonmascarenhas515
    @claytonmascarenhas515 6 років тому +5

    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

    • @nenioc187
      @nenioc187  6 років тому +1

      That is correct. As you can see in the video, the relay does it's job without the need for a level shifter.

  • @seanflanagan5674
    @seanflanagan5674 6 років тому

    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. 😂

  • @Tarbard
    @Tarbard 6 років тому +1

    You should add strain relief to the mains (AC) cable, it can easily be pulled loose.

    • @nenioc187
      @nenioc187  6 років тому +1

      Good advice! I'll will add this.

  • @Morfoz13
    @Morfoz13 6 років тому

    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?

    • @nenioc187
      @nenioc187  6 років тому

      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.

  • @hokazshinitzu9042
    @hokazshinitzu9042 2 роки тому +1

    Danke hab es überlebt

  • @brijeshkumar5603
    @brijeshkumar5603 6 років тому +4

    Could you please share github link or code link so that i will try to replicate at my home ??

    • @nenioc187
      @nenioc187  6 років тому

      Thanks for noticing. I added the link to Bitbucket (like github) to the description section and on the project page.

  • @youkthieshwarhs8070
    @youkthieshwarhs8070 5 років тому

    By which application u made the button on the lenova tablet

    • @nenioc187
      @nenioc187  5 років тому +1

      I'm using MQTT Dash from the play store. But any MQTT client will do.

    • @youkthieshwarhs8070
      @youkthieshwarhs8070 5 років тому

      Thanks

  • @GauravMishra-yj5yt
    @GauravMishra-yj5yt 4 роки тому

    but once you said relay works with 5v but in video it also get triggered with 3v.why?

    • @nenioc187
      @nenioc187  4 роки тому

      It has to be powered with 5V. But due it's cheap quality, the trigger pins are 3.3V tolerant.

  • @GauravMishra-yj5yt
    @GauravMishra-yj5yt 4 роки тому +1

    nice sir please make more iot based projects

  • @hisheighnessthesupremebeing
    @hisheighnessthesupremebeing 6 років тому

    Have a look at Sonoff .. it's cheap and easy to load with custom firmware

    • @nenioc187
      @nenioc187  6 років тому

      Already got two of them on my workbench. Ready to be played with ;-)

  • @sbrscoading801
    @sbrscoading801 6 років тому

    but for one small application we need to use one wifi transreviever which costs around 3000 rupees...
    its soo sad :(

    • @nenioc187
      @nenioc187  6 років тому +1

      Well, I ordered the NodeMCU board for about 3 Euro from china (that should be around 240 rupees)?

    • @sbrscoading801
      @sbrscoading801 6 років тому

      Is there any way so that we can use only NodeMCU without a wifi router +internet??!! ?

  • @mohdfadli1379
    @mohdfadli1379 5 років тому

    add additional manual push button inside project

    • @nenioc187
      @nenioc187  5 років тому +1

      As a manual override? Nice idea!

  • @ylaw2092
    @ylaw2092 5 років тому

    How far?

    • @nenioc187
      @nenioc187  5 років тому

      How far what?

    • @ylaw2092
      @ylaw2092 5 років тому

      @@nenioc187 how far the distance to reached by android?

    • @nenioc187
      @nenioc187  5 років тому

      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.

  • @dhruvilmehta4375
    @dhruvilmehta4375 6 років тому

    sir can i have your e-mail id..?

  • @PulkitPopli979
    @PulkitPopli979 5 років тому

    Why dangerous?

    • @nenioc187
      @nenioc187  5 років тому +1

      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.

    • @PulkitPopli979
      @PulkitPopli979 5 років тому

      @@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 :)

  • @______4938
    @______4938 6 років тому

    where is sketch ?

    • @nenioc187
      @nenioc187  6 років тому

      If you go to the project page there is a link to the code