ESP32 | Walkie-Talkie, Half-duplex communication based on WebSocket

Поділитися
Вставка
  • Опубліковано 6 січ 2025

КОМЕНТАРІ • 68

  • @sijojohnson
    @sijojohnson 3 роки тому +2

    if the devices are in two different locations and using two different internets, does it connect automatically?
    if it works automatically, then one good application is the Emergency alarm / SoS device for elderly people.
    Device1 is for an elderly person, device 2 is for their relative or caretaker( device2 should be an android or Ios app.
    so that he can carry anywhere)
    Device1 Side should be an ESP device with 1 or more buttons
    Three modes of operation :
    1) pre-added 3-4 TXT msg, send from device 1 to device 2
    2) press a button and speak. recorded 10-sec message will be sent to device 2 and save there.
    so 2nd person can play the voice msg at any time
    3) walky-talky. 2-way communication
    latency is not a big issue here.
    device 1 can be designed like a walking stick, torchlight, or directly attached to the bed

  • @wjn777
    @wjn777 3 роки тому

    Really nice and innovative project, thank you for sharing!

  • @GadgetAddict
    @GadgetAddict 3 роки тому

    What distance can you get if there's no obstructions between the two?

    • @ThatProject
      @ThatProject  3 роки тому

      If there is no obstacle between the two devices, it would be approximately 20 ~ 30 feet. The internal antenna is the worst. For longer distance communication, I recommend using an external antenna.

  • @ThatProject
    @ThatProject  3 роки тому +5

    That Project's Channel - ua-cam.com/users/ThatProject
    Join FB Group - facebook.com/groups/138965931539175

  • @sito3453
    @sito3453 3 роки тому

    This proyect its so cool!! Thank you sir!!!👍👍👍

  • @gibohnee
    @gibohnee 3 роки тому

    Do you have a build sheet with part numbers? ... Especially interested in the special PCB, what microphone module and camera module those are.

    • @ThatProject
      @ThatProject  3 роки тому +1

      As you can see in the video, there's nothing special about it, so I didn't make a separate BOM list. Please let me know if you need more than the below items.
      I2s Mems Microphone - INMP441
      ESP32 TTGO T Display
      Mini Audio Speakers 8 Ohm 1W

  • @IWAYANRENTANU
    @IWAYANRENTANU Рік тому

    i2c_setting.h error while compiling, where isi file driver/i2c.h in main program? thx you sir

    • @ThatProject
      @ThatProject  Рік тому

      github.com/0015/ThatProject/tree/master/ESP32_TTGO/Walkie-Talkie_Project/Client
      There is the I2s_Setting.h file. Check it again.

  • @youliantroyanov2941
    @youliantroyanov2941 3 роки тому

    Too cool... U da man 👍

  • @anoopcc2361
    @anoopcc2361 3 роки тому +1

    Hey can u make a video on call answering from esp32 to mobile, it could be from system app or custom app, using Bluetooth

    • @ThatProject
      @ThatProject  3 роки тому

      Haha, I don't know. I think I need more time to do that kind of project.

  • @nishantbilurkar2187
    @nishantbilurkar2187 Рік тому

    Hello, I am getting an error in the terminal saying fatal error: avr/pgmspace.h: No such file or directory, also in another case, I connected a 3W speaker and only sometimes for a moment the output is received. These are the two issues that I am facing right now. So please try to help me out. Please mention the libraries that I need to get or download to run this.

    • @ThatProject
      @ThatProject  Рік тому

      Did I use the avr/pgmspace.h on my project? I don't think so. Please check it again. Note that this project is based on ESP version 1.0.6.

  • @borisnges4285
    @borisnges4285 3 роки тому +1

    Thanks this is interesting, will it work if we use SPH0645lm4h?

    • @ThatProject
      @ThatProject  3 роки тому

      Unfortunately, I can't tell you because I haven't tested it.

  • @gonpteurp6260
    @gonpteurp6260 Рік тому

    Hi, thank you so much for a wonderful project. I'm wondering if we can improve the sound quality?

    • @ThatProject
      @ThatProject  Рік тому

      If you change to 44.1khz, I think you can increase the sound quality more.

  • @uchaila9935
    @uchaila9935 3 роки тому +1

    Can you tell me this megaphone'name. Thank you so much?

    • @ThatProject
      @ThatProject  3 роки тому +1

      You mean, INMP441 which is i2s mems microphone?

    • @uchaila9935
      @uchaila9935 3 роки тому +1

      @@ThatProject it is gray color

    • @ThatProject
      @ThatProject  3 роки тому +1

      @@uchaila9935 It's just a tripod.

  • @summerfun6114
    @summerfun6114 Рік тому

    great job. my compiling got error: invalid conversion from 'TickType_t' {aka 'unsigned int'} to 'size_t*' {aka 'unsigned int*'} at Line92 of I2S setting.h , what can be? thanks. I used Arduino IDE 1.8.19 and TTGO_S3. what distance it can reach?

    • @ThatProject
      @ThatProject  Рік тому

      Note that this project is ESP Arduino version 1.0.6. If you run into trouble, please use ESP version 1.0.6 instead of the latest version.

    • @summerfun6114
      @summerfun6114 Рік тому

      @@ThatProject Thanks. wonder if this project be able to use on ESP32 S3?

    • @sunhilldiy
      @sunhilldiy Рік тому

      @@ThatProject thanks for your help. I finally uploaded it into server and client, any way to improve the noise and distance?

    • @ThatProject
      @ThatProject  Рік тому +1

      @@sunhilldiy That's a very tricky question. Solutions may vary depending on the type of noise. Basically, increasing the sampling rate can have the effect of reducing noise.
      What distance are you talking about? Is it the distance from the microphone? Or is it a distance from WiFi?

    • @ThatProject
      @ThatProject  Рік тому

      @@summerfun6114 Check my latest video. I made a new project using ESP32-S3 and INMP441.

  • @josevalera9369
    @josevalera9369 3 роки тому

    Nice video! This is an out of context question but Do you know how many files can I store in Esp32's spiffs or is it limited by spiffs size?

    • @ThatProject
      @ThatProject  3 роки тому +1

      It depends on your ESP32 partition scheme. The number of files doesn't matter and you can select the available capacity. It's usually about 1MB.

    • @josevalera9369
      @josevalera9369 3 роки тому

      @@ThatProject thanks!

  • @rakibahamed9778
    @rakibahamed9778 Рік тому

    Does it required internet to conversion or is it run without internet?
    can i use multiple clint in one server?

    • @ThatProject
      @ThatProject  Рік тому +1

      This is a direct connection between the two devices, so no internet required. Also, only 1:1 is possible.

    • @rakibahamed9778
      @rakibahamed9778 Рік тому

      I have 2 questions.
      If i use wifi router instead of
      const char* ssid = "ESP32-THAT-PROJECT";
      const char* password = "California";
      Here then is it possible to to connect and communicate with multiple device. If still it's not possible then
      Sir please make a project ua-cam.com/video/d_h38X4_eQQ/v-deo.html
      Like that, multiple ESP32 device connect with wifi router with a decent GUI interface showing battery charge present, wifi connection signal etc. in 128x64 oled display because TTGO aren’t available in my place but in simple way. it would be amazing.

    • @ThatProject
      @ThatProject  Рік тому +1

      @@rakibahamed9778 You can connect to other APs in WiFi Station mode, but this system does not support multi-clients. Please check this next video. ua-cam.com/video/vq7mPgecGKA/v-deo.html

  • @Charles-lt9rr
    @Charles-lt9rr 2 роки тому +1

    Thanks very much my dear for sharing this wonderful and nice tutorial. Please, can I use esp32 to do this project. I don't have esp32 TTGO. Please, i am waiting for your reply. Thanks

    • @ThatProject
      @ThatProject  2 роки тому +1

      You can do this project with your ESP32. Looks like you'll have to remove all the display part from the code and add the physical button to trigger an event.

    • @Charles-lt9rr
      @Charles-lt9rr 2 роки тому +1

      @@ThatProject Thanks very much

    • @ThatProject
      @ThatProject  2 роки тому +1

      @@Charles-lt9rr You're welcome.

    • @Charles-lt9rr
      @Charles-lt9rr 2 роки тому +1

      I may use motion sensor to trigger the event

    • @ThatProject
      @ThatProject  2 роки тому +1

      @@Charles-lt9rr Oh wow that is interesting.

  • @viralVinal
    @viralVinal Рік тому

    Congratulations for the project and above all for the whole channel, there are exceptional videos. Regarding this project, I would like to know a couple of things, I would have to communicate very far away, so I would like to use the wifi ethernet network, is it possible? Then I would like to create intercommunicating intercoms, therefore bidirectional, do you think I would need another esp? Thank you

    • @ThatProject
      @ThatProject  Рік тому +1

      This is only possible over a very short distance because one ESP operates in AP Mode and the other operates in STA Mode, making a direct connection. Perhaps what you want has more to do with this next project.

  • @FAUGETSTORE
    @FAUGETSTORE 11 місяців тому

    hello pro we can use vs1053 codecs for good qualité audio

    • @ThatProject
      @ThatProject  11 місяців тому +1

      Are you using this board? learn.adafruit.com/adafruit-vs1053-mp3-aac-ogg-midi-wav-play-and-record-codec-tutorial

    • @FAUGETSTORE
      @FAUGETSTORE 11 місяців тому

      @@ThatProject
      yes if you can help me to add this borad in your code plzzz

  • @jalananlurus
    @jalananlurus 3 роки тому

    Cool.. Respect

  • @Charles-lt9rr
    @Charles-lt9rr 2 роки тому

    Thanks very much my dear for this nice video. Please, can I use station mode on the server side where both the server and the client will connect to router in order to increase the wifi range instead of using the AP mode of the server. Please, I am waiting for your reply. Thanks very much

    • @ThatProject
      @ThatProject  2 роки тому

      Hi Charles. That's why I made the next video. Have you seen it? The ESP32 all become clients and are controlled by Server. ua-cam.com/video/vq7mPgecGKA/v-deo.html

  • @inventindiadev8926
    @inventindiadev8926 2 роки тому

    is it Possible to do full duplex audio transfer ??

    • @ThatProject
      @ThatProject  2 роки тому

      How can we make the full-duplex on this system? You know that it's connected to not only MIC but also a speaker right?

    • @inventindiadev8926
      @inventindiadev8926 2 роки тому

      @@ThatProject can we use both i2s0 and i2s1 for full duplex ??

    • @ThatProject
      @ThatProject  2 роки тому

      @@inventindiadev8926 It is technically possible, but if you use the camera and MIC at the same time, the camera occurs drop frames. So, it's not recommended.

    • @inventindiadev8926
      @inventindiadev8926 2 роки тому

      @@ThatProject I just want to make simple full duplex audio sharing between two esp32s

  • @GodzillazzZ
    @GodzillazzZ 3 роки тому

    awesome

  • @avinashgupta7089
    @avinashgupta7089 2 роки тому +1

    kindly share button library with this code

  • @bramSDASCL1759
    @bramSDASCL1759 3 роки тому

    Subscribe 👍.. can you tell me what type of speakers u are using ??

    • @ThatProject
      @ThatProject  3 роки тому

      The speaker used in this project is AIYIMA 8 Ohm 1W Mini Audio Speaker.