jeanrocco / Espressiot_Fritzing

Fritzing views of my version of Espressiot
0 stars 0 forks source link
31865 esp8266 ota-update

Espressiot_Fritzing

My implementation of Espressiot ( https://github.com/Schm1tz1/ESPressIoT ) ...

A good place to file my doc.

Added code for espressiot using a modified Adafruit MAX31865 RTD library and code for a second portable ESP8266 with Oled display.

I made the library non-blocking by changing the 10 msec. (bias enable) and a 65 msec. (conversion time) delays using millis().

I was having issues running the Oled display on the same Espressiot's ESP8266, too much delays I suppose. Lazily, after briefly looking for a non-blocking Oled driver, I decided to use a spare ESP8266 module whose sole purpose would be to get the temperature from an MQTT broker and display it on the Oled. This worked very well, and proved to be very flexible because it is portable.

Every second, the Espressiot-PID code "publishes" the RTD temperature to an MQTT broker, Mosquitto, which is running on a Raspberry PI (it was already running for Home Assistant...). Every 1/2 seconds, the Oled-display-ESP8266's code, which "subscribes" to the MQTT broker temperature, will update the Oled displays.

The file espressiotJR3b7c (https://github.com/jeanrocco/Espressiot_Fritzing/tree/master/espressiotJR3b7c) corrects the closed issue ESPressiot "Tuning loop not doing correct peak to peak temperature" ( https://github.com/Schm1tz1/ESPressIoT/issues/2 ). This will allow a more accurate autotuning of the P, I and D parameters.