![]() |
|
Interfacing with Comfort without the RS232 interface - Printable Version +- Comfort Automation/ Security System Forums (https://www.comfortforums.com) +-- Forum: Products (https://www.comfortforums.com/forum-3.html) +--- Forum: Questions on Using Comfort (https://www.comfortforums.com/forum-159.html) +--- Thread: Interfacing with Comfort without the RS232 interface (/thread-2029.html) |
- cab123 - 11-03-2010 Hi, I\'ve recently bought a Evaluation Kit where the UCM included was a UCM/USB. I\'m in the process of starting to code the necessary serial protocol messages to interface with 3rd party hardware based on arduino/router with openwrt however i do not seem to get serial out of the COM port that is installed when i plug USB on my PC. As per the documentation i have two possibilities, getting the RS232 or the Ethernet daughterboard on a UCM05. Wanting to access the serial protocol, - Is there any way to make it work with the USB connection? - Can i use ethernet to interface directly to my system without any PCs? - Is RS232 is my only option? Best regards - ident - 11-04-2010 I am not sure how the UCM is to be connected to the 3rd party device. What interface does this device have? Rs232 or Ethernet? IF Rs232 then you should use RS232 to connect directly to it. Note that plug in modules RS232M (male) and RS232 F (female) versions are available so the straignt Rs232 cable can be used. See https://www.cytech.biz/rs232_plug_in_female.html?category_id=75 and https://www.cytech.biz/rs232_plug_in_male.html?category_id=75 The UCM will communicate through the virtual serial port (COM) on the PC, but are you connecting to a PC or third party device? If third party device then you should not be connecting to a PC - cab123 - 11-04-2010 I have both options open for implementation and i would prefer ethernet. Can Ethernet work directly connected to a embbeded linux device or a TCP/IP implementation stack on a microcontroller? - ident - 11-05-2010 UCM/Ethernet can work directly connected to another eithernet port with a crossed cable. It would be better to connect both to a switch or hub and connect by the IP address and Port - cab123 - 11-07-2010 Hi, Thank you, i\'ve figured out how to connect with the UCM/USB in ubuntu 10.10: - connect the USB and get the output of \"dsmeg\" to get the device [ 5047.433972] usb 2-5: FTDI USB Serial Device converter now attached to ttyUSB0 Now with putty just insert the following options (for this example): under session: Serial Line: /dev/ttyUSB0 Speed: 9600 under Terminal: Implicit CR in every LF on Implicit LF in every CR on Local Echo -> Force On Local Line Editing -> Force On Under Connection->Serial Speed: 9600 Data Bits: 8 Stop Bits: 1 Parity: None Flow Control: None connect and log in: LI1234 if there is a response, the connection is set up properly. Thanks! Best regards - ident - 11-08-2010 That good, please let us know how it works out |