Open turenabo opened 5 months ago
Good question - there is no watchdog.
There SHOULDNT be a large risk because if the code somehow crashed, the battery management IC will automatically 'trip' and disconnect the power (or the charging) if there is a fault, even if the MCU is not working.
If you'dl like to implement a watchdog, pull requests welcome :-)
hi David, I read your code and didn't see a watchdog. I don't know if your program has a watchdog? If not, will it cause battery danger in case of system down? And I see the battery management chip has some automatic protection functions, this should enhance security. It shouldn't take long for this vacuum cleaner to wake up and go back to sleep again, so the probability of it's down during this period shouldn't be high, right?