Electronic Components Datasheet Search
  English  ▼
ALLDATASHEET.NET

X  

AN4112 Datasheet(PDF) 4 Page - STMicroelectronics

Part # AN4112
Description  Using STM32F05xx analog comparators in application cases
PDF  17 Pages
Scroll/Zoom Zoom In 100%  Zoom Out
Manufacturer  STMICROELECTRONICS [STMicroelectronics]
Direct Link  http://www.st.com
Logo STMICROELECTRONICS - STMicroelectronics

AN4112 Datasheet(HTML) 4 Page - STMicroelectronics

  AN4112 Datasheet HTML 1Page - STMicroelectronics AN4112 Datasheet HTML 2Page - STMicroelectronics AN4112 Datasheet HTML 3Page - STMicroelectronics AN4112 Datasheet HTML 4Page - STMicroelectronics AN4112 Datasheet HTML 5Page - STMicroelectronics AN4112 Datasheet HTML 6Page - STMicroelectronics AN4112 Datasheet HTML 7Page - STMicroelectronics AN4112 Datasheet HTML 8Page - STMicroelectronics AN4112 Datasheet HTML 9Page - STMicroelectronics Next Button
Zoom Inzoom in Zoom Outzoom out
 4 / 17 page
background image
Analog voltage monitoring
AN4112
4/17
Doc ID 023195 Rev 1
1
Analog voltage monitoring
The STM32F05xx devices embed a 12-bit analog-to-digital converter (ADC) which is very
fast with a sampling rate of 1 Msample/s. However, with a 1.5 mA typical consumption, it can
jeopardize battery life time if left powered-on continuously. It is therefore recommended to
use analog comparators in application cases where the analog input voltage (sensor output)
needs to be measured as soon as a pre-defined threshold is exceeded.
In the STM32F05xx devices, analog comparators are useful for monitoring the analog input
voltage and powering-on the ADC when required. While monitoring the analog voltage, the
device can enter Stop mode at the same time that both comparators are still powered on.
Consequently, better consumption is achieved and power is saved.
Note:
Analog comparators are powered by the internal reference voltage, VREFINT, which is still
powered-on in Stop mode. Once VREFINT is disabled, the comparators can no longer be
used.
In an analog voltage monitoring application, where the sensor output voltage is lower than
the threshold, the MCU remains in Stop mode, thereby saving power. As soon as the sensor
output exceeds the threshold, the MCU is woken up, the ADC is powered on and the analog
input voltage is measured. When the sensor output is under the threshold, the MCU re-
enters Stop mode.
The average power consumption is dramatically reduced when compared with an
application that continuously measures the analog voltage whatever the input value.
Figure 1 shows how to connect a sensor output (temperature sensor, pressure sensor,
pyroelectric infrared detector, photodiode sensor) to an STM32F05xx device in an analog
voltage monitoring application using comparator 2 (COMP2). COMP2 monitors the analog
voltage in Stop mode while the ADC measures it in Run mode.
Figure 1.
Sensor output connection to COMP2
1.
ADC_CH1: AC channel 1
COMP2_INP: comparator 2 non-inverting input
2.
Only if required.



Html Pages

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17


Datasheet Download

Go To PDF Page


Link URL



Does ALLDATASHEET help your business so far?  [ DONATE ] 

About Alldatasheet   |   Advertisement   |   Contact us   |   Privacy Policy   |   Link to Datasheet    |   Link Exchange   |   Manufacturer List
All Rights Reserved©Alldatasheet.com


Mirror Sites
English : Alldatasheet.com  |   English : Alldatasheet.net  |   Chinese : Alldatasheetcn.com  |   German : Alldatasheetde.com  |   Japanese : Alldatasheet.jp
Russian : Alldatasheetru.com  |   Korean : Alldatasheet.co.kr  |   Spanish : Alldatasheet.es  |   French : Alldatasheet.fr  |   Italian : Alldatasheetit.com
Portuguese : Alldatasheetpt.com  |   Polish : Alldatasheet.pl  |   Vietnamese : Alldatasheet.vn
Indian : Alldatasheet.in  |   Mexican : Alldatasheet.com.mx  |   British : Alldatasheet.co.uk  |   New Zealand : Alldatasheet.co.nz
Family Site : ic2ic.com  |   icmetro.com