Creating an Oscillating Fan Using Simulink and Arduino
The setup includes a potentiometer to control fan speed and push buttons to control whether the fan is stationary or in oscillation mode. The control algorithms for the fan are mainly implemented in Stateflow®.
Published: 15 Aug 2016