DC Motor code and wiring with arduino uno

조회 수: 24 (최근 30일)
Andrew Hatcher
Andrew Hatcher 2019년 10월 8일
답변: Priyanshu Mishra 2019년 10월 11일
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