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 ?
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