Copyright © All rights reserved. Made By Erik Bryssinck Terms of use | Privacy policy
USB remote control for LHireS-
I was already looking for a solution to control the calibration unit (Ar-
Although Shelyak has recently (Dec.2018) developed a remote control box , SPOX (quite expensive) for the spectroscopes, I started looking for alternatives.
On several spectro-
Here a very interesting link on the website of Paolo Berardi, which has developed a nice solution which he can also manage via the scripts in Astroart.
I started looking for a USB/relais board with simple available software (because my programming history dates back to the end of the 80s and I didn't program anymore later).
I used a cheap Chinese USB-
This relay board is very cheap (barely more than 5 Euros) based on HID.
test software is available so you can apply this board immediately without developing any software. Or download here.
SOFTWARE:
No USB-
source code of the software is available for C++, Visual Studio and Linux, so you can write your own application or adapt existing or complete new ones to your own needs.
Also a command-
Here is an example how to control the relay in command line.
CommandApp_USBRelay.exe [device id] [close / open] [relay nr]
Construction :
In the mounting box the necessary holes are made to mount the USB-
We only use the NO contacts of the relays and on the right you see a connection diagram for the USB-
Testing:
After everything was assembled, the first test was done with the software. There was a small problem that the USB relay was not found by the PC, after the USB was plugged into a USB3 port it worked perfectly. Testing was done with Windows 10