The word cogwheel typically refers to the mechanical component also known as a gear.
There are no categorical antonyms to this word.
Did you mean cackle?