PC Interfacing
eBook - ePub

PC Interfacing

Pei An

Partager le livre
  1. 352 pages
  2. English
  3. ePUB (adapté aux mobiles)
  4. Disponible sur iOS et Android
eBook - ePub

PC Interfacing

Pei An

DĂ©tails du livre
Aperçu du livre
Table des matiĂšres
Citations

À propos de ce livre

The main links with your PC and the outside world are the centronic port, used for connecting the printer, the RS232 port, used for the mouse, and the games port for a joystick. This book explores how these input/output (I/O) ports can be put to use through a range of other interfacing applications. This is especially useful for laptop and palmtop PCs which cannot be fitted with internal I/O cards. A novel approach is taken by this book, combining the hardware through which the ports can be explored, and the software programming needed to carry out a range of experiments.Circuits are provided for simple testing tools, and three experimental boards - which can also be purchased ready-made.A huge range of applications are considered, turning the PC into a flexible core of a variety of systems. External devices considered include opto-isolator drivers, power drivers, LED drivers, relay drivers, special driver ICs, and methods of driving opto-isolated zero-crossing solid state relays, stepper motors, sound generating devices and displays. Ways of gathering information from the outside world are given, as well as connection to digital devices, remote control and digital communication. As well as teaching in this field, Pei An has written numerous articles for magazines such as Electronics World and Electronics Today International.

  • A hands-on guide to exploring your PC's input/output ports
  • Covers the hardware and software aspects of interfacing
  • An exciting project-based approach to an important subject area

Foire aux questions

Comment puis-je résilier mon abonnement ?
Il vous suffit de vous rendre dans la section compte dans paramĂštres et de cliquer sur « RĂ©silier l’abonnement ». C’est aussi simple que cela ! Une fois que vous aurez rĂ©siliĂ© votre abonnement, il restera actif pour le reste de la pĂ©riode pour laquelle vous avez payĂ©. DĂ©couvrez-en plus ici.
Puis-je / comment puis-je télécharger des livres ?
Pour le moment, tous nos livres en format ePub adaptĂ©s aux mobiles peuvent ĂȘtre tĂ©lĂ©chargĂ©s via l’application. La plupart de nos PDF sont Ă©galement disponibles en tĂ©lĂ©chargement et les autres seront tĂ©lĂ©chargeables trĂšs prochainement. DĂ©couvrez-en plus ici.
Quelle est la différence entre les formules tarifaires ?
Les deux abonnements vous donnent un accĂšs complet Ă  la bibliothĂšque et Ă  toutes les fonctionnalitĂ©s de Perlego. Les seules diffĂ©rences sont les tarifs ainsi que la pĂ©riode d’abonnement : avec l’abonnement annuel, vous Ă©conomiserez environ 30 % par rapport Ă  12 mois d’abonnement mensuel.
Qu’est-ce que Perlego ?
Nous sommes un service d’abonnement Ă  des ouvrages universitaires en ligne, oĂč vous pouvez accĂ©der Ă  toute une bibliothĂšque pour un prix infĂ©rieur Ă  celui d’un seul livre par mois. Avec plus d’un million de livres sur plus de 1 000 sujets, nous avons ce qu’il vous faut ! DĂ©couvrez-en plus ici.
Prenez-vous en charge la synthÚse vocale ?
Recherchez le symbole Écouter sur votre prochain livre pour voir si vous pouvez l’écouter. L’outil Écouter lit le texte Ă  haute voix pour vous, en surlignant le passage qui est en cours de lecture. Vous pouvez le mettre sur pause, l’accĂ©lĂ©rer ou le ralentir. DĂ©couvrez-en plus ici.
Est-ce que PC Interfacing est un PDF/ePUB en ligne ?
Oui, vous pouvez accĂ©der Ă  PC Interfacing par Pei An en format PDF et/ou ePUB ainsi qu’à d’autres livres populaires dans Design et UI/UX-Design. Nous disposons de plus d’un million d’ouvrages Ă  dĂ©couvrir dans notre catalogue.

Informations

Éditeur
Newnes
Année
1998
ISBN
9780080513645
Sujet
Design
Sous-sujet
UI/UX-Design
1

Centronic, RS232 and game ports

The Centronic, RS232 and game ports are the most common I/O ports that a modern computer has. Some notebook computers may not have a game port, but the Centronic and the RS232 ports are the universal features of all types of computers.
Originally, these ports were designed for specific applications. Centronic ports are used for connecting computers to printers; RS232 ports for connecting printers, modems and mice; and game ports for connecting joysticks. They can also be used for other interfacing applications. Peripheral devices designed for these ports not only provide the easiest way of connection to computers but also offer a universal hardware solution for all computers. Therefore, it would be very useful to understand how these ports work and how to make the best use of them.

1.1 The Centronic port

The Centronic port, also known as the printer port or the parallel port, is an industrial standard interface designed for connecting printers to a computer. A computer at least has one such a port installed. The port may come with the computer’s mother-boards or with plug-in I/O cards. Adding more Centronic ports is easy and inexpensive. In total, four Centronic ports may be installed on a computer and they have logic names LPT1 to LPT4.
This book describes the Centronic port from the point of view that it is used as a general purpose I/O interface. Operations specific to printers are not discussed in detail.

1.1.1 Port connectors

The port connectors on a computer and on a printer are different. The one on the computer is a 25 pin D-type female connector (Figure 1.1(a)), and the latter is a 36-pin female Centronic-type connector (Figure 1.1(b)). The pin functions of the two connectors are shown in Figure 1.1. To connect a printer to a computer, a printer cable is used (Figure 1.2). The length of the cable must not exceed 5 metres. The Centronic interface is not for long distance operations.
image
Figure 1.1 Pin-out of the Centronic port connectors on computers and printers
image
Figure 1.2 The printer lead

1.1.2 Internal hardware organization

The circuit of a generic Centronic port inside a PC is shown in Figure 1.3. Eight-bit data is latched into IC1 by writing to a port having an address: base address+0. This operation pulls down -WRITE_DATA. The output of the data forms the Data group. Data can be read into the computer from the same address via IC2 under the control of -READ_DATA. When reading data, the output from IC1 must be in high impedance state. This is achieved by making pin 1 (OUTPUT ENABLE) of IC1 high. A 6-bit control word is latched to IC3 by writing to base address+2 which pulls down -WRITE_CONTROL. Bit 0 to bit 3 are output to the port connector to form the Control group. Some of the lines are inverted by open-collector inverters (IC6 and IC7). All the output lines are pulled to +5V by 4k7 resistors. These bits can be read back into the computer at the same address via IC4a under the control of -READ_CONTROL. Bit 4 of the control byte enables the interrupt and bit 5 enables or disables the output of IC1. Five lines in the port connector (the Status group) can be read into the computer via IC4b under the control of -READ_STATUS. The address associated with this is base address+1. These inputs are pulled to +5V by 4k7 resistors and one of the lines is inverted.
image
Figure 1.3 Circuit diagram ...

Table des matiĂšres