There was a time when most traffic lights worked by relying on timers. This isn't ideal, as anyone who's sat muttering at a stoplight in the middle of the night without any other cars on the road can ...