Serial communication between Nodemcu and Arduino - Learning Arduino 06
Вставка
- Опубліковано 21 бер 2020
- In this video we will learn about the serial communication and how to transfer the data between nodemcu and arduino using Serial communication and using software serial library.
If you are facing any issues in your IoT project, please feel free to contact me here
mail- sharmashrey48@gmail.com
Thanks bro now I learned how to use serial communication for microcontrollers.
thanks, the first line after loop() was just what I needed. very good!
Thank you so much for this tutorial. You explained it beautifully! I've been sweating tons to try and make this work! 👍
Thank you so much bro
Completed my project peacefully ❤️
Great video my man you deserve more views!
谢谢师父,非常好的讲解!!!
Keep going! very good explanation!
Thank you so much sir. I hope next intresting video coming as soon as possible.
Very nicely explained, thank u
I don't know what can I say!!! you made my day. nodemcu has a lot of problems especially voltage level (3.3v) ohhh. I fixed the ma problem using Arduino and nodemcu, Arduino collects data, and if the temperature level above the threshold value then nodemuc will send the data. I really appreciate it.
Same Here!
Very well done, thank you.
thanks a lot..it really helped me
Well, I used more code to transfer data from arduino at nodemcu and then display into webserver and finally thingspeak but your video make so simple the things I will try it
i was not able to send the data to nodemcu but after watching this video i am getting the data on nodemcu
Thank You
😊😊😊
Nice Explanation
thank you so much bro
Great video nice
Thanks
Thanks buddy...
Nice
👍👍
Thankuu so much yrrr😭😭😭😭
good
Explain spi communication between esp32 and arduino mega 2way communicate
Hi, I'm from Sri Lanka. Can you explain how to assign two or more sensor values to the variables on the NodeMCU side?
sir, how can we transfer 3 or more sensors data from arduno to node mcu
Hi, can i use also the MOSI/MISO pins on arduino. RX/TX is already connected to other stuff. What do i need to change in the code?
Brother if we look to connect the hardware serial of arduino board to hardware serial of node mcu (gpio 1 and gpio 3) then what would be the baud rate (in node mcu) ... i mean like in this video u've assigned 9600 to software serial pins and separately for node mcu to pc at 115200. But in my case will there be only one and that to be at 9600?
Is it possible to send a series of string data from 1 nodemcu to a second nodemcu????
Is Voltage difference going to make any issues for long term usage
Hey
Thanks for the video
But I want a notification to be sent through blynk app after this serial communication.
I want to use both arduino and nodemcu
Can i connect Arduino mega with NodeMCU esp8266 and then connect to thingspeak to visualize sensor data?
Great video man. what i want to know if this is possible with esp32 camera
I haven't worked with it yet but I'm sure it is possible with that too. 😊👍
I need your help to do the "HTTP server which is waiting for HTTP Post request. These requests have then proceeded with string masks and parameters for LED and Display control are flirting. Then ESP turns on / off the certain LED and shows a number or string on Display.
please help...... how to start with
Hey brother, it's possible if i change the Rx and Tx pin on Arduino to another pin?
Lets say pin 2 as Rx and pin 3 as Tx. If it can it means that we have to instance the SoftwareSerial object ya?
Am I the only one that doesn't get it..? You say "the serial monitor of the arduino uno is blank. How can this be as you have uploaded "println" to it? If I attach the uno, it starts the hardware serial of the uno.
sir,
how to send multiple data sir ( i mean if we use more numbers of sensors)
Sir, as the Nodemcu board takes upto 3.3V and we are connecting it to arduino which outputs 5V, won't it damage the NodeMcu ? Or is it safe to directly connect them with Rx & Tx pins without any resistance?
And, if I use resistance to get 3.3V on NodeMcu side, will the serial communication work properly??
Yes, Nodemcu works on 3.3v but you can also provide 5v to the VIN pin of nodemcu, it has an in built voltage regulator which converts 5v to 3.3v if the VIN pin is used.
I've tried with direct connections and it works absolutely fine for me 😊
How can send the dht11 data to firebase after receiving from arduino
Can you also do esp send data to arduino???
The video explanation is simple but when i have done it didnt show the msg on the node mcu serial monitor.Kindly help
How can we calculate data in nodemcu coming from arduino via serial communication
how about the communication between Arduino Mega 2560 and NodeMCU sir? is it the same or is there something that i need to change here? thanks!
It will be the same, you can try the same method :)
Can this same method be used for arduino nano?
Yes.
Sir I'm using nodemcu esp32 will it work in this manner only?
both its te same
I am receiving the sensor data(1/0) correctly on NodeMCU, but the "if statement" is not working on that data,, plz help Sir
please share your code at sharmashrey48@gmail.com
Brother... Tft display par reading nahi horaha he serial monitor per full work kar raha he... Pls. Help
If we wanna send data from nodeMCU to Arduino ... will this work or I have to make few changes??
You just need to check the pin numbers and it's done.
@@ShreySharma Ok thnx man! I'll give it a try.
Hello sir. This worked for me, but now i want to send my data further to thingspeak. I have received 2 sensors data from arduino to nodemcu. What should i do?
hi, I have the same problem, but I'm using Ubidots
rx and tx of nodemcu are gpio3 and gpio1 why u havent used these two pins
conections:
it should be tx of nodemcu to uno board rx
and rx of nodemcu to uno board tx
If we do not define rx and tx pin in arduino code then default serial communication pin of arduino is selected??
Yes in that case you can use default serail.println command and use Rx and Tx pins of Arduino 😊👍
@@ShreySharma hello sir. Sir, i am doing a project in which I need to send date from nodemcu to arduino uno. Please make a video on this.
@@nishantsrivastava9381 The process is simple, you can use the serial communication as shown here.
@@ShreySharma sir in my case, serial communication between nodemcu and Arduino UNO establish and data transfer occurs but some dummy data also received to Arduino. I have sent you my code to your Gmail account. Please check it. Please help.
@@nishantsrivastava9381 that is because you might be using the Rx and Tx pins if you'll use software serial then this will not happen.
Anyways I'll look into your sketch and will help you out.🤗
Sir, is it possible to interface aurdino uno with ESP32 dev. Board..?
yes it is possible. 😊
@@ShreySharma
Bhaiya plzz mere project me help kar dijiye
Mujhe esp32 ko as a wifi module use krna he
@@shivangnidehariya3698 Sure I'd love to ✨🤗
Can you provide a link for the codes please ?
If i publish this data from node mcu to adafruit io.. it keeps laging for example. If the Arduino gives a data like 9000.. at the mcu its, getting -- 9 "lags for five sec" then 0 "then lags" 0 ,0 its prints each digit witha delay its not printint the whole like 9000
What you think i should do?
Hey, Anand I need to see your sketches for this issue, Please mail your sketches on sharmashrey48@gmail.com
we don't need a common ground for serial communication?
no. Just Tx and Rx will work
hello how can i send 2 data from arduino to nodemcu? i can send 1 data but not 2, pls help
yes you can send whatever you want.
from sender - you need both type of data and use string concatenation.
at receiver end- use string splitter to split both the values.
@@ShreySharma any example?
I am facing error like " D1 was not declared" anyone pls give some info. to solve this
solved.. The solution is change the board from esp 8266 generic module to NODE MCU 1.0
Wonderful.👍🤗 Keep learning
It's damage my Node mcu board. Because GPIO pin work on 3.3v. 😭😭
Getting this Error: 'class SoftwareSerial' has no member named 'Serial'
please email me your code here- sharmashrey48@gmail.com
I was facing more problems
Please let me know about it.
I was used same code and same steps
No data on serial monitor
Sir i have send you a mail kindly check
Kindly check
No use
How can I help you ?