Abstract
The BBC microcomputer comes already equipped with on-board, 12-bit A/D conversion capabilities. The converter can accept analogue inputs in the range 0 to 1.8 volts. With 1.8 volts input, the converter, which is the integrating type, will produce the number 65520. This is a 12-bit increment of 16 and the normal 12-bit range of 0 to 4095 can be obtained by DIViding by 16. Software access to the A/D converter is provided by the BASIC keyword ADVAL(n) where n refers to the channel number 1, 2, 3 or 4. Thus to read an input on channel 3, the required program is:
Preview
Unable to display preview. Download preview PDF.
References
Bannister, B. R. and Whitehead, M. D., Interfacing the BBC Microcomputer, Macmillan Microcomputer Books, 1985.
Bray, A. C., Dickens, A. C. and Holmes, M. A., Advanced User Guide for the BBC Microcomputer, Cambridge Microcomputer Centre, 1983.
Bright, B., Pocket Guide — Assembly Language for the 6502, Pitman, 1983.
Opie, C., Interfacing the BBC Microcomputer, McGraw-Hill, 1984.
White, M. A., Good BASIC programming on the BBC microcomputer, Macmillan, 1984.
Zaks, R., Programming the 6502, Sybex, 1980.
Author information
Authors and Affiliations
Copyright information
© 1990 C. J. Fraser and J. S. Milne
About this chapter
Cite this chapter
Fraser, C.J., Milne, J.S. (1990). Data Acquisition with the BBC Microcomputer. In: Microcomputer Applications in Measurement Systems. Palgrave, London. https://doi.org/10.1007/978-1-349-20800-5_7
Download citation
DOI: https://doi.org/10.1007/978-1-349-20800-5_7
Publisher Name: Palgrave, London
Print ISBN: 978-0-333-51838-0
Online ISBN: 978-1-349-20800-5
eBook Packages: Computer ScienceComputer Science (R0)