Project book finish_5d8c43d7-8122-4bc3-8259-9b8eb8808d89
Project book finish_5d8c43d7-8122-4bc3-8259-9b8eb8808d89
Project book finish_5d8c43d7-8122-4bc3-8259-9b8eb8808d89
HUMANOID ROBOT
BY
OCTOBER ,2024
YANGON
WEST YANGON TECHNOLOGICAL UNIVERSITY
DEPARTMENT OF INFORMATION TECHONOLOGY
ENGENERRING
HUMANOID ROBORT
BY
SECOND YEAR (GROUP -I)
OCTOBER,2024
YANGON
WEST YANGON TECHONOLOGICAL UNIVERSITY
DEPARTMENT OF INFORMATION TECHNOLOGY ENGNEERING
Board of Examiners:
1. Dr. Cho Cho Myint
Professor and Head
Department of information Technology Engineering -------------
West Yangon Technology University (Chairman)
ACKNOWLEDGEMENTS
First of all, the authors would like to express special thanks to Dr. Kyi Soe, the
Rector of West Yangon Technological University, being appreciate from his
motivation to go through with the project and for the successful completion of it.
Moreover, the authors would also like to express their deepest gratitude to the
Chairman, Dr. Cho Cho Myint, Professor and Head, Department of Information
Technology Engineering, West Yangon Technological University, for her permission
and guidance.
The authors also thanks to their supervisor, Daw La Wun Nandar Kyaw,
Associate Professor, Department of Information Technology Engineering, West
Yangon Technological University, for her encouragement, helpful suggestion and
editing.
The authors would also like to express their thanks not only to all teachers
through academic life but also to each and every individual who assist for the
completion of this project report. Finally, the authors wish to thank their parents for
their inspiring determination, financial supports and encouragement to collect their
attention without difficulty.
ii
ABSTRACT
REFERENCES
TABLE OF CONTENTS(Title)
Pages
ACKNOWLEDGEMENTS i
ABSTRACT ii
LIST OF PARTICIPANTS OF GROUP (I) iii
REFERENCES iv
TABLE OF CONTENTS v
LIST OF FIGURE vii
CHAPTER TITLE
1. INTRODUCTION
2. BACKGROUND THEORY
5 CONCLUSION 26
vii
LIST OF FIGURES
Figure Pages
1.1 Arduino Mega 2560 3
2.1 Block Diagram of Robot 8
3.1 Servo Motor 9
3.2 Jumper Cable 10
3.3 Arduino Mega 11
3.4 Bluetooth HC05 Module 12
3.5 Ultrasonic Sensor 13
3.6 OLED Display Module 14
3.7 Arduino IDE 14
3.8 MIT App Inventor 15
4.1 Arduino Based Software Control Robot Back View 16
4.2 Inside a Standard Hobby Servo 17
4.3 Left Leg of Robot 18
4.4 Ultrasonic Sensor Signal Diagram 18
4.5 Code in Arduino IDE 21
4.6 MIT Control Design Interface 22
4.7 MIT Control Block Code Interface 22
4.8 Right Leg of Robot 23
4.9 Legs of Robot 23
4.10 Front View of Robot While Squat 24
4.11 Front View of Robot While Stand 25
1
CHAPTER 1
INTRODUCTION
These are just a few examples, and the applications of humanoid robots
continue to expand as technology advances.
Head: Servo motors can be used to control the movement of the head,
including turning left and right, nodding up and down, and tilting side to side.
This allows the robot to look around and interact with its environment.
Arms: Each arm typically consists of several joints, including the shoulder,
elbow, and wrist. Servo motors are used at each joint to enable precise control
of arm movement, allowing the robot to reach, grasp, and manipulate objects.
Hands: Servo motors can control the fingers and thumb of the robot's hands,
enabling them to grip objects with varying degrees of force and dexterity.
Torso: Servo motors may be used in the torso to enable the robot to twist and
bend at the waist, allowing for more natural movement and flexibility.
Legs: Similar to the arms, the legs consist of multiple joints such as the hip,
knee, and ankle. Servo motors are used to control these joints, allowing the
robot to walk, run, and maintain balance.
Feet: Servo motors in the feet can be used to control the angle and movement
of the ankles, aiding in stability and locomotion.
typically also used to describe the community around compatible boards made by
other people or companies which function in a similar way.[5]
Overall, humanoid robots have the potential to revolutionize various industries and
improve the quality of life for people around the world.[5]
5
Aim
Create a humanoid robot using Arduino and servo motors, programmed in C+
+, capable of human-like movements and tasks.
Objective
Design a stable mechanical structure.
Integrate sensors for environment awareness.
Implement kinematic control for movement.
Program behaviours such as object detection and griping.
Incorporate feedback mechanisms for smooth movement.
Optimize C++ code for efficiency.
Test, iterate, and refine.
Document for replication and further development.
7
CHAPTER-2
BACKGROUND THEORY
The theory background of a Bluetooth-controlled humanoid robot project using MIT App
Inventor would typically include the following key components:
This knowledge will enable them to design, build, and program their own Bluetooth-
controlled humanoid robot systems effectively.[5]
9
CHAPTER-3
DESIGN AND CONPONENT LIST
Hardware Component
3.1 Servo Motor
A servo motor is a rotary actuator that allows for precise control of angular
position. It consists of a motor coupled to a sensor for position feedback. It also
requires a servo drive to complete the system. The drive uses the feedback sensor to
precisely control the rotary position of the motor.[5]
Advantages
1. More I/O pins: It has 54 digital I/O pins and 16 ana`log inputs, making it ideal for
projects that require many sensors or actuators.
2. Large memory: It has 256 KB of flash memory for storing programs, allowing for
more complex code.
3. Processing power: The 16 MHz clock speed ensures smooth execution of real-time
tasks.
4. Multiple serial ports: The Mega has 4 hardware serial ports (UARTs), allowing
simultaneous communication with multiple serial devices.
5. Increased PWM outputs: It provides 15 PWM outputs, useful for controlling
motors, LEDs, and other devices requiring pulse width modulation.
6. Compatible with shields: Most Arduino shields are compatible with the Mega, and
it offers more pins than other Arduino boards like the Uno.
7. Wide support and community: The Mega has a large user base, meaning it's well-
documented with plenty of resources and libraries.
11
Pins Configuration
Digital I/O Pins (54): Pins 0-53. Pins 2-13 provide PWM output.
Analog Inputs (16): Pins A0-A15 can read analog signals and convert them to
digital (10-bit resolution).
Serial Communication Pins:
TX (1, 18, 19, 14) and RX (0, 19, 17, 15) for UART communication.
PWM Pins (15): Digital pins 2-13 and 44-46.
SPI Communication: Uses pins 50 (MISO), 51 (MOSI), 52 (SCK), and 53
(SS).
I2C Communication: Pins 20 (SDA) and 21 (SCL).
External Interrupts: Pins 2, 3, 18, 19, 20, 21.
Power Pins:
VIN: Input voltage to the Arduino board when using an external power source
(7-12V).
5V: Regulated 5V used to power the board and its components.
3.3V: 3.3V supply generated by the on-board regulator.
GND: Ground pins (multiple).
AREF: Analog reference pin for the analog inputs.
The Arduino Mega 2560 is great for projects needing a large number of connections
and higher computing capacity while retaining the simplicity and ease-of-use of the
Arduino ecosystem.[1]
luminescence occurs. The transfer material, emission layer material and choice of
electrode are the key factors that determine the quality of OLED components.[1]
Software Component
CHAPTER 4
TESTING AND RESULT
Testing results indicate that the Arduino humanoid robot met the basic
performance goals of controlled, responsive movement. Minor issues with power
efficiency and terrain adaptability emerged, suggesting areas for future improvement.
Overall, the Arduino Mega 2560 proved an effective replacement for the original
microcontroller, providing robust connectivity and control precision.
CHAPTER-5
CONCLUSION