RTC WatchDog HAT

From Waveshare Wiki
Revision as of 09:28, 7 August 2021 by Waveshare-eng11 (talk | contribs) (Created page with "<div class="tabber"> {{Infobox item |name=RTC WatchDog HAT |img=400px|link=http://www.waveshare.com/rtc-watchdog-hat.htm|RTC WatchDog HAT |cate...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search
RTC WatchDog HAT
RTC WatchDog HAT
{{{name2}}}

{{{name3}}}

{{{name4}}}

{{{name5}}}

Introduction

RTC WatchDog HAT For Raspberry Pi, Auto Reset, High Precision RTC

More

RTC WatchDog HAT

  • MAX705 monitoring circuit with auto reset function
  • Incorporates DS3231SN high precision RTC chip, with backup battery holder
  • Reset pin selection for swiching watchdog
  • Indicator for watchdog output warning

How to use

RTC

Open a terminal and run the following command to download the codes

wget https://www.waveshare.com/w/upload/b/bd/RTC_WatchDog_HAT.zip
zip RTC_WatchDog_HAT.zip
sudo chmod 777 -R RTC_WatchDog_HAT
cd RTC_WatchDog_HAT/RTC
C examples
cd ~/RTC_WatchDog_HAT/RTC/c/
make clean
make 
sudo ./main
RTC WatchDog HAT 1.png
Python example
cd ~/RTC_WatchDog_HAT/RTC/python/examples/
sudo python main.py
RTC WatchDog HAT 2.png

WatchDog

In the WatchDog example, it feeds the watchdog chip if the D4 pin toggle. If the watchdog doesn't be feed in T time, it will cut off the power and the voltage falls to 1.25V, in this case, the MAX705 chip will reset and restart the power. About the time T:

T = 0.7*R*C+1.6s
R is default 5.1M, and C is default 44uF
Tge default delay time is 157.08s ±6%

RC are set in the board:

RTC-WatchDog-HAT-3.jpg

Support

Support

If you require technical support, please go to the Support page and open a ticket.