This document describes an automatic highway lighting system that uses sensors to detect vehicle movement and controls highway lighting accordingly to save energy. Infrared sensors placed along the highway detect approaching vehicles and signal a microcontroller to turn on a block of lights ahead of the vehicle. As the vehicle passes, the lights behind it are automatically turned off. When no vehicles are present, all the lights remain off. This system aims to reduce energy consumption compared to conventional highway lighting that remains on all night.