DC Motor code and wiring with arduino uno

20 visualizaciones (últimos 30 días)
Andrew Hatcher
Andrew Hatcher el 8 de Oct. de 2019
Respondida: Priyanshu Mishra el 11 de Oct. de 2019
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.

Respuestas (1)

Priyanshu Mishra
Priyanshu Mishra el 11 de Oct. de 2019
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.

Categorías

Más información sobre Arduino Hardware en Help Center y File Exchange.

Community Treasure Hunt

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

Start Hunting!

Translated by