Sign up Calendar Latest Topics
 
 
 


Reply
  Author   Comment  
Alpha_Geek

Avatar / Picture

Registered:
Posts: 10
Reply with quote  #1 
Do the ones that work appear as a HID device, or as a com port to the host machine?

I have a couple of RS-232-485 converters laying around, and the USB-485 controller I ordered from China has fallen off the edge of the earth, apparently. (This one http://www.ebay.com/itm/271588529759  and they seem to be rather flippant about something taking over a month to ship.)

Thanks, and Long live Emperor Strephon!


johnkiniston

Avatar / Picture

Registered:
Posts: 138
Reply with quote  #2 
It should show up as a serial port I believe.
Alpha_Geek

Avatar / Picture

Registered:
Posts: 10
Reply with quote  #3 
Thanks.  That might make things easy.  [smile]
LawsonThompson

Registered:
Posts: 827
Reply with quote  #4 
Most converters will show up as a new COM port. But the more important part is the specific USB/serial chip on the adapter. It must be an FTDI FT232R chip. Artemis doesn't push data to the COM port; it sends it via the FTDI DLL to the chip itself.

Here's one way to tell if the device is compatible:

Connect the device and open the Windows Device Manager screen. Check under Universal Serial Bus controllers for a "USB Serial Converter". 

Double-click the "USB Serial Converter" device to get details. On the Driver tab, you should see the Driver Provider is FTDI, and under the Driver Details button you should see ftd2xx.dll as one of the driver files. Under the Details tab, Property > Hardware Ids you should see this one on the list: USB\VID_0403&PID_6001.

If this Hardware ID isn't in the list it's not going to be compatible. That Hardware device ID is what the ftd2xx.dll included with Artemis expects to see; nothing else will work.

The driver Artemis depends on: http://www.ftdichip.com/Drivers/D2XX.htm but Windows 7 will automatically load that from Windows Update if you let it.

The documentation on how to use the driver: http://www.ftdichip.com/Support/Documents/ProgramGuides/D2XX_Programmer's_Guide(FT_000071).pdf if you really want an idea of what's going on under the hood. That's WAY over my head though.

__________________
----
https://LTEBridge.com
Alpha_Geek

Avatar / Picture

Registered:
Posts: 10
Reply with quote  #5 
If the developer reads this, what was the rationale for making DLL calls instead of just opening a com port and spitting data out?  I'm sure it made perfectly good sense at the time,  but I'm not seeing it from here.

Thanks!
LawsonThompson

Registered:
Posts: 827
Reply with quote  #6 
My theory: The Big Reason: the Enttec OpenDMX adapter uses the FTDI chip, and FTDI provides a DLL with dozens of functions ready to link and use. That adapter was the one Thom tested with, it is reliable, and it's recommended (and the only one "definitely" supported). The fact other manufacturers use the same chip and also emit useful DMX data is a happy accident!
__________________
----
https://LTEBridge.com
Previous Topic | Next Topic
Print
Reply

Quick Navigation:

Easily create a Forum Website with Website Toolbox.