Connected Device on UART2 break connection to UART0

All ESP32 boards running MicroPython.
Target audience: MicroPython users with an ESP32 board.
Post Reply
b3ster
Posts: 2
Joined: Wed Oct 16, 2019 10:01 pm

Connected Device on UART2 break connection to UART0

Post by b3ster » Wed Oct 16, 2019 10:04 pm

Hi,

I hope someone can explain the following behaviour and may help me to figure out whats going wrong.

Setup:

ESP32 Wifi Lora v2.0 -> with micropython (last version)
Using Thonny Python IDE / Putty
If I have something like a sds011 attached to the board via RX/TX - uart2 (Pin 16/17) I'm not able to connect to the board via REPL anymore (uart0 / usb), just get the feedback that a serial connection ist already established and this should be closed first.
I#m wondering as I believe that uart(0) and uart(2) should be separate, how can one affect the other ?

Thank you very much in advance :)

b3ster
Posts: 2
Joined: Wed Oct 16, 2019 10:01 pm

Re: Connected Device on UART2 break connection to UART0

Post by b3ster » Thu Oct 17, 2019 8:25 pm

I have found the Solution on my own, may this information help someone in the future:
-> dust sensor sds011 (~70mA @5v) can not be used with the provided 5V from the heltec board, this causes the serial/usb interface to crash. Even if the main process is still running and the code is executed.
So serving 5V from an external source solve the issue for this sensor.
Would be nice to know what are the official specs for the provided 5V source from heltec board?

Post Reply