Question: how do traffic lights work?
Answer: The primary, reliable and most common traffic light sensors are induction loops. Inductive loops are coils of wire that have been embedded on the surface of the road to detect changes in inductance and convey them to the sensor circuitry in order to produce signals.