Please don't spend a lot of time trying to figure out how to generate electrical energy from the rotation of the Earth or its orbit around the Sun. I spent a little time on this (before finding PF), and eventually concluded correctly that you cannot do this in the Earth's isolated system. You would need some external system (a giant gorilla the size of the solar system) who could "hold" objects stationary to interact with the orbiting planets. Not going to happen.
It's good to be creative, but you need to learn enough basic science to be able to figure out "non-existence proofs" quickly for creative ideas that will not work. That gives you more time to devote to other ideas that do have a chance of working.