Skip to main content

Voltage and Temperature Measurement

  • Chapter
Interfacing with C++
  • 2149 Accesses

10.8 Summary

In this chapter we have described the operating principle of the Voltage-controlled Oscillator (VCO). The VCO produces a pulse-train having a frequency that is proportional to the voltage applied to its input. By measuring the frequency (or period as we did) the voltage/frequency relationship can be used to generate a measurement of voltage. In this way the VCO can be used as a simple and inexpensive alternative to an analog-to-digital converter.

A new object class named VCO was developed using the ParallelPort as the base class. Software methods have been described to continuously check the level of an incoming digital signal while incrementing a counter, and thereby measure the period of the waveform. Graphics programming was introduced to display the resulting waveform, followed by the development of a program that uses the thermistor on the interface board with the VCO to measure the actual temperature.

This is a preview of subscription content, log in via an institution to check access.

Access this chapter

Chapter
USD 29.95
Price excludes VAT (USA)
  • Available as PDF
  • Read on any device
  • Instant download
  • Own it forever
eBook
USD 39.99
Price excludes VAT (USA)
  • Available as PDF
  • Read on any device
  • Instant download
  • Own it forever

Tax calculation will be finalised at checkout

Purchases are for personal use only

Institutional subscriptions

Preview

Unable to display preview. Download preview PDF.

Unable to display preview. Download preview PDF.

10.9 Bibliography

  • Bentley, J., Principles of Measurement Systems, Second edition, Longman Scientific & Technical, Essex, 1988.

    Google Scholar 

  • Horowitz, P. and Hill, W., The Art of Electronics, Cambridge University Press, Cambridge, 1989.

    Google Scholar 

  • NS CMOS, CMOS Logic Databook, National Semiconductor Corporation, 1988.

    Google Scholar 

  • Webb, R.E., Electronics for Scientists, Ellis Horwood, New York, 1990.

    Google Scholar 

  • Wobschall, D., Circuit Design for Electronic Instrumentation, McGraw-Hill, 1987.

    Google Scholar 

  • Lafore, R. Object Oriented Programming in MICROSOFT C++, Waite Group Press, 1992.

    Google Scholar 

  • Wang, P.S., C++ with Object Oriented Programming, PWS Publishing, 1994.

    Google Scholar 

  • Winston, P.H., On to C++, Addison Wesley, 1994.

    Google Scholar 

Download references

Rights and permissions

Reprints and permissions

Copyright information

© 2006 Springer-Verlag Berlin Heidelberg

About this chapter

Cite this chapter

(2006). Voltage and Temperature Measurement. In: Interfacing with C++. Springer, Berlin, Heidelberg. https://doi.org/10.1007/3-540-33581-1_10

Download citation

  • DOI: https://doi.org/10.1007/3-540-33581-1_10

  • Publisher Name: Springer, Berlin, Heidelberg

  • Print ISBN: 978-3-540-25378-5

  • Online ISBN: 978-3-540-33581-8

  • eBook Packages: EngineeringEngineering (R0)

Publish with us

Policies and ethics