Page 1 of 1

ESP32 communication with phone via the USB cable

Posted: Fri Nov 19, 2021 9:29 am
by zazas321
Hello. I have an ESP32 device and would like to communicate with it via the phone. I have downloaded the following APP on my phone:
https://play.google.com/store/apps/deta ... l=en&gl=US

I have connected one end of the USB cable to the ESP32 and the other end to the phone, I have also externally powered my ESP32 with 3.3V. Unfortunately, it does not seem to work as the app is not able to detect any serial device.

Can someone point me in the right direction. What is the correct way to acheive this?

UPDATE:
Requirements:
1. Wired communication must be working without BLE ( Do not suggest BLE serial profile )
2. There should be little to no setup required for the person. I dont have any example with the USB OTG but from what I know, it required the user to change some phone settings to get this to work. This is not good in this case. The connection should be as simple as plugging usb cable to phone and serial communication should work. Any additional hardware components if required is OK.

Re: ESP32 communication with phone via the USB cable

Posted: Tue Oct 25, 2022 9:53 pm
by Jschwa36
Did you ever find a suitable solution?

Re: ESP32 communication with phone via the USB cable

Posted: Sat Oct 29, 2022 1:33 am
by chegewara
My suggestion is to use esp32 S2 or S3, which have hardware USB and can work as CDC-ACM, which smartphones can detect this days.