Arduino UNO turns off when I connect ESP32 to the other USB port

Hi everyone, I have a little problem. I'm doing serial communication using esp32's RX and TX pins with UNO. The GND's are connected, the RX has two 10Komhs resistors to divide the voltage with the TX of the UNO, and the ESP32's TX is directly connected to the UNO's RX. Both boards are being powered by 5v from my laptop's USB ports. But when esp32 is connected, the UNO board shuts down. Has anyone ever experienced this ?

Thanks in advance, guys.

Please post a schematic of your project

1 Like

Hey Bob. Unfortunately, I'm new to this Arduino world, I didn't create a schematic, but I can post a photo of how the circuit turned out:

As I suspected you are using pins 0 and 1 on the Uno. These pins are used by the hardware Serial interface which is used to send data to and from the Serial monitor and also when uploading code

So, the first thing to do is to stop using them and create a second serial port in software using SoftwareSerial for which you will find examples in the IDE. This may not be the solution to your problem but will eliminate one possible problem

As to a schematic, please draw it out using pencil and paper, take a picture of it and post it here. It will be much easier to follow than a photo

This topic was automatically closed 180 days after the last reply. New replies are no longer allowed.