Search found 104 matches

by Capstan
Mon Oct 08, 2018 2:24 pm
Forum: ESP32 boards
Topic: interesting peripherals driver library
Replies: 1
Views: 160

interesting peripherals driver library

I was looking at CircuitPython yesterday. Adafruit posted a ton of driver code for it. Probably could be adapted to other MicroPython versions.

https://circuitpython.readthedocs.io/en ... ivers.html
by Capstan
Tue Aug 14, 2018 3:16 am
Forum: ESP32 boards
Topic: Sparkfun ESP32 board
Replies: 9
Views: 420

Re: Sparkfun ESP32 board

So it is working for you? What cued you to change the flashing options to those particular values?
by Capstan
Mon Aug 13, 2018 10:31 pm
Forum: ESP32 boards
Topic: Sparkfun ESP32 board
Replies: 9
Views: 420

Re: Sparkfun ESP32 board

How are you flashing it?
by Capstan
Sat Jul 28, 2018 3:13 pm
Forum: ESP32 boards
Topic: Trying usocket on WROOM module
Replies: 6
Views: 297

Re: Trying usocket on WROOM module

Now I need to figure out how to send an http request with the socket. Any quick reference? Have you tried the MicroWebCli? It appears to open and manage its own socket so you don't have to bother with that. All you have to do is connect to WiFi. Decodes responses so you can handle them conveniently...
by Capstan
Fri Jul 27, 2018 9:48 pm
Forum: ESP32 boards
Topic: Trying usocket on WROOM module
Replies: 6
Views: 297

Re: Trying usocket on WROOM module

It has been working for me (though adding SSL/TLS does suck up considerable memory). import usocket as _socket def connect(secure, host, port): sock = _socket.socket() addr = _socket.getaddrinfo(host, port) sock.connect(addr[0][-1]) if secure is True: import ussl as ssl sock = ssl.wrap_socket(sock)
by Capstan
Fri Mar 30, 2018 7:03 pm
Forum: ESP32 boards
Topic: ESP32 power conditioning
Replies: 32
Views: 3349

Re: ESP32 power conditioning

Yes I did a number of current measurements in conjunction with deepsleep and other modes. If you would be able to take some similar measurements and post here I would appreciate it.
by Capstan
Fri Mar 30, 2018 2:50 pm
Forum: ESP32 boards
Topic: Question about 3v3 pin and Deep Sleep
Replies: 4
Views: 545

Re: Question about 3v3 pin and Deep Sleep

It's a bit too deep for my level of understanding but from looking at some of the issue reporting it looks like a soft-reset doesn't give you a clean slate to work with as such - I pulled hair out over it for a bit because having a battery connected prevented a hard-reset happening :lol: I've been ...
by Capstan
Fri Mar 30, 2018 2:44 pm
Forum: ESP32 boards
Topic: ESP32 power conditioning
Replies: 32
Views: 3349

Re: ESP32 power conditioning

It has been my experience that once you turn on WiFi and then enter deepsleep() you will draw power in the low milli-amps, even if you attempt to turn it back off first with station.active(false). Entering deepsleep shortly after a reset gets you the micro-amp mode. If you have a chance to experimen...
by Capstan
Fri Mar 30, 2018 12:50 am
Forum: ESP32 boards
Topic: Code editor
Replies: 8
Views: 773

Re: Code editor

I use Microsoft Visual Studio Code (VSCode for short). It is a free download and runs on many platforms. You can install a variety of extensions in it that do all kinds of useful things. One of them is pylint, which identifies many kinds of syntax and indentation errors plus calling methods with the...
by Capstan
Fri Mar 30, 2018 12:12 am
Forum: ESP32 boards
Topic: Question about 3v3 pin and Deep Sleep
Replies: 4
Views: 545

Re: Question about 3v3 pin and Deep Sleep

One thing I noticed in my experiments is that the ESP32 seems to enter a different form of "sleep" depending upon what was running when machine.deepsleep() is called. Unexpected. I don't know what causes this, but I can control-c out of a running program and then manually invoke deepsleep() from the...