There is no serial data, but the serial monitor works

Hello!

I ran into the following problem: I have an esp32-wroom-32UE-n8 that I put on a board. When I want to program it, the arduino ide 2 says no serial data received. However, the serial connection is alive, as I can see the output of the microcontroller on the serial monitor. there is no program on it yet, so it keeps restarting, but if I press boot, it switches to waiting for uploading. It already worked with the same board and the same microcontroller. What could be the problem? I tried to supply the power supply only with the programmer, I tried with the power supply of the board, but none of them worked. It is true that in the case of the other one, the board's power supply could not work during programming because I think some component interferes with it.

If you need other data, ask and I will send it.

Thanks!

  • Show us good images of the wiring and the schematic including all components.

  • Tell us exactly how you are uploading the sketch ?

I'm not an ESP32 user. Maybe something in these search results can help:
Search results for 'esp32 cdc serial' - Arduino Forum.

Hello!

Thanks for the reply! I am attaching the drawing as an image, but it is there in KiCAD format as an attachment. There is a picture of the assembled circuit. You will surely notice that there are some design errors that will need to be corrected, but this is a prototype, and another circuit made on the basis of the same drawing works without error, it is true that I had to make a couple of connections, because I overlooked two outputs that can only be used as inputs, but this is the uploading of the program in the previous circuit did not hinder him. I do the Upload with the same parameters in the same way as the other one, until the OTA is live. Arduino 2.x IDE Upload button. The photo shows the USB-to-serial converter equipped with CH341A ic for uploading.


szk-prototipus.zip (26,5 kB)

  • At first glance, you are using Vdd to power the DS18B20.
  • The MOSFET symbol for driving the relays is suspiciously drawn.
  • You have Vdd connected to an ESP pin, this can damage the ESP.
  • Do not see the Serial connection to a CH341A.
  • Do not see decoupling capacitor(s).

Hello!

  1. Yes, according to its data sheet, it can be powered with 5 volts.
    2: I don't understand the problem. I took the wiring from a (said to be) working wiring diagram. It works on the other panel without any problems.
  2. If you mean the pull-up resistor of the DS (R4), then it is not soldered in, because I found out that this will be fixed in the next version. DS will not be used in this PCB. Due to its faults, the PCB cannot be used for its original function, but it can be used for another. The ingredients are expensive, I don't want to throw them away
    4: That is the J1 connector in the upper left corner. the serial connection is there because I can see the ESP boot process
rst:0x10 (RTCWDT_RTC_RESET),boot:0x17 (SPI_FAST_FLASH_BOOT)
configsip: 0, SPIWP:0xee
clk_drv:0x00,q_drv:0x00,d_drv:0x00,cs0_drv:0x00,hd_drv:0x00,wp_drv:0x00
mode:DIO, clock div:2
load:0x3fffeba4,len:4
load:0x4009f000,len:3248
entry 0x4009f574
�OHAI�ets Jul 29 2019 12:21:46

rst:0x10 (RTCWDT_RTC_RESET),boot:0x7 (DOWNLOAD_BOOT(UART0/UART1/SDIO_REI_REO_V2))
waiting for download

5: Where did I forget these? I have adapted most of the wiring from the wiring examples of the ESP32 data sheet published by espressif and from the wiring of other people (randomnerd, arduino, instructables, etc.). I did the power supply, but I don't think I could have messed it up with these parts (it also works).