Jump to content


 


Register a free account to unlock additional features at BleepingComputer.com
Welcome to BleepingComputer, a free community where people like yourself come together to discuss and learn how to use their computers. Using the site is easy and fun. As a guest, you can browse and view the various discussions in the forums, but can not create a new topic or reply to an existing one unless you are logged in. Other benefits of registering an account are subscribing to topics and forums, creating a blog, and having no ads shown anywhere on the site.


Click here to Register a free account now! or read our Welcome Guide to learn how to use this site.

Photo

Connecting external hardware to DE-9


  • Please log in to reply
11 replies to this topic

#1 alaskano

alaskano

  • Members
  • 5 posts
  • OFFLINE
  •  
  • Local time:12:12 AM

Posted 11 December 2017 - 04:15 PM

I'm trying to connect (1)26 D-Type(Female) to (2)DE-9. I only need to connect 3 pins of (1) to (2). What would be the best way to do this?

This is what I've thought of so far:

26 D-Type(Female)->26 D-Type(Male)->Jumper Wire-> DE-9(female)

http://www.newark.com/amphenol-commercial-products/17eh...

https://www.digikey.com/product-detail/en/mikroelektron...

 

Cauterizing is also an option.

Thanks for your help!

 



BC AdBot (Login to Remove)

 


#2 MadmanRB

MadmanRB

    Spoon!!!!


  • Members
  • 2,789 posts
  • OFFLINE
  •  
  • Gender:Male
  • Location:No time for that when there is evil afoot!
  • Local time:04:12 AM

Posted 11 December 2017 - 04:26 PM

Huh is your computer from the Mesozoic age here?


You know you want me baby!

Proud Linux user and dual booter.

Proud Vivaldi user.

 

ljxaqg-6.png


#3 Platypus

Platypus

  • Moderator
  • 14,196 posts
  • OFFLINE
  •  
  • Gender:Male
  • Location:Australia
  • Local time:06:12 PM

Posted 11 December 2017 - 05:30 PM

Various types of commercial equipment still in use just have a legacy serial COM port.

 

Assuming that's what it is, and both ports are female, why not just use male-male jumpers:

 

https://www.digikey.com/product-detail/en/mikroelektronika/MIKROE-513/1471-1232-ND/4495596


Top 5 things that never get done:

1.


#4 mightywiz

mightywiz

  • Members
  • 680 posts
  • OFFLINE
  •  
  • Gender:Male
  • Local time:01:12 AM

Posted 11 December 2017 - 05:31 PM

you mean a DB-9, not a DE-9.   and your connecting RX, TX, +strobe (sync) lines correct?

 

your devices your connecting to do they let you set an Identifier, through dip switches on the device?

if they don't then you can't split the serial lines like that.  If they do then splitting them is no problem


you mean a DB-9, not a DE-9.   and your connecting RX, TX, +strobe (sync) lines correct?

 

your devices your connecting to do they let you set an Identifier, through dip switches on the device?

if they don't then you can't split the serial lines like that.  If they do then splitting them is no problem



#5 alaskano

alaskano
  • Topic Starter

  • Members
  • 5 posts
  • OFFLINE
  •  
  • Local time:12:12 AM

Posted 11 December 2017 - 11:39 PM

Various types of commercial equipment still in use just have a legacy serial COM port.

 

Assuming that's what it is, and both ports are female, why not just use male-male jumpers:

 

https://www.digikey.com/product-detail/en/mikroelektronika/MIKROE-513/1471-1232-ND/4495596

 

Good point



#6 alaskano

alaskano
  • Topic Starter

  • Members
  • 5 posts
  • OFFLINE
  •  
  • Local time:12:12 AM

Posted 11 December 2017 - 11:44 PM

you mean a DB-9, not a DE-9.   and your connecting RX, TX, +strobe (sync) lines correct?

 

your devices your connecting to do they let you set an Identifier, through dip switches on the device?

if they don't then you can't split the serial lines like that.  If they do then splitting them is no problem


