Too high voltage on the generator

MarkT:

ManFish:
The MOSFET is the IRF520

That's not a logic-level MOSFET and won't work properly from 5V

Hm but it's used in the motorized pinwheel schematic. Which one should i use then ?