Professional Documents
Culture Documents
T21260 - Arduino - Simulink Project
T21260 - Arduino - Simulink Project
2. Motivation
Control practices such as controlling motors actuators relays and other appliances is
an important factor for automation process in industry. So, we need the efficient
technology for these control practices.
MATLAB and Simulink are the most efficient tool for the model generation and
deployment to the Arduino microcontroller by using MATLAB and Simulink package
for Arduino hardware.
3.Literature Review
By the literature review we learn to solve the problem of Arduino interfacing with
Simulink and model deployment. These are the key points that we learn in literature
review.
• Installation of Arduino Hardware Support
package
• Hardware Settings and configuration
• Building the Simulink Model
• Running and deploying the model
standalone in Arduino Hardware
Reference: Introduction to Interfacing Arduino Hardware And MATLAB®- Simulink® Created by: Martha
Nohemi Acosta Montalvo. February 2020. Revised by: Professor Francisco Gonzalez-Longatt
4. Objective
To control the direction of DC motor by building the model in Simulink and deploying that
model standalone in the Arduino Uno microcontroller and to see the response of output pin
signal in the Scope.
5. Solution Methodology
Circuit Diagram:
Simulink Model:
Result and Conclusion:
After deployment of model, in scope we can see the output of pin 9 of Arduino Uno In which
the motor is connected. When we change the switching from low to high or vice versa the
direction of Motor changes. Hence, we developed a process control system using Simulink
and Arduino as a low-cost hardware device.