3.66667

3.7 | 3 ratings Rate this file 56 Downloads (last 30 days) File Size: 282 KB File ID: #35994
image thumbnail

Arduino Blink Challenge Simulink Models

by

 

14 May 2012 (Updated )

Simulink models that solve the Arduino Blink Challenge.

| Watch this File

File Information
Description

A set of Simulink models that solve the Arduino Blink challenge. The "blink challenge" is described in the last part of the Ladyada Arduino tutorial, http://www.ladyada.net/learn/arduino/. The controlled circuit switches between four modes: all LEDs off, all LEDs on, LEDs blinking simultaneously, and LEDs cycling at a specified frequency.

There are 2 solutions, one using Simulink blocks, and one using Stateflow state charts.

These models require R2012a, and use the new Simulink built-in support for prototyping, testing, and running models on Arduino Uno/Arduino Mega. These models have been tested on an Arduino Uno.

For more information on Simulink built-in support for Arduino boards, see:
http://www.mathworks.com/hardware-support/arduino-simulink.html.

For more information on Simulink built-in support for hardware, see:
http://www.mathworks.com/products/simulink/simulink-targets.

Required Products Simulink
MATLAB
MATLAB release MATLAB 7.14 (R2012a)
Other requirements * Requires 32-bit or 64-bit Windows * Simulink Support Package for Arduino Uno or Mega (type “targetinstaller” at the MATLAB command line and follow instructions)
Tags for This File   Please login to tag files.
Please login to add a comment or rating.
Comments and Ratings (3)
30 Jan 2014 humza  
16 Sep 2013 Paul Kassebaum

Thanks for these examples!

19 May 2013 shri raje

unable to communicate with arduino mega 2560, simulink replying error as "unable to download program to arduino", though it is well detected by simulink.

Updates
22 May 2012

Update to license type, included preview images

Contact us