Search found 69 matches

by Mike Teachman
Wed Nov 21, 2018 8:40 pm
Forum: ESP8266 boards
Topic: Sending temperature data to....somwhere
Replies: 8
Views: 645

Re: Sending temperature data to....somwhere

You might take a look at the tutorials and code examples I put together describing how to use Thingspeak and Adafruit IO with MQTT. Examples for publish and subscribe. Thingspeak https://github.com/MikeTeachman/micropython-thingspeak-mqtt-esp8266 and Adafruit IO https://github.com/MikeTeachman/micro...
by Mike Teachman
Wed Nov 21, 2018 3:01 pm
Forum: ESP32 boards
Topic: High level GUI lib/framework
Replies: 31
Views: 3575

Re: High level GUI lib/framework

IMO the whole C modules "advanced" uP topic is a bit underexposed in the documentation. Something related that might be useful to those writing modules in C.... As part of my learning how to write uPy modules in C I wrote a C file providing examples of the patterns used to map uPy calls to C, for b...
by Mike Teachman
Sun Nov 18, 2018 7:11 pm
Forum: Drivers for External Components
Topic: PMS5003 air quality sensor library
Replies: 6
Views: 1260

Re: PMS5003 air quality sensor library

This driver was very easy to get running on the Lobo port. Implementation with the uasyncio module is a huge bonus. Excellent design approach. Big thanks for writing and sharing! Excellent docs too. Here is some sensor output, before and after a "smoking match test". Initial Readings ---------------...
by Mike Teachman
Thu Oct 11, 2018 11:27 pm
Forum: ESP32 boards
Topic: about esp32 mcahine.RTC.irq
Replies: 3
Views: 500

Re: about esp32 mcahine.RTC.irq

If you want to deepsleep for a period of time you can try the following in MicroPython v1.9.4 >>> import machine >>> machine.deepsleep(3000) <ESP32 resets after 3 seconds> you also might want to take a look at the LoBo port. It supports wake from deepsleep using a timer and using external pins https...
by Mike Teachman
Thu Sep 20, 2018 4:31 pm
Forum: ESP32 boards
Topic: Thingspeak - connection timeout
Replies: 1
Views: 277

Re: Thingspeak - connection timeout

I have a github repo that might help you troubleshoot the problem -- working examples for MQTT with Thingspeak on ESP32. The examples are tested with the latest uPy releases (but not yet the Loboris port).

https://github.com/MikeTeachman/micropy ... tt-esp8266
by Mike Teachman
Sat Aug 04, 2018 6:49 pm
Forum: ESP32 boards
Topic: New Lolin D32 Pro with 4MB PSRAM
Replies: 46
Views: 9722

Re: New Lolin D32 Pro with 4MB PSRAM

The idea of a timing problem makes a lot of sense. In the esptool.py code, DTR is set low (to allow Reset to go high), followed by RTS set high (to pull GPIO0 low). Any delay between these events increases the risk that the ESP32 will sample GPIO0 as high when Reset rises. Hopefully not many people ...
by Mike Teachman
Sat Aug 04, 2018 12:20 am
Forum: ESP32 boards
Topic: New Lolin D32 Pro with 4MB PSRAM
Replies: 46
Views: 9722

Re: New Lolin D32 Pro with 4MB PSRAM

My devices have the same chip ID = ESP32D0WDQ6(revision 1). Looking at the Lolin D32 schematic, there is no pull-up resistor for the GPIO0 signal. This is different than the ESP8266 based Wemos D1 mini, where GPIO0 is pulled high with a 10k resister. Why the difference? The ESP32 Datasheet indicates...
by Mike Teachman
Wed Aug 01, 2018 5:27 pm
Forum: ESP32 boards
Topic: New Lolin D32 Pro with 4MB PSRAM
Replies: 46
Views: 9722

Re: New Lolin D32 Pro with 4MB PSRAM

Adding the pullup is really good idea. I tried adding a 4.7k pullup to the IO0 signal. Unfortunately, the esptool was still not able to coax the Lolin D32 boards into the bootloader state. But, your idea to add external components led me to experiment with increasing the RESET circuit capacitance. I...
by Mike Teachman
Wed Aug 01, 2018 3:48 am
Forum: ESP32 boards
Topic: New Lolin D32 Pro with 4MB PSRAM
Replies: 46
Views: 9722

Re: New Lolin D32 Pro with 4MB PSRAM

I'm having troubles using the esptool with both the new Lolin D32 Pro and Lolin D32 boards. I started by using the esptool to flash the latest MicroPython releases. That didn't work. Then, I tried a minimal test: using the esptool to read the chip_id. That did not work either. for example, running e...
by Mike Teachman
Tue Jun 19, 2018 3:14 am
Forum: ESP8266 boards
Topic: Need help: How to build a "Release" version
Replies: 4
Views: 516

Re: Need help: How to build a "Release" version

That's new to me as well. I tried it out with "make FROZEN_MPY_DIR=$DIRECTORY". A good technique to easily create custom binaries with a unique sets of modules. Thanks for taking the time to share this!