Search found 26 matches
- Thu Jul 11, 2019 7:53 pm
- Forum: ESP32 boards
- Topic: date time system
- Replies: 4
- Views: 2749
date time system
Hello! I'm in the development phase of a project so I print the date time each time I reboot my device with the print command (time.localtime ()). And sometimes comes the result (2000, 1, 1, 0, 0, 4, 5, 1) which is the starting time date. But sometimes I get the correct correct date time. However I ...
- Sun Jul 07, 2019 10:54 pm
- Forum: ESP8266 boards
- Topic: UART1 UART2 ESP8266
- Replies: 2
- Views: 2737
UART1 UART2 ESP8266
Hello! Is it possible to use UART 1 or UART 2 on an ESP8266 NodeMCU? I want to use for communication between the ESP8266 and a SIM808. When I use phone = UART (2, 9600), it gives me an error that the port does not exist, when I use phone = UART (1, 9600) it replies that it is inaccessible. When I us...
- Thu Jul 04, 2019 6:18 pm
- Forum: ESP32 boards
- Topic: Error "OSError: 118"
- Replies: 4
- Views: 8123
Re: Error "OSError: 118"
Victory! I was able to solve it after some more research. I want to leave the solution here for someone who needs ... When working with SIM808 or another module that communicates with AT commands, everything is then by AT commands, even easier. ESP32 will not have access to the internet, but it will...
- Thu Jul 04, 2019 5:15 pm
- Forum: ESP32 boards
- Topic: Error "OSError: 118"
- Replies: 4
- Views: 8123
Re: Error "OSError: 118"
How do I do this?
As I already said, I can communicate with the SIM808, send SMS with AT commands, consult the coordinates of GNSS, everything works fine.
But how would I make an internet connection?
As I already said, I can communicate with the SIM808, send SMS with AT commands, consult the coordinates of GNSS, everything works fine.
But how would I make an internet connection?
- Thu Jul 04, 2019 3:24 pm
- Forum: ESP32 boards
- Topic: Error "OSError: 118"
- Replies: 4
- Views: 8123
Re: Error "OSError: 118"
I added this snippet of code: gsm=UART(1,rx=16, tx=17, timeout=1000, baudrate=9600) ppp=network.PPP(gsm) ppp.active(True) when I execute these commands, the result is this: >>> print(ppp.active()) True >>> print(ppp.status()) None >>> print(ppp.isconnected()) False >>> print(ppp.ifconfig()) ('0.0.0....
- Thu Jul 04, 2019 2:38 pm
- Forum: ESP32 boards
- Topic: Error "OSError: 118"
- Replies: 4
- Views: 8123
Error "OSError: 118"
I need to run a URL and it is giving this error "Error" OSError: 118 " when I execute the command" s.connect (addr) " Below my code: import time import sys from machine import UART, Pin import socket startgprs = Pin (26, Pin.OUT) ledpower = Pin (19, Pin.OUT) ledgprs = Pin (23, Pin.OUT) ledgps = Pin ...