Why you Really need to learn ESPNOW JSON Communication. Watch to know more

Поделиться
HTML-код
  • Опубликовано: 22 мар 2022
  • This video will guide you with how to transfer data between ESP32 boards via ESPNOW Communication using JSON Format. This thing is really very important you want to make the next big project.
    ESPNOW to Blynk Gateway Project Is out now - • ESPNOW to Internet Gat...
    To try out free trial version of Altium, click here - www.altium.com/yt/techiesms
    You can support me🙏🏻 and also get benefitted on Patreon :- / techiesms
    Subscribe now💪🏻 to watch some amazing videos coming up soon.
    bit.ly/techiesms_youtube
    __________________________________________________________
    👨🏻‍💻 Important Links 👨🏻‍💻
    Codes used in this video - github.com/techiesms/ESPNOW-JSON
    Code for TwoWay ESPNOWJSON - github.com/JayJoshi16/ESPNOW-...
    __________________________________________________________
    Now you can get free PCB with every order of techiesms T-shirt or techiesms pocket notebook.
    You can buy the merchandise from here,
    techiesms.com/merchandise/
    __________________________________________________________
    👀 You may Like these videos 👀
    Forgot to add links😅
    __________________________________________________________
    Buy the components for your projects and support techiesms💡🔌
    ESP32 Dev board - amzn.to/3jiwCD6
    ESP32 Module - amzn.to/3g5CKh5
    NodeMCU - amzn.to/2wbzNrZ
    Raspberry Pi 4b - amzn.to/3phsKFN
    Raspberry Pi pico - amzn.to/2RgeSyW
    Arduino MEGA - amzn.to/3vMEkLw
    TTGO TCALL module - amzn.to/2SQG6wH
    Visit my Amazon Storefront for purchasing any components you need for this project or any other project :-
    bit.ly/techiesms-Amazon-Store
    __________________________________________________________
    ⏱ Time Stamps ⏱
    __________________________________________________________
    🎥 🎙 My Video Gear 🎙🎥
    Camera - Canon 750d
    Lens - 50mm f/1.8 STM Lens (amzn.to/32gqnsi), 24mm f/2.6
    Key Light - Godox SL60W (amzn.to/3522mHe)
    Fill Light/Back Light - Osaka Lightning Setup (amzn.to/2I5cdDi)
    Tripod - amzn.to/3uNhC4H
    Microphone - Samson Meteor (amzn.to/32jfVAt)
    Editing - Final Cut Pro X on MacBook Pro ( amzn.to/3vHcSyJ )
    __________________________________________________________
    Get connected with techiesms everywhere..
    Subscribe Main Channel :- bit.ly/techiesms_youtube
    Subscribe Shorts Channel :- bit.ly/techiesms_shorts
    Facebook :- / techiesms
    Twitter :- / imtechiesms
    Instagram :- / techiesms
    Website :- www.techiesms.com
    Telegram - @techiesms
    You can support me and also get benefitted on Patreon :- / techiesms
    __________________________________________________________
    techiesms
    explore | learn | share
  • НаукаНаука

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

  • @techiesms
    @techiesms  2 года назад +7

    How badly you are waiting for the ESPNOW to Blynk Cloud gateway project ? Rate from 1 - 10

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

    Great video showing how easy it is to send data in JSON format, which is good when we might be returning different data at varying times, but that 250 byte limit makes JSON largely unsuitable for anything more than a few sensors at a time. For the particular use case you have demonstrated (sending 2 floats), since the size / format of your data is known at build time, you would be better sending that data as a C Struct. A struct of 2 floats would consume only 8 out of your 250 bytes. In JSON format you are using more than this just on key names, brackets and whitespace alone and your two floats are being sent as strings using significantly more space than they would need to be sent in binary format.

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

    Great video .. I have doubt, that I am working on something with esp8266 board to send real time data to blynk. But for that controller I need a standalone power supply which I expect to run for months ( like batteries / mini solar panel ) .. but I can't find any useful resources for that in internet .. can you suggest your thoughts on that

  • @JLCPCB
    @JLCPCB 2 года назад +5

    Great project! 😊

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

    Parabéns, muito obrigado! Mesmo! I am from Brazil!

  • @somename6937
    @somename6937 2 года назад +2

    Just because you can, doesn't mean you should. It is good for learning but we should know the real life application / use case of such projects.

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

      oh please: I have reprogrammed all my environmental sensors that were working on WiFi (talking to my router) into ESPnow devices. I added 2 ESPNow2MQTT gateways and I have totally different (better) project now at home. Why?
      1- WiFi sensor before it gets connected to router takes at least 600ms, usually around 1s (fixed IP, fixed channel). Add to that time to gather the data from sensors and you are at 1.5s at least
      2- the same sensor on ESPNow takes around 20ms to get connected and to send data over ESPnow. So my sensors now are ready to go to sleep after around 200ms.
      3- Having 2 ESPNow2MQTT gateways at home I am less dependent on where the router is and where the sensors are.
      Conclusion: battery life and coverage. Now my sensors are ready to stay on battery for around 1 year (still testing it but let it be even 8 months - it would be around 8 times longer than when they were on WiFi).
      But again: DON'T USE JSON over ESPnow - you are wasting your bytes and you have only 250 of them in ESPnow.

  • @Darkos.
    @Darkos. 2 года назад +1

    Wow, cool project. Thanks.

  • @AkashDas-vx2ph
    @AkashDas-vx2ph 2 года назад +2

    Thanks a lot sir 😊

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

    Great video broo... Good Luck and thanks

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

    Can this be used to send a base64 image through json?

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

    Yet another cool video 💯🔥

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

    Waiting for the next project bro......

  • @YigalBZ
    @YigalBZ Год назад +3

    What is the added value of using JSON? Using esp-now with the standard way gets the same thing with much less effort. Also: I think STRING is a bad method to use.

  • @frankdearr2772
    @frankdearr2772 3 дня назад

    Great 👍

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

    Dear when I am compiling for receiver, I am getting this error "Compilation error: invalid conversion from 'void (*)(const uint8_t*, const uint8_t*, int)' {aka 'void (*)(const unsigned char*, const unsigned char*, int)'} to 'esp_now_recv_cb_t' {aka 'void (*)(const esp_now_recv_info*, const unsigned char*, int)'} [-fpermissive]"

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

    Is this equal to mesh network?.

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

    Great learning

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

    What’s the benefit of this over using a structure?

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

    Have you made any project where one esp will be connected to internet and other communicating without internet like their own hotspot or esp now. So that if I go the browser and ask ESP1 to turn on the light of ESP3 it can do that ?

    • @techiesms
      @techiesms  2 года назад +2

      Yes
      The next project is exactly the same

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

      Excitement level : 100/10 🙌🏻

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

    Can you tell me why JSON communication is better than normal?
    is the transfer speed more? is the dataload less? requires less power? why?

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

    Aggressive teaching thanks

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

    🔥🔥🔥🔥

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

    How fast is the communication speed? Is it fast enough to use it as a transmitter and receiver for a quadcopter?

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

      for the always on device sending full 250 bytes takes less than 2ms

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

    Hi sir
    Can we transfer audio and video from one esp32 to another esp 32 through esp now protocol

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

      Yes you can. ThatProject channel and atomic14 channel made so many videos

  • @saisai-jh7mt
    @saisai-jh7mt 2 года назад

    Make video on Communicattion between Nodemcu to arduino uno

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

    Cooool

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

    I am using Arduino IDE version 2.2.1 .... Thanks

  • @martins.-pach3979
    @martins.-pach3979 Год назад

    Sizeof() is an incorrect way to calculate the size of a pointer, this can lead to incomplete data therefore an error. Use: measureJson(doc)

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

    5 th view from India

  • @zyghom
    @zyghom 2 года назад +10

    considering you have only 250 bytes, using JSON in ESPNow is VERY inefficient as you are sending not only values but also the keys and very often key length is longer than value (plus colon, quotation marks etc.)

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

    Excitement lvl 8

    • @Hasan...
      @Hasan... 2 года назад

      He brought it down actually, until a year ago he was at lvl 69 🤪

  • @rusticagenerica
    @rusticagenerica 11 месяцев назад

    Why don't we see the MAC address in the code?

  • @TOMTOM-nh3nl
    @TOMTOM-nh3nl 2 года назад

    Okay

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

    Data for espnow < 250 bytes
    Json doc = 1k
    This is correct ?

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

    Ok

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

    10

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

    Why your all videos are sponsered by altium 🤣🤣

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

    Banany nanana cucu tu masoni