Це відео не доступне.
Перепрошуємо.

Sending Data From An Arduino To A NodeMCU | ArduinoJSON 5.13.2 | Serial Communication | DHT11

Поділитися
Вставка
  • Опубліковано 15 сер 2024
  • Sending Data From An Arduino To A NodeMCU | Serial Communication | DHT11
    This video will look at how sensor data can be transmitted between an Arduino and a NodeMCU via the serial port. Software Serial and Arduino JSON libraries will be used, along with a DHT11 sensor.
    ArduinoJSON version: 5.13.2
    --------------------------------------------------------------------------------------------------------------------
    Arduino and NodeMCU scripts
    Arduino code:
    github.com/Cha...
    NodeMCU code:
    github.com/Cha...
    Circuit Diagram:
    github.com/Cha...
    ---------------------------------------------------------------------------------------------------------------------
    DHT11 Sensor:
    www.amazon.com....
    ---------------------------------------------------------------------------------------------------------------------
    Intro music:
    Happy Rock
    Attribution license: www.bensound.com
    ----------------------------------------------------------------------------------------------------------------------
    Thumbs up and Subscribe Icons are made by
    Pixel perfect from www.flaticon.com
    -----------------------------------------------------------------------------------------------------------------------
    Hope this video helps.
    If you have any questions, please leave a comment, and don't forget to like and subscribe.
    Cheers!

КОМЕНТАРІ • 52

  • @obzen6803
    @obzen6803 2 роки тому +3

    very nice, before json was a library in the arduino i was doing the serial communication manually by creating a string of all the data i wanted to send, then i was using the content.concat(x) to break the string and construct all the data again in the nodemcu...it us nice that this community got so big and dedicated!

  • @clementgyimah4405
    @clementgyimah4405 3 роки тому +2

    The buffer.clear() part just saved my day.
    Thanks for this video.

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

    I love you man, I spent 6 hours trying to figure this out. God bless you

  • @diamondenterprise1476
    @diamondenterprise1476 Рік тому +1

    thank you so much bro, ive been trying to do this for my project for so looong and there is like no other tutorial on yt or chrome to do this..... was absolutely helpful

  • @laksdiary4084
    @laksdiary4084 5 місяців тому

    this was so helpful to my project. Thank youuuuuuu!

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

    I want to say that your video is useful in terms of its subject. Thanks.

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

    thankyou sir, my final project is finally working

  • @sangarmutusamy9801
    @sangarmutusamy9801 3 роки тому +4

    hi great, its work for me, btw how to send more sensor data, say if i want to send 10 data sensor? Where should i edit the code? Thanks

  • @nguyen8649
    @nguyen8649 3 роки тому +1

    Thank you for your great turtorial. I'm wondering why this video only has less than 1k views?

  • @basithp4279
    @basithp4279 3 роки тому +1

    Thank you very much for your good video. It just helped me very much in my final year project😍

  • @edriana6498
    @edriana6498 3 роки тому +1

    thank you so much! your codes explanation is very clear

  • @JoeMcPlumber
    @JoeMcPlumber Рік тому +1

    This is exactly what i needed and if you had a $Thanks button i'd have hit it. So i mean, thanks. Now how much trouble am i getting into if i want to update the Arduino OTA?

  • @user-mj3jq4kz1f
    @user-mj3jq4kz1f 2 роки тому +1

    thank you can I Sending Data From An Arduino To A esp32 | ArduinoJSON 5.13.2 | Serial Communication | DHT11 because this code work only for NodeMCU

  • @thamkeihon5801
    @thamkeihon5801 3 роки тому +1

    can u change the old coding into the json version 6? because I change into version 6 got error in the coding

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

    It really works! Thank you so much

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

    I'm using ESPNOW to gather sensor data from several locations with a common receiver. I also want to send the data to ThingSpeak for logging and display BUT I was told problems in the ESP32 trying to do Both the ESPNOW and WiFi communication to ThingSpeak. I've been looking for a way to solve this problem and if I add another ESP32 and have receive the data from the ESPNOW receiver (via Software Serial and JSON) and then have this ESP32 send it to ThingSpeak , it should work! Key word is Should. I'll let you know how it goes. I'll also let you know about the potential problems using JSON library 6.x vs 5.X

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

    Thanks so much for your video it helped me so much in projects

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

    Thanks a lot. This really helped tonnes!! 🔥🔥

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

    this is amazing... very usefull.. thank you.

  • @Gocast2
    @Gocast2 3 роки тому +3

    good tutorial! dont you need a logic converter to connect the arduino and nodemcu, as they operate at different voltages?

    • @sibujacob977
      @sibujacob977 Рік тому +1

      just make a voltage divider circuit using 1k and 2k resistors

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

    What about the dynamics buffer size. How can I do and what are the use cases of dynamic buffer.

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

    Did you use two different cables to connect your arduino and nodemcu to the computer??

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

    Nicely done...thank you

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

    THANKS GOD! I FOUND THIS!

  • @vp.8181
    @vp.8181 3 роки тому

    can i use this code to send my 2 sensors data from one arduino to other arduino via h12 transceiver(wireless serial comm)

  • @gratefulamateur1393
    @gratefulamateur1393 6 місяців тому

    Right! 😉

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

    Thanks for the tutorial. Does this work while the Arduino is not connected to pc but to an external battery for example?

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

    No possible to send the fetched data to my sql as it in json format

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

    Can they both send and receive data at the same time ?

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

    would this also work if sending from nodemcu to arduino?

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

    Can we send data between both devices simultaneously??

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

    thanks broo

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

    THANKS SO MUCH!

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

    Thank you, Sooo Much Bro

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

    Thanks bhai !!

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

    json object invalid and no value in nodecu serial monitor, how to fix it?

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

    All the code regarding JSON objects is outdated. None of the code works with JSON 6, please update!

  • @H0t.5tuff
    @H0t.5tuff 2 роки тому

    can this be done via hard serial?

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

    can you help me please, my nodemcu as receiver can't receive the data cause the object is invalid..

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

    Hi great video! I finally managed to get the two microcontrollers to talk to each other. but the readings I'm getting from the json object is zero??

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

    InVaLiD JsOn ObJeCt
    What to do?
    Using version: 5.13.2

    • @priyanshuborah7453
      @priyanshuborah7453 3 місяці тому

      Bro ,same here ,did ur problem get solved

    • @MegaTechno
      @MegaTechno 3 місяці тому

      @@priyanshuborah7453 My problem did get solved. I gave up on the project. I forgot the exact solution, but it was very simple also use better quality wires and avoid jumper wires(that for some reason does not wok, and you will get a lot of random data) Keep Trying

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

    i can't see the wiring can you please show me in circuits diagram?

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

      Added the circuit diagram as a link in the description. Thanks for the feedback.

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

      @@thatsengineering5235 thanks you my saviour

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

      @@thatsengineering5235 Hi, thanks for the tutorial, my doubt, is not dangerous to connect serial data directly from arduino 5v to nodemcu 3.3v?

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

    changed the trajectory of my life for the better weweoweoweowoewoewoewoewoeowoewowowoeoweoweoweoweoweowoeoweoweoweoweoweowoewoewoeoweowoeowoewoeowoweow