Robin Herrmann
Published © GPL3+

Traffic Lights Using Finite State Machine in C++ for Arduino

Pedestrian traffic light for an Arduino by using YAKINDU Statechart Tools to implement a Finite State Machine (FSM) in C and C++.

IntermediateProtip1 hour13,103
Traffic Lights Using Finite State Machine in C++ for Arduino

Things used in this project

Hardware components

traffic light 5mm 5v
or using 6xLEDs with 6x220R resistors
×2
Pushbutton switch 12mm
SparkFun Pushbutton switch 12mm
×2
Resistor 10k ohm
Resistor 10k ohm
×2
Breadboard (generic)
Breadboard (generic)
×1
Jumper wires (generic)
Jumper wires (generic)
×1
Arduino UNO
Arduino UNO
Or any other Arduino - I've used a Mega!
×1

Software apps and online services

YAKINDU Statechart Tools
Free for non-commercial use!
Eclipse C++ IDE for Arduino

Story

Read more

Credits

Robin Herrmann

Robin Herrmann

8 projects • 16 followers
Software Engineer - Doing a lot of stuff with state machines.

Comments