Next:
13. Analog to Digital
Up:
Robot Programming in ``C''
Previous:
12.2 Layout Considerations
Contents
V
. Reading Sensors
Subsections
13
. Analog to Digital Conversion
13
.
1
Configuration
13
.
2
The ADC clock
13
.
2
.
1
Voltage Reference
13
.
2
.
2
Multiplexer Selection
13
.
2
.
3
Free Running versus Manual
13
.
2
.
4
Interrupts
13
.
2
.
5
Enabling and Starting
13
.
2
.
6
Bit Positions
13
.
2
.
7
Reading Results
13
.
3
Common Techniques
13
.
3
.
1
One-shot ADC Read
13
.
3
.
2
Free-running Background Update
13
.
3
.
3
Server-client Approach
14
. IR Ranging Sensor
14
.
1
General Information
14
.
2
Interface
14
.
3
Important Notes
14
.
3
.
1
Stablizing the Supply Voltage
14
.
3
.
2
Debouncing
14
.
3
.
3
Sampling Frequency
14
.
3
.
4
Inter-measurement Filtering
14
.
3
.
5
Distance Noise Prediction
Copyright © 2006-02-15 by Tak Auyeung