aragorn06 | | Tarih: 20.02.2008, 23:18 Mesaj konusu: programming the parallel port | |
| http://www.speedyshare.com/760374150.html
Table of Contents
Foreword v
Acknowledgments vii
Chapter 1
Introduction
1
Why the Parallel Port? 1
What Is Data Acquisition? 2
Intended Audience 3
Organization of the Book 4
Chapter 2
How to Build a Computer Interface
7
What Is an Interface? 7
Examples of Various Schemes for Data Acquisition 7
A Speech Digitizer 8
Data Acquisition for a CCD Camera 11
Signal and Timing Diagram Conventions 14
Hardware Components 15
Digital Components 20
Chapter 3
The Parallel Printer Adapter
25
Anatomy of the Parallel Printer Port 26
The DATA Port 29
The CONTROL Port 31
The STATUS Port 33
Printing with the Parallel Adapter 36
Using the Parallel Printer Adapter 37
Page x
Chapter 4
Programming and Using the Parallel Adapter
39
PC Data Area 39
Accessing the Ports 40
A Break-Out Box for the Parallel Adapter: Lighting LEDs and Reading
Switches
40
Power Switching Circuits for the Parallel Adapter 45
Reading DIP Switches 51
Data Transfer Overheads Using the Standard Parallel Port 53
Chapter 5
The Enhanced Parallel and Extended Cabability Ports
59
The IEEE 1284 1994 Standard 60
The Enhanced Parallel Port 61
EPP Registers 64
EPP BIOS Calls 67
High-Speed Digital I/O using EPP 69
Programming the EPP Controller Chip 69
The Extended Capability Port 74
Electrical Interface for Advanced Adapters 76
Additional Information 77
Chapter 6
Analog to Digital and Digital to Analog
79
What are DACs? 80
Popular DACs 85
What Are ADCs? 91
Popular ADCs 96
Chapter 7
Measuring Time and Frequency
107
Measuring Time Period and Frequency Using Discrete Components 110
An Astronomical Photometer Interface 114
Chapter 8
Complete Data Acquisition Systems
123
Auto-Powered, 8-Bit ADC Interface 124
A Complete 8-Bit Interface Package 125
A 12-Bit ADC/DAC Interface 133
Page xi
Chapter 9
Expanding Port Bits of the Parallel Port
157
Expansion on the Standard Parallel Adapter 158
Expansion Using EPP 163
An 8255-PIO Interface for the EPP 164
Chapter 10
Using the Parallel Port to Host an EPROM Emulator
179
Microprocessor Development Using Emulators 181
Using SmartRAM 184
Driver Software 184
EPROM Emulation Using Non-Volatile RAM (NVRAM) Modules 186
Chapter 11
The Parallel Port as a Host Interface Port
203
Interface to the ADSP-2101 204
Interface to the AT89C2051 214
Chapter 12
Hosting a Device Programmer
223
An EPROM Programmer 223
An AT89C2051 Microcontroller Programmer 227
Chapter 13
Waveform Generation Using the Parallel Adapter
249
The Parallel Adapter as a Waveform Generator 249
Traditional Methods of Waveform Generation 252
An Unconventional Method of Waveform Generation 254
Chapter 14
Data Acquisition under Linux
257
A General-Purpose Data Acquisition System for Linux 258
Hosting a Weather Station on the WWW 271
Page xii
Appendix A
PC Architecture
285
Introduction 285
Understanding Microprocessor Systems 286
Accessing Ports and Memory 288
Support Sections of a PC 292
PC System Bus Signals 293
The PC Ports 296
Example of a Typical Interface Circuit 296
Hardware Interrupts 300
BIOS and DOS Interrupts 301
Appendix B
References
303
Books 303
Articles 303
Index 305
|
|