Mind map
Lecture 6 & 7 - Analogue I/O
Map content
Lecture 6 & 7 - Analogue I/O
Analogue Input
- ADC
- Analogue-to-Digital Converter
- Resolution (Step-Size) of a n-bit ADC = Vr/2^n [v]
- The mbed has six Analogue inputs (p15-20)
- 6:1 multiplexer on its input
- The API for Analog Input
- AnalogIn
- read
- The returned value is the ratio of input voltage to the maximum voltage
- Actual Input Voltage = returned value x maximum input voltage
- The returned value is the ratio of input voltage to the maximum voltage
- read_u16
- ADC
Analogue Output
- DAC
- Digital-To-Analog Converter
- Resolution (Step Size) = Vr/2^n
- Analog Output API
- AnalogOut
- write
- The actual output is the floating point number x maximum output voltage
- write_u16
- read
- mbed-defined operator =
- p18 is the only analog output on the mbed
- Pulse Width Modulation
- A simple way of getting a rectangular digital waveform to control an analogue variable
- Usually voltage or current
- Duty Cycle
- 100% Duty Cycle - Continuously ON
- 0% Duty Cycle - Continuously OFF
- mbed has 6 PWM outputs (p21-26)
- PWM API
- A simple way of getting a rectangular digital waveform to control an analogue variable
- DAC
Information
- Description
- Degree EL560 (Microcontroller Engineering) Mind Map on Lecture 6 & 7 - Analogue I/O, created by Tom Revise on 02/01/2021.
- Created by
- Tom Revise
- Views
- 1
- Rating
More on Sensors and Data Acquisition