PDA

View Full Version : Serial connection cable for renard boards with rj45 input via computer usb



angus40
04-08-2012, 05:36 PM
As I am new to this and learning .

Here is what I did step by step to get a working serial connection.

1) you will need a usb > rs-232 cable like this


http://ca.startech.com/Cards-Adapters/Serial-Cards-Adapters/USB-to-RS232-DB9-Serial-Adapter-Cable-Male-to-Male-Serial-Adapter-USB-to-Serial~ICUSB232

2)Then you will need a rs-232 ( db-9 female ) > rj45 converter like this

http://www.national-tech.com/specs/31d1-17400.htm

3) You will need to modify the wires in the db-9 >rj45 socket to look like this

http://doityourselfchristmas.com/wiki/index.php?title=File:Wiki_-_Serial_to_Renard_RJ45_Connection.jpg

Here is how

these are the wire in the converter ( you will be keeping 4 of these wires and cutting off the rest deep as you can in the converter.

tip : cut one wire at a time being carefull not to cut the ones you need to keep.



RJ45 Wire
Pin# Color
1 Blue
2 Orange
3 Black cut off this wire deep in the converter
4 Red
5 Green
6 Yellow cut off this wire deep in the converter
7 Brown cut off this wire deep in the converter
8 White cut off this wire deep in the converter

now that you have these wires cut take the blue green and orange wires and cut each one just below the pin.

now carefully strip off about 1/4 inch of the coating on these 3 wires and solder them together.

take one of the wires that you cut off earlier ( yellow brown black or white ) and carefully strip some of coating and solder the pin to the group of three orange blue green.

now you will have 2 pins to pulg into the db-9 -f socket if you look closely at the socket you will see the pinout #'s on the side that you will insert these two pins to resemble this diagram

http://doityourselfchristmas.com/wiki/index.php?title=File:Wiki_-_Serial_to_Renard_RJ45_Connection.jpg

the red wired pin will insert in #3 on the db-9female and the blue-orange-green pin (that you just successfully modified) will insert in #5 on the db-9female

tip make sure you have the correct hole pin# before pushing the pin in all the way .

insert db-9 into the plastic housing of the converter and your done , congrats on your accomplishment !

4) now you will need drivers for your usb-rs-232 device you can find them here

http://www.prolific.com.tw/eng/downloads.asp?id=31

Choose the apropriate one for your operating system .

I hope this is a simple to follow how to .

now you can use a straight through cat5 patch cable to connect most all renard boards with the rj45 socketed input .

If i made any errors here please correct me .

Cheers
Richard

cnbales
05-29-2012, 11:29 PM
Angus,

I appreciate the time you took in making this tutorial. The step by step instructions were easy to follow and answered a lot of questions I had after looking at the wiki. Thanks for your contribution.

Chris

jcross
12-12-2012, 03:05 PM
That particular Startech usb to serial adapter is quite good. I use two of them for serial control of our haunted house and they always work without a hitch.
Now I do have to say that I am not passing anywhere near the amount of data that HLS will through it, however, I have never encountered errors when flashing the memory of my PLC.
The really nice thing is that the proper drivers for them are actually available!

I was thinking in true DIY style about ripping one of these apart to add a couple MAX485 chips to the output as I'm currently wasting a SS24 to do the conversion to RS485.

Great post!
Until I read this I forgot I had a spare that I can mangle.

cnbales
12-12-2012, 03:32 PM
Jason, I have one of these also and it is working great for me.

Utimgr
12-12-2012, 04:43 PM
Or use this, might make it easier?

http://www.ebay.com/itm/121030033246?ssPageName=STRK:MESELX:IT&_trksid=p3984.m1555.l2649