-->
Page 1 of 1

MQTT and I2C, now I am not running out of memory!

PostPosted: Sun May 24, 2015 8:14 am
by hbouzas
Forget the DHT11. Implementing the protocol to read temperature and humidity eats all your memory on the ESP8266 and there is nothing left if you want to support MQTT messaging. However, and I2C sensor works. The I2C implementation using an LM75A can be done and integrated with MQTT.

I am preparing a post with the details on what I did and will publish in http://www.horaciobouzas.com

Re: MQTT and I2C, now I am not running out of memory!

PostPosted: Sun May 24, 2015 9:00 am
by trackerj
hbouzas wrote:Forget the DHT11. Implementing the protocol to read temperature and humidity eats all your memory on the ESP8266 and there is nothing left if you want to support MQTT messaging. However, and I2C sensor works. The I2C implementation using an LM75A can be done and integrated with MQTT.

I am preparing a post with the details on what I did and will publish in http://www.horaciobouzas.com


You have already drivers for LM75 and more accurate MCP9808 here, might help:

LM75 I2C Driver
MCP9808 I2C Driver

Examples:

LM75



MCP9808