you mean a DB-9, not a DE-9.   and your connecting RX, TX, +strobe (sync) lines correct?

 

your devices your connecting to do they let you set an Identifier, through dip switches on the device?

if they don't then you can't split the serial lines like that.  If they do then splitting them is no problem

Yea I believe so. From the manual I'm referencing:

 

Serial connection from the computer to the stimulator requires three pins to be

enabled. The cable is not wired "straight thru": pin 2 (receive data, RxD) of the

computer serial port connects with the stimulatorʼs pin 13; pin 3 (transmit data, TxD)

on the computer should connect to pin 12 on the stimulator; and pin 5 (ground, SG)

on the computer should connect to pin 11 on the stimulator.



#7 alaskano

alaskano
  • Topic Starter

  • Members
  • 5 posts
  • OFFLINE
  •  
  • Local time:12:12 AM

Posted 11 December 2017 - 11:51 PM

Huh is your computer from the Mesozoic age here?

 

This is what we'll be doing:

 

https://en.wikipedia.org/wiki/Transcranial_magnetic_stimulation



#8 Platypus

Platypus

  • Moderator
  • 14,196 posts
  • OFFLINE
  •  
  • Gender:Male
  • Location:Australia
  • Local time:06:12 PM

Posted 12 December 2017 - 01:13 AM

Presumably you're using a Magstim Rapid2? Unfortunately looks like they didn't have the sense to use the pinout of a standard null modem cable. For a temporary lashup, you should be able to utilize jumper wires, for practicality of long term usage someone could solder up a cable using the appropriate D plugs. For that application the wires used wouldn't be critical *, it would be best if the signal wires form a twisted pair, like telephone cable.

 

* Edit: unless the equipment might be sensitive to picking up signal noise. A twisted pair will reduce signal radiation, but if the gear might be sensitive to interference from a longer cable, a shielded cable could be used.


Edited by Platypus, 12 December 2017 - 01:38 AM.

Top 5 things that never get done:

1.


#9 alaskano

alaskano
  • Topic Starter

  • Members
  • 5 posts
  • OFFLINE
  •  
  • Local time:12:12 AM

Posted 12 December 2017 - 01:30 AM

Presumably you're using a Magstim Rapid2? Unfortunately looks like they didn't have the sense to use the pinout of a standard null modem cable. For a temporary lashup, you should be able to utilize jumper wires, for practicality of long term usage someone could solder up a cable using the appropriate D plugs. For that application the wires used wouldn't be critical, it would be best if the signal wires form a twisted pair, like telephone cable.

Yup. Thanks for your suggestions!



#10 mightywiz

mightywiz

  • Members
  • 680 posts
  • OFFLINE
  •  
  • Gender:Male
  • Local time:01:12 AM

Posted 12 December 2017 - 11:55 AM

that's pretty cool!  have fun with it.



#11 mjd420nova

mjd420nova

  • Members
  • 1,739 posts
  • OFFLINE
  •  
  • Gender:Male
  • Local time:01:12 AM

Posted 12 December 2017 - 01:18 PM

A little confusing.  A 26 pin connector, or 25 pin, female sounds more like the parallel port than the 25 pin serial port.  If memory comes to mind the 25 pin serial port is a male connector, eliminating the confusion of what port is what.



#12 Platypus

Platypus

  • Moderator
  • 14,196 posts
  • OFFLINE
  •  
  • Gender:Male
  • Location:Australia
  • Local time:06:12 PM

Posted 12 December 2017 - 08:08 PM

Alaskano is using a Magstim Rapid2 Stimulator, the instructions for serial control can be found here:

 

http://www.psych.usyd.edu.au/tmslab/downloads/SerialCable_and_Rapid2Toolbox_v1.pdf

 

The stimulator's port is 26 pin (DB26), and whilst not indicated in the instructions, alaskano identifies it as female. Although the DB9 is also referred to as female, whereas you'd expect the COM port on a PC to be male.


Top 5 things that never get done:

1.





0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users