File Exchange

image thumbnail

Arduino Blink Challenge Simulink Models

version 1.5.0.1 (282 KB) by Brian McKay
Simulink models that solve the Arduino Blink Challenge.

9 Downloads

Updated 01 Sep 2016

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

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.0.0

Update to license type, included preview images

MATLAB Release Compatibility
Created with R2012a
Compatible with any release
Platform Compatibility
Windows macOS Linux