Skip to content

mixu7/Task2_Servo_Movement

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 

Repository files navigation

Task 2 - Servo Movement (Electronics Track)

This project is part of the second task in the Smart Methods training program under the Electronics track.
The goal is to control 4 servo motors using Arduino and the Sweep example.


✅ Objective

  • Program 4 servo motors to perform a Sweep motion (0° to 180°) for about 2 seconds.
  • After that, set all servo motors to hold at 90 degrees.
  • Write a simple algorithm to describe the walking motion for a humanoid robot.

🔧 Components Used

  • Arduino Uno R3
  • 4 × Micro Servo Motors
  • Jumper Wires
  • USB Power Source

📸 Circuit Images

Circuit Only Circuit + Code
circuit circuit_code

💡 Code

The code is written in Arduino C++ and saved in the file:

servo_movement.ino

It uses the standard Servo.h library and performs sweep + hold motion.


🧠 Walking Algorithm (for humanoid motion)

1. Start the robot system.
2. Move front-left and back-right servos forward (step 1).
3. Pause briefly.
4. Move front-right and back-left servos forward (step 2).
5. Repeat steps 2–4 for continuous walking.
6. Stop all movement and hold servos at 90°.

About

Servo motor control task - Smart Methods Electronics Track.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages