Search found 145 matches

by liudr
Sun Jul 29, 2018 12:26 am
Forum: ESP32 boards
Topic: Trying usocket on WROOM module
Replies: 6
Views: 731

Re: Trying usocket on WROOM module

Great! Thanks to both! I'll read the urequests first. My connect request is simple, just an HTTP GET request. Server response is super simple. If I can get that done using urequests as a starting point, I'll be good.
by liudr
Sat Jul 28, 2018 5:24 pm
Forum: ESP32 boards
Topic: SDcard in SPI mode using Loboris port?
Replies: 23
Views: 4345

Re: SDcard in SPI mode using Loboris port?

I hope OP found how to run the SD card by now. It's both funny and sad that I am running into the same problem now with my own prototype. In hoping to test the sd card, I had to use the dev board in the photo I posted on this thread (couldn't remember how I wired it without this photo). Took me a wh...
by liudr
Sat Jul 28, 2018 4:58 am
Forum: ESP32 boards
Topic: Trying usocket on WROOM module
Replies: 6
Views: 731

Re: Trying usocket on WROOM module

Thanks for responding. I used sock.connect(sockaddr) instead of sockaddr[0][-1]. I thought that was the right syntax. The ESP32 port is essentially missing official documentation. All I found was wipy port documentation that told me that. >>> sockaddr=usocket.getaddrinfo('www.micropython.org',80) >>...
by liudr
Fri Jul 27, 2018 4:24 pm
Forum: ESP32 boards
Topic: Trying usocket on WROOM module
Replies: 6
Views: 731

Re: Trying usocket on WROOM module

I started tracking memory usage and thought memory shouldn't be a problem. There is 100K left before I attempted to connect socket but the module still restarts with this error: >>> gc.mem_free() 103168 >>> sock.connect(sockaddr) Guru Meditation Error: Core 0 panic'ed (LoadProhibited) . Exception wa...
by liudr
Fri Jul 27, 2018 4:03 pm
Forum: ESP32 boards
Topic: Set sd card mode and pins in official firmware
Replies: 2
Views: 621

Set sd card mode and pins in official firmware

I am confused. I started with official firmware and quickly switched to loboris firmware. I can set sd card mode (SPI) and pins at will with this: uos.sdconfig(uos.SDMODE_SPI, clk=5, mosi=18, miso=19, cs=15) This MUST have been loboris firmware because I couldn't find this method under uos in the of...
by liudr
Wed Jul 25, 2018 9:24 pm
Forum: ESP32 boards
Topic: Trying usocket on WROOM module
Replies: 6
Views: 731

Trying usocket on WROOM module

I am trying to get a bit of networking using usocket on WROOM but maybe there wasn't enough memory. I have the standard firmware: rst:0x1 (POWERON_RESET),boot:0x13 (SPI_FAST_FLASH_BOOT) configsip: 0, SPIWP:0xee clk_drv:0x00,q_drv:0x00,d_drv:0x00,cs0_drv:0x00,hd_drv:0x00,wp_drv:0x00 mode:DIO, clock d...
by liudr
Thu Jul 12, 2018 7:24 pm
Forum: ESP32 boards
Topic: Pin questions
Replies: 1
Views: 379

Pin questions

I am trying to understand pin functions and mapping of ESP32 and need some help. have the following questions: 1. GPIO 37 and 38 or sensor_capp and sensor_capn. These pins are not on the WROVER module's breakout pads. They are probably under the metal cap and have the 270pF caps on them as indicated...
by liudr
Tue Jul 10, 2018 6:00 pm
Forum: ESP32 boards
Topic: Waking processor with external RTC
Replies: 2
Views: 394

Re: Waking processor with external RTC

Thank you Loboris! I happened to have picked GPIO4. After reading the doc you provided, and the list of pins you provided, I now understand that all of these pins belong to VRTC group that can wake the CPU. I would probably have come to the same conclusion with a lot more time and frustration withou...
by liudr
Sat Jul 07, 2018 5:30 am
Forum: ESP32 boards
Topic: Waking processor with external RTC
Replies: 2
Views: 394

Waking processor with external RTC

I am trying to use a DS3231 to wake ESP32. Is any ESP32 GPIO pin able to wake the processor or are there specific pins that can do that? I read the ESP32 doc and it didn't really cover it. Could anyone point to a good source to read about power modes and how to use micropython to run these modes? Th...
by liudr
Fri Jul 06, 2018 10:58 pm
Forum: ESP32 boards
Topic: ESP32 auto reset circuit
Replies: 8
Views: 1911

Re: ESP32 auto reset circuit

Found the thread I started 3 months ago! Content was related to this post:
https://forum.micropython.org/viewtopi ... =18&t=4607