ESP32-S3 USB Camera & Audio WebSocket Test: UVC + UAC Data Streaming Demo (ft. WebSocket)

Поділитися
Вставка
  • Опубліковано 27 гру 2024

КОМЕНТАРІ • 49

  • @achalasamapriya2701
    @achalasamapriya2701 3 місяці тому +5

    Awesome next level work. Thank you for sharing the knowledge ❤

  • @AmanSinghal-ny3ik
    @AmanSinghal-ny3ik Місяць тому +1

    you can actually use this to basically convert any webcam into a wireless IP CAM !

  • @TrasteIAm
    @TrasteIAm 3 місяці тому +3

    I need to try this.

  • @SalvatoreRaccardi
    @SalvatoreRaccardi 3 місяці тому +2

    Very interesting video! Have you tried implementing it on the ESP32-P4?

    • @ThatProject
      @ThatProject  3 місяці тому +2

      @@SalvatoreRaccardi P4 is a monster. It’s gonna be crazy. 😃

  • @slartybardfast1972
    @slartybardfast1972 3 місяці тому +1

    Once again, awesome work.
    I notice you say next time you will try with a USB-C breakout. The can you not get the onboard USB-C OTG connector to run the camera?

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

      @@slartybardfast1972 You are right. It works with OTG port. I have devices that don't have this port, so I always connected via GPIO 19/20.

  • @zhdanvadim9536
    @zhdanvadim9536 3 місяці тому +1

    Awesome! Thank you!

  • @UnexpectedMaker
    @UnexpectedMaker 3 місяці тому

    Very cool project - Have you tried a higher resolution UVC camera to see the maximum resolution/fps you can achieve?

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

      The maximum resolution for MJPEG on the C270 camera is 1280x720, but the negotiation failed. The highest resolution I've been able to achieve is 800x600 15FPS.

    • @UnexpectedMaker
      @UnexpectedMaker 3 місяці тому

      @@ThatProject Ok, thanks for the clarification :)

  • @noweare1
    @noweare1 2 місяці тому +1

    Excellent, have to look into this. I have been trying to get audio and video using esp32 cameras for image and i2s microphone for audio but audio seems to be my kryptonite

    • @ThatProject
      @ThatProject  2 місяці тому

      @@noweare1 I tried it too, but it didn't work as I thought.

  • @YigalBZ
    @YigalBZ 3 місяці тому

    Nice project. Did you try custom image recognition with it?

    • @ThatProject
      @ThatProject  3 місяці тому

      Not yet. That will probably be done by another project.

  • @bennguyen1313
    @bennguyen1313 День тому

    I'm using the EspressIf IDF-IDE, but it doesn't have an example template/project for using websockets.. do you think your project could be ported to work with the IDF IDE?
    The webserver project template works, but I'd like to now add websockets to push data out.
    (BTW, 'ESP32 ESP-IDF WebSocket Web Server with LED Control Example' also uses VS-Code/PlatformIO)

    • @ThatProject
      @ThatProject  День тому

      Check this out. github.com/espressif/esp-protocols/tree/master/components/esp_websocket_client

  • @RyanShen-w1m
    @RyanShen-w1m Місяць тому

    I use the same esp32s3 and the C270.But I get the different result. I find that in C270 there are two Speed Configuration Descriptor, one for high speed and one for full speed. I want to know which configuration descriptor do you get in your project. And as I known, esp32s3 can only support full speed, so how can the C270 in your project transfer the right descriptor to capture the pictures. Thanks a lot.

    • @ThatProject
      @ThatProject  Місяць тому

      @@RyanShen-w1m I haven't had any issues with the C270 and Espressif specifies the C270 in their examples so I don't think it's an issue with the C270 itself. Did you notice anything different when you checked the device info using the USB Descriptor Dumper Tool as I mentioned in the video?

  • @maheshmustapure7668
    @maheshmustapure7668 Місяць тому

    why there is no main.c file in UVC_UAC_Test_Project/uvc_uac_test

    • @ThatProject
      @ThatProject  Місяць тому +1

      The file name does not need to be main. The uvc_uac_test.c is the main file.

    • @maheshmustapure7668
      @maheshmustapure7668 Місяць тому

      @ThatProject thank you for replying
      I got it all together
      Wifi is connecting but it's not connecting to server
      Problem is something about timeout
      Can you please help with it

    • @ThatProject
      @ThatProject  29 днів тому

      @@maheshmustapure7668 It seems like you can't connect to the local server after connecting to WIFI. Please check the IP and Port of the local server again.

  • @peekpt
    @peekpt 3 місяці тому

    I'm wondering if it's possible to make a wireless USB cable with two ESP32.

    • @ThatProject
      @ThatProject  3 місяці тому

      @@peekpt On one side, you have an ESP32 with a USB cam connected, and you are getting this image data from another ESP32 through WiFi and outputting it to a connected display?

  • @behzadabf
    @behzadabf 3 місяці тому

    wonderful...❤❤

  • @leo940806
    @leo940806 2 місяці тому

    Seems the UVC, UAC project is removed by espressif? When I git clone the repository, there is a readme file in the folder saying that it is removed. Is it a problem they found or other reason? How can you still work on it?

    • @ThatProject
      @ThatProject  2 місяці тому

      Did you clone esp-iot-solution correctly? It's still there. github.com/espressif/esp-iot-solution/tree/master/examples/usb/host

    • @ThatProject
      @ThatProject  2 місяці тому

      DId you get this error?
      ERROR: Cannot establish a connection to the component registry. Are you
      connected to the internet?
      URL: components.espressif.com/api

  • @AdithyaSurjun
    @AdithyaSurjun 7 днів тому

    Can I use esp32 for this project plase reply

    • @ThatProject
      @ThatProject  7 днів тому

      Works with ESP32-S2/S3, models with built-in PSRAM.

  • @Idontlikethisname-zy3zn
    @Idontlikethisname-zy3zn Місяць тому

    Hi I have a uvc camera that transfers image 120*160, I tried this code but the 192.168.4.1 just shows constantly one frame of white image every5 seconds, the rest is just dark image. Do you think this is the clock frequency issue or the width must be larger than height? or any other reason? thx

    • @ThatProject
      @ThatProject  Місяць тому

      Well, I'm not sure what the root cause is. Before trying this code, it seems like you need to first check whether the image frame is acquired normally from UVC.

    • @Idontlikethisname-zy3zn
      @Idontlikethisname-zy3zn Місяць тому

      @ThatProject yes the potplayer can display the real time video no problem. Never mind, thanks for the video, I just need to debug it somehow.

    • @ThatProject
      @ThatProject  Місяць тому +1

      @@Idontlikethisname-zy3zn Well then, getting images via WebSocket should be no problem either. I suggest you try using UVC only, without UAC.

  • @TechInventorAman
    @TechInventorAman 3 місяці тому

    What is UVC ?

    • @ThatProject
      @ThatProject  3 місяці тому

      @@TechInventorAman UVC stands for USB Video Class, a class of devices that transmit in-stream video over USB. docs.espressif.com/projects/esp-iot-solution/en/latest/usb/usb_device/usb_device_uvc.html

  • @brunobilame2528
    @brunobilame2528 3 місяці тому +1

    Thanks, interesting. I've an old cam unable to work due to unupdated drivers. it may work this way.

    • @ThatProject
      @ThatProject  3 місяці тому

      @@brunobilame2528 That's great. Before you start, check the USB Descriptors to see what formats are supported.

  • @vananvo6885
    @vananvo6885 3 місяці тому

    What is the highest supported image resolution?

    • @ThatProject
      @ThatProject  3 місяці тому

      The maximum resolution for MJPEG on the C270 camera is 1280x720, but the negotiation failed. The highest resolution I've been able to achieve is 800x600 15FPS.

  • @xamashee
    @xamashee 3 місяці тому +4

    Although the processor wasn't design for such applications rather just another Arduino like board for basic stuff with comms, it's fascinating how capable it has turned out to be 🎉

    • @UnexpectedMaker
      @UnexpectedMaker 3 місяці тому +1

      The S3 was 100% designed for projects like this other high-end "non-Arduino makery stuff" - The maker/tinkerer/dev board community makes up a tiny proportion of the customer base for the Espressif chips.

  • @sonu8236
    @sonu8236 20 днів тому

    BRO can this project be made with
    ESP32-WROOM-32 30-pin board
    Please reply me please

    • @ThatProject
      @ThatProject  19 днів тому

      @@sonu8236 Unfortunately this uses the native usb interface supported by S2/S3. ESP32-WROOM-32 cannot do this, but ESP32-S3-WROOM-1 can.

  • @stanissovet9571
    @stanissovet9571 7 днів тому

    Ничего не видно

    • @ThatProject
      @ThatProject  7 днів тому

      What's wrong?

    • @stanissovet9571
      @stanissovet9571 6 днів тому

      @ThatProject need scale text You simple record screen

    • @ThatProject
      @ThatProject  5 днів тому

      @@stanissovet9571 I'm always concerned about that. I'll try to make the text more visible.