-
-
Save abuvanth/001aa1cb28617faff9c3ab72409dd20a to your computer and use it in GitHub Desktop.
from time import sleep | |
from machine import UART | |
import time | |
import network | |
uart = UART(2, baudrate=115200, tx=17, rx=16) | |
uart.write("AT+CGDCONT=1,\"IP\",\"jionet\"\r\n") | |
sleep(1.5) | |
uart.write("ATD*99#\r\n") | |
sleep(1.5) | |
uart.write("AT+CGDATA=\"PPP\",1\r\n") | |
sleep(1.5) | |
ppp = network.PPP(uart) | |
ppp.active(True) | |
ppp.connect() | |
sleep(3) | |
print(ppp.ifconfig()) | |
print(ppp.isconnected()) | |
import urequests as rt | |
print(rt.get("https://cyberfly.io/").text) |
Can you also please provide the circuit schematic?
I'm unable to get RX TX signal from it using C++
Can you also please provide the circuit schematic? I'm unable to get RX TX signal from it using C++
if you bought LTE module from ktron.in then you should connect TX to TX and RX to RX.
Can you also please provide the circuit schematic? I'm unable to get RX TX signal from it using C++
if you bought LTE module from ktron.in then you should connect TX to TX and RX to RX.
That's odd. Yes. I bought it from ktron.
Generally we need to cross connect it right? Rx to TX and TX to Rx
Can you also please provide the circuit schematic? I'm unable to get RX TX signal from it using C++
if you bought LTE module from ktron.in then you should connect TX to TX and RX to RX.
That's odd. Yes. I bought it from ktron. Generally we need to cross connect it right? Rx to TX and TX to Rx
yes but ktron done that cross connection in their PCB itself
revision -2
time optimized and removed un necessary code