File Exchange

image thumbnail

Arduino Blink Challenge Simulink Models

version 1.5.0.1 (282 KB) by

Simulink models that solve the Arduino Blink Challenge.

3.66667
3 Ratings

18 Downloads

Updated

View License

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/discovery/simulink-embedded-hardware.html

Comments and Ratings (3)

humza

humza (view profile)

Paul Kassebaum

Thanks for these examples!

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

1.5.0.1

Updated license

1.5

Update to license type, included preview images

MATLAB Release
MATLAB 7.14 (R2012a)

Download apps, toolboxes, and other File Exchange content using Add-On Explorer in MATLAB.

» Watch video