| công cụ tìm kiếm bảng dữ liệu linh kiện điện tử |
|
AN3248 bảng dữ liệu(PDF) 15 Page - STMicroelectronics |
|
|
|||||||||||||||||||||||||||||
AN3248 bảng dữ liệu(HTML) 15 Page - STMicroelectronics |
|
15 / 17 page ![]() AN3248 Brightness control using a light dependent resistor (LDR) Doc ID 17758 Rev 3 15/17 The top part of Figure 13 shows the evolution of VIN as a function of light variation. The selected threshold (COMP2 inverting input) defines the limit of dark/light. The bottom part of Figure 13 shows that COMP2 output (CMP2OUT) level depends on VIN and consequently on light intensity. Using EXTI line 22 (which is internally connected to CMP2OUT), the microcontroller can detect the CMP2OUT level switch (from a high level to a low level or vice versa). Figure 13. Comparator output behavior versus light intensity The LDR resistor can be used in other microcontroller-based applications rather than darkness control (for example: DC relay control and AutoFocus). For other uses of analog comparators using LDR resistors, refer to the STM32L152-EVAL (for STM32L1xx Ultra Low Power Medium-density devices) or to STM32L152D-EVAL (for STM32L1xx Ultra Low Power High-density devices) demonstration firmware. In this demonstration, the LCD glass contrast is adjusted according to the luminosity detected using the LDR resistor. Threshold Time Time Low level High level Dark Light Light VIN > threshold VIN < threshold VIN Microcontroller enters Low power mode Microcontroller exits Low power mode CMP2OUT EXTI22 ai18729 |
|
|
Link URL |
| Cho đến nay ALLDATASHEET có giúp ích cho doanh nghiệp của bạn hay không? [ DONATE ] |
Alldatasheet là | Quảng cáo | Liên lạc với chúng tôi | Chính sách bảo mật | Liên kết đến bảng dữ liệu | Trao đổi link | Tìm kiếm theo nhà sản xuất All Rights Reserved©Alldatasheet.com |
| 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 |