Sunday, October 11, 2015

Fan Speed Controller



Algorithm
  1. 1.     START
  2. 2.     Check for speed switch
  3. 3.     Run fan with selected speed, Display LED ‘ON’
  4. 4.     Check for mode switch
  5. 5.     If mode switch is off, then step 2
  6. 6.     Reset internal timer and Start internal timer
  7. 7.     If timer not set, then step 6
  8. 8.     Check for time switch
  9. 9.     If timer less than time switch, then step 7
  10. 10.                         Decrease speed level to next lower level
  11. 11.                         If speed level not equal to level zero, then step 4
  12. 12.                         Stop fan, Display LED ‘OFF’
  13. 13.                         STOP

No comments:

Post a Comment