RS232 / TCP converter and BSD.
Hi, I have a weather station (Lacross WS2350). (can be connect by USB / RS232). I want to get data from a FreeBSD server 70 meter from the weather station (with http://www.wviewweather.com/ software). I already have a RJ45 cable between the two objects. I wish i could get a RS232 to RJ45 connecter like this one : http://www.lextronic.fr/P6554-convertisseur-tcpip--rs232-cse-h53.html And use it to connect the weather station to the RJ45 network, and then get data from my BSD. The bad point is that the soft witch are given with the RS232 to RJ45 translater are for windows, and it make a virtual port on windows. I don't know if it will work on BSD. If it does not work, i'll be oblige to buy another RJ45 to RS232 translater... and it's not cheap. Has anybody already done a such network ? Thanks, Olivier ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: RS232 / TCP converter and BSD.
On Thu, 4 Mar 2010, Olivier GARNIER wrote: I have a weather station (Lacross WS2350). (can be connect by USB / RS232). I want to get data from a FreeBSD server 70 meter from the weather station (with http://www.wviewweather.com/ software). I already have a RJ45 cable between the two objects. I wish i could get a RS232 to RJ45 connecter like this one : http://www.lextronic.fr/P6554-convertisseur-tcpip--rs232-cse-h53.html And use it to connect the weather station to the RJ45 network, and then get data from my BSD. The bad point is that the soft witch are given with the RS232 to RJ45 translater are for windows, and it make a virtual port on windows. I don't know if it will work on BSD. If it does not work, i'll be oblige to buy another RJ45 to RS232 translater... and it's not cheap. Has anybody already done a such network ? I have used this: http://www.extron.com/product/product.aspx?id=iplts6s=0 ...with no issues. This one has six RS232 ports; they also make versions with one, two and four ports. The interface is software-neutral - just open a TCP connection to the device on port 2001, and everything you send and receive from the socket goes through the RS232 port. There is an embedded web server for configuration. I don't know what the pricing is on these things, but I'm sure they are not cheap (being Extron and all). But they are easy to use, work right and don't break. Just my opinion; hope this helps. -- Chris Hill ch...@monochrome.org ** [ Busy Expunging | ] ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: RS232 / TCP converter and BSD.
Olivier GARNIER wrote: I have a weather station (Lacross WS2350). (can be connect by USB / RS232). I want to get data from a FreeBSD server 70 meter from the weather station (with http://www.wviewweather.com/ software). I already have a RJ45 cable between the two objects. You can simply connect a RS-232 serial port via ethernet cable using 9-pin DIN to RJ-45 connector adaptors at both ends. No need to convert the serial data stream into TCP/IP over ethernet. Data centers use that for serial connections to stuff like Cisco routers and other terminal applications all the time. However, if the device is truly RS-232 rather than 422/423, it's nominally out of spec past 50 meters and possibly won't go past 9600 baud. Regards. -- -Chuck ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: RS232 / TCP converter and BSD.
Olivier GARNIER writes: I have a weather station (Lacross WS2350). (can be connect by USB / RS232). I want to get data from a FreeBSD server 70 meter from the weather station (with http://www.wviewweather.com/ software). I already have a RJ45 cable between the two objects. I wish i could get a RS232 to RJ45 connecter like this one : http://www.lextronic.fr/P6554-convertisseur-tcpip--rs232-cse-h53.html And use it to connect the weather station to the RJ45 network, and then get data from my BSD. The bad point is that the soft witch are given with the RS232 to RJ45 translater are for windows, and it make a virtual port on windows. I don't know if it will work on BSD. If it does not work, i'll be oblige to buy another RJ45 to RS232 translater... and it's not cheap. You did not say what version of FreeBSD you are using and it does make a difference. The usb port stack was rewritten for FreeBSD8.0 so that probably works best. I tried to attach a usb converter to a FreeBSD6.3 system and it never worked. Different models of RS-232 converters may work fine. I just could not get these to work at all under 6.3. RJ45 plugs and CAT3 or CAT5 Ethernet-style cables are frequently used to carry RS-232 signals so the only somewhat unusual device you will need to procure is a plug adaptor such as one made by Modtap which simply has a RJ45 female on one edge and a male or female RS-232 9 or 25-pin plug or socket on the other edge. These adaptors have no IC's or intelligence built in to them. They just route the conductors in the CATx cable to the right pins. You may have to actually build the adaptor to your needs but these things at least used to be fairly common. The actual RS-232 to usb port converters are relatively inexpensive these days and they do have processors built in to them as well as charge pumps to generate the +-12 volts for RS-232 devices. Some of them are built to work fine under systems other than Windows boxes and others may only work under Windows so you will need to be sure that the one you want to use works. So, in short, you need a plug adaptor to make the RJ45 cable useble with RS-232 devices and you also need any of the common RS-232 to usb converters to actually connect the cable to your FreeBSD computer. As long as the usb-RS-232 converter actually works and produces a new ttyUSBx device, the brand is not that critical. Martin McCormick WB5AGZ Stillwater, OK Systems Engineer OSU Information Technology Department Telecommunications Services Group ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: RS232 / TCP converter and BSD.
Chuck Swiger writes: Data centers use that for serial connections to stuff like Cisco routers and other terminal applications all the time. However, if the device is truly RS-232 rather than 422/423, it's nominally out of spec past 50 meters and possibly won't go past 9600 baud. I was wondering about that when I wrote my long-winded response. I was confused and thought the maximum length for RS-232 was longer than it is. 70 meters is almost 25% out of range which is kind of pushing things. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: RS232 / TCP converter and BSD.
They make line drivers to sit inline and boost the signals to extend the range, similar to T1 repeaters I suppose. I had to use some 10'ish years ago. They weren't too expensive then, can't imagine the would be now. But back to OP ?, I'm sure someone has a program that takes an RS-232 stream and sticks it in tcp or udp. If I'm bored today I'll poke around the ports and google and such. - Original Message - From: owner-freebsd-questi...@freebsd.org owner-freebsd-questi...@freebsd.org To: freebsd-questions@freebsd.org freebsd-questions@freebsd.org Sent: Thu Mar 04 10:41:00 2010 Subject: Re: RS232 / TCP converter and BSD. Chuck Swiger writes: Data centers use that for serial connections to stuff like Cisco routers and other terminal applications all the time. However, if the device is truly RS-232 rather than 422/423, it's nominally out of spec past 50 meters and possibly won't go past 9600 baud. I was wondering about that when I wrote my long-winded response. I was confused and thought the maximum length for RS-232 was longer than it is. 70 meters is almost 25% out of range which is kind of pushing things. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org font size=1 div style='border:none;border-bottom:double windowtext 2.25pt;padding:0in 0in 1.0pt 0in' /div This email is intended to be reviewed by only the intended recipient and may contain information that is privileged and/or confidential. If you are not the intended recipient, you are hereby notified that any review, use, dissemination, disclosure or copying of this email and its attachments, if any, is strictly prohibited. If you have received this email in error, please immediately notify the sender by return email and delete this email from your system. /font ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: RS232 / TCP converter and BSD.
From owner-freebsd-questi...@freebsd.org Thu Mar 4 10:41:36 2010 To: freebsd-questions@freebsd.org Date: Thu, 04 Mar 2010 10:41:00 -0600 From: Martin McCormick mar...@dc.cis.okstate.edu Subject: Re: RS232 / TCP converter and BSD. Chuck Swiger writes: Data centers use that for serial connections to stuff like Cisco routers and other terminal applications all the time. However, if the device is truly RS-232 rather than 422/423, it's nominally out of spec past 50 meters and possibly won't go past 9600 baud. I was wondering about that when I wrote my long-winded response. I was confused and thought the maximum length for RS-232 was longer than it is. 70 meters is almost 25% out of range which is kind of pushing things. The 'standard' way to get around that distance limitation is to use a RS-232 to current-loop adapter, often referred to as a 'short haul modem'. see: http://www.blackbox.com/Store/Detail.aspx/Short-Haul-Modem-Nonpowered-Async-SHM-NPR-DB25-Male/ME721A-M-R3 for one example from a quality, but fairly pricey, source. Note: you need one of these on each end of the wire. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org