Search found 71 matches

by Mike Teachman
Mon Dec 11, 2017 6:31 pm
Forum: ESP8266 boards
Topic: ussl module: N00b help requested.
Replies: 7
Views: 2042

Re: ussl module: N00b help requested.

TLS works with MQTT, tested with v1.9.3. Some example code at this Github repo shows how to enable TLS with MQTT. https://github.com/MikeTeachman/micropython-thingspeak-mqtt-esp8266 I observed that TLS uses about 9k bytes of heap space (!), about 1/4 of the heap for the ESP8266 port. Here's the rele...
by Mike Teachman
Sun Dec 10, 2017 9:37 pm
Forum: ESP8266 boards
Topic: How-to: Using MQTT with Adafruit.IO and Thingspeak
Replies: 8
Views: 7548

Re: How-to: Using MQTT with Adafruit.IO and Thingspeak

I updated the example code for using MQTT with the Thingspeak service: added Subscribe example code. Thinkspeak added support for MQTT Subscribe in Nov 2017 updated Publish example code to become current with the latest Micropython release removed I2C sensor references from example code. This allows...
by Mike Teachman
Mon Jun 19, 2017 4:35 am
Forum: ESP8266 boards
Topic: Status of MicroPython ESP8266 project
Replies: 13
Views: 4333

Re: Status of MicroPython ESP8266 project

I hope you heal up fast ! As a backer, I'm in complete agreement to ditch the video tutorial commitment. I'm convinced that your time is most valuable to develop the core features of micropython. The work you and Damien have done is remarkable. I really think it's a game changer for getting people s...
by Mike Teachman
Sun May 07, 2017 4:10 am
Forum: Drivers for External Components
Topic: SI7021 Driver
Replies: 1
Views: 1362

Re: SI7021 Driver

Thanks a lot for writing and sharing this driver! Excellent interface.
by Mike Teachman
Wed Feb 15, 2017 2:57 am
Forum: ESP8266 boards
Topic: Out of memory due to heap fragmentation?
Replies: 3
Views: 1686

Re: Out of memory due to heap fragmentation?

one minor suggestion is to dynamically concatenate strings in the loop with .format rather than "+". You garbage collect at the end of the loop so it's doubtful this will help, if at all...described here:

http://docs.micropython.org/en/latest/w ... ained.html
by Mike Teachman
Sat Jan 28, 2017 3:14 pm
Forum: ESP8266 boards
Topic: 1.8.7 fails to install
Replies: 17
Views: 6786

Re: 1.8.7 fails to install

Based on your observations I think this post might help you: https://forum.micropython.org/viewtopic.php?f=16&t=2625&hilit=flash+size+esptool I suggest also to flash with 115200 BAUD Here is how I use esptool to flash micropython esptool.py --port COMx erase_flash esptool.py --port COMx --baud 11520...
by Mike Teachman
Sun Jan 22, 2017 4:58 pm
Forum: ESP8266 boards
Topic: [SOLVED] DS3231 uRTC set / read problems
Replies: 37
Views: 11117

Re: DS3231 uRTC set / read problems

A small contribution to help find root cause .... I see normal rtc operation with a Feather esp8266 and the micropython 1.8.6 release. I'm using the same urtc library. Perhaps try with this micropython release? here is the REPL trace: MicroPython v1.8.6-7-gefd0927 on 2016-11-10; ESP module with ESP8...
by Mike Teachman
Sat Jan 07, 2017 6:12 am
Forum: ESP8266 boards
Topic: LCD 1602 - Library
Replies: 47
Views: 22487

Re: LCD 1602 - Library

Most Excellent ! Many thanks @dhylands, @mcauser, and @ernitron. :D I've wanted to get these displays working with esp/uP for some time now. I put a level shifter in the mix as it's likely the i2c lines are pulled to 5V on the LCD backpack which might put the ESP at risk. Not sure that is really nee...
by Mike Teachman
Sat Dec 17, 2016 3:16 am
Forum: ESP8266 boards
Topic: How-to: Using MQTT with Adafruit.IO and Thingspeak
Replies: 8
Views: 7548

Re: How-to: Using MQTT with Adafruit.IO and Thingspeak

I downloaded and installed the binary version you are using and tried it. For some reason I can't reproduce the issue that you see. It looks OK on my Feather Huzzah both from the REPL and WebREPL WebREPL daemon started on ws://192.168.4.1:8266 WebREPL daemon started on ws://0.0.0.0:8266 Started webr...
by Mike Teachman
Fri Dec 16, 2016 6:50 pm
Forum: ESP8266 boards
Topic: How-to: Using MQTT with Adafruit.IO and Thingspeak
Replies: 8
Views: 7548

Re: How-to: Using MQTT with Adafruit.IO and Thingspeak

One thought -- is your ESP running a micropython binary release that includes the MQTT library?

I have used MQTT with two binaries, where the MQTT library is built-in:
esp8266-20160909-v1.8.4.bin
esp8266-20161110-v1.8.6.bin