Build a Traffic Light with Arduino

Create and test a traffic light model using Stateflow and Simulink. Then, implement the model on an Arduino board.

https://github.com/mathworks/Build-a-Traffic-Light-with-Arduino

You are now following this Submission

Cite As

Kathy Zhang (2025). Build a Traffic Light with Arduino (https://github.com/mathworks/Build-a-Traffic-Light-with-Arduino), GitHub. Retrieved October 17, 2025.

General Information

MATLAB Release Compatibility

  • Compatible with R2025b and later releases

Platform Compatibility

  • Windows
  • macOS
  • Linux

Versions that use the GitHub default branch cannot be downloaded

Version Published Release Notes Action
1.0.3

Updated README.mlx

1.0.2

Updated second set of traffic light models

1.0.1

Added another module so that students may build a road intersection with two traffic lights. The traffic light change is triggered off an ultrasonic distance sensor.

1.0.0

To view or report issues in this GitHub add-on, visit the GitHub Repository.
To view or report issues in this GitHub add-on, visit the GitHub Repository.