| 数据搜索系统,热门电子元器件搜索 |
|
AN2680 数据表(PDF) 9 Page - STMicroelectronics |
|
|
|||||||||||||||||||||||||||||
AN2680 数据表(HTML) 9 Page - STMicroelectronics |
|
9 / 15 page ![]() AN2680 Software flow 9/15 4 Software flow The software architecture of the system demonstrates the flow of control of the fan speed on the basis of digital temperature sensed. Figure 4 shows the flow chart of the MCU firmware for the system. Figure 4. Software flow diagram for fan control 4.1 Description of fan control logic For fan control logic, the microcontroller monitors the temperature continuously and changes accordingly the duty cycle of the PWM output signal controlling the fan. Firstly the system is initialized and temperature is measured. This measured temperature is compared with the threshold value (Tos) set in the oversaturation register (29 degrees Celsius). If the measured temperature is greater than this value, then the fan is switched ON and the temperature is monitored again. The duty cycle of the PWM signal is changed from Initialize the I 2C communication Configure the Temperature Sensor Device Measure the temperature (T) T > = Tos No Switch ON the Fan and ramp up the speed with temperature Yes Switch of the Fan T > = Tmax Run Fan at maximum Speed Yes No Power up the system |
|
|
链接网址 |
| ALLDATASHEET是否为您带来帮助? [ DONATE ] |
关于 Alldatasheet | 广告服务 | 联系我们 | 隐私政策 | 数据表链接 | 链接交换 | 制造商名单 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 |