Another project is to have Dusk to Dawn sensor for lighting US flag after hours as required for a US flag flying 24/7. Here is how: dig trench, cut & lay PVC, run wire, glue PVC, and make final connections.
The main power source is from the garage outlet. The dusk to dawn sensor is basically an on/off switch for the power. From the sensor box, a regular extension cord is used to connect the power to the run of wire to the spot light. So, basically we have an extension cord / line running from the garage to the spot light through the PVC buried in the trench which is approximately 100′. In order to eliminate power loss in the line, 12 AWG was used through the PVC.