Pico +Sim800
#16005
Replies: 2 comments
-
Pin 0 of the RP2 is UART0/tx, to be connected to the modem's rx pin, Pin 1 is UART0/rx, to be connected to the Modem's tx pin. So you have to swap the connections. |
Beta Was this translation helpful? Give feedback.
0 replies
-
Thank you. I fixed it and now there is no problem! |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
I used the sim800 driver https://github.com/pythings/Drivers/blob/master/SIM800L.py. I have set up
self.uart = UART(0, 9600, timeout=1000, rx=self.MODEM_TX_PIN, tx=self.MODEM_RX_PIN)
MODEM_TX_PIN = 0, MODEM_RX_PIN = 1
and I get an error: ValueError: bad TX pin. I am transmitting 0 but have to set up Pin(0).How to configure it correctly?
Beta Was this translation helpful? Give feedback.
All reactions