Skip to content

panovvv/hardware-watchdog-arduino

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

This repository contains the full source code for Arduino-based PC watchdog.

Arduino part

watchdog_arduino_sketch directory holds the sketch for Arduino board. It's compatible with any board having at least one IO pin and one serial port, which is basically all of them :) Just download Arduino IDE, open the sketch and upload it.

PC part

watchdog_java directory holds the PC-side code written in Java. You're going to need to install JRE to run it and Maven to build it.

To build an executable jar, run

mvn clean compile assembly:single

in watchdog_java directory.

The jar executable will be created in target/hardware-watchdog.jar

You can then launch it:

java -jar hardware-watchdog.jar

Then you'll have to add this line to your startup list to re-engage your watchdog after restart:

Windows

Press Win+R, enter shell:startup. In the folder that you opened, create a file run_watchdog.bat with this line:

java -jar yourjar

where yourjar is the fully qualified file JAR name, e.g. C:\data\hardware-watchdog-arduino\watchdog_java\target\hardware-watchdog.jar

Linux

The matter of autostarting the applications in Linux is highly platform-dependent, so refer to your distribution's manuals e.g. Arch wiki for ArchLinux and so on.

About

Arduino-based PC watchdog. Can be used for mining rigs.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published