{"action":"created","issue":{"url":"https://api.github.com/repos/micropython/micropython/issues/3763","repository_url":"https://api.github.com/repos/micropython/micropython","labels_url":"https://api.github.com/repos/micropython/micropython/issues/3763/labels{/name}","comments_url":"https://api.github.com/repos/micropython/micropython/issues/3763/comments","events_url":"https://api.github.com/repos/micropython/micropython/issues/3763/events","html_url":"https://github.com/micropython/micropython/issues/3763","id":320542034,"number":3763,"title":"REPL hangs after UART initializing","user":{"login":"alessss","id":12030532,"avatar_url":"https://avatars2.githubusercontent.com/u/12030532?v=4","gravatar_id":"","url":"https://api.github.com/users/alessss","html_url":"https://github.com/alessss","followers_url":"https://api.github.com/users/alessss/followers","following_url":"https://api.github.com/users/alessss/following{/other_user}","gists_url":"https://api.github.com/users/alessss/gists{/gist_id}","starred_url":"https://api.github.com/users/alessss/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/alessss/subscriptions","organizations_url":"https://api.github.com/users/alessss/orgs","repos_url":"https://api.github.com/users/alessss/repos","events_url":"https://api.github.com/users/alessss/events{/privacy}","received_events_url":"https://api.github.com/users/alessss/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2018-05-05T21:19:06Z","updated_at":"2018-05-06T07:35:56Z","closed_at":null,"author_association":"NONE","body":"Hello!\r\nI'm trying to read mhz19 co2 sensor data using ESP12F with micropython.\r\n\r\nMy pins are connected as following: \r\nMHZ19    ESP\r\nGND --> GND\r\nVin    --> Vin \r\nTx     -->  Rx\r\nRx    -->  Tx\r\n\r\nConsole hangs directly after connecting (screen /dev/cu.wchusbserial14340 115200) giving following output:\r\n\r\n`��'�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)\r\nOSError: [Errno 2] ENOENT\r\n\r\nMicroPython v1.9.3-8-g63826ac5c on 2017-11-01; ESP module with ESP8266\r\nType \"help()\" for more information.\r\n>>> `\r\n\r\nFirmware without mhz19 sensor works well. What's the problem with the port?"},"comment":{"url":"https://api.github.com/repos/micropython/micropython/issues/comments/386860401","html_url":"https://github.com/micropython/micropython/issues/3763#issuecomment-386860401","issue_url":"https://api.github.com/repos/micropython/micropython/issues/3763","id":386860401,"user":{"login":"robert-hh","id":12476868,"avatar_url":"https://avatars1.githubusercontent.com/u/12476868?v=4","gravatar_id":"","url":"https://api.github.com/users/robert-hh","html_url":"https://github.com/robert-hh","followers_url":"https://api.github.com/users/robert-hh/followers","following_url":"https://api.github.com/users/robert-hh/following{/other_user}","gists_url":"https://api.github.com/users/robert-hh/gists{/gist_id}","starred_url":"https://api.github.com/users/robert-hh/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/robert-hh/subscriptions","organizations_url":"https://api.github.com/users/robert-hh/orgs","repos_url":"https://api.github.com/users/robert-hh/repos","events_url":"https://api.github.com/users/robert-hh/events{/privacy}","received_events_url":"https://api.github.com/users/robert-hh/received_events","type":"User","site_admin":false},"created_at":"2018-05-06T07:35:56Z","updated_at":"2018-05-06T07:35:56Z","author_association":"CONTRIBUTOR","body":"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.\r\nI faintly remember some discussion of setting the console to webrepl only, but could not find that any more."}}
{"actor":{"display_login":"robert-hh"}}