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... - Наука та технологія
Hello. How to do the 2 way communication? I did not find the video that you promised in the video.
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. 😎😄
De nada
Que tipo de proyecto hiciste bro, me pasa lo mismo con la falta de pines analógicos del nodeMCU
@@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.
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
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?
Another piece to add to my Home automation arsenal. Thank you Nassir.
You welcome.
@@netmedias7657 can you help mi please in my first project?
Thank you for this great tutorial.
Keep up the good work!
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?
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...!
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!
Can we use SCL / SDA pins on top right of Uno board instead of using Analog Pins to connect the two boards?
Hi what will be connections for 8 channel relay, node mcu and arduno
are you sure no level shifters are needed between the I2C pins of both boards?
No level shifters needed. NodeMcu GPIOs are 5 volts tolerant.
I'm working in a project that needs a multiples analogue inputs and my board is nodemcu ...
So how to connect it with Arduino
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
Great Video Broh.... THanks a lot.... Go Ahead
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?
Sorry if I missed it but what Alexa skill are you using to get her to see the relay? Cheers
No skill required. Just use the sketch provided. Good luck
can I use these codes if I'm gonna control the relay using android apps instead?
Sir is there no need to shift voltage for nodemcu , will this not damage the board ?
Hi, I need to make an I2C communication between an Esp 32 and Esp8266, where can I find info about?
How to connect nodemcu with Arduino program code is available .both code of arudino and nodemcu are same ??
Can u please help me to connect arudino uno, nodemcu and moisture sensor
hi can this be done with the esp32 nodeMCU?
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! :)
do you have the schematic of your project ? im currently trying to make my mega communicate with my nodemcu
How did u power up ur nodemcu?
Hi, is it possible to connect wifi module in nodemc to the Arduino uno
I want to use esp32 with blynk and arduino. Any help.??
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.
Please, how can I use the ESP8266 ESP-12E with Arduino Mega? thank you so much
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
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
@@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...!
Great video! Helped a lot!
Glad it helped!
Hello, thank you, do you plan on making a 2-way communitation video?
Eran Gabay Yes, stay tuned.
@@netmedias7657 Hi, did you make that one?
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...
You can have 2 way communication. Master can request and slave can respond.
nice video, question, how many volts as the dual-channel reley?
5 volts
how about the logic voltage, i mean since arduino is TTL 5volt while NODEMCU is 3.3v. it will not damaged the esp8266 chip?
Looks like Modem u is 5 volts tolerant
Can I apply this to mega 2560?
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
if i want to return some data from the arduino back to the nodemcu,then how i can do this???
Yes, you can used Wire.requestFrom() from master to receive data from slave.
U got ?....sachitra patra
Mate could this work with esp32
Can we do it without Arduino?
You did not mention how you integrated the devices with Alexa/NODEMCU app for voice command to work... can you share details?
Sure, will show in one of the upcoming video.
can i write the state value from dynamic variable?
Yes.
EL PRIMER GRAFICO DEL CIRCUITO ME SIRVE SOLO PARA DARLE WIFI AL ARDUINO UNO
How to get address of arduino uno?
Turn on and turn off were inversed in first tests
If we want to return some data from Arduino to nodemcu how can we do it ?
Hello, the Library for ArduinoJson has been updated and i cant upgrade your code. Could you please help me
Please use the older version of the library, for now, you will not need to modify the code.
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 ?
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
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/
Sir i had error on JasonBuffer JasonDocument, how to rectify it?
Use older version of json or modify the code to work with new version.
Im sorry sir, im new about IOT. How to make node mcu communicate with my online web server? Is this possible? Thank you
Yes, I have done this in my tutorials. What are you trying to do?
Netmedias i want to send data to online MySql database from node mcu and then make on/off relay from the website
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).
Try NodeMCU 1.0 (ESP-12E..
need to add nodemcu board to ide
have you added node mcu to the boards in arduino ide?
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
I came across the same problem. I had a work around. I just installed the version 5 in ArduinoJson library.
is this an i2c protocol b/w arduino and nodeMCU??
yes
Just want to use the node mcu to be modul wifi, can i?
Yes, just send and receive messages to from uno
@@netmedias7657 how?
can i know you guys how to only using nodemcu to be module wifi of arduino uno?
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.
@@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
can I replace Arduino MKR1000 with Arduino uno+nodemcu?
Yes
@@netmedias7657 thank you! Do i just replace it with part of the connection that is the uno+relay+nodemcu that you just demonstrated ?
@@mahamohamed6539 Please use this tutorial as your guide. ua-cam.com/video/5SgB6wzgxY0/v-deo.html
@@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 ?
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
Sure, I put it on my todo list. Stay tuned
Warning never conect hot wire the relay always conect neutral wire
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?
sparalable You can use the same code to access all GPIO on Arduino Maga.
Why is slave address 8
You can use a different address but make sure to use it in both sketches.
But what is the logic behind chossing 8 or is it any random number I can take
Use any available i2c address.
@@netmedias7657 how do we get to know the available address alloted to i2c
R u a Pakistani?
Yes.
Please post your question here. Thanks
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
nasty and supid reply!!!
Imagine that teh esp8266 is a webserver and we like to see teh status of teh arduino action!
bang minta email bang mau konsul