Creating an Oscillating Fan Using Simulink and Arduino
Learn how to use Simulink and Stateflow to build an Arduino based oscillating fan. The setup includes a potentiometer to control fan speed and pushbuttons to control whether the fan is stationary or in oscillation mode. The control algorithms for the fan are mainly implemented in Stateflow.
Hardware Used:
Arduino Mega LEDs (2)
Servo Motor IRF510 MOSFET
Coreless Motor 10k Ohm Potentiometer
Pushbuttons (2) 1k Ohm Resistors (6)
USB A to B cable
https://www.youtube.com/watch?v=Ho-R4CJAyi4
Zitieren als
Madhu Govindarajan (2024). Creating an Oscillating Fan Using Simulink and Arduino (https://www.mathworks.com/matlabcentral/fileexchange/58440-creating-an-oscillating-fan-using-simulink-and-arduino), MATLAB Central File Exchange. Abgerufen.
Kompatibilität der MATLAB-Version
Plattform-Kompatibilität
Windows macOS LinuxKategorien
Tags
Communitys
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!Live Editor erkunden
Erstellen Sie Skripte mit Code, Ausgabe und formatiertem Text in einem einzigen ausführbaren Dokument.
Oscillating_Fan_Demo/
Version | Veröffentlicht | Versionshinweise | |
---|---|---|---|
1.0.0.0 | Added link to a YouTube video on the description |