fhz1000pc
Differences
This shows you the differences between two versions of the page.
Next revision | Previous revisionLast revisionBoth sides next revision | ||
fhz1000pc [2008/03/06 19:50] – created sestst | fhz1000pc [2009/03/21 10:17] – sestst | ||
---|---|---|---|
Line 2: | Line 2: | ||
{{fhz1000pc.png|fhz1000pc}} | {{fhz1000pc.png|fhz1000pc}} | ||
- | FHZ1000PC | + | FHZ 1000 PC (and the newer version FHZ 1300 PC) is an interface device between the FS20 radio protocol and a PC via an USB interface. It is sold by Conrad in Sweden (http:// |
Line 25: | Line 25: | ||
The software accompanying the device when purchased from Conrad is unfortunately in German only. To make things even worse, the software has no documented external interface allowing direct access to the device. So we are left to do this interfacing ourselves. | The software accompanying the device when purchased from Conrad is unfortunately in German only. To make things even worse, the software has no documented external interface allowing direct access to the device. So we are left to do this interfacing ourselves. | ||
Fortunately [[http:// | Fortunately [[http:// | ||
- | The protocol used here has been reversed engineered by [[http:// | + | The protocol used here has been reversed engineered by [[http:// |
+ | ===== Interfacing from Windows ===== | ||
+ | I want to access the protocol on Windows from Java, but FTDI only supply drivers for C/C++ so I also need some kind of conversion here. I actually considered writing a small C-daemon to talk TCP/IP with, but I found a nice set of Java drivers for the FT232AM-chip (D2XX-drivers) on https:// | ||
- | ===== Software ===== | + | ===== Interfacing from Linux ===== |
+ | Since Java is a platform independent language, we want the software to work for Linux as well. On Linux, there are no specific drivers for this device available but we can still use the fact that there is a standard FTDI-Chip. The trick here is to persuade Linux that this is really just a USB serial device. There are at least three ways of doing this, and they are described on [[http:// | ||
+ | |||
+ | The Java interface class I have written actually checks which OS it is running under (a bit ugly) and adapts its access methods accordingly. | ||
+ | |||
+ | ===== Software | ||
To use the interface you have to do the following steps: | To use the interface you have to do the following steps: | ||
* Install the software accompanying the device (this is the easiest way to get the USB drivers installed) | * Install the software accompanying the device (this is the easiest way to get the USB drivers installed) | ||
* Download the D2XX-java drivers from [[https:// | * Download the D2XX-java drivers from [[https:// | ||
- | * Download my {{fhz1000pc.zip|fhz1000pc}} interface class, and you are all set to talk Java to FHZ1000PC. | + | * Download my {{: |
+ | |||
+ | This class is used by the [[fhz1000pcport]]-class in the [[: | ||
===== Example ===== | ===== Example ===== |
fhz1000pc.txt · Last modified: 2018/11/03 02:59 by 127.0.0.1