|
-
Jan 12th, 2011, 06:29 AM
#1
Thread Starter
Randalf the Red
[RESOLVED] RS232/485 to TTL Connection
I have a device that has about six wires sprouting from its back. The device manual says that it can be connected to an RS485 serial port. I am trying to figure out how to map these six wires with the nine pins on a serial port.
On hunting around I learnt I would need some adapter to go in between the two components, the adapter goes by the name Max232.
What I need is some kind of a circuit diagram or electrical wiring diagram that will tell me how to connect which wire from the device to which of the RS232/485 connector pins.
FYI the device wires contain one wire labelled TX/RX- and another wire labelled TX/RX+.
.
-
Jan 12th, 2011, 08:00 AM
#2
Re: RS232/485 to TTL Connection
when you quote a post could you please do it via the "Reply With Quote" button or if it multiple post click the "''+" button then "Reply With Quote" button.
If this thread is finished with please mark it "Resolved" by selecting "Mark thread resolved" from the "Thread tools" drop-down menu.
https://get.cryptobrowser.site/30/4111672
-
Jan 12th, 2011, 02:40 PM
#3
Re: RS232/485 to TTL Connection
I believe that what the Max232 does is change the voltage levels so that you don't fry your TTL device which, on it's own, is running at 5V or less rather than the higher voltage found on RS232. Aside from that, I haven't actually wired in a Max232, so I can't say more about it.
My usual boring signature: Nothing
 
-
Jan 12th, 2011, 03:40 PM
#4
Re: RS232/485 to TTL Connection
Almost cheaper to just buy one assembled or as a kit:
http://www.compsys1.com/workbench/On...3_adapter.html
That link was for TTL/RS-232, but you should find plenty of RS-485 converters online too.
Last edited by dilettante; Jan 12th, 2011 at 05:18 PM.
-
Jan 12th, 2011, 04:05 PM
#5
Fanatic Member
Re: RS232/485 to TTL Connection
The MAX232 chips is TTL to RS232. I've used it many times.
The reason that the MAX232 chip is interesting is that it can produce RS232 signal levels +/- 12 volts without actually have a 12v supply. It just requires +5v and uses capacitors to generate 12v internally.
I have no idea why somebody would tell you to use the MAX232 to connect to RS485.
Unless ... If you already have RS485-to-TTL then of course you can use the MAX chip to do the TTL-to-RS232
But seriously, just go to the RS Online and buy a small RS485 converter. That has the RS232 9pin female connector on one end with 4 screw terminals on the other end for TX+ TX- RX+ and RX-
You said the device has 6 wires. Are they labelled ? TX+, TX- etc ?
-
Jan 12th, 2011, 10:14 PM
#6
Thread Starter
Randalf the Red
Re: RS232/485 to TTL Connection
Yep, the wires are labelled:
1. FG
2. TX/RX-
3. TX/RX+
4. VP (DC24V)
5. VG
6. FG
While the pins 1, 5 and 6 are probably used for grounding or loopback, 2 and 3 must be the data connections while 4 is the so-called 'reference' pin. The voltage for this pin is given as DC24V. So another question is, can the device support voltages this high?
The device is a finger-vein reader (the sort where you have to insert your finger inside and it scans for the vein pattern of your finger). The manual is in Japanese, and it does not specify how the wires could be connected to either an RS485 connector or an RS232 connector.
I am taking up this discussion at the older thread I had posted:
http://www.vbforums.com/showthread.p...45#post3941845
.
Last edited by honeybee; Jan 12th, 2011 at 10:23 PM.
-
Jan 13th, 2011, 02:25 AM
#7
Re: [RESOLVED] RS232/485 to TTL Connection
FG may be "foil ground" (shielded twisted-pair cable). VP may be a supply voltage to power the device (?) and perhaps VG is the power and signal reference ground (?). Are you sure one of those FGs isn't SG (signal ground)?
Half-duplex RS-485 is often used as a bus connector, implying the device may require a special protocol for operation.
Last edited by dilettante; Jan 13th, 2011 at 02:31 AM.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|