You're not likely going to get the strength you need for small gears with a FDM printer, unless you make molds from your prints and cast them.

Precision will also be a challenge with FDM, everything needs to be calibrated, clean and working perfectly to get gears that are perfect enough to be balanced and smooth.