Помощь - Поиск - Пользователи - Календарь
Полная версия этой страницы: Переходник DA15 на rs232(DE9)
Форум разработчиков электроники ELECTRONIX.ru > Интерфейсы > Форумы по интерфейсам > RS232/LPT/USB/PCMCIA/FireWire
Sanych22
Люди добрые, помогите спаять переходник для подключения двух устройств к компьютеру. У устройств выходы DA15 (мамка и папка), а к компьютеру DE9(rs232 или COM). распиновку находил, правда некоторые противоречат друг другу. В этом деле я чайник, но очень хочется разобраться и все сделать самому. Киньте какие-нибудь ссылки по теме.
SSerge
Начните отсюда:
http://ru.wikipedia.org/wiki/RS232
http://ru.wikipedia.org/wiki/%D0%A1%D0%B8%...%82%D0%BE%D0%B2

Самый минимум это контакты 2, 3 и 5 на 9-контактном разъёме.
Sanych22
А можно паять по этой схеме?
http://old.pinouts.ru/InputCables/atari_joy2PC_pinout.shtml
SSerge
Паять-то можно, да подключать это сейчас уже некуда.
На той схеме слева 9-ногий разъём джойстика от Atari, а справа разъём на РС, но он 15-контактный и ни разу не ком-порт.
Это так называемый Game-port.
На современных компах ликвидирован как класс, но иногда ещё попадается на старых звуковых платах (на нём ещё и MIDI-интерфейс есть).
Sanych22
Я понял. Если соединить напрямую в штекерах только это:

Receive
Transmit
Ground

Заработает?

Это написано в мануале устройства. Там смотреть именно new style adapter. Прочитал, но толком понять не сумел((

Appendix A
Guide to Programmers
A1 Introduction
This section explains how to use the RS232 interfaces for all of Ophir Optronics' power and
energy meter products. It is primarily a guide for programmers wishing to write programs that
use the RS232 interface.
This section covers all five of the instruments made by Ophir Optronics which provide an RS232
interface, namely models Laser-Star, Nova, Orion, Nova-II, and Vega. The five instruments use
the same instruction set and instruction format, but since the various instruments offer differing
functions, some instructions can not be used with all instruments. Also, some instruments have
built-in RS232 hardware, and some use external interface electronics.
All instruments allow power and energy data to be transferred using the interface and can be
controlled remotely using the interface. They can also be used to gather a limited amount of
data while not connected to a computer, and later transfer the gathered data to a computer
using the interface.
Section A2 - A6 is organized as follows:
A2 Explains the hardware used for RS232 for each of the instruments, and how to prepare
cables if required.
A3 Describes examples of different tasks that may be required from an RS232 interface,
and explains in which groups of commands can be used to perform each task.
A4 Provides general help for programmers about writing programs using RS232
interfaces.
A5 This is the reference section, defining the technical details of the communication
protocols and listing the available commands and their exact syntax.
A6 Shows some flowcharts, which summarize techniques described in sections A3-5.
A2 Description of Hardware
A2.1 Nova, Old Style RS232 Adapter
This section refers to the old style Nova RS232 Adapter, Ophir P/N 1Z04281X.
The NOVA instrument requires a special optional RS232 adapter, which contains active circuitry
in its 25-pin plug. Connect the 25-pin plug to your computer and connect the other end between
the NOVA instrument and the detector head.
23
Note:
If a 9-pin connector is required at the computer end, an inexpensive standard adapter can
be purchased.
If the cable needs to be extended, do not cut off the 25-pin plug or attempt to extend the 15-pin
connections, but add an extension lead from the 25-pin plug to the computer. To make such an
extension lead, connect leads as follows:
NOVA 25-pin adapter Direction Computer
Pin Function Function 25-Pin 9-Pin
2 Receive << Transmit 2 3
3 Transmit >> Receive 3 2
4 RTS << RTS 4 7
5 CTS >> CTS 5 8
7 Ground <--> Ground 7 5
20 DTR << DTR 20 4
Note:
If writing your own software, make sure to raise DTR and RTS. This ensures that the
connector gets the proper power supply.
In the case of a 25-pin connector at the computer, IDC connectors and ribbon cable can be
used in places where electromagnetic interference is not expected to cause problems.
A2.2 Nova, New Style RS232 Adapter
This section refers to the new style Nova RS232 Adapter, Ophir P/N 1Z10140-1Z10145.
The NOVA and ORION instrument requires a special optional RS232 adapter, which contains
active circuitry in the D15-D15 adapter section. Connect the 9-pin plug to your computer and
connect the other end between the NOVA instrument and the detector head.
Where a 25-pin connector is required at the computer end, an inexpensive standard adapter
can be purchased.
24
The following summarizes the pin connections of the D9 plug.
NOVA 9-pin adapter Direction Computer 9-pin Port
Pin Function Function Pin Number
3 Receive << Transmit 3
2 Transmit >> Receive 2
5 Ground <--> Ground 5
Note:
In NOVA instruments whose ROM version is 2.36 or earlier, the baud rate is fixed at 4800.
Nova instruments with ROM versions 2.40 and higher offer the following baud rates: 300,
1200, 4800, 9600 and 19200. To set the baud rate, unplug the head of the Nova and switch
the on. Press "select" until "Baud rate" is highlighted and press "go". Press "select" until the
required baud rate is displayed and press "exit". The baud rate is now saved to EEROM (non
volatile) memory.
Sanych22
Если я что-то напутаю, не сгорит ничего?
Для просмотра полной версии этой страницы, пожалуйста, пройдите по ссылке.
Invision Power Board © 2001-2025 Invision Power Services, Inc.