Search found 69 matches

by Mike Teachman
Sat Jun 08, 2019 2:56 am
Forum: ESP32 boards
Topic: Watchdog timer implementation
Replies: 3
Views: 335

Re: Watchdog timer implementation

Is it possible to consider an external watchdog device in your design? That would deliver a more robust implementation than an internal watchdog. The TPS3823-33 device from TI works well for ESP32 designs - it has both a voltage monitor and watchdog timer.
by Mike Teachman
Tue Apr 23, 2019 1:37 pm
Forum: ESP32 boards
Topic: RESOLVED - How can I debug an issue with SD Card reading?
Replies: 5
Views: 291

Re: How can I debug an issue with SD Card reading?

Glad you got it working. Yay!.

After reading your description of the problem I have another idea. What voltage goes to the Catalex SD card reader? 3.3V or 5V? it looks like it needs a 5V input.

The 2nd SD Card you listed is the exact model that I use.
by Mike Teachman
Tue Apr 23, 2019 3:54 am
Forum: ESP32 boards
Topic: RESOLVED - How can I debug an issue with SD Card reading?
Replies: 5
Views: 291

Re: How can I debug an issue with SD Card reading?

Here is what works for me, using the Lolin D32 Pro hardware. import uos import sdcard from machine import Pin from machine import SPI spi = SPI(1, sck=Pin(18), mosi=Pin(23), miso=Pin(19)) sd = sdcard.SDCard(spi, Pin(4)) uos.mount(sd, "/sd") Two thoughts: - I have problems getting small capacity SD c...
by Mike Teachman
Fri Apr 05, 2019 11:28 pm
Forum: ESP32 boards
Topic: How to turn off WiFi in async MQTT?
Replies: 20
Views: 1181

Re: How to turn off WiFi in async MQTT?

@blmorris Hi Bryan, Thanks responding to this topic. I'd really like to collaborate with you on any future Pyboard I2S work. I think it will beneficial if we can realize good alignment between ports that offer I2S capabilities. e.g. similar behaviour, method names, constants, etc. I have nothing at ...
by Mike Teachman
Wed Apr 03, 2019 5:52 am
Forum: ESP32 boards
Topic: How to turn off WiFi in async MQTT?
Replies: 20
Views: 1181

Re: How to turn off WiFi in async MQTT?

You're probably aware that @blmorris did some work on Pyboard I2S Definitely. I reviewed his work extensively. His I2S implementation was definitely more ambitious than mine. I only implemented master I2S, no slave. I tried to pattern the I2S uPy API arguments and methods using the I2S API that he ...
by Mike Teachman
Wed Apr 03, 2019 5:23 am
Forum: ESP32 boards
Topic: How to turn off WiFi in async MQTT?
Replies: 20
Views: 1181

Re: How to turn off WiFi in async MQTT?

I implemented the pause/resume feature on a different branch (and only for the esp32) and did test it with the esp32 mainline. Worked well in my short test. You'd have to test it for yourself with the lobo fork and in full use: https://github.com/kevinkk525/micropython-mqtt/tree/pause_resume It als...
by Mike Teachman
Mon Apr 01, 2019 8:43 pm
Forum: ESP32 boards
Topic: How to turn off WiFi in async MQTT?
Replies: 20
Views: 1181

Re: How to turn off WiFi in async MQTT?

It's worth noting that uasyncio is not well suited to low power operation. On the Pyboard this can be mitigated by replacing the uasyncio timebase with one derived from the RTC, and I have written a solution documented here. This needs testing with the Pyboard D, but it's no help for ESPx boards. I...
by Mike Teachman
Mon Apr 01, 2019 7:57 pm
Forum: ESP32 boards
Topic: How to turn off WiFi in async MQTT?
Replies: 20
Views: 1181

Re: How to turn off WiFi in async MQTT?

kevinkk525 wrote:
Sat Mar 30, 2019 7:34 am
I implemented the pause/resume feature on a different branch
Great ! I'll get a chance to try this later today. Thanks so much for your time to extend this library.
by Mike Teachman
Mon Apr 01, 2019 2:58 pm
Forum: ESP32 boards
Topic: Integrating Loboris port back to official uP ESP32 port
Replies: 33
Views: 2402

Re: Integrating Loboris port back to official uP ESP32 port

Loboris did the ESP32 community a great service to bring the value of the ESP-IDF to the ESP32 port. I agree that now is time to see that work brought back into the mainline (even if Boris resumes work on his port). The ESP32 uPy port has so much more potential that is not being realized. To me, the...
by Mike Teachman
Sat Mar 30, 2019 4:51 am
Forum: Hardware Projects
Topic: Build a cheap/small sound spectrum analyser in MicorPython project
Replies: 6
Views: 2028

Re: Build a cheap/small sound spectrum analyser in MicorPython project

An alternative design approach is to use an I2S microphone with the ESP32. Here is a low-cost I2S microphone that has a built-in digital low pass filter. Using this microphone you will get a stream of 24-bit resolution audio samples. https://www.invensense.com/wp-content/uploads/2015/02/INMP441.pdf ...