Here the simple traffic light controller which is could be used to educate kids rudiments of traffic light guidelines. The…