USB-Watchdog-Stick with 2 Relays for switching procedures
USB-WATCHDOG-STICK
USB-Watchdog-Stick with 2 Relays for switching procedures
- USB stick output modul with USB 2.0 / USB 1.1 interface
- Micro controller monitoring
- 10ms to 10h timeout time adjustable
- Windows Watchdog API
- 2 Relays for switching procedures
- Connection cable (ca 1,8m) with DSUB-9 connector
- Dimensions: 84,5 * 21 * 12,5 / 9,5 mm (without cable)
The USB-Watchdog-Stick cares for monitoring with watchdog functions. If a timeout occurs, the watchdog will switch independently the relays.

More info
The electronic, which is taken in an USB stick case, cares for the monitoring with watchdog functions. The used micro controller is scanned in periodic intervals by the PC via the USB bus.
If a timeout occurs, the watchdog will switch independently both relays with a procedure, which is specified by the user.
In case of a timeout, the relays, if correspondingly wired, are able to e.g. reset the PC, an external SMS modem can send warnings or a connected horn can alarm.
The provided test program and a configuration tool facilitate a simple start.

Config
Configuration of USB modules
A configuration of a USB product is not needed - this complete the driver with their Plug and Play mechanism.
Working with several modules
Are more than one USB products working on a system, the driver library differentiate between these modules.
Every brand new USB product has the ID "0". The ID can be changed by the DELIB-Configuratin Utility and will be stored in an EEPROM on the module.
So you can use up to eight identical modules on one pc.
Working with several modules on one pc
| DELIB-Configuration Utility für USB Module |
|
Click to enlarge ![]() |
Watchdog Configuration Utility
Das "Watchdog Configuration Utility" dient zur Konfiguration des Watchdog-Sticks. Die Konfiguration des Watchdog-Sticks kann aus dem Stick ausgelesen, bewertet und wieder auf den Watchdog-Stick geschrieben werden.
| Watchdog Configuration Utility |
|
Click to enlarge ![]() |
Das Watchdog-Configuration-Utility dient dazu die einzelnen Anschlüsse der Relais so zu konfigurieren wie es der Benutzer benötigt. Hiermit können sie ihre persönliche Konfiguration auf den Watchdog-Stick schreiben, oder auch wieder auslesen und ändern.Sie als Benutzer sind in der Lage die von ihnen über den Watchdog-Stick angesteuerten Geräte oder Module durch ihre persönliche Konfiguration individuell zu überwachen. Sie können bei einer Zeitüberschreitung (Timeout) eines der Geräte durch den Watchdog-Stick resetten.
Beispiel:
Dieses Beispiel zeigt wie die Schaltung des Watchdog-Sticks bespielweise programmiert werden kann.
| Zustand: | Relais 1 | Relais 2 |
| Deactivated | 0 Signalhupe AUS | 1 Signalhupe AN |
| Activated | 0 Signalhupe AUS | 0 Signalhupe AUS |
| Retriggered | 0 Signalhupe AUS | 0 Signalhupe AUS |
| Timeout | 1 Signalhupe AN | 1 Signalhupe AN |
| Timout msec | 0 Signalhupe AUS | 1 Signalhupe AN |
Bei Relais 1 ist die Signalhupe so geschaltet das sie bei einer Zeitverzögerung (Timeout) ein Signal ausgibt.
Bei Relais 2 ist die Signalhupe so geschaltet das sie beim deaktivieren (Deactivated), bei einer Zeitverzögerung (Timeout) wie auch nach dem Ablauf der Zeit (in Millisekunden) die programmiert wurde, die der Watchdog-Stick benutzt um da dem entsprechende Gerät zu reseten.

Tech.-Info
General |
|
| Power Supply | +5V (power supply occurs over USB bus) |
| Interface | USB 2.0 / USB 1.1 |
| Current consumption | 20mA idle mode |
| 100mA charge state | |
| Control-LED | Signalizes access of the USB stick |
| Outputs |
Galvanic insolated relays max. switching voltage: 30V AC/ 30V DC max. switching current: 0,3A at 30V AC / 1A at 24V DC |
| Connectors | 9 pol. D-sub connector |
| Operating temperature | +10°C...+50°C |
| Dimensions | 84,5 x 21 x 12,5/9,5 mm (without cable) |

Diagrams
This block diagram shows, how to connect the stick to the PC.

Functionality of the product

Connection example Watchdog to PC with reset button

Connection example Watchdog to PC without reset button - direct via power supply


