@engineer,
I can't buy that motor because it's out of stock. Its name is "hobby motor", but I think it's not the name formally given to such motors which convert mechanical energy into electrical. Is it?
By the way, the plan has been changed. . .another student in my class is making a similar one. So I just changed the type of mechanism. In a motor it's rotational mechanism, but I want to use a wooden block, on punching which the vibrations get converted into electricity. I'll be thankful if you can help me on that.