Arduino Tutorial - Outputting JSON over Serial

preview_player
Показать описание
Outputting JSON with the Arduino is useful when you are communicating with 3rd party applications that require data formatted as a JSON string.

This is particularly relevant when working on IoT projects and gathering sensor information.

Full credit goes to Benoit Blanchon for creating the amazing library used in this tutorial:

If this video helped you out and you'd like to see more, make sure to leave a like and subscribe to dcode!
Рекомендации по теме
Комментарии
Автор

just like lightning, super fast and clear explanation. Thumbs-up and thanks.

nareshveda
Автор

This is what all tutorials should be like, thank you very much. Could you make a tutorial for going the other way around? Example sending a json string from raspberry pi and decoding it on arduino and setting some globals?

scotram
Автор

Thank you for the tutorial!! It's beneficial. But how should I do it if I have a real-time sensor?

shadowhunter
Автор

Quick and Fast! Although this video needs updating bcz of the newer version, this helped build up the foundation for the code :)

PayneDeathz
Автор

Hey how did you access your json file in the first place? If you altered its values didn’t you need to get the json file path, Great tutorial btw

n
Автор

i tried . Visual studio says that i have to include the library arduinojson-v6, 15. So I did, . I dowloaded, put in the right folder, nevertheless it doesnt find it

abcd-ygrx
Автор

Thank you so much man!! that's what i've been looking for :)

jludian
Автор

Hi will you be able to send the temperature as "21.5", a double value?

berniejansen
Автор

I get -1 as value from Serial.read function. Have any clue of what is going on?
Thank you.

brucespzn
Автор

I am receiving a JSON stream over serial I just want to to deserialize it and print the content, if possible can u help me ?

kiranparte
Автор

Thanks for the tutorial. I have a question. Is there a method of publishing a JSON package to mqtt?

michaelmcnaughton
Автор

this will help me make the code easier for my python program in my rasp. thanks :)

ragilburhanudinpamungkas
Автор

Good thanks, now how to receive and sand data json in same time ?

Ahmedhkad
Автор

Have you ever done it using Python? send json data from python to arduino?

CandraJunus
Автор

Sir I want to make a JSON of GPS value and store it and pass to mqtt I know from your video how to generate and show in serial monitor but want to store it in JSON please help me

muzmmilpathan
Автор

Nice tutorial decode. Very well explained. Would like to learn complete Arduino JSON, can you suggest. - Many thanks.

davebeckham
Автор

thems not to work with the newest ArduinoJson version

"DynamicJsonBuffer is a class from ArduinoJson 5. Please see arduinojson.org/upgrade to learn how to upgrade your program to ArduinoJson version 6"

Thx Anyway. Your vidoe gives a great startup

MrknisterKanister
Автор

hey great tutorial
I want to use this method to Send data on firebase using Arduino Uno + SIM808 (HTTP GET & POST AT Commands)
help me out please

AnkitModi_AnkyX
Автор

Dude...get a headset mic so we don't have to listen to you peck on the keyboard.

deltekkie