|
I/O
Port
Address |
The I/O port
address
are
&H278-27F or &H2F8-2FF selectable:
278/2F8 : Output A/D channel number. (low nibble)
279/2F9 : Input A/D low byte data. (8 bits)
27A/2FA : Input A/D high byte data. (low nibble)
27B/2FB : Clear A/D register.
27C/2FC : A/D conversion loop. (low)
27D/2FD : A/D conversion loop. (high)
27E/2FE : Output D/A low byte data. (8 bits)
27F/2FF : Output D/A high byte da ta. (low nibble)
|
|
Jumper Settong |
1.
I/O Port
Address |
|
JP1 is used to
select
port address.
|
12-Bit
A/D-D/A aadapter
|
1,2
short
|
2,3
short
|
Input
A/D low byte data (8 bit)
|
H278 |
H2F8 |
Input
A/D high byte data (8 bit) |
H279 |
H2F8 |
Input
A/D high byte data (8 bit) |
H27A |
H2FA |
Clear
A/D Register
|
H27B |
H2FB |
A/D
conversion loop (low)
|
H27C |
H2FC |
A/D
conversion loop (high)
|
H27D |
H2FD |
Output
D/A low byte data (8 bit)
|
H27E |
H2FE |
Output
D/A high byte data (low nibble)
|
H27F
|
H2FF |
|
2.Output
Voltage Setting |
|
JP2 is used to
select
voltage setting
|
3.Input
SettingsInput Settings |
|
|
Type Connector
Pin
Assignment |
Pin
|
Function
|
Pin
|
Function
|
1
|
GND
|
14
|
GND
|
2
|
D/A
OUT
|
15
|
-5V
|
3
|
+5V
|
16
|
GND
|
4
|
GND
|
17
|
A/D
Channel 15
|
5
|
A/D
Channel 0 |
18
|
A/D
Channel 14
|
6
|
A/D
Channel 1 |
19
|
A/D
Channel 13
|
7
|
A/D
Channel 2 |
20
|
A/D
Channel 12
|
8
|
A/D
Channel 3 |
21
|
A/D
Channel 11
|
9
|
A/D
Channel 4 |
22
|
A/D
Channel 10
|
10
|
A/D
Channel 5 |
23
|
A/D
Channel 9
|
11
|
A/D
Channel 6 |
24
|
A/D
Channel 8
|
12
|
A/D
Channel 7 |
25
|
-12V
|
13
|
+12V
|
|
|
|
|
|
|
|
|