Arduino & NodeMCU | Add WiFi And GPIOs | Tutorial # 31

Поділитися
Вставка
  • Опубліковано 6 лип 2024
  • IOT Home Automation Add WiFi And GPIOs To Arduino UNO
    In this tutorial you will add Wifi to Arduino Uno and have access to additional GPIOs.
    We will be controlling one device from NodeMcu and one device from Arduino Uno.
    GitHub Code:
    github.com/nassir-malik/Add-W...
  • Наука та технологія

КОМЕНТАРІ • 119

  • @blahman442
    @blahman442 5 років тому +2

    Hello. How to do the 2 way communication? I did not find the video that you promised in the video.

  • @kevinhiggins320
    @kevinhiggins320 5 років тому +8

    Gracias por compartir tan valioso conocimiento, lo necesito para mi proyecto. Literalmente me has resuelto un problema de la falta de pines con la nodeMCU. 😎😄

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

      De nada

    • @henssel_ud
      @henssel_ud 2 роки тому

      Que tipo de proyecto hiciste bro, me pasa lo mismo con la falta de pines analógicos del nodeMCU

    • @kevinhiggins320
      @kevinhiggins320 2 роки тому

      @@henssel_ud Hola amigo, en ese momento me funcionó, pero el método no es eficiente porque mi proyecto era sobre un robot y necesitaba minimizar el uso de componentes por el espacio, por lo que me tocó optar por el ESP32, el cual cuenta con más pines. Cualquier duda que tengas no dudes en consultarme.

  • @muhammadrizkiafrizal357
    @muhammadrizkiafrizal357 5 років тому +3

    I am having trouble, so what I want is for all processes to be done by Arduino Uno then nodemcu which sends data to the database. can that be done?
    because I lack ports on nodemcu

  • @DelliumM8
    @DelliumM8 4 роки тому +2

    Hi, I am developing an IoT project but I'm struggling with the connection of my WiFi Module to my Arduino, my question is, what if I don't need the relay? How can I connect the 3.3v from the Arduino directly to the WiFi module?

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

    Another piece to add to my Home automation arsenal. Thank you Nassir.

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

      You welcome.

    • @scorpman1240
      @scorpman1240 Рік тому

      ​​@@netmedias7657 can you help mi please in my first project?

  • @Sop7anaAllah
    @Sop7anaAllah Рік тому

    Thank you for this great tutorial.
    Keep up the good work!

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

    how do I use it just as a wifi shield? The node mcu app connects to blnyk a lot easier. So i want o just use it as a shield. Do i have to use the Json library to do that?

  • @tanmoysarkar5848
    @tanmoysarkar5848 3 роки тому

    THANK YOU!!!!! I had been using Software serial and stuck on arduino not receiving messages due to some reason. Couldn't find detailed videos on I2C (with code & actual implementation) until I stumbled upon this...!

  • @alexmod2802
    @alexmod2802 2 роки тому +2

    Hello! Can you please explain how to send data between the arduino and nodeMCU in both directions? How can i transfer data from the arduino to the nodeMCU? And does this connection block the Serial Connection?(Could i be able to connect to the arduino by using MATLAB Serial Connection?)
    Thank you!

  • @radixdol
    @radixdol Рік тому

    Can we use SCL / SDA pins on top right of Uno board instead of using Analog Pins to connect the two boards?

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

    Hi what will be connections for 8 channel relay, node mcu and arduno

  • @squalazzo
    @squalazzo 5 років тому +3

    are you sure no level shifters are needed between the I2C pins of both boards?

    • @netmedias7657
      @netmedias7657  5 років тому +3

      No level shifters needed. NodeMcu GPIOs are 5 volts tolerant.

  • @ahmedelattar3577
    @ahmedelattar3577 5 років тому +2

    I'm working in a project that needs a multiples analogue inputs and my board is nodemcu ...
    So how to connect it with Arduino

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

      ahmed elattar Watch my Pi video. In it I show you how to add more analog inputs. You can use the same process and use NodeMcu instead of pi. Good luck.
      ua-cam.com/video/pBxeHlvF4eQ/v-deo.html

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

    Great Video Broh.... THanks a lot.... Go Ahead

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

    I tried an ESP as a master and Uno as slave, it works. But when I try to reverse their roles, no data is being sent back from the ESP slave to the Uno master. How to fix this?

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

    Sorry if I missed it but what Alexa skill are you using to get her to see the relay? Cheers

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

      No skill required. Just use the sketch provided. Good luck

  • @jaafaromar8570
    @jaafaromar8570 3 роки тому

    can I use these codes if I'm gonna control the relay using android apps instead?

  • @MrJATIN096
    @MrJATIN096 Рік тому

    Sir is there no need to shift voltage for nodemcu , will this not damage the board ?

  • @ingenierocristian
    @ingenierocristian 3 роки тому

    Hi, I need to make an I2C communication between an Esp 32 and Esp8266, where can I find info about?

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

    How to connect nodemcu with Arduino program code is available .both code of arudino and nodemcu are same ??

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

    Can u please help me to connect arudino uno, nodemcu and moisture sensor

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

    hi can this be done with the esp32 nodeMCU?

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

    I've got a nodemcu talking to an arduino mega. I can't seem to get the nodemcu to receive the numbers I'm sending it. When I enter "100 200 300 400" in the serial monitor and press enter, it sends and shows as my int1 = 100 int 2=200 int 3=300 etc.
    But when I let the mega send the numbers, they are seen in the Serial window of the nodemcu, but they don't actually store to int1, int2, int3 etc. Any idea what is going on? I'm waiting for your 2-way communication video! :)

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

      do you have the schematic of your project ? im currently trying to make my mega communicate with my nodemcu

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

    How did u power up ur nodemcu?

  • @guntupallivenkat9447
    @guntupallivenkat9447 Рік тому

    Hi, is it possible to connect wifi module in nodemc to the Arduino uno

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

    I want to use esp32 with blynk and arduino. Any help.??

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

    My q sir :- Connect minimum 3 Nodemcu devices with one Arduino-Uno OR Raspberry Pi( As
    controller ) to Established connection between all the Nodemcu.
    And on the basis of some range of virtual keys( like 10 keys per Nodemcu ) of Blynk
    App, the controller communicates with there respected Nodemcu and do the work as per
    data provided by Blynk App.

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

    Please, how can I use the ESP8266 ESP-12E with Arduino Mega? thank you so much

  • @shaunwhiteley3544
    @shaunwhiteley3544 5 років тому +2

    Thank you for sharing how to do this but one question, why would you? Would it not just be better to use the nodemcu and remove the uno? Ok 2 questions 😀 Sorry I am missing what the use case, more complex, more hardware, more power supplies. Cheers

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

      I needed to do this for some of my projects for following reasons.
      Independent parallel code execution
      Need to drive two 5 volts motor controllers with WiFi
      Project needs more than one analog GPIO with WiFi

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

      @@netmedias7657 Hey...! The idea of integrating Uno and NodeMCU is a good one. I know how hard it is to integrate multiple analog sensors to NodeMCU and I found difficulty in integrating ESP8266 with Arduino UNO. But this will increase the overall cost on components as both Arduino and NodeMCU are used. One promising solution I worked with is multiplexing the analog signals with 4051 multiplexer IC. This mux has 8 input lines and help us connect 8 diff analog sensors to Arduino. But you can't access multiple sensors at a time. But I think getting values from diff sensors can be multiplexed. And if possible help me integrating ESP8266 with Arduino UNO. My mail id is msssuhas@gmail.com.This will help me a lot. Thanks...!

  • @viniciusmus
    @viniciusmus 3 роки тому

    Great video! Helped a lot!

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

    Hello, thank you, do you plan on making a 2-way communitation video?

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

      Eran Gabay Yes, stay tuned.

    • @seba.giordano
      @seba.giordano 2 роки тому

      @@netmedias7657 Hi, did you make that one?

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

    I think this is the answer to my problem... so, does it mean that the nodemcu can send payload(query result) to arduino uno? I'm doing a project that need nodemcu but my problem is i need more than 1 analog for input...

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

      You can have 2 way communication. Master can request and slave can respond.

  • @davis0166
    @davis0166 3 роки тому

    nice video, question, how many volts as the dual-channel reley?

  • @edinetgrunhed6000
    @edinetgrunhed6000 3 роки тому

    how about the logic voltage, i mean since arduino is TTL 5volt while NODEMCU is 3.3v. it will not damaged the esp8266 chip?

    • @netmedias7657
      @netmedias7657  3 роки тому

      Looks like Modem u is 5 volts tolerant

  • @teslaarduinocelis1105
    @teslaarduinocelis1105 3 роки тому

    Can I apply this to mega 2560?

  • @CryptoBozs
    @CryptoBozs 3 роки тому

    pls help ...i want to see a diagram from esp8266 NodeMCU to arduino UNO to another UNO so on....could you help or post a video of it..its a big help for me

  • @sachitrapatra9508
    @sachitrapatra9508 5 років тому +2

    if i want to return some data from the arduino back to the nodemcu,then how i can do this???

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

      Yes, you can used Wire.requestFrom() from master to receive data from slave.

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

      U got ?....sachitra patra

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

    Mate could this work with esp32

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

    Can we do it without Arduino?

  • @mantra1residents913
    @mantra1residents913 3 роки тому

    You did not mention how you integrated the devices with Alexa/NODEMCU app for voice command to work... can you share details?

    • @netmedias7657
      @netmedias7657  3 роки тому

      Sure, will show in one of the upcoming video.

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

    can i write the state value from dynamic variable?

  • @jktipan87
    @jktipan87 3 роки тому

    EL PRIMER GRAFICO DEL CIRCUITO ME SIRVE SOLO PARA DARLE WIFI AL ARDUINO UNO

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

    How to get address of arduino uno?

  • @jafetcontreras8950
    @jafetcontreras8950 3 роки тому

    Turn on and turn off were inversed in first tests

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

    If we want to return some data from Arduino to nodemcu how can we do it ?

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

    Hello, the Library for ArduinoJson has been updated and i cant upgrade your code. Could you please help me

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

      Please use the older version of the library, for now, you will not need to modify the code.

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

    hola, un video genial, me funciona con google home :)
    he utilizado la base de tu codigo y lo he modificado un poco poniendo un html dentro podiendo asi activar tambien "fisicamente" por pagina web pero...
    veo que el nodemcu esta limitado a 10 salidas, si conectas un arduino uno lo aprovechas, pero mi pregunta es..
    quiero utilizar un arduino mega el cual tiene mas de 10 salidas, hay forma alguna de que el nodemcu pueda activar mas de 10 salidas para el arduino mega ?

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

    i just want to attach arduino uno with esp8266 mod that is in video just to send a message to a website , please let me know how should i do

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

      Usman Qureshi Just use http client to make a HTTP get or post call from NodMcu.
      techtutorialsx.com/2016/07/17/esp8266-http-get-requests/

  • @AshokKumar-fo2sh
    @AshokKumar-fo2sh 4 роки тому

    Sir i had error on JasonBuffer JasonDocument, how to rectify it?

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

      Use older version of json or modify the code to work with new version.

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

    Im sorry sir, im new about IOT. How to make node mcu communicate with my online web server? Is this possible? Thank you

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

      Yes, I have done this in my tutorials. What are you trying to do?

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

      Netmedias i want to send data to online MySql database from node mcu and then make on/off relay from the website

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

    Hello sir, for me its showing this 1)Error Board nodemcu (platform esp8266, package esp8266) is unknown
    2)Error compiling for board NodeMCU 0.9 (ESP-12 Module).

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

    Thank you, bro..¡¡ But, I've a problem in the line "DynamicJsonBuffer jsonBuffer;" of the Arduino_uno_slave.ino
    because that's need to upgrade to AndroidJson v.6 , but I don't know how I've to do it. Thank you so much, again :3 hehehe

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

      I came across the same problem. I had a work around. I just installed the version 5 in ArduinoJson library.

  • @maheshmahi5455
    @maheshmahi5455 4 роки тому +1

    is this an i2c protocol b/w arduino and nodeMCU??

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

    Just want to use the node mcu to be modul wifi, can i?

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

      Yes, just send and receive messages to from uno

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

      @@netmedias7657 how?

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

      can i know you guys how to only using nodemcu to be module wifi of arduino uno?

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

      i'm using MQ-3 alcohol sensor connect to the ARDUINO UNO, and i want to let the nodemcu become the module Wi-Fi of ARDUINO UNO, so i can send the data from arduino to the internet. If i wanna do something like this, how to connect those port? Thanks.

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

      @@jlo7951 Idk, actually i end up with just using nodemcu alone without uno. Why dont u just put the sensor into nodemcu alone? Actually nodemcu has the same function as uno except that nodemcu has modul wifi in it. But if you still want to use uno then i suggest you to use modul wifi esp8266. The tutorial of that modul wifi is everywhere on youtube and google. It's more simple

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

    can I replace Arduino MKR1000 with Arduino uno+nodemcu?

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

      Yes

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

      @@netmedias7657 thank you! Do i just replace it with part of the connection that is the uno+relay+nodemcu that you just demonstrated ?

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

      @@mahamohamed6539 Please use this tutorial as your guide. ua-cam.com/video/5SgB6wzgxY0/v-deo.html

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

      @@netmedias7657 i'm sorry to be a bother, but this is the project that i'm trying to do, www.hackster.io/metrowest_aug/using-iot-to-remotely-control-a-robotic-arm-889cc7
      Can you please advise me ?

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

    Nice work
    Could you please make revision of this video by adding dht22 or any temp and humidity sensor,.
    Connect dht with uno and relays with esp8266.
    read temp and humidity over esp and one relay can operate with temp variation 2nd relay works with humidity.
    Regards

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

      Sure, I put it on my todo list. Stay tuned

  • @zoilaflor6450
    @zoilaflor6450 2 роки тому

    Warning never conect hot wire the relay always conect neutral wire

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

    Translated by Google Translator
    Hi, very good video, I work perfectly
    But I think this limited because you only have 10 outputs that if you connect Arduino one you take advantage but if you connect Arduino mega can not take all the outputs because there are more than 10
    Ask.... is there any way that the NODEMCU active more outputs of the Arduino mega?

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

      sparalable You can use the same code to access all GPIO on Arduino Maga.

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

    Why is slave address 8

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

      You can use a different address but make sure to use it in both sketches.

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

      But what is the logic behind chossing 8 or is it any random number I can take

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

      Use any available i2c address.

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

      @@netmedias7657 how do we get to know the available address alloted to i2c

  • @raahimirfan5996
    @raahimirfan5996 4 роки тому +1

    R u a Pakistani?

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

    why would anyone do this? its insane. bolt a horse and cart to a ferrari. the most pointlees piece of rubbish i have ever seen

    • @leed-vermaakfraneker7323
      @leed-vermaakfraneker7323 3 роки тому

      nasty and supid reply!!!
      Imagine that teh esp8266 is a webserver and we like to see teh status of teh arduino action!

  • @anggadwiantoputra5454
    @anggadwiantoputra5454 2 роки тому

    bang minta email bang mau konsul