Arduino Target
by Doug Eastman
09 Jul 2009
(Updated 21 Jun 2012)
Develop applications for the Arduino platform using Simulink®.
|
Watch this File
|
| File Information |
| Description |
**UPDATE**
There are now two approaches to compile your Simulink model to run on an Arduino:
1. With only Simulink (including the student version) you can use the Simulink Support Package for the Uno/Mega described here:
http://www.mathworks.com/hardware-support/arduino-simulink.html
2. If you have Simulink Coder and Embedded Coder you can use this target which supports Duemilanove/Uno/Mega, allows the development of custom driver blocks, supported processor-in-the-loop execution, and provides access to the generated C code:
http://www.mathworks.com/matlabcentral/fileexchange/30277
Please use the download and instructions at the above links rather than the download here, which is now just an example model that you can use once you have downloaded and set up the Arduino Target.
---------------------------------------------
Arduino (www.arduino.cc) is a low-cost open-source electronics prototyping platform based on flexible, easy-to-use hardware and software. Arduino Target allows you to develop applications for the Arduino platform right from Simulink. The target includes blocks to interface with the I/O ports on the Arduino board as well as a target file that automatically compiles and downloads the application onto the board directly from Simulink. |
| Acknowledgements |
This file inspired
Embedded Coder Support Package For Arduino.
|
| Required Products |
Simulink Coder
Embedded Coder
Simulink
|
| MATLAB release |
MATLAB 7.8 (R2009a)
|
| Other requirements |
Arduino Environment
Only tested in Windows
C++ compiler recommended for serial communication |
|
Tags for This File
|
| Everyone's Tags |
|
| Tags I've Applied |
|
| Add New Tags |
Please login to tag files.
|
| Updates |
| 01 Oct 2009 |
Added support for multiple chips including ATmega328, ATmega168, ATmega8, and ATmega1280. Also improved the installation script, added support for newest Arduino IDE, and added more information about serial communication in the Getting Started Guide. |
| 13 Oct 2009 |
Changed the install script to be compatible with releases prior to 2009b. |
| 10 Nov 2009 |
Updating files to remove ~'s so it works in R2009a. |
| 27 Aug 2010 |
Adding a link to the new target location |
| 31 Aug 2010 |
Removing files and replacing with an example model. Adding link to new location in the description and HTML file. |
| 21 Jun 2012 |
Updated description with two links to help clarify different options for using Arduino with Simulink. |
|
Contact us