Precession has been proposed as an alternative power source for planetary dynamos.Previous hydrodynamic simulations suggested that precession can generate very complex flows in planetary liquid cores [Y. Lin, P. Marti, and J. Noir, "Shear-driven parametric instability in a precessing sphere," Physics of Fluids 27, 046601 (2015)].In the present study, we numerically investigate the magnetohydrodynamics of a precessing sphere. We demonstrate precession driven dynamos in different flow regimes, from laminar to turbulent flows. In particular, we highlight the magnetic field generation by large scale cyclonic vortices, which has not been explored previously. In this regime, dynamos can be sustained at relatively low Ekman numbers and magnetic Prandtl numbers, which paves the way for planetary applications.