Serial communication between Nodemcu and Arduino - Learning Arduino 06

Поделиться
HTML-код
  • Опубликовано: 5 сен 2024
  • 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

Комментарии • 98

  • @lokeshsaravanan5274
    @lokeshsaravanan5274 3 года назад +3

    Thanks bro now I learned how to use serial communication for microcontrollers.

  • @gtechninja
    @gtechninja 4 года назад +2

    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.

  • @mitanshushah8360
    @mitanshushah8360 3 года назад +1

    i was not able to send the data to nodemcu but after watching this video i am getting the data on nodemcu
    Thank You

  • @taniapm8470
    @taniapm8470 Год назад

    Thank you so much for this tutorial. You explained it beautifully! I've been sweating tons to try and make this work! 👍

  • @TheUnofficialMaker
    @TheUnofficialMaker Год назад

    thanks, the first line after loop() was just what I needed. very good!

  • @sambitprakashmohanty4103
    @sambitprakashmohanty4103 2 года назад

    Thank you so much sir. I hope next intresting video coming as soon as possible.

  • @user-kg9hk2wk6w
    @user-kg9hk2wk6w 4 года назад +3

    Great video my man you deserve more views!

  • @jktipan87
    @jktipan87 3 года назад

    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

  • @darshanacharya6081
    @darshanacharya6081 2 года назад

    Thank you so much bro
    Completed my project peacefully ❤️

  • @chittaranjansortey6561
    @chittaranjansortey6561 4 года назад +1

    Very nicely explained, thank u

  • @myronvalenzuelacastro6261
    @myronvalenzuelacastro6261 3 года назад +1

    Keep going! very good explanation!

  • @gratefulamateur1393
    @gratefulamateur1393 7 месяцев назад

    Very well done, thank you.

  • @hiteshlakum7371
    @hiteshlakum7371 2 года назад +1

    sir, how can we transfer 3 or more sensors data from arduno to node mcu

  • @ITPrincyNadar
    @ITPrincyNadar 4 года назад +1

    thanks a lot..it really helped me

  • @wahyupriambodo6985
    @wahyupriambodo6985 10 месяцев назад

    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?

  • @99onlyshop57
    @99onlyshop57 4 года назад

    谢谢师父,非常好的讲解!!!

  • @ujjavalmehta5479
    @ujjavalmehta5479 2 года назад

    Nice Explanation

  • @nandhinijagadeesan3835
    @nandhinijagadeesan3835 Год назад

    Can i connect Arduino mega with NodeMCU esp8266 and then connect to thingspeak to visualize sensor data?

  • @bilalejaz6626
    @bilalejaz6626 Год назад

    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?

  • @jktipan87
    @jktipan87 3 года назад

    Great video nice

  • @ashoksri5923
    @ashoksri5923 7 месяцев назад

    Explain spi communication between esp32 and arduino mega 2way communicate

  • @HiranthaMalshan
    @HiranthaMalshan Год назад

    Hi, I'm from Sri Lanka. Can you explain how to assign two or more sensor values to the variables on the NodeMCU side?

  • @pk3709
    @pk3709 Год назад

    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?

  • @Shabloop
    @Shabloop 3 года назад +1

    Great video man. what i want to know if this is possible with esp32 camera

    • @ShreySharma
      @ShreySharma  3 года назад

      I haven't worked with it yet but I'm sure it is possible with that too. 😊👍

  • @camus5222
    @camus5222 3 года назад +2

    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??

    • @ShreySharma
      @ShreySharma  3 года назад

      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 😊

  • @rachelvanderspank8766
    @rachelvanderspank8766 3 месяца назад

    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.

  • @HarishKumar-uy5ml
    @HarishKumar-uy5ml 2 года назад

    The video explanation is simple but when i have done it didnt show the msg on the node mcu serial monitor.Kindly help

  • @commonhuman5341
    @commonhuman5341 3 года назад

    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

  • @mmadam420
    @mmadam420 2 года назад

    sir,
    how to send multiple data sir ( i mean if we use more numbers of sensors)

  • @syedabubakar6858
    @syedabubakar6858 4 года назад +1

    thank you so much bro

  • @kiranghatge4301
    @kiranghatge4301 3 года назад

    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

  • @vinayaka7692
    @vinayaka7692 2 года назад +1

    rx and tx of nodemcu are gpio3 and gpio1 why u havent used these two pins

    • @vinayaka7692
      @vinayaka7692 2 года назад

      conections:
      it should be tx of nodemcu to uno board rx
      and rx of nodemcu to uno board tx

  • @syedabubakar6858
    @syedabubakar6858 4 года назад +1

    I am receiving the sensor data(1/0) correctly on NodeMCU, but the "if statement" is not working on that data,, plz help Sir

    • @ShreySharma
      @ShreySharma  4 года назад

      please share your code at sharmashrey48@gmail.com

  • @nilutpolkashyap
    @nilutpolkashyap 4 года назад

    Is it possible to send a series of string data from 1 nodemcu to a second nodemcu????

  • @muhammadaleemkhan4235
    @muhammadaleemkhan4235 2 года назад

    How can we calculate data in nodemcu coming from arduino via serial communication

  • @shivaprakash3654
    @shivaprakash3654 3 года назад

    How can send the dht11 data to firebase after receiving from arduino

  • @adityapatil3792
    @adityapatil3792 3 года назад

    Is Voltage difference going to make any issues for long term usage

  • @islamicvideos6506
    @islamicvideos6506 3 года назад +1

    Can this same method be used for arduino nano?

  • @tanmayagarwal8513
    @tanmayagarwal8513 3 года назад +1

    If we wanna send data from nodeMCU to Arduino ... will this work or I have to make few changes??

    • @ShreySharma
      @ShreySharma  3 года назад

      You just need to check the pin numbers and it's done.

    • @tanmayagarwal8513
      @tanmayagarwal8513 3 года назад

      @@ShreySharma Ok thnx man! I'll give it a try.

  • @nishantsrivastava9381
    @nishantsrivastava9381 3 года назад +1

    If we do not define rx and tx pin in arduino code then default serial communication pin of arduino is selected??

    • @ShreySharma
      @ShreySharma  3 года назад

      Yes in that case you can use default serail.println command and use Rx and Tx pins of Arduino 😊👍

    • @nishantsrivastava9381
      @nishantsrivastava9381 3 года назад

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

    • @ShreySharma
      @ShreySharma  3 года назад

      @@nishantsrivastava9381 The process is simple, you can use the serial communication as shown here.

    • @nishantsrivastava9381
      @nishantsrivastava9381 3 года назад +1

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

    • @ShreySharma
      @ShreySharma  3 года назад +1

      @@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.🤗

  • @nishamishra5723
    @nishamishra5723 3 года назад

    Thankuu so much yrrr😭😭😭😭

  • @sharifsagar3813
    @sharifsagar3813 4 года назад +1

    we don't need a common ground for serial communication?

    • @ShreySharma
      @ShreySharma  4 года назад

      no. Just Tx and Rx will work

  • @shivangnidehariya3698
    @shivangnidehariya3698 3 года назад +1

    Sir, is it possible to interface aurdino uno with ESP32 dev. Board..?

    • @ShreySharma
      @ShreySharma  3 года назад

      yes it is possible. 😊

    • @shivangnidehariya3698
      @shivangnidehariya3698 3 года назад +1

      @@ShreySharma
      Bhaiya plzz mere project me help kar dijiye
      Mujhe esp32 ko as a wifi module use krna he

    • @ShreySharma
      @ShreySharma  3 года назад

      @@shivangnidehariya3698 Sure I'd love to ✨🤗

  • @isaacgahou8514
    @isaacgahou8514 4 года назад

    Nice

  • @hakanozdemir407
    @hakanozdemir407 3 года назад +1

    hello how can i send 2 data from arduino to nodemcu? i can send 1 data but not 2, pls help

    • @ShreySharma
      @ShreySharma  3 года назад +1

      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.

    • @user-ud1rl8ln1k
      @user-ud1rl8ln1k 2 года назад

      @@ShreySharma any example?

  • @S.b.n.Pranav
    @S.b.n.Pranav 4 года назад

    Thanks buddy...

  • @hetvikansara7240
    @hetvikansara7240 3 года назад

    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?

    • @luism.g.7172
      @luism.g.7172 2 года назад

      hi, I have the same problem, but I'm using Ubidots

  • @geraldjohnbilan9064
    @geraldjohnbilan9064 2 года назад

    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!

    • @ShreySharma
      @ShreySharma  2 года назад

      It will be the same, you can try the same method :)

  • @exeyecctvsuvelancesystems199
    @exeyecctvsuvelancesystems199 2 года назад

    Brother... Tft display par reading nahi horaha he serial monitor per full work kar raha he... Pls. Help

  • @anandkvinu2832
    @anandkvinu2832 3 года назад

    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

    • @anandkvinu2832
      @anandkvinu2832 3 года назад

      What you think i should do?

    • @ShreySharma
      @ShreySharma  3 года назад

      Hey, Anand I need to see your sketches for this issue, Please mail your sketches on sharmashrey48@gmail.com

  • @engrm.umerk7147
    @engrm.umerk7147 Год назад

    👍👍

  • @abhishekupadhyay3690
    @abhishekupadhyay3690 3 года назад +1

    I am facing error like " D1 was not declared" anyone pls give some info. to solve this

    • @abhishekupadhyay3690
      @abhishekupadhyay3690 3 года назад +1

      solved.. The solution is change the board from esp 8266 generic module to NODE MCU 1.0

    • @ShreySharma
      @ShreySharma  3 года назад

      Wonderful.👍🤗 Keep learning

  • @all-about-automation
    @all-about-automation 3 года назад

    good

  • @ashmitgupta8039
    @ashmitgupta8039 2 года назад

    Sir I'm using nodemcu esp32 will it work in this manner only?

  • @rakeshdevre3750
    @rakeshdevre3750 3 года назад

    Can you also do esp send data to arduino???

  • @nitishgowrydoss6959
    @nitishgowrydoss6959 2 года назад

    Can you provide a link for the codes please ?

  • @TSAdventureVlog
    @TSAdventureVlog 3 года назад

    It's damage my Node mcu board. Because GPIO pin work on 3.3v. 😭😭

  • @divyamgupta7974
    @divyamgupta7974 4 года назад

    Getting this Error: 'class SoftwareSerial' has no member named 'Serial'

    • @ShreySharma
      @ShreySharma  4 года назад

      please email me your code here- sharmashrey48@gmail.com

  • @PJ-TechSolutions
    @PJ-TechSolutions 3 года назад +1

    I was facing more problems

    • @ShreySharma
      @ShreySharma  3 года назад

      Please let me know about it.

    • @PJ-TechSolutions
      @PJ-TechSolutions 3 года назад

      I was used same code and same steps
      No data on serial monitor

  • @PJ-TechSolutions
    @PJ-TechSolutions 3 года назад +1

    No use

  • @mohdansari7210
    @mohdansari7210 4 года назад +1

    Sir i have send you a mail kindly check