-->
Page 1 of 1

esp8266: REPL hangs after UART initializing

PostPosted: Tue May 08, 2018 5:37 am
by Alex Makarevich
Hello!
I'm trying to read mhz19 co2 sensor data using ESP12F with micropython.

My pins are connected as following:
MHZ19 ESP
GND --> GND
Vin --> Vin
Tx --> Rx
Rx --> Tx

Console hangs directly after connecting (screen /dev/cu.wchusbserial14340 115200) giving following output:

��'�ng�l��d�l��l$������d�g����cll�;x���cl�#{$s$s�'�����g����c��$�d���cl���<cd`��lg�p;l�l��|��{�#4 ets_task(40100130, 3, 3fff837c, 4)
OSError: [Errno 2] ENOENT

MicroPython v1.9.3-8-g63826ac5c on 2017-11-01; ESP module with ESP8266
Type "help()" for more information.
>>>
Firmware without mhz19 sensor works well. What's the problem with the port?