He’s given control of the hardware over to an Arduino ... voltage that the logic circuit are running at. Be careful with switching these AC loads, this traffic light isn’t a toy.
The Arduino Pro Mini used to control the traffic light is not only responsible for playing the tones through a piezo speaker, but as you might expect, for firing off the relays which ultimately ...