I'm looking for this video for so long and finally here it is
@ropo78524 жыл бұрын
Thank you very much, my project didn't work because it lacked the pinMode setup and it took me a lot of time to learn until I saw this video of you.
@AZ0al92 жыл бұрын
Dude thank you, I have searched for countless solutions and this helped me!
@xidameng6 жыл бұрын
Thanks MisterP, very HELPFUL video! I had the same problem connecting Arduino to ESP! wish I saw your video earlier.. Please keep up the good work and look forward to seeing more of your video!
@RedtronKH6 жыл бұрын
thanks for your feed back
@sumbunly28226 жыл бұрын
i try to watch and learn this from your video for so many times
@TacticalxRecon6 жыл бұрын
You are truly a legend. A hero we have been asking for. I salute you!
@sukanyamore20725 жыл бұрын
Which board do I select while uploading data to nodemcu?
@jktipan873 жыл бұрын
never said, in the code there is a esp8266 but when his monitor show us you can see NodeMCU.
@luialcantaraa6 жыл бұрын
It worked very well for me and my colleague in our project! Thank you very much!
@prasoonnigam3 жыл бұрын
Just the information I was looking for. Thanks a ton for saving my 5 hours with this 18 mins video !
@esophagoose4 жыл бұрын
Thank you!! We need more videos like this
@veeravaananen49053 жыл бұрын
Thanks, this is working also with level converter! :)
@RedtronKH3 жыл бұрын
Of course it did
@jonatansantos92604 жыл бұрын
Ajudou demais! Conteudo top! Lembrando que é preciso selecionar a versão correta do seu NodeMCU. Estava usando a versão genérica e não tinha conseguido, mudando para versão 1.0 foi perfeitamente
@mariov572 жыл бұрын
Very simple and instructive. Thank you!
@MrJohnakel Жыл бұрын
Thanks for your work. Why use 2, 3 - D3, D2 instead of RX and TX on the boards?. What about the other way communication ? Thanks.
@itsnadchaos9 ай бұрын
did you find out?
@MrJohnakel9 ай бұрын
@@itsnadchaos No, I am not sure now as that project was long ago but it think I went with the tutorial.
@med64025 жыл бұрын
simple but great thnks just what i've been looking for
@RedtronKH5 жыл бұрын
Thanks
@mdshabaz25915 жыл бұрын
@@RedtronKH are you able to send the data from arduino to nodemcu?
@armandobacangjr.5593 жыл бұрын
Hi how about Arduino pass data to nodemcu esp8266?
@Ibrafahri085 жыл бұрын
how about serial communication between arduino uno and esp32? im already try with the same code as yours but there is an error said this " exit status 1 request for member 'begin' in '1', which is of non-class type 'int' " can anyone help me?
@calvin-75405 жыл бұрын
Same
@vitoraugusto48195 жыл бұрын
You resolved it??
@manen91024 жыл бұрын
can't we just use the rx and tx pin on the arduino for serial communications from arduino
@jeanmarcreyes69276 жыл бұрын
Hi sir I have a question umm i'm really new to these stuffs umm why didn't we use the rx and tx pins of the arduino and the rx and tx pins of the nodemcu esp8266?
@iwanawaludin955 жыл бұрын
because those pins are attached to usb communication, we want to monitor the communication of uno-mcu using usb port.
@MichelleShum5 жыл бұрын
how did you compile the code? is it plug the nodemcu to compile or just use arduino uno usb to compile?
@brentsonjamesbohhong5004 Жыл бұрын
the d2 and d3 can be raplace to d3 and d4 sir?
@RedtronKH Жыл бұрын
Thank
@ARPANCS-iw8ew5 жыл бұрын
Hello Sir, I got to understand the working of this project Setup. But in this Setup the data is sent from NodeMCU to Arduino if im right, how can we reverse this so that i will be able to send the data arrived from arduino to the firebase using wifi
@phamcang20776 жыл бұрын
Ad ! Can you make another video like this but run a component with Blynk soft on phone!! Exp: read the temp from sensor linked arduino sent val to Blynk soft with 8266 node.
@justinevicente19386 жыл бұрын
I also need a example for a Blynk application connected to NodeMCU8266 and connected to Uno
@Amitkrdas176 жыл бұрын
use firebase
@jonabeld.niegas6198 Жыл бұрын
i connect one sensor to A0 of analog input in the nodemcu esp8266. then i will put another sensor to A0 in the nodemcu but there is only one A0 of esp8266. Is it possible if i connect other A0 to Arduino uno r3 the A0 then send it to blynk?
@itsnadchaos9 ай бұрын
can I use TX and RX instead of pins 2 and 3?
@nhat_uet71514 жыл бұрын
Hi, I used your code and followed your instruction but I notified that "ESP8266WiFi.h: No such file or directory", I also downloaded a corresponding library but It didn't work. Can you inform me of the proper library for this program? thanks so much!
@ensarcidic3 жыл бұрын
Can I change the pin 3 for the first pin, because i have connect that pin with stepper motor driver. Best regards!
@othmanmirizi64654 жыл бұрын
What if we want to send more than one value?
@tarunsachan25375 жыл бұрын
thank you for such a wonderful explanation.
@RedtronKH5 жыл бұрын
Thanks and please subscribe to get even more video in the future
@vamsikiran64305 жыл бұрын
When i run the code and upload to ESP8266. It is showing an error, The error says - "error: 'D2' was not declared in this scope SoftwareSerial NodeMCU(D2,D3);"
@RedtronKH5 жыл бұрын
It can be cause by order issue
@vamsikiran64305 жыл бұрын
Arduino IDE is not recognising D2 as a number like it does in the case of A0 in Arduino pins. Is there an alternate way ??
@rizqiaripp5 жыл бұрын
@@RedtronKH give solution pls
@mrzaizai2k1605 жыл бұрын
Let try SoftwareSerial NodeMCU(2,3); 2,3 instead of D2, D3
@saracastillo44954 жыл бұрын
@@mrzaizai2k160 The pins you need are: SoftwareSerial NodeMCU(4,0); since d2 is gpio4 and d3 is gpio0
@educlub4u5 жыл бұрын
with the same code and hardware connection ..my serial monitor showing nothing
@nandhinijagadeesan38352 жыл бұрын
Can i connect Arduino mega with NodeMCU esp8266 and then connect to thingspeak to visualize sensor data?
@madhushaviraj98242 жыл бұрын
It works perfectly Thanks
@rasdavis83906 жыл бұрын
From my research u seem to know wat Ur talking bout 🔛☯️🎖️💯 like Ur video u got a new subscriber 🤣😂😂™️
@islamesmat30005 жыл бұрын
It is possible for nodemcu to connect to more than one device
@calvin-75405 жыл бұрын
Inside the setup, The ESP8266.begin(4800) row indicats “request for member 'begin' in '1', which is of non-class type 'int' ”怎么解决
@rudiimbrechts30645 жыл бұрын
Replace SoftwareSerial ESP8266(D2,D3) with NodeMCU(D2,D3). Do the same for all other SoftwareSerial functions (f.i. replace ESP8266.begin(4800) with NodeMCU.begin(4800) ). It is clearly shown in the video at 17:23.
@alexmod28023 жыл бұрын
Hello! Would it not be possible to connect the RX and TX pins of Arduino to RX TX pins of NodeMCU? It is just a question because i use the digital pins 2 and 3 for other purpose in my project.
@KP__946 жыл бұрын
Hello, I have simply followed all your instructions and my arduino and nodemcu working properly but, as you mentioned in video, Rx should be blinking but in my case, Tx is blinking... so can you help me with problem? And also, will this project work with arduino Yun? Please reply.
@prashantchaudhari71995 жыл бұрын
@RedTron - This won't damage nodemcu, right? Asking because ESP works on 3.3v while UNO on 5v.
@RedtronKH5 жыл бұрын
So far so good although it won't giving any quick damaging, in theory it is a bad idea but in reality this working fine and might last long
@RedtronKH5 жыл бұрын
Thanks for the question anyway
@prashantchaudhari71995 жыл бұрын
Thanks.. yeah, anyways here UNO is not sending to esp...
@gorillaau5 жыл бұрын
If you are paranoid, then consider level shifting the 5v to 3.3v and vice versa. It's good engineering practice.
@neesnisa90155 жыл бұрын
Hello. Can I use this uno + usb host shield to mcu? I want to get the data from the uno
@mr.joyothailottorygamejoyo4606 жыл бұрын
VERY NICE I LIKE YOUR CHAINAL MY FREND
@RedtronKH6 жыл бұрын
Thanks
@Sam-pc5gm6 жыл бұрын
In case if we are just using the ESP8266 module not the NodeMCU, in that case can you tell me what pins of esp8266 will be connected to 2 and 3 of arduino and what will be the changes in code?
@RedtronKH6 жыл бұрын
nice question bro ? Anyway you can Google for esp8266 download and upload code process as it will show you the schematic board diagram that let you perform the transmit and received data along with pin number, the code on the other is not going to change anything
@RedtronKH6 жыл бұрын
You can Google the pin of rx and tx of esp8266-12E
@Sam-pc5gm6 жыл бұрын
Okay will try that
@LatinTotal6 жыл бұрын
Very informative video bro
@RedtronKH6 жыл бұрын
Thanks. And please help me subscribe to get more interesting video in the future 😀
@qasershah20004 жыл бұрын
In your code, the NodeMCU gives the value to Arduino. Am, I right? If so, then how to send Arduino value to NodeMCU?
@RedtronKH4 жыл бұрын
I think I had made it all clear in the video
@onguyen7024 жыл бұрын
in code NODE MCU. it don't understand D2 and D3. why ?
@rajdeepiitm-speed-of-ideas4 жыл бұрын
This way you cannot send data from Arduino Uno to NodeMCU. NodeMCU's Rx pin works only on UART0. However, it will work if you want to send data from NodeMCU to Arduino.
@d.vldymyr3381 Жыл бұрын
how can i send data from arduino to nodemcu?
@walterbenemerito77036 жыл бұрын
hi may i know if that is possible to send data from arduinoUno to ESP8266..your video shown esp8266 send data to ArduinoUno..There is a problem im encounter in communicating from arduino to esp.Please HELP ME>>>>
@ousmanebalde91173 жыл бұрын
tank you very much. It works fine for me
@mtzbadri Жыл бұрын
Hello My Name is Mohammed and I am part of a robotics team in BDCHS I have been trying to get an arduino Uno with a RTC module and NodeMCU like your ("How to make SoftwareSerial Communication between Arduino Uno and NodeMCU") work for our competition and I can not get it to work if there is any way could you please help.
@rendhiardsani6 жыл бұрын
Can I send multiple data from Arduino UNO to NodeMCU ? only using single TX and RX pin.
@RedtronKH6 жыл бұрын
Sure you can
@rendhiardsani6 жыл бұрын
MisterP can you help me to find out how to code it?
@phamcang20776 жыл бұрын
U have to code both board. Software sẻial to make a communication . At the uno you print “val” out sẻial , then esp software.sẻial to read
@worldmemes28092 жыл бұрын
Бро, спасибо тебе большое! Я желаю тебе больших Успехов и большого Здоровья!
@dongletreehenley97446 жыл бұрын
hi just downloaded the wifi sketch and tried to upload to my esp8266 board but i get an error message stating "D2 was not declared in the scope" Im sure its me doing somthing wrong! any idea's ??
@RedtronKH6 жыл бұрын
Your missing D2 code , just put it back in and you're good to go
@RedtronKH6 жыл бұрын
Hi! Please hel me support my channel by subscribe to my channel so that you will receive even more interesting video in the future, thanks
@icjay1793 Жыл бұрын
cant find my esp8266 nodemcu file directory on my arduino how?
@TheDarkforce955 жыл бұрын
hi sir . i would like to ask how to send the data we get from uno in nodemcu to blynk ?
@prototiposcea5 жыл бұрын
With virtual Pins, they can help you to communicate with app
@targetsathees16444 жыл бұрын
Please give code targetsathees23@gmail.com
@nickgiachoi83085 жыл бұрын
Can I send multiple data?
@candrasniper34048 ай бұрын
2 way communication in a sametime? Esp8266 to Uno and uno to es8266
@CryptoBozs3 жыл бұрын
how to connect esp8266 to UNO to another UNO so on....could you help make diagram and video
@TeriyakiTK5 жыл бұрын
I got a question can this connect with Blynk? and how? do I need to upload both code to arduino and NodeMCU? sorry still a newbie on this
@fadhilinayituriki16786 жыл бұрын
u are a genius dawg
@radiamoon23954 жыл бұрын
Hi is there is a way that i can use the analalog pins of the arduino uno(i hava 4 sensors and i want to send there data to a web page using esp8266 ) so i'm having a problem with the code on ide it keeps refusing the code that defines the analog pins of sensors(exmpl: int Ldr= A2) because i'm using the esp board. can you help me plz And thank for the video
@ibrahimbhavnagarwala71604 жыл бұрын
have u solved this yet? I have a similar project.
@simonegiacomini52873 жыл бұрын
Unfortunately this code don't work anymore...
@mohamedrchidi5135 жыл бұрын
Hello. Can you help me edit code? I want to add a library Wire.H (I2C). When you press the boutton ON send number 1. When you press the boutton off send number 2
its not working for me, it does not lit up the RX on my arduino Uno board. I followed the steps tho.
@ThePekopeko1236 жыл бұрын
hello sir, can I use uno and nodemcu to do IoT device? where the uno will send the data to an app Via nodemcu.
@RedtronKH6 жыл бұрын
Of course you can, we will posting video related to this soon so please subscribe to catch up with our latest video
@ThePekopeko1236 жыл бұрын
thank you soo much.. looking forward for your video
@m.k.84406 жыл бұрын
I'm trying this but every time Arduino and nodemcu communicate the nodemcu gets disconnected from internet. And to connect them again I need to restart/reset the module
@carlosalbertoavilaguzman61616 жыл бұрын
do i have to connect the 5 v pin of the arduino to de v in of the nodemcu?
@RedtronKH6 жыл бұрын
In my video I don't connect but you can connect if you only need one power source connection and nodemcu is support 5v as well but make sure you connect to 5v of node MCU not 3.3v cuz it will damage the board
@carlosalbertoavilaguzman61616 жыл бұрын
it worked really fine, thank you for your support, now i would like to send two different readings from two sensors, do you have any tutorial about this?
@carlosalbertoavilaguzman61616 жыл бұрын
I mean, you send a cariable and then you receive it as val in the nodemcu code, i would like to receive in the nodemcu a val2
@RedtronKH6 жыл бұрын
I only have arduino reading sensor but haven't yet making arduino reading and send data ...... But I will do it soon .... Also will do the totorial on how you get the data uploading to internet as well . You can subscribed to my channel so that you won't miss any of my arduino tutorial
@carlosalbertoavilaguzman61616 жыл бұрын
TellWeHow Std ok thank you soo much, I will suscribe. Finally I have donde it, after a lot of experimentation
@taranagnew4366 жыл бұрын
can you make it so that you can upload stuff via phone?
@namratachaudhar70366 жыл бұрын
Can we use the nodemcu esp8266 for WiFi connection for the aurdino uno..??
@RedtronKH6 жыл бұрын
it would be more in to iot stuff
@mdshabaz25915 жыл бұрын
is this serial communication simplex, duplex or half duplex?
@zeinabwalid98524 жыл бұрын
I got an error : esptool.FatalError: Failed to connect to ESP8266: Timed out waiting for packet header
@nitishgowrydoss69592 жыл бұрын
Is it a two way communication ?
@sowmiyasowmiya35555 жыл бұрын
Can u please help me to connect nodemcu, ardunio and moisture sensoe
@InnerInsightsII4 жыл бұрын
It says D2 not declared in this scope and it points out inside the void setup
@kaneshvaranjayakumar91376 жыл бұрын
I was trying to send a 13 digit number to arduino it works but the last 2 digits are not accurate... Is there any work around this? Help will be very much appreciated
@Tegatreides6 жыл бұрын
long float?
@electronician80745 жыл бұрын
why you donst using pin 0 and 1 arduino for communication with esp8266? somebody can tell me about this because iam really want to know.
@likhithmadappady17465 жыл бұрын
If u use 0 & 1 pins then u have to disconnect those connections when uploading and I guess serial monitoring is not possible as those pins directly connected over usb for serial monitoring.
@qayyumyusuff59216 жыл бұрын
Can i know, why Tx and Rx is not used? I'm newbie in this things.
@learnthebasicchannel83946 жыл бұрын
it can be use i think if all Digital pins are already in used. I'm a newbie also:)
@prashantchaudhari71995 жыл бұрын
Because the real RX & TX of Arduino and ESP are used for USB connection with computer - that's how you can see the output of the exchange on both sides. Uno and ESP both have only 1 RX-TX each.
@RedtronKH5 жыл бұрын
Thanks for sharing idea
@srijandubey51075 жыл бұрын
Can we use arduino nano with nod mcu??
@RedtronKH5 жыл бұрын
Sure
@jktipan873 жыл бұрын
wifi:4:24: error: 'D2' was not declared in this scope 4 | SoftwareSerial NodeMCU(D2,D3); I HAD THIS ERROR
@imspectator62756 жыл бұрын
I have a question. What is the purpose of esp8266? Is it similar with nodemcu? And what they are doing and used for? Someone told me that esp8266 is to connect to other device or to a web server. And you can code on esp8266 board without arduino. Is it true? TIA. Sorry for my bad english.
@imspectator62756 жыл бұрын
Also I want to ask what will happen when arduino and esp8266 are connected to each other? Our development is to sense the ph level of river using arduino and ph sensor and we want to send the data/value to website. How to do this? Please help me. Thanks.
@RedtronKH6 жыл бұрын
Esp8266 is a wifi module alone, but NodeMcu is a module that contain esp8266 inside and have been well design for even more development purposes
@RedtronKH6 жыл бұрын
You can also use NodeMCU(esp8266) for this project but sending data to website you might gonna chose a sending protocol that you think might fit to you, for me I only do the MQTT protocol.
@imspectator62756 жыл бұрын
@@RedtronKH thanks for your response. Now, should I use NodeMcu instead of esp8266 for my project? And when NodeMcu(Esp8266) connected to router or internet in my home, and I will bring the pocket wifi and I will visit the link (the web page) in school which is a long distance, would it still works? Sorry for my bad english again.
@RedtronKH6 жыл бұрын
Of course you should use NodeMCU,
@gurdevparmar6 жыл бұрын
Great info. My only feedback: you don't have to post video of you writing code. That could've made this video shorter and sweeter.
@sachinthakagamage9825 жыл бұрын
can you please tell me how to get value to nodemcu8266 from Arduino like dht11 sensor
@mohdsultan406 жыл бұрын
How to send multiple variables serially from Arduino to esp8266
@prashantchaudhari71995 жыл бұрын
I think a comma separated string would help.. In that case instead of parseFloat, you'll have to use String. Alternatively, you need to define a protocol - say you want to send 10 float values, then send them one after other and separate them by any character, say "," and at end of 10th character, send packet completion character, say " ".
@RedtronKH5 жыл бұрын
Thanks for sharing
@dominicaudy11674 жыл бұрын
@@prashantchaudhari7199 Is it possible to publish this part of the code as an example. I did several tests and it doesn't work. Thank you!
@milepetricevic72185 жыл бұрын
i did exactly what is on here but with my mega and I'm not getting anything to send and RX light is not blinking but when i click send in the serial monitor the RX light blinks on my mega but nothing sends. anyone know what the issue can be ?
@prashantchaudhari71995 жыл бұрын
Try without software serial. Mega have more than 1 RX-TX pairs, so use any one other than the one connected to your USB.
@RedtronKH5 жыл бұрын
Thanks for sharing
@vinodmishra54785 жыл бұрын
d3,d2 is not identified by arduino, esp8266.h not identified.... kindly write a how to include it in your description
@byxlettera14526 жыл бұрын
I think it's going to demage RX pin on nodemcu. It's 3V3 logic level board and from arduino it will receive 5V. It is a question of time.
@AhsanAli-gx7jc6 жыл бұрын
there you must use voltage divider from 5v to 3v3
@byxlettera14526 жыл бұрын
Dear Ali, With a voltage divider everything will be fine. Bye
@Kostanj426 жыл бұрын
so voltagedevider is only needed between TX on arduino and RX on esp?
@waweyonor60525 жыл бұрын
can u help me send data from uno to esp12e and send data to mysql database ?
@user-ji7mq7sn6w6 жыл бұрын
bro its show me error with your connection espcomm_sync failed error: espcomm_open failed error: espcomm_open failed
@gazyalnahdy68705 жыл бұрын
Disconnect D2 and D3 pins while uploading the code and then after uploading reconnect it
@gratefulamateur139311 ай бұрын
Well done! Thank you!
@Tro79xD Жыл бұрын
Good tutorial men nice!
@luizafernandanarvaeztimana46595 жыл бұрын
Hola, puedo usar ArduinoMega 250? en ese caso, sería solo cambiar en el código AurduinoUno por ArduinoMega?
@lucasmoers5 жыл бұрын
Yep.
@thihoan59542 жыл бұрын
Can you write the code to load the esp 8266 circuit with the feature of getting the neighbor's wifi password?
@chandikasachith39805 жыл бұрын
exit status 1 no matching function for call to 'SoftwareSerial::SoftwareSerial(const uint8_t&, const uint8_t&)'
@rizkiadisaputra59716 жыл бұрын
can i send data from Uno to ESP ?
@trtabin83515 жыл бұрын
yes
@chathurafernando12995 жыл бұрын
Can i use these codes to esp32?
@ashutoshshukla50964 жыл бұрын
jane loda
@MrREIVAX26 жыл бұрын
ERROR D2 and D3 is not declared SoftwareSerial ESP8266 (D2,D3) ; ERROR change for SoftwareSerial modulo(D2,D3); and continuos error not declared D2 and D3
@Tegatreides6 жыл бұрын
Change the name of modulo
@eduardovelazquezpantoja50835 жыл бұрын
can you resolved the problem? i have the same trouble
@marekGooo5 жыл бұрын
@@eduardovelazquezpantoja5083 change board type
@adikrishna74426 жыл бұрын
How can i print characters rather than integers.can you response me faster if possible
@binarybox.binarybox6 жыл бұрын
Several errors in the terminal...ESP8266 should be NodeMCU ... check the download.ino or look on the monitor @ 14' 26" Arduino Tx should have a level change from 5v down to 3.3v with a level changer unit or a 1K and 2K resistor. 5v inputs to the NodeMCU could damage it.
@monstersofthemidway44022 жыл бұрын
Oh yeah that's right, I had just forgot about that. I seen it in a previous video. Thank buddy.
@Ahmedhkad5 жыл бұрын
Are you helping people to destroy their devices ?? its okay to receive 3.3v from esp to arduino . BUT dont send from arduino to esp like THAT!!! you need a "5V-3V IIC UART SPI two Channel Level Converter Module" also you need to learn how to how to split multidata from arduino sensor and send ensure they got recived well without problem
@RedtronKH5 жыл бұрын
On theory this really damage the board but in practicing this working fine