Search found 155 matches

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: 15150

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: 15150

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: 15150

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: 15150

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: 27975

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: 10136

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 ...
by Mike Teachman
Sat Mar 30, 2019 3:50 am
Forum: ESP32 boards
Topic: How to turn off WiFi in async MQTT?
Replies: 20
Views: 15150

Re: How to turn off WiFi in async MQTT?

Is this a reasonable way to operate? Good point. Just turning of the WiFi radio is quite harsh. Turning off the WiFi radio to save some mA is the ultimate end goal. Would it be possible to somehow signal one of the mqtt_as tasks to first disconnect from the broker, then turn off WiFi. Perhaps a new...
by Mike Teachman
Thu Mar 28, 2019 7:27 pm
Forum: ESP32 boards
Topic: How to turn off WiFi in async MQTT?
Replies: 20
Views: 15150

Re: How to turn off WiFi in async MQTT?

This feature was never intended thanks for the background design motivations for async mqtt. That totally makes sense - it does a really good job at keeping broker and wifi connections. but as you are using loboris fork, why don't you use his own mqtt library implementation that is using threads? I...
by Mike Teachman
Thu Mar 28, 2019 4:58 pm
Forum: ESP32 boards
Topic: How to turn off WiFi in async MQTT?
Replies: 20
Views: 15150

How to turn off WiFi in async MQTT?

I'm hoping to get some help on a thorny problem I can't easily solve... background: I am using Async MQTT with the Lobo port to publish sensor data to a remote broker, every 15 minutes. This asyncio MQTT implementation solves a major requirement in my application - publishing sensor data without blo...
by Mike Teachman
Mon Mar 18, 2019 2:32 pm
Forum: ESP32 boards
Topic: Introducing the TinyPICO
Replies: 5
Views: 3736

Re: Introducing the TinyPICO

Congratulation you guys ! This is looking really good. Registered for the sale... One suggestion on a photo: how about a top-down photo showing the module plugged into a breadboard? perhaps better than a country-specific coin for trying to illustrate the compact module size? Is it possible to releas...