A gear is a toothed wheel, and because the teeth mesh rather than rub, the drive between two gears never slips.
Spur gears are the plain flat toothed wheels you see in a clock, they sit on parallel shafts and they always turn in opposite directions.
Bevel gears have their teeth cut on a cone so they carry drive around a corner, usually through 90 degrees, as in a hand drill or a car differential.
A worm gear is a screw meshing with a toothed wheel, and one full turn of the worm moves that wheel on by a single tooth.
That gives a huge reduction in one small step, since a worm driving a 30 tooth wheel is already 30 to 1.
A worm drive will not usually run backwards, so the output cannot turn the input, which is why guitar tuning pegs and lifting gear use it.
Two gears only mesh if their teeth are the same size, measured as the module, so a module 1 gear will never run with a module 1.5 gear however you space the shafts.
Gear Ratio: Just Count the Teeth
Definition
Gear ratio
The number of teeth on the driven gear divided by the number of teeth on the driver gear, which tells you how much the speed drops and the turning force rises.
Gear ratio is the teeth on the driven gear divided by the teeth on the driver gear, and the driver is whichever one the motor or handle turns.
A 10 tooth driver turning a 40 tooth driven gear gives 40 divided by 10, a ratio of 4 to 1.
Spin that driver at 200 rpm and the output turns at 200 divided by 4, which is 50 rpm, with roughly four times the turning force.
Swap them over, 40 teeth driving 10, and the ratio becomes 1 to 4, so the output spins at 800 rpm with a quarter of the force.
A ratio above 1 is a reduction and a ratio below 1 is a step up, and almost every school project needs the first one.
A small 6 V hobby motor spinning at 8000 rpm is useless on a wheel, but a 100 to 1 gearbox brings that down to 80 rpm, which is a sensible speed for a moving toy.
Stages multiply, so two 5 to 1 pairs in a row give 25 to 1 overall.
Idler Gears Fix Direction, Not Ratio
Two meshed spur gears always turn opposite ways, which is a problem when your design needs the output turning the same way as the input.
An idler gear is a third gear dropped in between the other two, and it puts the output back the right way round.
The idler has no effect at all on the overall ratio, however many teeth it has.
Prove it: a 10 tooth driver, a 20 tooth idler and a 40 tooth output give 20 over 10 times 40 over 20, which is 4, exactly what 40 over 10 gives on its own.
Idlers also bridge a gap when two shafts sit too far apart for their gears to reach each other.
Count the wheels to predict direction, because an odd number of gears in a train means the last one turns the same way as the first.
Note
Getting the output turning the wrong way is the commonest fault in a first gearbox sketch.
Draw a curved arrow on every gear in your sketch and alternate the direction along the train.
Fixing it on paper costs nothing, while fixing it after you have drilled the shaft holes costs a whole lesson.
Belts and Chains Move the Drive Across a Gap
A pulley and belt drive uses two wheels linked by a flexible belt, and the ratio comes from the diameters instead of the teeth.
A 25 mm driver pulley turning a 100 mm driven pulley gives 100 over 25, a ratio of 4 to 1, the same sum with different numbers.
A belt can slip, which costs you accuracy but saves the motor when the output jams, so it doubles as a cheap safety clutch.
A toothed timing belt stops the slipping while staying quiet, which is why 3D printers run GT2 belts on the X and Y axes.
Twist a plain belt into a figure of eight and the output runs backwards, a direction change that gears need an extra wheel to achieve.
A chain and sprocket cannot slip and carries far more force, which is why bikes and motorbikes use chain and a washing machine uses belt.
Chain drives need lubricating and a guard, because an unguarded chain will catch fingers, hair and sleeves.
Example
In top gear a bike with a 44 tooth chainring and an 11 tooth sprocket turns the wheel four times per pedal stroke.
In bottom gear, 30 teeth driving 32, the wheel turns slightly less than once per pedal stroke.
Cams Turn Round Into Up and Down
A cam is a shaped plate on a turning shaft, and the follower is the part resting on its edge that gets pushed up and down.
One full turn of the cam gives one complete cycle of the follower, so the outline you cut is effectively a timetable for the movement.
A pear cam lifts the follower for part of the turn and then holds it still for the rest, and that pause is called dwell.
A snail cam raises the follower slowly and then drops it suddenly off a step, and it only works turning one way.
An eccentric cam is just a circle mounted off centre, giving a smooth even rise and fall with no sudden jolt.
The rise is how far the follower travels, and it equals the largest radius of the cam minus the smallest.
Followers come in three kinds: knife edge is precise but wears fast, flat spreads the load, and roller has the least friction but needs the most room.
Activity
Cut three 60 mm cams from 6 mm MDF: an off centre circle, a pear and a snail.
Run the same follower on each and measure its height every 30 degrees of rotation.
Plot all three graphs on one set of axes and you have direct evidence that shape controls motion.
Start From the Motion, Then Pick the Mechanism
There are four kinds of motion to name: rotary turning, linear straight one way, reciprocating straight back and forth, and oscillating swinging about a pivot.
For rotary to reciprocating use a cam and follower, or a crank and slider like the piston in a petrol engine.
For rotary to linear use a rack and pinion, a round gear running along a toothed bar, which is what moves a car steering rack and a pillar drill quill.
A leadscrew does the same job much more slowly, running a nut along a threaded rod, and it is the right choice when you want strength and fine control rather than speed.
Run a crank and slider the other way and reciprocating motion becomes rotary, which is how pistons spin a crankshaft.
Write down the motion your user needs first, then choose from this list, rather than picking a mechanism you like the look of and bending the product around it.
In most projects a microcontroller decides when the motor runs, and the code for that sits in the programming articles rather than here.
Active recall
A 12 tooth driver turns a 60 tooth gear at an input of 300 rpm. Give the ratio and the output speed.
Why does an idler gear change nothing about the ratio?
Give one advantage of a belt drive over a chain, and one the other way round.
What is dwell, and which cam shape produces it?
Name two mechanisms that turn rotary motion into straight line motion.