Each of these selectable working modes are listed and explained below. Its progression is displayed on the OLED before finally starting the main code and one of the working modes. This sequence sends incrementing values of PWM to the fan, up to a ratio of 20:100 (20%). This will be used in the stoppage detection fanJamCheck() function during operation. The code then runs through a start up sequence which will first test the fan to find its minimum speed value. The delay can be defined in code by modifying the variable spinDownDelay. The delay needed can depend on how easily a fan spins and its momentum. On power up or reset, the unit waits some seconds for any still spinning fan to settle to a stop. Anyway my code can be easily corrected, modified and improved on to each one's satisfaction. No doubt there are other programming methods to achieve what is desired. From a simple temperature tracking fan speed utility it quickly avalanched into this customisable version. This code was built up, on the fly as needed. To upload code to the microcontroller memory, at least initially, until you burn a bootloader if you prefer. Be aware that you will also need to familiarise yourself with the ICSP port. You should be equipped and proficient with SMD project construction.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |