I've heard of a contemporary mathematician who had small contributions and did it as a hobby. The recent article about insect population decrease was possible thanks to data collected by hobbyists too iirc (but ended up written by scholars I guess). I don't know if there are many other examples.