Arduino Blink Challenge Simulink Models
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
Cite As
Brian McKay (2025). Arduino Blink Challenge Simulink Models (https://www.mathworks.com/matlabcentral/fileexchange/35994-arduino-blink-challenge-simulink-models), MATLAB Central File Exchange. Retrieved .
MATLAB Release Compatibility
Platform Compatibility
Windows macOS LinuxCategories
Tags
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!Discover Live Editor
Create scripts with code, output, and formatted text in a single executable document.