Search found 31 matches

by weldeng
Sat Dec 17, 2016 4:13 pm
Forum: ESP8266 boards
Topic: How-to: Using MQTT with Adafruit.IO and Thingspeak
Replies: 8
Views: 7587

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

[ I flashed a different board with v1.8.6 and got the same results as you above. I may have a hardware issue with my other board. Will mess with it some more this weekend. Thanks Mike The other board fixed the issue. I was able to read a couple channels off an ADC1115 ADC and publish to Thingspeak....
by weldeng
Sat Dec 17, 2016 3:48 am
Forum: ESP8266 boards
Topic: How-to: Using MQTT with Adafruit.IO and Thingspeak
Replies: 8
Views: 7587

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

[quote="Mike Teachman"] MicroPython v1.8.5-10-g0e69e6b on 2016-10-17; ESP module with ESP8266 Type "help()" for more information. >>> from umqtt.simple import MQTTClient >>> dir(MQTTClient) ['set_last_will', '_recv_len', 'ping', '__qualname__', 'subscribe', '__init__', 'set_callback', 'disconnect', ...
by weldeng
Sat Dec 17, 2016 3:02 am
Forum: ESP8266 boards
Topic: Flashing NodeMCU with 1.8.6 - Rapid Blue Flashing Error
Replies: 10
Views: 8955

Re: Flashing NodeMCU with 1.8.6 - Rapid Blue Flashing Error

To avoid this issue, you just need to set the correct flash size of your module when you flash the firmware. V1.8.6 is based on SDK 2.0.0 and flash size auto detection has been moved to esptool. Try this, before erase flash! esptool.py --port /dev/tty.SLAB_USBtoUART --baud 460800 write_flash --flas...
by weldeng
Sat Dec 17, 2016 2:29 am
Forum: ESP8266 boards
Topic: IMPORTANT: Upgrade to esptool.py 1.2.1
Replies: 7
Views: 5769

Re: IMPORTANT: Upgrade to esptool.py 1.2.1

For the upcoming 1.8.6 release, use of the latest esptool 1.2.1 is required: [*] Otherwise, if you installed just esptool.py, upgrade using "pip install esptool" I am trying to upgrade my version of esptool per your instructions above so that I may upgrade to 1.8.6 firmware. I get the following mes...
by weldeng
Sat Dec 17, 2016 2:22 am
Forum: ESP8266 boards
Topic: How-to: Using MQTT with Adafruit.IO and Thingspeak
Replies: 8
Views: 7587

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 I am running esp8266-20161017-v1.8.5.bin I will flash with esp8266-20161110...
by weldeng
Fri Dec 16, 2016 5:58 pm
Forum: ESP8266 boards
Topic: IMPORTANT: Upgrade to esptool.py 1.2.1
Replies: 7
Views: 5769

Re: IMPORTANT: Upgrade to esptool.py 1.2.1

For the upcoming 1.8.6 release, use of the latest esptool 1.2.1 is required: [*] Otherwise, if you installed just esptool.py, upgrade using "pip install esptool" I am trying to upgrade my version of esptool per your instructions above so that I may upgrade to 1.8.6 firmware. I get the following mes...
by weldeng
Fri Dec 16, 2016 1:39 am
Forum: ESP8266 boards
Topic: How-to: Using MQTT with Adafruit.IO and Thingspeak
Replies: 8
Views: 7587

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

Thanks for posting. I am trying the thingspeak version and not having much luck. Entering line by line in WebRepl to see where the problem might be I get the first error as follows: >>> from umqtt.simple import MQTTClient Traceback (most recent call last): File "<stdin>", line 1, in <module> ImportE...
by weldeng
Wed Dec 07, 2016 1:53 am
Forum: ESP8266 boards
Topic: Micropython driver for TI INA219?
Replies: 1
Views: 3074

Micropython driver for TI INA219?

Does anyone know if functioing driver for the TI INA219 current/power sensor via i2c has been developed for micropython?

Thanks
by weldeng
Fri Dec 02, 2016 12:40 am
Forum: ESP8266 boards
Topic: ADS1115 16 bit ADC on ESP8266?
Replies: 26
Views: 10579

Re: ADS1115 16 bit ADC on ESP8266?

deshipu - Nice driver! I have a few questions: 1. After trying various gains it appears the max value when reading a channel is 32767 not 65535? 2. Does the driver support use of more than one ADS 1115 module? I have a single module on address 0x49. I could add up to three more using addresses 0x48 ...
by weldeng
Thu Dec 01, 2016 11:45 pm
Forum: ESP8266 boards
Topic: ADS1115 16 bit ADC on ESP8266?
Replies: 26
Views: 10579

Re: ADS1115 16 bit ADC on ESP8266?

Try reading line by line: with open('ads1x15.py') as f: for line in f: print(line, end='') Oops! The file is in HTML. Copied the micropython file over and it seems to be working fine. I put a solar cell on channel 0 and it reads 13541. Actual voltage is 2.561 Volts. Hooked up channel 2 to VDD (3.3V...