This shows you the differences between two versions of the page.
de:remote_estim [2017/02/07 16:06] schlabi created |
de:remote_estim [2017/02/07 17:01] (current) schlabi |
||
---|---|---|---|
Line 1: | Line 1: | ||
- | FIXME **This page is not fully translated, yet. Please help completing the translation.**\\ //(remove this paragraph once the translation is finished)// | ||
- | |||
===== Externe e-Stimgeräte (USB) ===== | ===== Externe e-Stimgeräte (USB) ===== | ||
Line 12: | Line 10: | ||
Einige USB-Relais haben ein paar Probleme mit Windows 10, daher solltest Du besser höhere Qualität kaufen. Oder aber einfach Dein Glück versuchen ... Sobald wir Geräte kennen, die funktionieren, werden sie hier verlinkt werden. | Einige USB-Relais haben ein paar Probleme mit Windows 10, daher solltest Du besser höhere Qualität kaufen. Oder aber einfach Dein Glück versuchen ... Sobald wir Geräte kennen, die funktionieren, werden sie hier verlinkt werden. | ||
- | ==== Relay setup ==== | + | ==== Einrichten des Relais ==== |
{{ :wifi1.jpg?nolink |}} | {{ :wifi1.jpg?nolink |}} | ||
- | This picture is not for a USB relay but you get the idea... You will need to plug the USB into one side and each relay (blue in the above pic) will have 3 connectors (Com, NC & NO). A relay is like a switch that connects between Com and NC if no power sent to it and between Com and NO if power is on. | + | Dieses Bild stellt kein USB-Relais dar, der Aufbau ist aber ähnlich. Der USB-Stecker wird auf der einen Seite eingesteckt und jedes Relais (blau im Bild) hat 3 Anschlüsse (COM, NC und NO). Ein Relais ist wie ein Switch, der eine Verbindung zwischen COM und NC herstellt, wenn keine Spannung anliegt, und zwischen COM und NO, wenn Spannung da ist. |
- | In the above example the user passes their estim through two 3.5mm sockets with the tip being connected via the Com and NO of relay 1 (you could just by a spare lead and blear that rather than soldering sockets on). The + connection to their maglock is passed via the Com and NC connectors. So in the example above the "resting" position is no estim shock being passed through but the maglock is on. | + | Im Beispiel oben wird die elektrische Stimulation über zwei 3.5mm Sockel, deren Enden über COM und NO des ersten Relais verbunden sind, übertragen (die Sockeln muss man natürlich nicht notwendigerweise verlöten, das kann auch anders gelöst werden). Die + Verbindung zum MagLock wird über die COM und NC Anschlüsse übertragen. Im Beispiel oben ist die "Ruheposition", dass kein e-Stimschock übertragen wird, der MagLock aber an ist. |
+ | |||
+ | Es sieht so aus, als ob jedes USB-Relais mit einem anderen Kommandozeilenprogramm zur Kontrolle des Relais ausgeliefert wird. Das Relais oben wurde mit einem Programm namens "CommandApp_USBRelay.exe" geliefert. Du musst natürlich das Kommando und die Parameter überprüfen, aber meistens wird ein Gerätenamen (den findest Du am Besten über ein GUI-Tool heraus, das meistens mitgeliefert wird, oder aber auf der Herstellerseite heruntergeladen werden kann), der Name des Relais und das Kommando benötigt: | ||
- | Each USBrelay appears to come with different command line tools to control it. In the example below the USB device came with a program "CommandApp_USBRelay.exe". You will need to check the command and parameters but most appear to need a device name (easiest to find through the GUI tool supplied with/downloaded for the device) as well as the relay name and instruction. So for example: | ||
<code> | <code> | ||
CommandApp_USBRelay.exe SVJGX open 01 | CommandApp_USBRelay.exe SVJGX open 01 | ||
</code> | </code> | ||
- | Will send "open" to usb device "SVJGX", relay 1. In this case start shocking you with the e-stim. Remember to have the estim turned down low till you are sure everything has been tested ;-) | ||
- | ==== Software setup ==== | + | Dieser Code sendet das Kommando "open" an das USB-Gerät "SVJGX" über das Relais 1. In diesem Fall beginnt das e-Stimgerät Dich zu schocken. Denk daran, dass Gerät auf "low" zu stellen, bist Du sicher bist, alles getestet zu haben ;-) |
- | Goto the folder where you extracted controller.zip, and copy the command line tool into this folder to control the USB device. Update the ini file to match your Jennifer id and device(s) and you should be ready to go ;-) | + | |
+ | ==== Software Setup ==== | ||
+ | Wechsel in das Verzeichnis in dem Du die Datei "Controller.zip" entpackt hast, und kopiere das Command-Line Tool in das Verzeichnis. Füge Deine Jennifer-ID in die ini-Datei ein und schon solltest Du bereit sein ;-) | ||
<code> | <code> | ||
Line 42: | Line 42: | ||
end=CommandApp_USBRelay.exe SVJGX close 02 | end=CommandApp_USBRelay.exe SVJGX close 02 | ||
</code> | </code> | ||
- | In this example we have two devices, an estim and a lock copy the command line for the tool suplied with the USBrelay into the start and end lines. If you only have one device delete the whole [Device2] block. | ||
- | Run JenControl.exe (you may want to create a shortcut to it for easy use). | + | In diesem Beispiel haben wir zwei Geräte, ein e-Stim und einen Lock. Kopiere das Tool, das mit dem USB-Relais geliefert wurde, in die "start"- und "end"-Zeile. Falls Du nur ein Gerät hast, musst Du natürlich den "[Device2]"-Block löschen. |
- | {{ ::jcontrol.png?nolink |}} | + | Starte JenControl.exe (Um es leichter zu benutzen, kannst Du auch einen Shortcut erzeugen). |
- | The first time you run the program click the "Debug info" check box and the "initialize devices" button and wait for 12 seconds. Then test each of the device(s) you have setup. | + | {{ ::jcontrol.png?nolink |}} |
- | Hopefully it all worked well. From now on when instructed to have your remote device you will setup your estim and relay as before and just start the program without clicking "debug info" as you dont want to spoil the surprise ;-) | + | Wenn Du das Programm zum ersten Mal startest, solltest Du die "Debug info"-Checkbox markieren und den Button "initialise devices" betätigen und dann ca. 12 Sekunden abwarten. Danach kannst Du jedes Gerät testen. |
+ | Mit ein bisschen Glück wird nun alles funktionieren. Von nun an, solltest Du jedes mal, wenn Du Deine Geräte anschließen sollte, das Programm ohne "Debug info" starten...es sei denn, Du willst Dich um die Überraschung bringen :-) |