At the moment I am making a traffic square on Tinkercad with Arduino Uno. I want to make this with sensitivity sensors, so when a car approaches that the stop light immediately turns green, but when a pedestrian wants to cross, the stop light turns red for the car and green for pedestrians. I also want to add a bicycle. Now I only have 1 traffic light and I don't know how to add all the other traffic lights and how to do all this so that one will show a green light and the other red.
Could anyone help me with this?