Software
Ansteuerung über die Windows Treiberbibliothek DELIB
Die DELIB-Treiberbibliothek ermöglicht ein einheitliches Ansprechen aller DEDITEC Module. Hierzu stellen wir Programmierern für die jeweiligen Produktgruppen entsprechende Funktionen zur Verfügung, die ein einheitliches aber auch sehr einfaches Ansprechen der Produkte ermöglichen.
Beispiel für das Ansprechen unserer Produkte in "C"
Mit dem folgenden Beispiel zeigen wir Ihnen in "C", wie mit einfachen Mitteln innerhalb kürzester Zeit der USB-Watchdog aktiviert werden kann.
1. Schritt: Öffnen des gewünschten Moduls
handle = DapiOpenModule(USB_WATCHDOG, 0); // Open USB-Watchdog
2. Schritt: Watchdog aktivieren
DapiWatchdogEnable(handle); // Activate Watchdog
3. Schritt: Modul wieder schließen
DapiCloseModule(handle); // Close the module
Die Funktion "DapiOpenModule" dient zum Öffnen eines speziellen Moduls.
Welches Modul geöffnet werden soll, das bestimmen die beiden übergebenen Parameter. Der erste Parameter bezeichnet die "Modul-ID. Durch die eingebundene "DELIB.H" kann der Parameter einfach mit "USB_WATCHDOG" angegeben werden. So wird der Treiberbibliothek mitgeteilt, dass ein USB-Watchdog angesprochen werden soll.
Der zweite Parameter bestimmt die Modul-Nummer. Ist nur ein Modul am PC angeschlossen, dann wird einfach die "0" angegeben.
Sind mehrere Module angeschlossen muss die entsprechende Nummer des Moduls angegeben werden.
Ansteuerung mehrerer USB-Watchdogs
Beispiel für das Öffnen mehrerer Module an einem PC:
Öffnen des Moduls mit der ID "1"
handle1 = DapiOpenModule(USB_WATCHDOG, 1); // USB-Watchdog mit ID=1 öffnen
Öffnen des Moduls mit der ID "4"
handle2 = DapiOpenModule(USB_WATCHDOG, 4); // USB-Watchdog mit ID=4 öffnen
Watchdog - Demo
Die Watchdog-Demo ist ein eigenständiges Testprogramm der Firma Deditec. Mit Hilfe dieses Tools können sie die beiden Relais einzeln ansteuern und damit testen ob sie in bestimmten momenten, wie einer Zeitverzögerung (Timeout) reagieren.
. Dieses Programm dient ledeglich zum testen des Sticks nicht zum programmieren. Anhand der eingebauten LED's des Watchdog-Sticks sehen sie ob im falle einer Zeitverzögerung die Relais reagieren.
| Watchdog Sample |
|
Click to enlarge ![]() |
Mit diesem Tool können sie ihre persönliche (Timeout) Zeit für den Testlauf setzten um zu sehen ob der Watchdog-Stick im einprogrammierten moment einen Reset durchführt. Sie können nach ablauf der Zeit durch ein Geräusch wie auch durch das wechseln der LED innerhalb des Watchdog-Stick Gehäuses erkennen das ihr Stick den Test bestanden hat und somit voll funktionsfähig ist um an ihrem Computer oder Modul benutzt zu werden.

Overview about available DELIB-Functions
General
General Handling
DapiOpenModule
ULONG DapiOpenModule(ULONG moduleID, ULONG nr);
This function opens a particular module. p>
DapiCloseModule
ULONG DapiCloseModule(ULONG handle);
This command closes an opened module. p>
DapiGetLastError
ULONG DapiGetLastError();
This function returns the last registered error. p>
DapiGetLastErrorText
ULONG DapiGetLastErrorText(unsigned char * msg, unsigned long msg_length);
This function reads the text of the last registered error. p>
DapiGetDELIBVersion
ULONG DapiGetDELIBVersion(ULONG mode, ULONG par);
This function returns the installed DELIB version. p>
Special
Special functions
DapiSpecialCommand - DapiSpecialCMDGetModuleConfig
ULONG DapiSpecialCommand(ULONG handle, DAPI_SPECIAL_CMD_GET_MODULE_CONFIG, par, 0, 0);
This command returns the hardware equipment (number of in-/output channels) of the module. p>
Watchdog
Watchdog functions
DapiWatchdogEnable
void DapiWatchdogEnable(ULONG handle);
This function enables the watchdog. p>
DapiWatchdogDisable
void DapiWatchdogDisable(ULONG handle);
This function disables the watchdog. p>
DapiWatchdogRetrigger
void DapiWatchdogRetrigger(ULONG handle);
This function retriggers the watchdog timer. p>
Watchdog-Special
ULONG DapiSpecialCommand(ULONG handle, DAPI_SPECIAL_CMD_WATCHDOG, cmd, par1, 0);
This command returns or sets different status information of the Watchdog Stick p>

Optional E.
24pol. ATX-Verlängerungskabel für das USB-WATCHDOG-STICK
Sie möchten die "PS_ON#" Leitung für interne Zwecke benutzen, ohne diese vom Spannungsversorgungskabel zu trennen?
Durch unser 24pol. ATX-Verlängerungskabel wird dies möglich.

Manuals
Manuals
Driver
Driver / Programs
DELIB USB driver for Linux
DELIB USB driver for Linux
The DELIB USB driver for Linux supports following products:
- RO-USB-Series
- USB-Mini-Sticks
- USB-Watchdog
- Linux Kernel 2.6.x
Manual for DELIB Driver Library for Windows 7, Windows Vista, XP, 2000 and Linux
Manual for DELIB Driver Library for Windows 7, Windows Vista, XP, 2000 and Linux Documentation of all functions
- module open/close functions
- Digital Input read 1 / 8 / 16 / 32 / 64 bit
- Digital Output write 1 / 8 / 16 / 32 / 64 bit
- A/D Read, read_volt, read_mA, set A/D mode
- D/A Write, write_volt, write_mA, set D/A mode
DELIB driver library for Windows 7, Vista, XP and 2000
DELIB driver library for Windows 7, Vista, XP and 2000
Installation file for USB driver
supports the following operating systems: 32 Bit:
- Windows 7
- Windows Server 2008
- Windows Vista
- Windows XP
- Windows Server 2003
- Windows 2000
64 Bit:
- Windows 7 x64
- Windows Server 2008 x64
- Windows Vista x64
- Windows XP x64
- Windows Server 2003 x64
Downloads
Downloads
RO Flasher Update
RO Flasher Update Flasher software for firmware update of the RO-CPU Modules and the Mini Sticks
Demos










