#4401 - 11/27/03 04:20 PM
Internet Access to Ocelot
|
Quasar44
newbie
Registered: 11/26/03
Posts: 2
Loc: Philadelphia
|
Question - I recently installed an Ocelot in my house, and really like it a lot.
I manage two remote testing labs (in other states), in which I'd like to be able to remotely change the temperature, at will - based on what equipment (if any) may be in the lab.
I was planning to install X-10 controlled thermostats in both labs, and would like to be able to control them via Ocelots (sending X-10 commands).
Because of the type of testing which occurs in the labs, Intel-based PCs cannot be resident in them. Is there an Ethernet front-end (perhaps a serial to e-net converter) that would allow me to (via a VPN connection) run C-Max (via a mapped com port) to change the programs running on an Ocelot at each remote lab?
I am also intending to connect BobCats (to monitor the temp in the labs) remotely.
I was hoping that someone may have already tested this, and could let me know what (if any) solutions may be available to accomplish this.
Thanks.
|
|
Top
|
|
|
|
#4402 - 11/27/03 05:36 PM
Re: Internet Access to Ocelot
|
Guy Lavoie
Beyond All Hope
   
Registered: 12/21/02
Posts: 5859
Loc: Montreal, QC, Canada
|
There are a variety of ehternet to serial devices available. These devices, combined with a virtual serial port driver, can give you a "COM" port to physical serial port over an IP link. Some devices that do this are the Tibbo DS100 (http://www.tibbo.com) or the Lantronix device servers (http://www.lantronix.com/products/ds/index.html)
In my own case, I picked up a number of Lantronix EPS1 print servers at $5 apiece on Ebay. They are print servers that have 1 parallel and 1 serial port. They support telnet type connections to raw ports (port 3001 for the serial port). This has allowed me to connect my Ocelot and test Leopard to the network and the PC has virtual COM4 and COM5 ports to provide a link for C-Max. I can do everything C-Max offers through these devices, like load programs, new executive versions, screens, icons, etc. I have never tried a VLAN however.
_________________________
"If you don't know what you're doing, do it neatly..."
|
|
Top
|
|
|
|
#4403 - 12/05/03 11:19 AM
Re: Internet Access to Ocelot
|
Quasar44
newbie
Registered: 11/26/03
Posts: 2
Loc: Philadelphia
|
Guy-
A follow-up question, if you please.
I got a LanTronix UDS-10 (10-Base-T to DB25F) device server. After flashing firmware, etc., the UDS-10 is functioning, except that my laptop keeps dropping the mapped C-Max serial port (COM8) connection to the Ocelot.
Following a call to LanTronix tech support, they recommended that I get a DB9M to DB25M null-modem cable to interconnect the USD-10 to the Ocelot.
Do you recall if that's the cable type you're using?
Also, that cable is pretty non-standard - I really hate the idea of using gender changers; I can have BlackBox custom make this cable, if nescessary. I just wanted to confirm that that's the config you're using.
If you could let me know, I'd appreciate it.
Thanks.
|
|
Top
|
|
|
|
#4405 - 12/13/03 05:05 PM
Re: Internet Access to Ocelot
|
Salil Athalye
journeyman
Registered: 11/30/03
Posts: 59
Loc: Rochester, NY, USA
|
Guy, What software needs to be running on the PC to make the network traffic appear on a serial port to CMAX or other home automation programs? I have managed to acquire a Lantronix EPS1 and would like to replicate your setup. Running Windows XP Professional.
Thanks,
Sal
|
|
Top
|
|
|
|
#4406 - 12/13/03 05:18 PM
Re: Internet Access to Ocelot
|
Salil Athalye
journeyman
Registered: 11/30/03
Posts: 59
Loc: Rochester, NY, USA
|
Guy, I searched around on the rest of the ADI support site because I remember reading a note you wrote in April 2003, and sure enough it was in the HA Projects forum (I wish we could search across all the forums). I went to the Lantronix site at Lantronix Site for downloading the Redirector. The utility program is now called the Redirector (used to be called the DeviceComm Manager). Just in case anyone else was looking for the software ...
Sal
|
|
Top
|
|
|
|
#4408 - 12/17/03 05:07 PM
Re: Internet Access to Ocelot
|
ChrisC
newbie
Registered: 01/10/03
Posts: 1
Loc: Pennsylvania, USA
|
Guy,
Could you please explain which pins on the RJ45 goes to which pins on the DB9? Thank you!
-Chris.
|
|
Top
|
|
|
|
#4410 - 01/01/04 07:28 AM
Re: Internet Access to Ocelot
|
Salil Athalye
journeyman
Registered: 11/30/03
Posts: 59
Loc: Rochester, NY, USA
|
Guy, I am trying to create the connections you described. I bought a crimp-style DB9 Male connector from RadioShack and I'm having difficulty getting the two ground wires to fit into the crimp (novice electronics skills ). Could you please elaborate on how best to do this? I hear there is a wire splice that can do the trick but I dont know where to buy one. Other thought is to solder the two ground wires with a single wire that will run to the crimp point.
I have also found CISCO Console cables up on Ebay, would these work (assuming I had the correct gender adapters)?
Any help much appreciated,
Sal
|
|
Top
|
|
|
|
#4412 - 01/01/04 09:31 AM
Re: Internet Access to Ocelot
|
Salil Athalye
journeyman
Registered: 11/30/03
Posts: 59
Loc: Rochester, NY, USA
|
Guy, I built the cable and tested for continuity. I have set up the redirector for COM3 and specify that it should use 192.168.1.107 (IP for the EPS) and port 3001. Setup XON/XOFF to off for the serial port and set PassFlow to true. When I connect everything up and set CMAX to COM3, it cannot connect to the EPS.
Do you have a configuration cheatsheet that you could post?
Thanks,
Sal
|
|
Top
|
|
|
|
#4413 - 01/01/04 10:28 AM
Re: Internet Access to Ocelot
|
Salil Athalye
journeyman
Registered: 11/30/03
Posts: 59
Loc: Rochester, NY, USA
|
Instead of connecting to port 3001 I am now using EPS_xxxxxx_S1 as the port in Redirector. I can now connect to the EPS. CMAX tries to send seven or eight TX but no RX are received and the connection times out. After disconnecting the serial cable and reconnecting the Ocelot to the PC I could not connect either, just TX and no RX. Panic sets in . I rebooted the Ocelot and the PC connection is working fine again. Not sure what is going on between the EPS and the Ocelot (i.e. is the CMAX command even getting out to the Ocelot?).
Sal
|
|
Top
|
|
|
|
#4414 - 01/01/04 10:56 AM
Re: Internet Access to Ocelot
|
Salil Athalye
journeyman
Registered: 11/30/03
Posts: 59
Loc: Rochester, NY, USA
|
I swapped the TX and RX on the DB9 and now I can get TX and RX from CMAX but before the firmware version etc can get displayed I lose connection.
I tried using the same cable to connect a W800RF32 X10 RF to serial convertor and ran their test program but got Packet Timing Errors and Unrecognized/Corrupt packet errors with the test program.
So progress is being made, not sure whether I need to connect up the remaining 4 wires on the DB9 side?
Sal
|
|
Top
|
|
|
|
#4416 - 01/01/04 01:31 PM
Re: Internet Access to Ocelot
|
Salil Athalye
journeyman
Registered: 11/30/03
Posts: 59
Loc: Rochester, NY, USA
|
I tried shorting pin 2 and 3 and ran telnet to port 3001, and just like you said, everything i typed was repeated. However, even after settingt the buffer time to 10ms and rebooting the server, I kept losing connection with the Ocelot just before the firmware version etc. is loaded and the CPUMAX.EXE program crashes. So, something in the software configuration is not quite correct. Any ideas?
Sal
|
|
Top
|
|
|
|
#4417 - 01/01/04 02:49 PM
Re: Internet Access to Ocelot
|
Salil Athalye
journeyman
Registered: 11/30/03
Posts: 59
Loc: Rochester, NY, USA
|
Guy, I got it working. Not sure exactly how . While debugging the connection I realized the reason that the W800RF32 was not working was because it required 4800 baud and port was set to 9600. After setting up the port at 4800 I was able to get the W800RF32 working, so I ruled out the hardware connection. Next, I set up the port back to 9600 and tried to connect the Ocelot and CMAX and got the application version before it lost connection and CMAX crashed. Went back into EZWebCon and played around with the port settings and this time the Ocelot is talking to CMAX over the Lantronix device and everything is up for over 6 minutes.
I have 5 more of these devices, so I'm off to see if I can connect a 1-wire system to the LAN . Thanks for your help!
Sal
|
|
Top
|
|
|
|
#4419 - 01/22/04 07:30 PM
Re: Internet Access to Ocelot
|
TinMan
newbie
Registered: 01/21/04
Posts: 6
|
After following a couple of threads, I purchased a few of the EPS1 units and after quite a bid of fiddling, I managed to connect to my Ocelot through the EPS1.
My main problems were:
1) Getting the cabling right and not getting things "reversed" when making them.
2) Finally realizing that EVERYTHING had to be set for no Flow control.
I'm using the Lantronix Redirector on Win2K, and it's pretty sweet.
I'm new to the Ocelot and I love these forums!
|
|
Top
|
|
|
|
Moderator: Dan Smith, Monte G, ADI Tech Support, Guy Lavoie
|
2492 Members
19 Forums
3488 Topics
20722 Posts
Max Online: 58 @ 12/05/07 03:33 PM
|
|
|
|
|
|
|
1
|
2
|
3
|
|
4
|
5
|
6
|
7
|
8
|
9
|
10
|
|
11
|
12
|
13
|
14
|
15
|
16
|
17
|
|
18
|
19
|
20
|
21
|
22
|
23
|
24
|
|
25
|
26
|
27
|
28
|
29
|
30
|
31
|
|
|