Interfacing with C++: Programming Real-World Applications
Springer | April 11, 2006 | ISBN: 3540253785 | PDF | 489 pages | 2.6 Mb
This book is for people who are interested in learning and exploring electronic interfacing as well as C++ programming in a practicable and enjoyable way. Readers will learn to program a PC to do real-world things – not simply number crunching and graphics. They will also master how to write programs that interact with real-world devices through the use of a specially-developed interface circuit board included with the book. The book, interface board and accompanying software incorporate simple and easy-to-understand projects such as digital-to-analog conversion and vice versa, DC and Stepper motor control, temperature and voltage measurement, PC-based timing, or basic data acquisition. The audience of this innovative and rewarding approach to learn interfacing real-world devices to a computer via C++ are undergraduate and graduate students in engineering and science, practicing engineers/scientists, technical workers, and hobbyists. The types of courses the book complements include control engineering, electronics, computing, and mechatronics.
Table of Contents
- Getting Started.
- Parallel Port Basics and Interfacing.
- Testing the Parallel Port.
- The Object-oriented Approach.
- Object-Oriented Programming.
- Digital-to-Analog Conversion.
- Driving LEDs.
- Driving Motors- DC and Stepper.
- Program Development Techniques.
- Voltage and Temperature Measurement.
- Analog-to-Digital Conversion.
- Data Acquisition with Operator Overloading.
- The PC Timer.