Skip to content

NEO GPS #16566

Answered by robert-hh
sxkod asked this question in ESP8266
NEO GPS #16566
Jan 10, 2025 · 1 comments · 4 replies
Discussion options

You must be logged in to vote

By default the REPL interface at the ESP8266 is UART 0, which is connected by a UART/USB bridge to USB. Therefore you cannot use UART for the GPS receiver at the same time as REPL. Using Webrepl, you can switch the REPL interface to the WiFi connection and detach UART from the REPL.
See https://docs.micropython.org/en/latest/esp8266/quickref.html#uart-serial-bus and https://docs.micropython.org/en/latest/esp8266/quickref.html#webrepl-web-browser-interactive-prompt
Once you have detached REPL from UART using os.duptern(None, 1) you can use the UART 0 for GPS. If you need to print messages by UART, you could use UART(1) to send data,
Note that the labels D1, D2 etc. of the Wemos D1 type boa…

Replies: 1 comment 4 replies

Comment options

You must be logged in to vote
4 replies
@robert-hh
Comment options

@sxkod
Comment options

@sxkod
Comment options

@sxkod
Comment options

Answer selected by sxkod
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
2 participants