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

แชร์
ฝัง
  • เผยแพร่เมื่อ 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
  • วิทยาศาสตร์และเทคโนโลยี

ความคิดเห็น • 51

  • @techiesms
    @techiesms  2 ปีที่แล้ว +7

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

  • @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! 😊

  • @Darkos.
    @Darkos. 2 ปีที่แล้ว +1

    Wow, cool project. Thanks.

  • @AkashDas-vx2ph
    @AkashDas-vx2ph 2 ปีที่แล้ว +2

    Thanks a lot sir 😊

  • @extlinkio
    @extlinkio ปีที่แล้ว

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

  • @viper9x
    @viper9x 4 หลายเดือนก่อน

    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.

  • @Oshan_Dissanayaka
    @Oshan_Dissanayaka 2 ปีที่แล้ว

    Great video broo... Good Luck and thanks

  • @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?

  • @RAZREXE
    @RAZREXE 2 ปีที่แล้ว

    Yet another cool video 💯🔥

  • @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.

  • @CerebralDad
    @CerebralDad ปีที่แล้ว

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

  • @mouseminer2978
    @mouseminer2978 5 หลายเดือนก่อน

    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]"

  • @vimalkanth6078
    @vimalkanth6078 2 ปีที่แล้ว

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

  • @shakerileiwat4341
    @shakerileiwat4341 2 ปีที่แล้ว

    Cooool

  • @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 🙌🏻

  • @rajuraushan4391
    @rajuraushan4391 2 ปีที่แล้ว

    🔥🔥🔥🔥

  • @sg8nj
    @sg8nj ปีที่แล้ว

    Is this equal to mesh network?.

  • @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 ปีที่แล้ว +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.

  • @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

  • @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 ปีที่แล้ว

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

  • @rusticagenerica
    @rusticagenerica 8 หลายเดือนก่อน

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

  • @batrapiyushbatra
    @batrapiyushbatra 2 ปีที่แล้ว

    Great learning

  • @EngineeringNS
    @EngineeringNS ปีที่แล้ว

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

  • @mouseminer2978
    @mouseminer2978 5 หลายเดือนก่อน

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

  • @I_Am_Hindu_Warangal_East
    @I_Am_Hindu_Warangal_East 2 ปีที่แล้ว

    5 th view from India

  • @saisai-jh7mt
    @saisai-jh7mt 2 ปีที่แล้ว

    Make video on Communicattion between Nodemcu to arduino uno

  • @osvaldotcf
    @osvaldotcf ปีที่แล้ว

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

  • @kesavanand1337
    @kesavanand1337 2 ปีที่แล้ว +1

    Aggressive teaching 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)

  • @zyghom
    @zyghom ปีที่แล้ว +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 🤪

  • @TOMTOM-nh3nl
    @TOMTOM-nh3nl 2 ปีที่แล้ว

    Okay

  • @comod
    @comod ปีที่แล้ว

    Ok

  • @ramzanm45
    @ramzanm45 2 ปีที่แล้ว +1

    Why your all videos are sponsered by altium 🤣🤣

  • @rajuraushan4391
    @rajuraushan4391 2 ปีที่แล้ว

    10

  • @paolomarani7957
    @paolomarani7957 ปีที่แล้ว

    Banany nanana cucu tu masoni