Azzera filtri
Azzera filtri

DC Motor code and wiring with arduino uno

3 visualizzazioni (ultimi 30 giorni)
Andrew Hatcher
Andrew Hatcher il 8 Ott 2019
Risposto: Priyanshu Mishra il 11 Ott 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.

Risposte (1)

Priyanshu Mishra
Priyanshu Mishra il 11 Ott 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.

Categorie

Scopri di più su Arduino Hardware in Help Center e File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by