seb821 / espRFLinkMQTT

ESP8266 gateway between RFLink and MQTT server
96 stars 32 forks source link

ESP reset by Arduino Mega using RFLink/WIFI koppelprint #34

Closed urkelbundy closed 2 years ago

urkelbundy commented 2 years ago

Hi all,

I'm using the RFLink / WIFI koppelprint which can be purchased for the RFLink. This PCB holds an Nodemcu V2. The Nodemcu V2 is reset by the Arduino Mega with the RFLink software when the Arduino Mega is not triggered periodically by the Nodemcu.

Looking at the ESP Easy project I believe an I2C watchdog pulse is used at decimal address 38 that sends a pulse every second or so to the Arduino Mega. SDA is at GPIO4 (D2) and SCL is at GPIO5 (D1) on the Nodemcu.

The espRFLinkMQTT doesn't provide this i2C watchdog pulse so the Arduino Mega resets the Nodemcu every couple of seconds and cannot be used.

Can you add this I2C watchdog functionality to the espRFLinkMQTT software?

urkelbundy commented 2 years ago

Never mind. It is already in the code and can be enabled in the config.h