DC Motor code and wiring with arduino uno

26 次查看(过去 30 天)
Hello All,
I am working on a class project and trying to turn a DC motor on using an arduino uno and matlab code. I researched online trying to find a wiring diagram and some code to go with it but all seem to either have an external battery or use a gui. Overall in the class project we are try to treat the dc motor as a fan and turn it on when our temperature sensor reaches above a specified temp.

回答(1 个)

Priyanshu Mishra
Priyanshu Mishra 2019-10-11
Hi Andrew,
As I understand, you want to make a temperature-controlled fan. So, to control DC motor using the MATLAB and Arduino, you need to install the hardware support package- MATLAB Support package for Arduino Hardware.
For information on controlling motor using MATLAB and Arduino, I would suggest you to go through the following link.

类别

Help CenterFile Exchange 中查找有关 Arduino Hardware 的更多信息

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by