Location via proxy:   [ UP ]  
[Report a bug]   [Manage cookies]                
0% found this document useful (0 votes)
14 views

Integration of Arduino With MATLAB Simulink

The document discusses integrating Arduino with MATLAB by developing models in Simulink that can be simulated and deployed to Arduino boards. It provides steps for model development, configuring output pins, setting configuration parameters like selecting the Arduino board, verifying the COM port, and verifying output by building, deploying and starting on the Arduino board.

Uploaded by

monika bhusa
Copyright
© © All Rights Reserved
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
14 views

Integration of Arduino With MATLAB Simulink

The document discusses integrating Arduino with MATLAB by developing models in Simulink that can be simulated and deployed to Arduino boards. It provides steps for model development, configuring output pins, setting configuration parameters like selecting the Arduino board, verifying the COM port, and verifying output by building, deploying and starting on the Arduino board.

Uploaded by

monika bhusa
Copyright
© © All Rights Reserved
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 4

Shankar MOORTHY

Assistant Manager - Product


development(Electrical & Electronics)
Royal Enfield (A Unit of Eicher Motors Ltd.)
#296, Rajiv Gandhi Salai, Sholinganallur,
Chennai-600119, Tamil Nadu, India
M +91 9965247237

Integration of Arduino with MATLAB

INTRODUCTION:

● MATLAB Simulink has come up with the features of Integrating arduino with it , which
make easier for viewing the outputs in microcontroller board
● This avoids manual coding and developer can directly simulate the model and then
build, deploy and start the logic directly in the arduino board whereas the application
software is developed as model from the simulink

PREREQUISITE:
● Simulink support package for Arduino Hardware
● Hardware board supportability verification in configuration parameters in MATLAB
● Supportable arduino board with necessary hardwares

STEPS:
● Model development
● Configuring the output pins(Digital output) and assigning the pin details for output loads
● Configuration parameters settings (hardware board selection)
● COM Port number verification for verified communication between model and arduino
board
● Output verification(Build,Deploy and Start)

Model Development:
● Here the brake logic model is developed as per the requirement which includes three
signals front brake signal, Rear brake signal and US pin to enable the trafficator signal
output as part of output signal.
● Brake lamp will glow when Front brake signal or Rear brake signal is enabled and
trafficator signal will glow when US pin enabled along with any one brake signal enabled.
● Here output signals are assigned to the port pins 9 and 10.

Configuration parameters settings:

● Do the following necessary configuration parameters settings by selecting the hardware


type in Hardware Implementation.

COM Port verification:


● Type as a = arduino to get the details about the hardware board connected in your host
PC

Output verification:

● To verify the output in arduino hardware after all the above process, click on
Build,Deploy and Start in the hardware tab.
Results and Discussion:

● Following are the results obtained from the arduino board for the model developed in
simulink.

You might also like