-
-
Notifications
You must be signed in to change notification settings - Fork 8.2k
esp8266: REPL hangs after UART initializing #3763
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Comments
If you connect something else to RX and TX, you'll have a collision with the console, which is also connected to RX and TX. The collision is both for the electrical signals and the protocol, In this case, the mh-z19 sensor requires a setting of 9600 baud, whereas the console is using 115200 baud. |
The UART on esp8266 is currently only available for the REPL and can't be used for other things. |
http://micropython.org/webrepl/ - can webrepl help me in my case? |
Not until it's possible to disable the REPL on the UART; see #3277 for some code which does this. |
It's now possible to disable the REPL on UART(0) on the esp8266, see afd0701. |
i just hoped i saw this solution before frying my chip
|
Uh oh!
There was an error while loading. Please reload this page.
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:
Firmware without mhz19 sensor works well. What's the problem with the port?
The text was updated successfully, but these errors were encountered: