Not a bad build, I like the chain to motor idea instead of direct drive off the wheel. The author brings up good points such as being careful to not overload the inverter with someone that pedals really fast.
http://www.instructables.com/id/How-to-Build-a-Bicycle-Generator-1/?ALLSTEPS