Here's a rather nice way.
You need to track the sun, very important. There is a post on that, check it out.
Use a system of dishes to focus your sun to a hot part, which is actually the hot side (chamber) of a Stirling engine.
This can be run nicely, even with slight gearing, to pull a simple genny.
You can choose whether you want AC or DC (type of genny), and electrocute whatever you want.
Stirling engines off the sun is quite fun, but you need to have some savy to build it.
Just advice, nothing more. Hope it gets the gray matter going.