Page 1
ADC-42 Digital and Analogue Input/Output Module User Manual...
Page 3
All rights reserved. No part of this publication may be reproduced, stored in any retrieval system, or transmitted, in any form or by any means, electronic, mechanical, photocopied, recorded or otherwise, without the prior permission, in writing, from the publisher. For permission in the UK contact Blue Chip Technology.
Page 4
Amendment History Issue Issue Author Amendment Details Level Date 10.1.92 First issue. Window front cover and logo. See ECN 98/087...
4.3 Programmable Digital I/O............16 4.4 Interrupts................21 APPENDIX A ................... 24 APPENDIX B ................... 26 PC/XT/AT Port Map ..............26 APPENDIX C ................... 28 PC/XT Interrupt Map ..............28 APPENDIX D ................... 29 AT Interrupt Map ................29 Blue Chip Technology Ltd. 01271014.doc...
The ADC card is a versatile 12 bit input and output subsystem, having both analogue and digital capability. The card can provide: 24 Digital inputs or outputs. 2 Channels of analogue output. 16 Channels of single-ended analogue input. 8 Channels of differential analogue input. Interrupt generator. Blue Chip Technology Ltd. 01271014.doc...
Max Source Current (0 & 3) -200uA @ 2.4V Max Source Current (1, 2 & 4, 5) -1mA @ 2.4V iv. Power Requirement Power Requirement 5V DC @ 300mA +/-12V @ 50mA Power Dissipation 2.25W Blue Chip Technology Ltd. 01271014.doc Page 1...
This product meets the requirements of the European EMC Directive (89/336/EEC) and is eligible to bear the CE mark. It has been assessed operating in a Blue Chip Technology Icon industrial PC. However, because the board can be installed in a variety of computers, certain conditions have to be applied to ensure that the compatibility is maintained.
This is a Class A product. In a domestic environment this product may cause radio interference in which case the user may be required to take adequate measures. EMC Specification A Blue Chip Technology Icon industrial PC fitted with this card meets the following specification: Emissions: EN 55022:1995...
IBM. This address is 300 Hex or 768 decimal. All Blue Chip Technology cards are preset to this address at the factory. However, no two devices should be used while set to the same address since contention will occur and neither board will work.
Digital PIO Port B Base + 10 Digital PIO Port C Base + 11 Digital PIO Control Register (Write) Base + 12 Analogue Multiplexer Channel Address (Write) Base + 13 Programmable Interrupt Source Control Register (Write) Blue Chip Technology Ltd. 01271014.doc Page 5...
50 way IDC ribbon cable may be used to connect the I/O channels to a 50 way screw terminal block available from Blue Chip Technology as part number ST-24. The pins are numbered as shown in the following diagram.
Base + 2 = ADC Result Low Byte and Automatic ADC Start Conversion (Read) Base + 12 = ADC Multiplexer Channel Select (Write) A typical sequence of events to acquire data would be: Blue Chip Technology Ltd. 01271014.doc Page 7...
Combine the 8 and 4 bits to get the 12 bit result. 4.1.1 Analogue Input Options The analogue input options on the ADC are as follows: Input Mode - Single Ended/Differential. Differential Mode Termination. iii. Input Range - 0-5, 0-10V. Page 8 Blue Chip Technology Ltd. 01271014.doc...
Page 17
Signal ended or differential mode is selected by two links marked LKJ and LKH on the ADC card. The following link positions should be used to select the required mode. For Differential Mode Blue Chip Technology Ltd. 01271014.doc Page 9...
Page 18
ADC board. Whether the differential signals are terminated or not is selected by two links marked LKE and LKD on the ADC card. Page 10 Blue Chip Technology Ltd. 01271014.doc...
Page 19
Input Range Selection - Uni-polar The ADC can be set to give maximum resolution over 0-5V or 0-10V. The input range is selected by link LKC. Uni-polar/bi-polar selection is selected by LKF on the ADC card. Blue Chip Technology Ltd. 01271014.doc Page 11...
Page 20
Page 12 Input Connections The following link positions should be used to select the required mode. Uni-polar Selection For 0-5V Input +10V Selection Page 12 Blue Chip Technology Ltd. 01271014.doc...
Page 21
Input Connections Page For 0-10V Input +10V Selection Input Range Selection - Bi-polar Bi-polar Selection For +/-2.5V Input +/- 2.5V Selection Blue Chip Technology Ltd. 01271014.doc Page 13...
To select the appropriate output channel voltage, load the low byte register with the desired value followed by the high byte, low order nibble value. The updated strobe must be activated by a write instruction to that port address of any data value. Blue Chip Technology Ltd. 01271014.doc Page 15...
TTL connections only. The digital I/O appears to the PC as four ports. The first three can be set as input or output by writing suitable code to the Control Port. Page 16 Blue Chip Technology Ltd. 01271014.doc...
Page 25
An example program using this sequence is given in the next section. Address Base + 8 DATA (8255 PORT A) Base + 9 DATA (8255 PORT B) Base + 10 DATA (8255 PORT C) Blue Chip Technology Ltd. 01271014.doc Page 17...
Page 26
A total of 24 I/O channel signals may be connected to the 8255 I/O device on the ADC board providing 3 eight bit ports. Each signal is connected to one bit within one of these port i.e. Ports Decimal Page 18 Blue Chip Technology Ltd. 01271014.doc...
Page 27
The following Control Code Table assumes mode 0 is required. Mode 1 enables the transfer of data to or from a specified 8 bit port (A or B) in conjunction with strobes or handshaking signals. Blue Chip Technology Ltd. 01271014.doc Page 19...
Page 28
A and C whilst outputting 255 to channel B. INPUT “BASE ADDRESS”; BASE OUT BASE+11,&H99 A = INP (BASE+8) OUT BASE+9, 255 C = INP (BASE+10) PRINT A, C GOTO 30 Page 20 Blue Chip Technology Ltd. 01271014.doc...
IBM-PC, XT and AT are given in the appendices. To select the required interrupt simply install the link as required. For example: to select interrupt 3 as required by the example program, LKB should be set up as shown. Blue Chip Technology Ltd. 01271014.doc Page 21...
Page 30
N.B. The duty cycle will vary accordingly to the frequency selected between 33% and 50%. Consult the manufacturer’s data sheet for full details. For example to select 2KHz: Example For example to select 0.016: Example Page 22 Blue Chip Technology Ltd. 01271014.doc...
Page 31
STOP Whilst every effort has been taken to ensure that the information provided is accurate, Blue Chip Technology cannot assume responsibility for any errors in this manual or their consequences. Should any errors be detected, the company would greatly appreciate being informed of them. A policy of continuos product development is operated, resulting in the design of the board and the contents of this document being subject to change without notice.
Page 32
Appendix A APPENDIX A Note: View board with back panel on RHS. Address Settings for Port 300H 80 100 Address Settings for Port 200H 80 100 Address Settings for Port 210H 80 100 Page 24 Blue Chip Technology Ltd. 01271014.doc...
Page 33
Appendix A Page Address Settings for Port 220H 80 100 Address Settings for Port 230H 80 100 Blue Chip Technology Ltd. 01271014.doc Page 25...
Co-processor IRQ 14 Fixed Disk Controller IRQ 15 Reserved IRQ 3 Serial Port 2 IRQ 4 Serial Port 1 IRQ 5 Parallel Port 2 IRQ 6 Diskette Controller IRQ 7 Parallel Port 1 Blue Chip Technology Ltd. 01271014.doc Page 29...
Need help?
Do you have a question about the ADC-42 and is the answer not in the manual?
Questions and answers