Automated Street Lighting Using Embedded Systems