Search found 8 matches

by headshaker
Sat Mar 07, 2020 2:12 pm
Forum: ESP32 boards
Topic: SIM800L + UART + network module?
Replies: 14
Views: 10675

Re: SIM800L + UART + network module?

You have very interesting part in your code:

Code: Select all

ppp = network.PPP(simcom.simcom) 
So, you have some simcom object in uart class?
by headshaker
Thu Mar 05, 2020 10:27 am
Forum: ESP32 boards
Topic: SIM800L + UART + network module?
Replies: 14
Views: 10675

Re: SIM800L + UART + network module?

So, latest code: uart = UART(1, 9600, timeout=3000, rx=17, tx=16) uart.write('+++\r\n') print(uart.read(100)) uart.write('AT\r\n') print(uart.read(100)) uart.write('AT\r\n') print(uart.read(100)) uart.write('ATZ\r\n') print(uart.read(100)) time.sleep(2) uart.write('AT+CGATT=0\r\n') print(uart.read(1...
by headshaker
Mon Mar 02, 2020 8:01 pm
Forum: ESP32 boards
Topic: SIM800L + UART + network module?
Replies: 14
Views: 10675

Re: SIM800L + UART + network module?

ppp.connect() did not help. Still zeroes in ifconfig.
by headshaker
Sun Feb 23, 2020 9:44 pm
Forum: ESP32 boards
Topic: SIM800L + UART + network module?
Replies: 14
Views: 10675

Re: SIM800L + UART + network module?

No results: nor with 10 seconds sleep, nor with 20 seconds. It seems that it is a problem in network.PPP
by headshaker
Sun Feb 23, 2020 5:44 pm
Forum: ESP32 boards
Topic: SIM800L + UART + network module?
Replies: 14
Views: 10675

Re: SIM800L + UART + network module?

Unfortunately it did not help: Upon execution of

AT+CGDATA="PPP",1

I can see connection led blinking fast on SIM800L, but ppp.ifconfig() still shows zeroes, even after 10 seconds sleep.
by headshaker
Sat Feb 22, 2020 1:09 pm
Forum: WiPy and CC3200 boards
Topic: UART with GSM SIM800L
Replies: 17
Views: 109035

Re: UART with GSM SIM800L

Thanks! I've managed how to do it: SIM800L EVB 5V - to external 5V 2A power source + SIM800L EVB GND - to external 5V 2A power source - SIM800L EVB VDD - to ESP32 3.3V + Pin SIM800L EVB TXD - to ESP32 RX Pin SIM800L EVB RXD - to ESP32 TX Pin SIM800L EVB GND - to ESP32 GND Pin SIM800L EVB RST - to ES...
by headshaker
Sat Feb 22, 2020 1:02 pm
Forum: ESP32 boards
Topic: SIM800L + UART + network module?
Replies: 14
Views: 10675

SIM800L + UART + network module?

Hi! I'm trying to get SIM800L work at PPPos (i.e. to use it just like WIFI connection to internet). Here is a listing of my code: from machine import UART, Pin import network def send_command(command): command = command + '\r\n' uart.write(command) line = uart.read(100) if line: line = line.decode('...
by headshaker
Tue Feb 18, 2020 3:26 pm
Forum: WiPy and CC3200 boards
Topic: UART with GSM SIM800L
Replies: 17
Views: 109035

Re: UART with GSM SIM800L

To anyone still interested in using the SIM800L from MicroPython, here is a pure-MicroPython driver ready to use. You can use it as-is or just see how to do things in the right way. Happy coding! :) https://github.com/pythings/Drivers/blob/master/SIM800L.py Could you please give the wiring you use?...