Skip to content
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

How to communicate with the ESP32 module? #9

Open
AlexeyPechnikov opened this issue Jun 9, 2022 · 3 comments
Open

How to communicate with the ESP32 module? #9

AlexeyPechnikov opened this issue Jun 9, 2022 · 3 comments

Comments

@AlexeyPechnikov
Copy link

I'm trying this code for the serial communication but it doesn't work:

import machine
uart = machine.UART(1,115200, rx=machine.Pin(9), tx=machine.Pin(8))
print('UART Serial', uart)

uart.write('AT\r\n')
print (uart.readline())

The code expected to print "OK" but it doesn't.

@LilyGO
Copy link
Contributor

LilyGO commented Jun 11, 2022

T-display is without ESP32C3. Please confirm your board is T-PICOC3 or T-DISPLAY-RP2040

@AlexeyPechnikov
Copy link
Author

Sure, I mean the board with wifi module (esp32) plus display (st7789). Actually, I’ve connected to the UART interface and can use AT commands but it’d be better to provide ready to use MicroPython library to it, right? Also, how to use the internal Bluetooth module from MicroPython programmed Pico?

@LilyGO
Copy link
Contributor

LilyGO commented Jul 1, 2022

I have provided the micropython firmware in the routine, the address is here
https://github.com/Xinyuan-LilyGO/T-PicoC3/tree/main/example/Micropython/firmware

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants