SlideShare a Scribd company logo
1 of 17
STM32’s ADC
Md Rayhan Tanvir
Directory
The main content of this topic:
 7.1 ADC Fundamentals
 7.2 STM32’s ADC
Introduction
Electric vehicle speed control system, how does this speed value come from?
Continue
7.1 Fundamentals of ADC
 ADC (Analog to Digital Converter) is a device
that converts a continuous variable analog
signal to a discrete digital signal.
 Analog signal means
(1) Continuous change over time.
(2) Countless value.
Applications
•Audio
 – Speech recognition
 – Special effects (reverb, noise cancellation etc)
•Video
 – Filtering
 – Special effects
 – Compression
•Data logging
A data logger (also datalogger or data recorder) is an electronic device that
records data over time or in relation to location either with a built in
instrument or sensor or via external instruments and sensors.
7.2 STM32’s ADC
The STM32F103xx family microcontrollers are divided into
three groups:
 Low-density: The STM32F103x4 and
STM32F103x6 are Low-density devices.
 Medium-density: The STM32F103x8 and
STM32F103xB are Medium-density devices.
High-density: The STM32F103xC,
STM32F103xD and STM32F103xE are High-
density devices.
7.2 STM32’s ADC
7.2 STM32 ADC
 STM32F103RC has 3 ADC (the STM32F101/102 series
has only 1 ADC), which can be used independently or in
dual mode (increasing the sampling rate).
 STM32 ADC is a 12-bit successive approximation analog
digital converter. It has 21 channels to measure 19 of
external signal & 2 of internal signal sources.
 A/D conversion of each channel can be performed in a
single, continuous, scan or injected mode.
 The results of ADC can be left-aligned or right-aligned
stored in 16-bit data registers.
High Density Group
Successive Approximation
 A successive approximation ADC is a type of
analog-to-digital converter that converts a
continuous analog waveform into a discrete
digital representation via a binary search
through all possible quantization levels before
finally converging upon a digital output for
each conversion. DAC = digital-to-analog converter
EOC = end of conversion
SAR = successive approximation register
S/H = sample and hold circuit
Vin = input voltage
Vref = reference voltage
Comparator
Quantization
 Quantization, in digital signal processing, is
the process of mapping input values from a
large set (often a continuous set) to output
values in a (countable) smaller set.
Sample and Hold circuit
 In electronics, a sample and hold (S/H, also "follow-
and-hold") circuit is an analog device that samples
(captures, grabs) the voltage of a continuously
varying analog signal and holds (locks, freezes) its
value at a constant level for a specified minimum
period of time.
Different Mode of Operation
 Independent Modes
 Single-channel
- single conversion mode
- continuous conversion mode
 Multichannel (Scan)
- single conversion mode
- continuous conversion mode
 Injected conversion mode
 Dual Modes
- Dual Regular Simultaneous Mode
Single Channel
Multichannel (scan)
The continuous mode feature allows the ADC to work in the
background. The ADC converts the channels continuously without
any intervention from the CPU. Additionally, the DMA can be used in
circular mode, thus reducing the CPU load.
Injected conversion mode
Dual mode
Dual modes are available in STM32 microcontrollers that feature two
ADCs: ADC1 master and ADC2 slave. In some devices, there are up
to 3 ADCs: ADC1, ADC2 and ADC3. In this case ADC3 always
works independently and is not synchronized with the other ADCs.
This mode is intended for use when conversion is triggered by an external
event or by
software.
3 STM32's ADC.ppt

More Related Content

What's hot (20)

I2C Protocol
I2C ProtocolI2C Protocol
I2C Protocol
 
ARM - Advance RISC Machine
ARM - Advance RISC MachineARM - Advance RISC Machine
ARM - Advance RISC Machine
 
Serial Peripheral Interface
Serial Peripheral InterfaceSerial Peripheral Interface
Serial Peripheral Interface
 
I2C And SPI Part-23
I2C And  SPI Part-23I2C And  SPI Part-23
I2C And SPI Part-23
 
I2C Protocol
I2C ProtocolI2C Protocol
I2C Protocol
 
Serial peripheral Interface - Embedded System Protocol
Serial peripheral Interface - Embedded System ProtocolSerial peripheral Interface - Embedded System Protocol
Serial peripheral Interface - Embedded System Protocol
 
Uart
UartUart
Uart
 
I2 c protocol
I2 c protocolI2 c protocol
I2 c protocol
 
I2C
I2CI2C
I2C
 
Introduction to stm32-part2
Introduction to stm32-part2Introduction to stm32-part2
Introduction to stm32-part2
 
I2C Bus (Inter-Integrated Circuit)
I2C Bus (Inter-Integrated Circuit)I2C Bus (Inter-Integrated Circuit)
I2C Bus (Inter-Integrated Circuit)
 
Get it right the first time lpddr4 validation and compliance test
Get it right the first time lpddr4 validation and compliance testGet it right the first time lpddr4 validation and compliance test
Get it right the first time lpddr4 validation and compliance test
 
MICROCONTROLLER 8051- Architecture & Pin Configuration
MICROCONTROLLER 8051- Architecture & Pin Configuration MICROCONTROLLER 8051- Architecture & Pin Configuration
MICROCONTROLLER 8051- Architecture & Pin Configuration
 
8255 Programmable parallel I/O
8255 Programmable parallel I/O 8255 Programmable parallel I/O
8255 Programmable parallel I/O
 
UART
UARTUART
UART
 
Uart
UartUart
Uart
 
Lpc2148 i2c
Lpc2148 i2cLpc2148 i2c
Lpc2148 i2c
 
Communication protocols - Embedded Systems
Communication protocols - Embedded SystemsCommunication protocols - Embedded Systems
Communication protocols - Embedded Systems
 
UART
UARTUART
UART
 
ARM Exception and interrupts
ARM Exception and interrupts ARM Exception and interrupts
ARM Exception and interrupts
 

Similar to 3 STM32's ADC.ppt

Analog to digital converter
Analog to digital converterAnalog to digital converter
Analog to digital convertershrutishreya14
 
Architecture of Smart Sensors.ppt
Architecture of Smart Sensors.pptArchitecture of Smart Sensors.ppt
Architecture of Smart Sensors.pptmrunalinithanaraj
 
analog to digital converter.ppt
analog to digital converter.pptanalog to digital converter.ppt
analog to digital converter.pptDreamers6
 
Interfacing to the analog world
Interfacing to the analog worldInterfacing to the analog world
Interfacing to the analog worldIslam Samir
 
The iot academy_embeddedsystems_training_basicselectronicspart2
The iot academy_embeddedsystems_training_basicselectronicspart2The iot academy_embeddedsystems_training_basicselectronicspart2
The iot academy_embeddedsystems_training_basicselectronicspart2The IOT Academy
 
ADDA_Lecture_P1.ppt
ADDA_Lecture_P1.pptADDA_Lecture_P1.ppt
ADDA_Lecture_P1.pptssuserf2cc17
 
ADDA_Lecture_P1. digital techniques lecture
ADDA_Lecture_P1. digital techniques lectureADDA_Lecture_P1. digital techniques lecture
ADDA_Lecture_P1. digital techniques lectureSindhu Mani
 
ANALOG TO DIGITAL CONVERTOR
ANALOG TO DIGITAL CONVERTORANALOG TO DIGITAL CONVERTOR
ANALOG TO DIGITAL CONVERTORAnil Yadav
 
Analog to digital converter (ACD)
Analog to digital converter (ACD)Analog to digital converter (ACD)
Analog to digital converter (ACD)Luckysaw
 
86919253 data-acquisition-system-ppt
86919253 data-acquisition-system-ppt86919253 data-acquisition-system-ppt
86919253 data-acquisition-system-pptGovindaChandraBehera1
 
ELECTRICAL ENGINEERING PROJECT
ELECTRICAL ENGINEERING PROJECTELECTRICAL ENGINEERING PROJECT
ELECTRICAL ENGINEERING PROJECTvasav2204
 
electrical engineering project
electrical engineering projectelectrical engineering project
electrical engineering projectvasav2204
 
Sensors And Actuators
Sensors And ActuatorsSensors And Actuators
Sensors And ActuatorsJinesh Patel
 
UNIT 4 & 5 - I nterfacing_Lecture7.pptx
UNIT 4 & 5 - I         nterfacing_Lecture7.pptxUNIT 4 & 5 - I         nterfacing_Lecture7.pptx
UNIT 4 & 5 - I nterfacing_Lecture7.pptxnaveen088888
 

Similar to 3 STM32's ADC.ppt (20)

Analog to digital converter
Analog to digital converterAnalog to digital converter
Analog to digital converter
 
Analog to digital converters, adc
Analog to digital converters, adcAnalog to digital converters, adc
Analog to digital converters, adc
 
Architecture of Smart Sensors.ppt
Architecture of Smart Sensors.pptArchitecture of Smart Sensors.ppt
Architecture of Smart Sensors.ppt
 
analog to digital converter.ppt
analog to digital converter.pptanalog to digital converter.ppt
analog to digital converter.ppt
 
ADC & DAC
ADC & DACADC & DAC
ADC & DAC
 
Interfacing to the analog world
Interfacing to the analog worldInterfacing to the analog world
Interfacing to the analog world
 
The iot academy_embeddedsystems_training_basicselectronicspart2
The iot academy_embeddedsystems_training_basicselectronicspart2The iot academy_embeddedsystems_training_basicselectronicspart2
The iot academy_embeddedsystems_training_basicselectronicspart2
 
ADDA_Lecture_P1.ppt
ADDA_Lecture_P1.pptADDA_Lecture_P1.ppt
ADDA_Lecture_P1.ppt
 
ADDA_Lecture_P1. digital techniques lecture
ADDA_Lecture_P1. digital techniques lectureADDA_Lecture_P1. digital techniques lecture
ADDA_Lecture_P1. digital techniques lecture
 
ANALOG TO DIGITAL CONVERTOR
ANALOG TO DIGITAL CONVERTORANALOG TO DIGITAL CONVERTOR
ANALOG TO DIGITAL CONVERTOR
 
Analog to digital converter (ACD)
Analog to digital converter (ACD)Analog to digital converter (ACD)
Analog to digital converter (ACD)
 
Adc &dac ppt
Adc &dac pptAdc &dac ppt
Adc &dac ppt
 
Ad and da convertor
Ad and da convertorAd and da convertor
Ad and da convertor
 
Ad and da convertor
Ad and da convertorAd and da convertor
Ad and da convertor
 
86919253 data-acquisition-system-ppt
86919253 data-acquisition-system-ppt86919253 data-acquisition-system-ppt
86919253 data-acquisition-system-ppt
 
ELECTRICAL ENGINEERING PROJECT
ELECTRICAL ENGINEERING PROJECTELECTRICAL ENGINEERING PROJECT
ELECTRICAL ENGINEERING PROJECT
 
electrical engineering project
electrical engineering projectelectrical engineering project
electrical engineering project
 
Sensors And Actuators
Sensors And ActuatorsSensors And Actuators
Sensors And Actuators
 
R2 r dac
R2 r dacR2 r dac
R2 r dac
 
UNIT 4 & 5 - I nterfacing_Lecture7.pptx
UNIT 4 & 5 - I         nterfacing_Lecture7.pptxUNIT 4 & 5 - I         nterfacing_Lecture7.pptx
UNIT 4 & 5 - I nterfacing_Lecture7.pptx
 

More from MdRayhanTanvir

Lesson 7 Switching Power Supply (Lecture 4).ppt
Lesson 7 Switching Power Supply (Lecture 4).pptLesson 7 Switching Power Supply (Lecture 4).ppt
Lesson 7 Switching Power Supply (Lecture 4).pptMdRayhanTanvir
 
Lesson 4 Operational Amplifiers (Lecture 2).ppt
Lesson 4 Operational Amplifiers (Lecture 2).pptLesson 4 Operational Amplifiers (Lecture 2).ppt
Lesson 4 Operational Amplifiers (Lecture 2).pptMdRayhanTanvir
 
Lesson 3 Microprocessors (Lecture 2).ppt
Lesson 3 Microprocessors (Lecture 2).pptLesson 3 Microprocessors (Lecture 2).ppt
Lesson 3 Microprocessors (Lecture 2).pptMdRayhanTanvir
 
Lesson 11 The mobile telephone system (II) (Lecture 6).ppt
Lesson 11 The mobile telephone system (II) (Lecture 6).pptLesson 11 The mobile telephone system (II) (Lecture 6).ppt
Lesson 11 The mobile telephone system (II) (Lecture 6).pptMdRayhanTanvir
 
Lesson 10 The mobile telephone system (I) (Lecture 5).ppt
Lesson 10 The mobile telephone system (I) (Lecture 5).pptLesson 10 The mobile telephone system (I) (Lecture 5).ppt
Lesson 10 The mobile telephone system (I) (Lecture 5).pptMdRayhanTanvir
 
Lesson 28 Signal Sources (Lecture 14).ppt
Lesson 28 Signal Sources (Lecture 14).pptLesson 28 Signal Sources (Lecture 14).ppt
Lesson 28 Signal Sources (Lecture 14).pptMdRayhanTanvir
 
Lesson 27 Choosing a Real-Time Operating System.ppt
Lesson 27 Choosing a Real-Time Operating System.pptLesson 27 Choosing a Real-Time Operating System.ppt
Lesson 27 Choosing a Real-Time Operating System.pptMdRayhanTanvir
 
Lesson 6 Analog to Digital Converters (Lecture 3).ppt
Lesson 6 Analog to Digital Converters (Lecture 3).pptLesson 6 Analog to Digital Converters (Lecture 3).ppt
Lesson 6 Analog to Digital Converters (Lecture 3).pptMdRayhanTanvir
 
Lesson 5 Low-pass Filters (Lecture 3).ppt
Lesson 5 Low-pass Filters (Lecture 3).pptLesson 5 Low-pass Filters (Lecture 3).ppt
Lesson 5 Low-pass Filters (Lecture 3).pptMdRayhanTanvir
 
Lesson 2 Memory Devices.ppt
Lesson 2 Memory Devices.pptLesson 2 Memory Devices.ppt
Lesson 2 Memory Devices.pptMdRayhanTanvir
 
Lesson 1 VLSI Technology.ppt
Lesson 1 VLSI Technology.pptLesson 1 VLSI Technology.ppt
Lesson 1 VLSI Technology.pptMdRayhanTanvir
 
2 STM32's Interrupts.pptx
2 STM32's Interrupts.pptx2 STM32's Interrupts.pptx
2 STM32's Interrupts.pptxMdRayhanTanvir
 

More from MdRayhanTanvir (16)

Lesson 7 Switching Power Supply (Lecture 4).ppt
Lesson 7 Switching Power Supply (Lecture 4).pptLesson 7 Switching Power Supply (Lecture 4).ppt
Lesson 7 Switching Power Supply (Lecture 4).ppt
 
Lesson 4 Operational Amplifiers (Lecture 2).ppt
Lesson 4 Operational Amplifiers (Lecture 2).pptLesson 4 Operational Amplifiers (Lecture 2).ppt
Lesson 4 Operational Amplifiers (Lecture 2).ppt
 
Lesson 3 Microprocessors (Lecture 2).ppt
Lesson 3 Microprocessors (Lecture 2).pptLesson 3 Microprocessors (Lecture 2).ppt
Lesson 3 Microprocessors (Lecture 2).ppt
 
Lesson 11 The mobile telephone system (II) (Lecture 6).ppt
Lesson 11 The mobile telephone system (II) (Lecture 6).pptLesson 11 The mobile telephone system (II) (Lecture 6).ppt
Lesson 11 The mobile telephone system (II) (Lecture 6).ppt
 
Lesson 10 The mobile telephone system (I) (Lecture 5).ppt
Lesson 10 The mobile telephone system (I) (Lecture 5).pptLesson 10 The mobile telephone system (I) (Lecture 5).ppt
Lesson 10 The mobile telephone system (I) (Lecture 5).ppt
 
Lesson 28 Signal Sources (Lecture 14).ppt
Lesson 28 Signal Sources (Lecture 14).pptLesson 28 Signal Sources (Lecture 14).ppt
Lesson 28 Signal Sources (Lecture 14).ppt
 
Lesson 27 Choosing a Real-Time Operating System.ppt
Lesson 27 Choosing a Real-Time Operating System.pptLesson 27 Choosing a Real-Time Operating System.ppt
Lesson 27 Choosing a Real-Time Operating System.ppt
 
Lesson 6 Analog to Digital Converters (Lecture 3).ppt
Lesson 6 Analog to Digital Converters (Lecture 3).pptLesson 6 Analog to Digital Converters (Lecture 3).ppt
Lesson 6 Analog to Digital Converters (Lecture 3).ppt
 
Lesson 5 Low-pass Filters (Lecture 3).ppt
Lesson 5 Low-pass Filters (Lecture 3).pptLesson 5 Low-pass Filters (Lecture 3).ppt
Lesson 5 Low-pass Filters (Lecture 3).ppt
 
Lesson 2 Memory Devices.ppt
Lesson 2 Memory Devices.pptLesson 2 Memory Devices.ppt
Lesson 2 Memory Devices.ppt
 
Lesson 1 VLSI Technology.ppt
Lesson 1 VLSI Technology.pptLesson 1 VLSI Technology.ppt
Lesson 1 VLSI Technology.ppt
 
5 STM32's TIMER.ppt
5 STM32's TIMER.ppt5 STM32's TIMER.ppt
5 STM32's TIMER.ppt
 
2 STM32's Interrupts.pptx
2 STM32's Interrupts.pptx2 STM32's Interrupts.pptx
2 STM32's Interrupts.pptx
 
4 STM32's SysTick.ppt
4 STM32's SysTick.ppt4 STM32's SysTick.ppt
4 STM32's SysTick.ppt
 
6 STM32's USART.ppt
6 STM32's USART.ppt6 STM32's USART.ppt
6 STM32's USART.ppt
 
1 STM32's DMA.ppt
1 STM32's DMA.ppt1 STM32's DMA.ppt
1 STM32's DMA.ppt
 

Recently uploaded

SPICE PARK APR2024 ( 6,793 SPICE Models )
SPICE PARK APR2024 ( 6,793 SPICE Models )SPICE PARK APR2024 ( 6,793 SPICE Models )
SPICE PARK APR2024 ( 6,793 SPICE Models )Tsuyoshi Horigome
 
High Profile Call Girls Nagpur Meera Call 7001035870 Meet With Nagpur Escorts
High Profile Call Girls Nagpur Meera Call 7001035870 Meet With Nagpur EscortsHigh Profile Call Girls Nagpur Meera Call 7001035870 Meet With Nagpur Escorts
High Profile Call Girls Nagpur Meera Call 7001035870 Meet With Nagpur EscortsCall Girls in Nagpur High Profile
 
(MEERA) Dapodi Call Girls Just Call 7001035870 [ Cash on Delivery ] Pune Escorts
(MEERA) Dapodi Call Girls Just Call 7001035870 [ Cash on Delivery ] Pune Escorts(MEERA) Dapodi Call Girls Just Call 7001035870 [ Cash on Delivery ] Pune Escorts
(MEERA) Dapodi Call Girls Just Call 7001035870 [ Cash on Delivery ] Pune Escortsranjana rawat
 
Gfe Mayur Vihar Call Girls Service WhatsApp -> 9999965857 Available 24x7 ^ De...
Gfe Mayur Vihar Call Girls Service WhatsApp -> 9999965857 Available 24x7 ^ De...Gfe Mayur Vihar Call Girls Service WhatsApp -> 9999965857 Available 24x7 ^ De...
Gfe Mayur Vihar Call Girls Service WhatsApp -> 9999965857 Available 24x7 ^ De...srsj9000
 
What are the advantages and disadvantages of membrane structures.pptx
What are the advantages and disadvantages of membrane structures.pptxWhat are the advantages and disadvantages of membrane structures.pptx
What are the advantages and disadvantages of membrane structures.pptxwendy cai
 
Application of Residue Theorem to evaluate real integrations.pptx
Application of Residue Theorem to evaluate real integrations.pptxApplication of Residue Theorem to evaluate real integrations.pptx
Application of Residue Theorem to evaluate real integrations.pptx959SahilShah
 
VIP Call Girls Service Kondapur Hyderabad Call +91-8250192130
VIP Call Girls Service Kondapur Hyderabad Call +91-8250192130VIP Call Girls Service Kondapur Hyderabad Call +91-8250192130
VIP Call Girls Service Kondapur Hyderabad Call +91-8250192130Suhani Kapoor
 
OSVC_Meta-Data based Simulation Automation to overcome Verification Challenge...
OSVC_Meta-Data based Simulation Automation to overcome Verification Challenge...OSVC_Meta-Data based Simulation Automation to overcome Verification Challenge...
OSVC_Meta-Data based Simulation Automation to overcome Verification Challenge...Soham Mondal
 
High Profile Call Girls Nagpur Isha Call 7001035870 Meet With Nagpur Escorts
High Profile Call Girls Nagpur Isha Call 7001035870 Meet With Nagpur EscortsHigh Profile Call Girls Nagpur Isha Call 7001035870 Meet With Nagpur Escorts
High Profile Call Girls Nagpur Isha Call 7001035870 Meet With Nagpur Escortsranjana rawat
 
Heart Disease Prediction using machine learning.pptx
Heart Disease Prediction using machine learning.pptxHeart Disease Prediction using machine learning.pptx
Heart Disease Prediction using machine learning.pptxPoojaBan
 
Past, Present and Future of Generative AI
Past, Present and Future of Generative AIPast, Present and Future of Generative AI
Past, Present and Future of Generative AIabhishek36461
 
CCS355 Neural Network & Deep Learning UNIT III notes and Question bank .pdf
CCS355 Neural Network & Deep Learning UNIT III notes and Question bank .pdfCCS355 Neural Network & Deep Learning UNIT III notes and Question bank .pdf
CCS355 Neural Network & Deep Learning UNIT III notes and Question bank .pdfAsst.prof M.Gokilavani
 
Biology for Computer Engineers Course Handout.pptx
Biology for Computer Engineers Course Handout.pptxBiology for Computer Engineers Course Handout.pptx
Biology for Computer Engineers Course Handout.pptxDeepakSakkari2
 
Oxy acetylene welding presentation note.
Oxy acetylene welding presentation note.Oxy acetylene welding presentation note.
Oxy acetylene welding presentation note.eptoze12
 
HARMONY IN THE HUMAN BEING - Unit-II UHV-2
HARMONY IN THE HUMAN BEING - Unit-II UHV-2HARMONY IN THE HUMAN BEING - Unit-II UHV-2
HARMONY IN THE HUMAN BEING - Unit-II UHV-2RajaP95
 
VICTOR MAESTRE RAMIREZ - Planetary Defender on NASA's Double Asteroid Redirec...
VICTOR MAESTRE RAMIREZ - Planetary Defender on NASA's Double Asteroid Redirec...VICTOR MAESTRE RAMIREZ - Planetary Defender on NASA's Double Asteroid Redirec...
VICTOR MAESTRE RAMIREZ - Planetary Defender on NASA's Double Asteroid Redirec...VICTOR MAESTRE RAMIREZ
 

Recently uploaded (20)

SPICE PARK APR2024 ( 6,793 SPICE Models )
SPICE PARK APR2024 ( 6,793 SPICE Models )SPICE PARK APR2024 ( 6,793 SPICE Models )
SPICE PARK APR2024 ( 6,793 SPICE Models )
 
High Profile Call Girls Nagpur Meera Call 7001035870 Meet With Nagpur Escorts
High Profile Call Girls Nagpur Meera Call 7001035870 Meet With Nagpur EscortsHigh Profile Call Girls Nagpur Meera Call 7001035870 Meet With Nagpur Escorts
High Profile Call Girls Nagpur Meera Call 7001035870 Meet With Nagpur Escorts
 
★ CALL US 9953330565 ( HOT Young Call Girls In Badarpur delhi NCR
★ CALL US 9953330565 ( HOT Young Call Girls In Badarpur delhi NCR★ CALL US 9953330565 ( HOT Young Call Girls In Badarpur delhi NCR
★ CALL US 9953330565 ( HOT Young Call Girls In Badarpur delhi NCR
 
🔝9953056974🔝!!-YOUNG call girls in Rajendra Nagar Escort rvice Shot 2000 nigh...
🔝9953056974🔝!!-YOUNG call girls in Rajendra Nagar Escort rvice Shot 2000 nigh...🔝9953056974🔝!!-YOUNG call girls in Rajendra Nagar Escort rvice Shot 2000 nigh...
🔝9953056974🔝!!-YOUNG call girls in Rajendra Nagar Escort rvice Shot 2000 nigh...
 
9953056974 Call Girls In South Ex, Escorts (Delhi) NCR.pdf
9953056974 Call Girls In South Ex, Escorts (Delhi) NCR.pdf9953056974 Call Girls In South Ex, Escorts (Delhi) NCR.pdf
9953056974 Call Girls In South Ex, Escorts (Delhi) NCR.pdf
 
(MEERA) Dapodi Call Girls Just Call 7001035870 [ Cash on Delivery ] Pune Escorts
(MEERA) Dapodi Call Girls Just Call 7001035870 [ Cash on Delivery ] Pune Escorts(MEERA) Dapodi Call Girls Just Call 7001035870 [ Cash on Delivery ] Pune Escorts
(MEERA) Dapodi Call Girls Just Call 7001035870 [ Cash on Delivery ] Pune Escorts
 
Gfe Mayur Vihar Call Girls Service WhatsApp -> 9999965857 Available 24x7 ^ De...
Gfe Mayur Vihar Call Girls Service WhatsApp -> 9999965857 Available 24x7 ^ De...Gfe Mayur Vihar Call Girls Service WhatsApp -> 9999965857 Available 24x7 ^ De...
Gfe Mayur Vihar Call Girls Service WhatsApp -> 9999965857 Available 24x7 ^ De...
 
What are the advantages and disadvantages of membrane structures.pptx
What are the advantages and disadvantages of membrane structures.pptxWhat are the advantages and disadvantages of membrane structures.pptx
What are the advantages and disadvantages of membrane structures.pptx
 
Application of Residue Theorem to evaluate real integrations.pptx
Application of Residue Theorem to evaluate real integrations.pptxApplication of Residue Theorem to evaluate real integrations.pptx
Application of Residue Theorem to evaluate real integrations.pptx
 
VIP Call Girls Service Kondapur Hyderabad Call +91-8250192130
VIP Call Girls Service Kondapur Hyderabad Call +91-8250192130VIP Call Girls Service Kondapur Hyderabad Call +91-8250192130
VIP Call Girls Service Kondapur Hyderabad Call +91-8250192130
 
OSVC_Meta-Data based Simulation Automation to overcome Verification Challenge...
OSVC_Meta-Data based Simulation Automation to overcome Verification Challenge...OSVC_Meta-Data based Simulation Automation to overcome Verification Challenge...
OSVC_Meta-Data based Simulation Automation to overcome Verification Challenge...
 
High Profile Call Girls Nagpur Isha Call 7001035870 Meet With Nagpur Escorts
High Profile Call Girls Nagpur Isha Call 7001035870 Meet With Nagpur EscortsHigh Profile Call Girls Nagpur Isha Call 7001035870 Meet With Nagpur Escorts
High Profile Call Girls Nagpur Isha Call 7001035870 Meet With Nagpur Escorts
 
Heart Disease Prediction using machine learning.pptx
Heart Disease Prediction using machine learning.pptxHeart Disease Prediction using machine learning.pptx
Heart Disease Prediction using machine learning.pptx
 
Past, Present and Future of Generative AI
Past, Present and Future of Generative AIPast, Present and Future of Generative AI
Past, Present and Future of Generative AI
 
CCS355 Neural Network & Deep Learning UNIT III notes and Question bank .pdf
CCS355 Neural Network & Deep Learning UNIT III notes and Question bank .pdfCCS355 Neural Network & Deep Learning UNIT III notes and Question bank .pdf
CCS355 Neural Network & Deep Learning UNIT III notes and Question bank .pdf
 
young call girls in Rajiv Chowk🔝 9953056974 🔝 Delhi escort Service
young call girls in Rajiv Chowk🔝 9953056974 🔝 Delhi escort Serviceyoung call girls in Rajiv Chowk🔝 9953056974 🔝 Delhi escort Service
young call girls in Rajiv Chowk🔝 9953056974 🔝 Delhi escort Service
 
Biology for Computer Engineers Course Handout.pptx
Biology for Computer Engineers Course Handout.pptxBiology for Computer Engineers Course Handout.pptx
Biology for Computer Engineers Course Handout.pptx
 
Oxy acetylene welding presentation note.
Oxy acetylene welding presentation note.Oxy acetylene welding presentation note.
Oxy acetylene welding presentation note.
 
HARMONY IN THE HUMAN BEING - Unit-II UHV-2
HARMONY IN THE HUMAN BEING - Unit-II UHV-2HARMONY IN THE HUMAN BEING - Unit-II UHV-2
HARMONY IN THE HUMAN BEING - Unit-II UHV-2
 
VICTOR MAESTRE RAMIREZ - Planetary Defender on NASA's Double Asteroid Redirec...
VICTOR MAESTRE RAMIREZ - Planetary Defender on NASA's Double Asteroid Redirec...VICTOR MAESTRE RAMIREZ - Planetary Defender on NASA's Double Asteroid Redirec...
VICTOR MAESTRE RAMIREZ - Planetary Defender on NASA's Double Asteroid Redirec...
 

3 STM32's ADC.ppt

  • 2. Directory The main content of this topic:  7.1 ADC Fundamentals  7.2 STM32’s ADC
  • 3. Introduction Electric vehicle speed control system, how does this speed value come from?
  • 5. 7.1 Fundamentals of ADC  ADC (Analog to Digital Converter) is a device that converts a continuous variable analog signal to a discrete digital signal.  Analog signal means (1) Continuous change over time. (2) Countless value.
  • 6. Applications •Audio  – Speech recognition  – Special effects (reverb, noise cancellation etc) •Video  – Filtering  – Special effects  – Compression •Data logging A data logger (also datalogger or data recorder) is an electronic device that records data over time or in relation to location either with a built in instrument or sensor or via external instruments and sensors.
  • 7. 7.2 STM32’s ADC The STM32F103xx family microcontrollers are divided into three groups:  Low-density: The STM32F103x4 and STM32F103x6 are Low-density devices.  Medium-density: The STM32F103x8 and STM32F103xB are Medium-density devices. High-density: The STM32F103xC, STM32F103xD and STM32F103xE are High- density devices.
  • 9. 7.2 STM32 ADC  STM32F103RC has 3 ADC (the STM32F101/102 series has only 1 ADC), which can be used independently or in dual mode (increasing the sampling rate).  STM32 ADC is a 12-bit successive approximation analog digital converter. It has 21 channels to measure 19 of external signal & 2 of internal signal sources.  A/D conversion of each channel can be performed in a single, continuous, scan or injected mode.  The results of ADC can be left-aligned or right-aligned stored in 16-bit data registers. High Density Group
  • 10. Successive Approximation  A successive approximation ADC is a type of analog-to-digital converter that converts a continuous analog waveform into a discrete digital representation via a binary search through all possible quantization levels before finally converging upon a digital output for each conversion. DAC = digital-to-analog converter EOC = end of conversion SAR = successive approximation register S/H = sample and hold circuit Vin = input voltage Vref = reference voltage Comparator
  • 11. Quantization  Quantization, in digital signal processing, is the process of mapping input values from a large set (often a continuous set) to output values in a (countable) smaller set.
  • 12. Sample and Hold circuit  In electronics, a sample and hold (S/H, also "follow- and-hold") circuit is an analog device that samples (captures, grabs) the voltage of a continuously varying analog signal and holds (locks, freezes) its value at a constant level for a specified minimum period of time.
  • 13. Different Mode of Operation  Independent Modes  Single-channel - single conversion mode - continuous conversion mode  Multichannel (Scan) - single conversion mode - continuous conversion mode  Injected conversion mode  Dual Modes - Dual Regular Simultaneous Mode
  • 15. Multichannel (scan) The continuous mode feature allows the ADC to work in the background. The ADC converts the channels continuously without any intervention from the CPU. Additionally, the DMA can be used in circular mode, thus reducing the CPU load.
  • 16. Injected conversion mode Dual mode Dual modes are available in STM32 microcontrollers that feature two ADCs: ADC1 master and ADC2 slave. In some devices, there are up to 3 ADCs: ADC1, ADC2 and ADC3. In this case ADC3 always works independently and is not synchronized with the other ADCs. This mode is intended for use when conversion is triggered by an external event or by software.

Editor's Notes

  1. Sensors in the sensing of the gas, the internal sensitive elements of the resistance will change, resulting in a change in the size of the output voltage. If your application is to measure the concentration of the detected gas, it must go through A/D conversion.