reaper7 / SDM_Energy_Meter

reading SDM72 SDM120 SDM220 SDM230 SDM630 modbus energy meters from arduino (esp8266, esp32, avr)
240 stars 97 forks source link

Live example causes esp8266-12E(F) to constantly reboot cause of the wdt #42

Closed PyroRider closed 4 years ago

PyroRider commented 4 years ago

Tried to use code on esp8266 12e(f), but it always reboots after a couple of seconds because the wdt resets it Any ideas? (btw i tried example webserver, works fine)

reaper7 commented 4 years ago

sdm_simple example causes wtd too?

edit: I uploaded a clear live example and everything works for me.

I am using arduino esp8266 Core: 2.6.3 with SDK 2.2.2-dev (current git version), libraries also in the latest version from github.

if you use an unchanged example and this causes any errors then try to replace the power supply first. Later try another module (if you have one), I use wemos.

PyroRider commented 4 years ago

Ps ist good usb cable on pc, found out there was a problem with the sdm library, probably cause i "shrinked" the library down to minimal needed stuff for my arduino to work. Reinstalled library, now its working (probably) fine, just need to connect max485 to the esp