design and fabrication of a digital solar-powered dc