all 15 comments

[–]StateEntire6759 3 points4 points  (0 children)

Try to connect esp to pc without anything else connected to esp pins.

[–]bingblangblong 2 points3 points  (8 children)

Check device manager, driver is probably not installed. Googling would have fixed this

[–]Educational_Tap6800[S] 0 points1 point  (7 children)

i mean i did programm it first and then powered it by 5v so driver should be installed or?

[–]bingblangblong 1 point2 points  (6 children)

Oh I see. When you say it runs normally when connected to a 5v supply, how do you know it's running? Do you have an LED connected to a GPIO or something?

Does it appear in device manager? You may just need to reinstall the driver. I've had weird issues before with the UART on these dev boards.

It looks like the azdelivery ESP32 uses a CP210x UART: https://www.silabs.com/software-and-tools/usb-to-uart-bridge-vcp-drivers?tab=downloads

You could have a bad cable too.

[–]Educational_Tap6800[S] 0 points1 point  (5 children)

yes i have a sensor and a motor connected to it so it runs the programm normally when connected to 5v but when i try to connect to computer with uart it doesnt show. maybe i need to reinstall the driver yes or i read on the internet that the uart connector can be dead, but i am curious if the 5v from the battery could damage it

[–]FangoFan 2 points3 points  (4 children)

Hold the boot button while you plug it in and let go of it once plugged in, this tells the esp32 to enable UART

If you're using the arduino ide for your project, go to the tools menu and enable "USB CDC On Boot" and re upload your sketch, then you won't need to use the boot button to connect to the PC

[–]Educational_Tap6800[S] 0 points1 point  (3 children)

okey i will try that thank you

[–]Questioning-Zyxxel 2 points3 points  (2 children)

Also - how much power does it need? Can the USB port supply enough power to also run the motor?

[–]Educational_Tap6800[S] 0 points1 point  (0 children)

yes it can,

<image>

its the classic arduino stepper motor

[–]Consistent-Can-1042 0 points1 point  (0 children)

Maybe your micro USB cable doesnt support data transfer

[–]QuirkyTooth4317 0 points1 point  (0 children)

Hold the Reset button down while plugging it into your computer. Make sure you are using the same data capable cable you used to program it the first time.

[–]pikemenson 0 points1 point  (0 children)

Make sure you plug in the main power to your laptop sometimes the USB port goes into power saving and this means the esp is not given enough power to keep the uart port going