The Canard Digérateur, or Digesting Duck, was an automaton in the form of a duck, created by Jacques de Vaucanson and unveiled on 30 May 1764 in France. The mechanical duck appeared to have the ability to eat kernels of grain, and to metabolize and defecate them. While the duck did not actually have the ability to do this—the food was collected in one inner container, and the pre-stored feces were "produced" from a second, so that no actual digestion took place—Vaucanson hoped that a truly digesting automaton could one day be designed.
Three of Vaucanson's automata: the Flute Player, the Digesting Duck and the Tambourine Player
An American artist's (mistaken) drawing of how the Digesting Duck may have worked
An automaton is a relatively self-operating machine, or control mechanism designed to automatically follow a sequence of operations, or respond to predetermined instructions. Some automata, such as bellstrikers in mechanical clocks, are designed to give the illusion to the casual observer that they are operating under their own power or will, like a mechanical robot. The term has long been commonly associated with automated puppets that resemble moving humans or animals, built to impress and/or to entertain people.
The book About automata by Hero of Alexandria (1589 edition)
The Antikythera mechanism from 150 to 100 BC was designed to calculate the positions of astronomical objects.
Automaton in the Swiss Museum CIMA
First Strasbourg clock rooster, worked from 1352 to 1789.