User Tools

Site Tools


fhz1000pc

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
Next revisionBoth sides next revision
fhz1000pc [2008/03/24 14:15] seststfhz1000pc [2009/03/21 09:12] sestst
Line 26: Line 26:
 Fortunately [[http://www.ftdichip.com|FTDI]] provides both drivers and API:s to their chips for free (they live on selling the chips), so the drivers can be downloaded from their site. Through their drivers we get access to the serial communication with the PIC-processor.  Fortunately [[http://www.ftdichip.com|FTDI]] provides both drivers and API:s to their chips for free (they live on selling the chips), so the drivers can be downloaded from their site. Through their drivers we get access to the serial communication with the PIC-processor. 
 The protocol used here has been reversed engineered by [[http://fhz4linux.info/tiki-index.php?page=FHZ1000+Protocol|fhz4linux]]. 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://jd2xx.dev.java.net. So I was finally able to write a Java class that represents a FHZ1000PC-device and allow my software to control the FS20 system. The protocol used here has been reversed engineered by [[http://fhz4linux.info/tiki-index.php?page=FHZ1000+Protocol|fhz4linux]]. 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://jd2xx.dev.java.net. So I was finally able to write a Java class that represents a FHZ1000PC-device and allow my software to control the FS20 system.
 +
 +
 +
  
  
Line 32: Line 35:
   * 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://jd2xx.dev.java.net/servlets/ProjectDocumentList|jd2xx.dev.java.net]], it is actually the files jd2xx.dll and jd2xx.jar you need. I had to use the 2005-version since I got problems with the 2006-build.   * Download the D2XX-java drivers from [[https://jd2xx.dev.java.net/servlets/ProjectDocumentList|jd2xx.dev.java.net]], it is actually the files jd2xx.dll and jd2xx.jar you need. I had to use the 2005-version since I got problems with the 2006-build.
-  * Download my {{fhz1000pc.zip|fhz1000pc}} interface class, and you are all set to talk Java to FHZ1000PC.+  * Download my {{fhz1000pc.zip|fhz1000pc}} interface class, and you are all set to talk Java to FHZ1000 PC. 
 + 
 +This class is used by the [[fhz1000pcport]]-class in the [[:start|NetHomeServer]]
  
 ===== Example ===== ===== Example =====
fhz1000pc.txt · Last modified: 2018/11/03 02:59 by 127.0.0.1