Це відео не доступне.
Перепрошуємо.
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!
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!
The buffer.clear() part just saved my day.
Thanks for this video.
I love you man, I spent 6 hours trying to figure this out. God bless you
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
this was so helpful to my project. Thank youuuuuuu!
I want to say that your video is useful in terms of its subject. Thanks.
thankyou sir, my final project is finally working
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
Thank you for your great turtorial. I'm wondering why this video only has less than 1k views?
Thank you very much for your good video. It just helped me very much in my final year project😍
thank you so much! your codes explanation is very clear
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?
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
can u change the old coding into the json version 6? because I change into version 6 got error in the coding
It really works! Thank you so much
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
Thanks so much for your video it helped me so much in projects
Thanks a lot. This really helped tonnes!! 🔥🔥
this is amazing... very usefull.. thank you.
good tutorial! dont you need a logic converter to connect the arduino and nodemcu, as they operate at different voltages?
just make a voltage divider circuit using 1k and 2k resistors
What about the dynamics buffer size. How can I do and what are the use cases of dynamic buffer.
Did you use two different cables to connect your arduino and nodemcu to the computer??
Nicely done...thank you
THANKS GOD! I FOUND THIS!
can i use this code to send my 2 sensors data from one arduino to other arduino via h12 transceiver(wireless serial comm)
Right! 😉
Thanks for the tutorial. Does this work while the Arduino is not connected to pc but to an external battery for example?
No possible to send the fetched data to my sql as it in json format
Can they both send and receive data at the same time ?
would this also work if sending from nodemcu to arduino?
Can we send data between both devices simultaneously??
thanks broo
THANKS SO MUCH!
Thank you, Sooo Much Bro
Thanks bhai !!
json object invalid and no value in nodecu serial monitor, how to fix it?
All the code regarding JSON objects is outdated. None of the code works with JSON 6, please update!
can this be done via hard serial?
can you help me please, my nodemcu as receiver can't receive the data cause the object is invalid..
Hey, have you found the solution yet?
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??
could you solve the problem?
InVaLiD JsOn ObJeCt
What to do?
Using version: 5.13.2
Bro ,same here ,did ur problem get solved
@@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
i can't see the wiring can you please show me in circuits diagram?
Added the circuit diagram as a link in the description. Thanks for the feedback.
@@thatsengineering5235 thanks you my saviour
@@thatsengineering5235 Hi, thanks for the tutorial, my doubt, is not dangerous to connect serial data directly from arduino 5v to nodemcu 3.3v?
changed the trajectory of my life for the better weweoweoweowoewoewoewoewoeowoewowowoeoweoweoweoweoweowoeoweoweoweoweoweowoewoewoeoweowoeowoewoeowoweow