Do you know how traffic lights work...

ahh no.

some lights are on timers, like those on equally busy streets, but nearly all lights that involve one busy street, and a quiet side street, or turning lanes, use sensors.

otherwise the busy street would constantly be stopped for no reason.