Page 1 of 1

Problem on a esp32 doit-devkit-v1 when powered using VIN pin (serial port 2 error)

Posted: Thu Oct 15, 2020 10:50 pm
by JorgeMaker
Hi everyone,

I have developed my code that runs on an esp32doit-devkit-v1 board and it works correctly if I power it through the UBS connector.

However when I power the board using the VIN pin it stops working correctly. The problem that appears is with serial port 2.

Does anyone know what may be happening and how I could do to fix it?

Thanks in advance for your help.

PS: I do not post any code since i am convinced that is a hardware isssue.

Re: Problem on a esp32 doit-devkit-v1 when powered using VIN pin (serial port 2 error)

Posted: Fri Oct 16, 2020 1:00 am
by ESP_Sprite
Define 'stops working correctly'? Define 'the problem' that appears with serial port 2?

Re: Problem on a esp32 doit-devkit-v1 when powered using VIN pin (serial port 2 error)

Posted: Fri Oct 16, 2020 4:04 pm
by JorgeMaker
The situation is as described in the following diagram. In case A the ESP32 is powered using USB from the computer everything works properly but the i change to case B powering the ESP32 using a power supply via VIN pin serial communications between ESP32 and Arduino stops working. There is not any error message but communication does not work.

Image

Re: Problem on a esp32 doit-devkit-v1 when powered using VIN pin (serial port 2 error)

Posted: Fri Oct 16, 2020 5:10 pm
by ESP_krzychb
Hi JorgeMaker,
In case B I would add GND connection between ESP32 and Arduino.

Re: Problem on a esp32 doit-devkit-v1 when powered using VIN pin (serial port 2 error)

Posted: Fri Oct 16, 2020 8:08 pm
by JorgeMaker
Thank a lot for you answer @ESP_krzychb i will try your suggestion to see if solves my problem :D