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.
Problem on a esp32 doit-devkit-v1 when powered using VIN pin (serial port 2 error)
-
- Posts: 3
- Joined: Thu Oct 15, 2020 10:39 pm
-
- Posts: 9769
- Joined: Thu Nov 26, 2015 4:08 am
Re: Problem on a esp32 doit-devkit-v1 when powered using VIN pin (serial port 2 error)
Define 'stops working correctly'? Define 'the problem' that appears with serial port 2?
-
- Posts: 3
- Joined: Thu Oct 15, 2020 10:39 pm
Re: Problem on a esp32 doit-devkit-v1 when powered using VIN pin (serial port 2 error)
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.
- ESP_krzychb
- Posts: 400
- Joined: Sat Oct 01, 2016 9:05 am
- Contact:
Re: Problem on a esp32 doit-devkit-v1 when powered using VIN pin (serial port 2 error)
Hi JorgeMaker,
In case B I would add GND connection between ESP32 and Arduino.
In case B I would add GND connection between ESP32 and Arduino.
-
- Posts: 3
- Joined: Thu Oct 15, 2020 10:39 pm
Re: Problem on a esp32 doit-devkit-v1 when powered using VIN pin (serial port 2 error)
Thank a lot for you answer @ESP_krzychb i will try your suggestion to see if solves my problem
Who is online
Users browsing this forum: No registered users and 104 guests