How to wire a usb to a serial plug...

AZBOOSTIN

Gawd
Joined
Nov 20, 2005
Messages
890
I'm trying to convert a usb to a 25pin serial is there any way I can buy the plug and wire it in direct???
 
the problem with that is the usb im plugging it in to is the small type like a camera port..
 
just get a usb adapter then on top of the serial adapter.. or a different male/female USB cable. They sell them all over the place for cheap.
 
so for plan Z is there anyway to wire it in? anyone have a diagram on what wire to hook where
 
The adapter will be 10x easier... you can google the pin diagrams if you absolutely want to, but I guarantee you'll run into problems. And you wouldn't hook the wires.. you solder. The wires are reallly small, and you might have to turn one wire into multiple wires and distribute them.
 
Is this for the same thing as the thread you started a few days ago? The one in which we told you it wasn't possible? And I still never figured out what you are actually trying to do.
 
I'd also like to know... lol. Why would you go from USB mini to a 25-pin serial?
jpmkm, where's the other thread?
 
lol.. the other thread is exactly the same. No description, no application, just a question. Then when I actually give an answer that should work just fine, hes like, meh. HELLO??? WAKE UP? LET US KNOW WHAT YOU NEED TO DOOOOOOOOO! k thx. =)
 
ValeX said:
:confused: To wire a USB to a serial plug? (read: title of thread)
Well there is no "wiring diagram" for that. That's why I've been trying to figure out what the hell the OP is trying to do. rs232 and usb are completely different protocols; you cannot simply connect them passively. There has to be some electronics in there to bridge the protocols. When USB is involved, there must be a host device. With USB->rs232 converters(to hook an rs232 device up to a USB port), the computer is the host. If you want an rs232->USB converter(to hook a USB device up to an rs232 port, which I believe is what the OP is requesting), then you need to have a USB host in there somewhere. The USB host would talk to the USB device, and then talk to the rs232 port on the computer. This is complex and expensive. And I still don't understand why anyone would need to do such a thing.
 
25-pin Serial:

dsub25m.gif


1 Not connected
2 TXD Transmit Data
3 RXD Receive Data
4 RTS Ready To Send
5 CTS Clear To Send
6 DSR Data Set Ready
7 GND - Ground
8 DCD Data Carrier Detect
9 Not connected
10 Not connected
11 DTR Data Terminal Ready
12 DCD Data Carrier Detect
13 CTS Clear To Send
14 TXD Transmit Data
15 Not connected
16 RXD Receive Data
17 Not connected
18 Not connected
19 RTS Ready To Send
20 DTR Data Terminal Ready
21 Not connected
22 RI Ring Indicator
23 DSR Data Set Ready
24 Not connected
25 RI Ring Indicator

========================================
Any USB

usb_a_b_female.gif


1 VCC Red +5 VDC
2 D- White Data -
3 D+ Green Data +
4 GND Black Ground

========================================

USB to RS232 wiring diagram. (have fun making one--or you can buy the adapter like I told you) ;)

usb-rs232-converter.gif
 
As an eBay Associate, HardForum may earn from qualifying purchases.
I am trying to do this for a Gauge Table at my work. We measure parts and use a foot pedal. that takes the reading of the part when and puts it into the computer.... THe pedal plugs into the table and that plugs into the computer.... Our old pedal broke, and the new pedal is usb... The table is to old for usb, SO I was trying to adapt it to make it work with the 25 pin serial. All the pedal does is pretty much like hitting the enter key on a keyboard the take the reading.....
 
the problem with the adapter is its not going into the computer directly its going straight to another device... SO I cannot install drivers ect.. to make it work.. The old device only used 2 wire off a switch connected to pin 1 and 9 on the serial connector..
 
Talk to the manufacturer of the product then. They probably have adapters or a solution, may involve replacing everything to be compatible with your new pedal.
 
Thanks for the advice I got it to work. I simply bypassed the usb plug and hooked it straight to the momentary swtich and wired that into the parellel port works great.... Thanks
 
Back
Top