Arduino ProMini WDT test and fix

This post is about Arduino ProMini WDT issue, causes and fix. I have also included Arduino code to do a quick WDT test on your board.

Please watch the video bellow which demonstrates this issue and explains why you must update your Arduino bootloader if you use WDT in your project.


So to test if your update was successful, you can use my Arduino code. You must connect your Arduino board as shown in diagram bellow. Please note that LCD is optional. You can test it without connecting to LCD and just by observing ProMini onboard LED.
Please download the next file, extract it and upload main code to your Arduino board. Please note that you will need correct LCD library, which I also included in this compressed file.
WDTtest.rar WDTtest.rar
Size : 17.368 Kb
Type : rar


Please note that this test code is fully compatible with my DIY EVSE project as it shares similar connection diagram. So if you want to use it to test your DIY EVSE, you can do it without any other modifications to your hardware. Just upload the code to Arduino board.

Once you've uploaded and powered your board, you can test it just by pressing button.
After powering board wait 3 seconds till push button is started to be monitored.

Code works in a very simple way. Board turns LED ON for 3 seconds at first and then ON for one and half second, then OFF for one second, repeatedly. LCD will display time in seconds from microcontroller start.

If button is pressed WDT should reset microcontroller after 2 seconds from pressing button. If WDT working correctly LED blink sequence and time counting on LCD should start again.

If LED starts blinking very fast and LCD displays "Button pressed" all the time after button is pressed, that means WDT reset is not functioning correctly.

© Copyright EV-OLUTION