An embedded system for energy saving was proposed for smart street lights. This system ensures that when a road is not in use, the lights remain off. However, when a car passes by, the lights are activated, providing illumination only when necessary.