How can I make animatronic animations with servos?

Hello, I was wondering if I can have help with making animatronic animations via code for servo's? I'm a complete newbie at code and don't understand a thing. but it's a hobby I'm wanting to do for a animatronic project I'm working on. if you can help me that'd be great. thanks!

What is your definition of animatronic? The internet is full of examples of controlled servo projects.

A humanoid robot that has human like features and acts like one. that's my definition. and i've been trying to make a fnaf oc animatronic, and learn code but I'm really terrible at the coding/programming

On an Arduino? It is a microcontroller, not a mainframe, so "human like" needs to be defined. Describe every part of your project in specifics.

What is this?

The code would depend on how the robot is constructed, what should move and how it should move, all of which you forgot to describe.

A web search for "arduino servo" will turn up lots of tutorials on how to write code for servos. Likewise, a web search for "arduino animatronic" will turn up some actual examples.

Something like this?

https://forum.arduino.cc/t/my-advanced-realistic-humanoid-robot-project/1006814

 

Please provide a detailed description of your hardware design, and I'm sure that someone here will be able to help you with the coding part.

I'm not into robotics so I'm not an expert. A million years ago I worked where they made the Chuck E. Cheese characters. I don't know if they still have those but they used bi-directional air cylinders and they were crude (no speed control or positional feedback).

Servos are "angle motors" that rotate less than 360 degrees. There are "continuous rotation servos" but they don't have positional feedback, which means it's not really a servo.

A servo normally only good for some limited "robotic" functions

The nice thing about servos is that the driver circuit is built in. You just need to give it power and signal that tells it what angle to go-to.

With stepper motors the software controls the number of steps so you can control the position, distance, or number of rotations, and speed. The software also controls direction. You generally need to add home-sensors or end-sensors to find the starting point. From then on, the software counts the deeps track of the number of steps (and direction) so it it knows the position. The standard is 1.8 degrees per step (200 steps per revolution so they are often geared-down for more precision. They are slow-to-medium speed. (They don't have built-in driver electronics.)

DC motors age generally high-speed (or geared down). They can be speed controlled with PWM but there is no speed-feedback so if you need precise speed control you need to add a sensor for that. They also need motor driver (or relay). If it only needs to run in one direction you can use a simple MOSFET driver or they can be reversed with an H-driver.

There are linear actuators which is usually a motor, screw gear and position sensor.

I'm not sure what that means, but have you seen this YouTuber named VomitedThoughts making real FNAF animatronics. he's pretty cool at making them and I was inspired to make my own character.