ArduinoJSON 6.17.0 | Arduino To NodeMCU | Serial Communication | DHT11
ฝัง
- เผยแพร่เมื่อ 5 พ.ย. 2020
- ArduinoJSON 6.17.0 | Arduino To NodeMCU | Serial Communication | DHT11
Sending data from Arduino to NodeMCU:
• Sending Data From An A...
ArduinoJSON 6.17.0 Documentation:
arduinojson.org/?...
--------------------------------------------------------------------------------------------------------------------
This video adds on to the previous video on how sensor data can be transmitted between an Arduino and a NodeMCU via the serial port. The changes to the code in the current version of the Arduino JSON library is discussed.
ArduinoJSON version: 6.17.0
--------------------------------------------------------------------------------------------------------------------
Arduino and NodeMCU scripts
Arduino code:
github.com/Chams123456/NodeMC...
NodeMCU code:
github.com/Chams123456/NodeMC...
Circuit Diagram:
github.com/Chams123456/NodeMC...
---------------------------------------------------------------------------------------------------------------------
DHT11 Sensor:
www.amazon.com/Temperature-Re...
---------------------------------------------------------------------------------------------------------------------
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!
hello, the program shows: invalid Json, can you make a new video with ArduinoJson 6.19.4
Does it work on serial hardware?
sir library in error, 3to 4 time velues show ok but next time on value show on serial port . what i do ,
have you solve it?
After displaying two or three times correctly NodeMCU's Serial Monitor showing "Invalid Json Library".
Please see the problem....
Same here.
did you found a solution?
I have a question, how can I send data from Nodemcu to Arduino? I need data from the web page then send it to Arduino.
Create the static JSON object using the Nodemcu and assign the relevant data to it. Then place it on the serial port and read the data using the Arduino (deserialization). Practically, swap the Arduino and Nodemcu commands around. Hope that helps.
@@thatsengineering5235 Do you have any samples sir about this? I only have a little background about ArduinoJSon. Gladly would help
For me too. Invalid json
For me it's showing invalid json object can you pls solve this problem
And also I want to send 5 values so how much size should I put instead of 1000 ??
for me too ... have you solved the problem...??
@@mmadam420
for me too ... have you solved the problem...??
me too its showing invalid json object at nodemcu
for me too ... have you solved the problem...??
@@mmadam420
for me too ... have you solved the problem...??
Replace // Test parsing to:
if (error) {
Serial.print(F("deserializeJson() failed: "));
Serial.println(error.f_str());
return;
}
thanks it's work, can u explain about that code sir?
Hello guys, for solve make same delay for arduino and esp :D
invalid json object
for me too ... have you solved the problem...??
@@mmadam420
for me too ... have you solved the problem...??
invalid json
for me too ... have you solved the problem...??
@@mmadam420
for me too ... have you solved the problem...??
down ver not as blow