Search found 344 matches

by loboris
Sat Sep 09, 2017 11:09 pm
Forum: ESP32 boards
Topic: OLED mini-display for ESP32
Replies: 13
Views: 17621

Re: OLED mini-display for ESP32

When I try to use the standard ssd1306 driver with Loboris' ESP32 port, I get the following Traceback... ... I get an error when specifying the frequency when creating the i2c object... The correct way to create i2c object in my MicroPython port is: i2c=machine.I2C(scl=machine.Pin(26),sda=machine.P...
by loboris
Tue Sep 05, 2017 2:34 pm
Forum: ESP32 boards
Topic: ESP32 GPRS/PPP support
Replies: 10
Views: 13790

Re: ESP32 GPRS/PPP support

I have GSM/GPRS support implemented in my MicroPython port . It uses esp-idf/lwip PPPoS support, so that any network function can be used over GSM the same way as with WiFi. The implementation is in testing phase, I expect to merge it to GitHub repository next week. I'm testing with Simcom modules (...
by loboris
Sun Sep 03, 2017 8:28 pm
Forum: ESP32 boards
Topic: MicroPython on ESP32 with SPIRAM support
Replies: 463
Views: 538735

Re: MicroPython on ESP-WROVER with 4MB of psRAM

patrick.pollet wrote:...I do not know what to do, any help will be really appreciate...
It looks its the same issue reported here
Plase read it, maybe it will help.
by loboris
Sun Sep 03, 2017 3:12 pm
Forum: ESP32 boards
Topic: MicroPython on ESP32 with SPIRAM support
Replies: 463
Views: 538735

Re: MicroPython on ESP-WROVER with 4MB of psRAM

c.man wrote:I don't use 4 MB of memory ....
Why ?
What exactly is a problem?
You are using ESP-WROOM-32 module which does not have psRAM.
You have 92032 bytes of MicroPython heap of which 6720 bytes are used. That is what you can expect on start.
Do you expect to see more?
by loboris
Sun Sep 03, 2017 10:15 am
Forum: ESP32 boards
Topic: MicroPython on ESP32 with SPIRAM support
Replies: 463
Views: 538735

Re: MicroPython on ESP-WROVER with 4MB of psRAM

This implementation of mgtt is written completely in C and runs (when client is created) in background (as separate freeRTOS) task. Multiple clients can be created, connected to the different mqtt servers (brokers). Secure (ssl) and unsecure connection is supported. To create the new mqtt client, on...
by loboris
Sat Sep 02, 2017 3:45 pm
Forum: ESP32 boards
Topic: MicroPython on ESP32 with SPIRAM support
Replies: 463
Views: 538735

Re: MicroPython on ESP-WROVER with 4MB of psRAM

If you start WiFi in boot.py (or main.py), I would recommend to also synchronize the time via ntp server, like this: import machine, network, utime print("") print("Starting WiFi ...") sta_if = network.WLAN(network.STA_IF); sta_if.active(True) sta_if.connect("mySSID", "myPassword") while not sta_if....
by loboris
Fri Sep 01, 2017 9:30 pm
Forum: Programs, Libraries and Tools
Topic: A Micro HTTP Web Server and language templating for MicroPython
Replies: 5
Views: 7726

Re: A Micro HTTP Web Server and language templating for MicroPython

Thanks for the information.
I have included it with minor modifications into my MicroPython port as a frozen module and it works very well.
Are you planning to implement WebSockets protocol and posted multipart data mentioned in "issues" ?
by loboris
Thu Aug 31, 2017 3:30 pm
Forum: ESP32 boards
Topic: MicroPython on ESP32 with SPIRAM support
Replies: 463
Views: 538735

Re: MicroPython on ESP-WROVER with 4MB of psRAM

@cable134 The spi driver (module) is now updated, I've tested with your example and it works fine. The spi module now supports handling of CS . If defined, no external CS handling is needed. Duplex (default) and half duplex modes are supported: If duplex mode is set, data are transmitted and receive...
by loboris
Thu Aug 31, 2017 7:29 am
Forum: ESP32 boards
Topic: MicroPython on ESP32 with SPIRAM support
Replies: 463
Views: 538735

Re: MicroPython on ESP-WROVER with 4MB of psRAM

@cable134 Thank you for reporting. I'm working on SPI driver which is causing the error just now, it will be ready today or tomorow. I'll test it with your code. By the way, if you are not using psRAM you don't need to to run in unicore mode, on modules without psRAM MIcroPython runs on both cores j...