| Electronic Components Datasheet Search |
|
AN2680 Datasheet(PDF) 9 Page - STMicroelectronics |
|
|
|||||||||||||||||||||||||||||
AN2680 Datasheet(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 |
|
|
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 |
| 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 |