In my opinion, the ancestors of computers began in the 1770s, known as "Automaton", the first machine in the world to operate on its own. This machine was made by Pierre Jaquet Droz around the 1770s. Himself is a watchmaker, as well as a reliable mechanic in their field.
Automaton (or also called The Writer) is a machine that can write any letter / sentence programmed by its creator. So, this is the first machine that humans can program freely. In fact, members of the body other than the hands (eyes, head) are also able to adjust the writing rhythm and look more alive.
So, literally it can be said that this machine is more than 245 years old, and is the first machine that can be "programmed" in accordance with the wishes of its creator.
That's the ancestor of computers (something that can be calculated and programmed by humans) and even resembles living things. Continuous development continues rapidly, until we know modern computers today.
Source : https://twistedsifter.com/2013/11/the-writer-automaton-pierre-jaquet-droz-modern-computer-ancestor/
I love this comment! I wasn't expecting to see an answer like this. I love this site!!