Introduction:
As the demand for robotic technology continues to grow, humanoid robots are becoming increasingly popular due to their potential applications in various fields such as education, entertainment, and research. Among these, Cyrus stands out as a cost-effective and customizable humanoid robot that provides an interactive and engaging user experience.
Cyrus, short for "Cyber Robotic Unit System," is a versatile humanoid robot that performs a wide range of tasks using its advanced hardware and software features. The robot is equipped with line following and obstacle avoidance capabilities, which enable it to move around without colliding with objects in its path. Additionally, it has app control and servo movement features that allow users to control its movements and actions.
One of the most impressive features of Cyrus is its ESP32 webcam, which enables it to capture images and videos effortlessly. Additionally, the robot's AI, programmed with Python, allows it to learn and adapt to its environment, making it an ideal platform for educational and research purposes. The primary microcontroller used in Cyrus is Arduino, known for its reliability and ease of use.
Taking its capabilities to the next level, Cyrus includes a powerful AI with Gemini, enabling it to recognize faces and greet individuals by name using machine learning. Furthermore, Cyrus can answer any question posed to it, utilizing the AI power of Gemini. This feature enhances its interactive and engaging nature, making it suitable for a variety of settings, from classrooms to social gatherings.
Constructed from materials such as cardboard, plywood, and PVC pipes, Cyrus is not only cost-effective but also easy to assemble and customize. With its advanced features and affordable price, Cyrus is an excellent choice for anyone looking to explore the world of robotics and AI technology.
Taking its capabilities to the next level, Cyrus includes a powerful AI with Gemini, enabling it to recognize faces and greet individuals by name using machine learning. Furthermore, Cyrus can answer any question posed to it, utilizing the AI power of Gemini. This feature enhances its interactive and engaging nature, making it suitable for a variety of settings, from classrooms to social gatherings.
Constructed from materials such as cardboard, plywood, and PVC pipes, Cyrus is not only cost-effective but also easy to assemble and customize. With its advanced features and affordable price, Cyrus is an excellent choice for anyone looking to explore the world of robotics and AI technology.
Back Story:
Cyrus 1.0 |
Table of Contents:
- Needed Materials
- Circuit Connections
- Building the Hardware & Software
- Source Code
- Working Prototype
- Conclusion
Needed Material :
Electronics Components:
- Arduino board ( Arduino Uno or Arduino Mega) x1
- ESP32-compatible webcam module x1
- Servo motors (Mg995) x3
- Mini servo motor x1
- Jhonson motors (100 rpm)x2
- Bluetooth module (HC05) x1
- Motor drivers (L298N) x1
- Ultrasonic distance sensors(Hc-SR04) x1
- Infrared (IR) sensors (for line following) x2
- Jumper wires and breadboard for circuit connections
- Power supply (3.7 v batteries and battery holder )x9
- 10 A BMS Module x1
- Buck converter (lm2596)x1
- Bluetooth speaker x1
- 1 channel Relay Module x1
- Ultrasonic sensor Holder x1
- caster wheel x2
- motor mount x2
Mechanical Components:
- Cardboard sheets (for creating the humanoid body structure)
- Plywood sheets (for robot base)
- PVC pipes or dowel rods (for creating limbs and joints)
- Screws, nuts, bolts, and washers (for assembling the structure)
- Adhesives (such as glue or double-sided tape) for securing components
Additional Components:
- Smartphone or tablet (for app control)
- Computer with Python installed (for AI implementation)
- USB cables for programming and power supply
- Miscellaneous tools (screwdrivers, pliers, cutter, etc.) for assembly
Software:
- Arduino IDE (for programming the Arduino board)
- Python IDE (such as PyCharm or VS code)
Optional:
- Additional sensors for environment sensing (e.g., light sensors, temperature sensors)
- Microcontroller shields or expansion boards for additional functionalities
- 3D printer (for creating custom parts if available)
- Laser cutter or CNC machine (for precise cutting of plywood or PVC)
Ensure that you have access to the necessary tools, materials, and software environments before starting the construction and programming process. Additionally, be cautious when working with electrical components and follow safety guidelines.
Circuit Connections:
Notes:
- You have the option to select various digital pins for the ultrasonic sensor, IR sensors, and motor driver control pins, provided they are compatible with your Arduino code.
- It is important to ensure that the external power source can handle the current requirements of your motors.
- Additionally, please double-check the pinout diagrams of your specific HC-05 and L298N modules for any potential variations.
Servo Motor Connection Chart for Arduino Uno:
Power Supply:
It is essential to ensure that the servo motors receive a
stable 5V power supply. This can be achieved in two
ways:
1. By using a dedicated 5V power supply.
2. By connecting a voltage regulator such as the LM2596 Buck
converter to a higher voltage source, for instance, a 9V
battery.
Notes :1. It is possible to use digital pins
other than 11, 12, and 13 to control servo motors, as long as the Arduino code
is modified accordingly.
2. To ensure precise servo control, make sure that the selected pins are
compatible with PWM (Pulse Width Modulation).
3. Additionally, it is important to double-check the voltage and current
requirements specified for your servo motors.
ESP32-Cam Connection:
Power Supply:
It is essential to ensure that the servo motors receive a stable 5V power supply. This can be achieved in two ways:2. To ensure precise servo control, make sure that the selected pins are compatible with PWM (Pulse Width Modulation).
3. Additionally, it is important to double-check the voltage and current requirements specified for your servo motors.
Integrating an ESP32 webcam into our
humanoid robot, Cyrus, allows for real-time video streaming, enhancing Cyrus's
capabilities for monitoring and remote interaction. To set up the ESP32 webcam
and stream video to our robot app, follow the detailed guide provided in the
link below.
Note: Some features and connections are not shown in this guide, giving
you the freedom to personalize and enhance Cyrus's capabilities. Feel free to
experiment and innovate, as the possibilities are virtually limitless.
Building the Hardware & Software :
Hardware
Creating a humanoid robot like Cyrus is
a complex process that requires precision and attention to detail. Every part
must fit together seamlessly and function properly to achieve a visually
appealing and fully functional robot.
To accomplish this, precise measurements
of each component are necessary, including the head, body, hands, and base. The
head dimensions include the circumference, height, and width, as well as
additional measurements for the eyes, ears, and mouth.The body measurements cover the chest,
waist, and shoulders, aiming to create a sturdy yet flexible structure capable
of supporting the weight of the head and arms. Accompanying
images for each part provide a visual reference to help replicate the
measurements accurately during the building process. With these comprehensive
dimensions and pictures, builders can create a fully functional and
aesthetically pleasing humanoid robot that meets all requirements.
Creating a humanoid robot like Cyrus is a complex process that requires precision and attention to detail. Every part must fit together seamlessly and function properly to achieve a visually appealing and fully functional robot.
Step 1: Measuring and Cutting the Materials
1. Measurements: Start by measuring the Cardboard sheets plywood and PVC pipes. Use the images provided as a guide for the dimensions needed to create the body, arms, limbs, and base.
Body, Hand & Head:
Measurements
Base, Limb & Covering:
Base Part
2. Cutting: Carefully cut the cardboard sheet, plywood, and PVC pipes according to your measurements. Ensure that each piece fits correctly with the others, as precision is crucial for the robot's mobility.
Cutting
limbs
3. Assembly: Assemble the head, hand, body, limbs, and base to make our complete robot.
4. Mounting: Attach wheels and motor so that the base can smoothly carry the weight and facilitate movement.
Mounting
Step 2: Assembling the Structure5. Framework Assembly: Start by assembling the frame. Attach the torso, head, arms, and legs to the base. Use bolts and screws to secure each joint to ensure flexibility and strength.
Frame Work Assembly
6. Servo Installation: Install the servo motors at the joints. These motors will be crucial for the hand movements of Cyrus.
7. Wiring: Route the wires from the motors to the Arduino and motor drivers. Make sure the wiring is neat and organized to prevent any disconnections or electrical hazards.
8. Sensor Placement: Install the ultrasonic and IR sensors on the head and lower parts of the body for obstacle detection and line following.
Step 4: Final Adjustments:
Body, Hand & Head:
Measurements |
Base Part |
Cutting |
limbs |
3. Assembly: Assemble the head, hand, body, limbs, and base to make our complete robot.
Mounting |
Frame Work Assembly |
Step 4: Final Adjustments:
10. Secure Loose Parts: Use Velcro straps and adhesive tapes to secure any loose wiring or parts.
Software
After the completion of the physical parts of Cyrus, Our humanoid robot has been assembled, the next critical step is to program it to function as intended. This process involves software development, which includes a wide range of capabilities such as AI programming, app control for remote operation, and the core programming code.
To enable Cyrus to function as a truly
intelligent robot, we incorporate sophisticated AI programming techniques. This
allows the robot to learn from its environment, adjust to changes, and make
decisions based on the data it collects. Furthermore, we designed an app
control system that allows remote operation of the robot. This makes it easier
to control the robot from any location, and it also simplifies the task of
monitoring its performance. Finally, the core programming code is
essential for ensuring that all the robot's hardware components are functioning
correctly and efficiently. This includes the sensors, motors, and other
hardware components that are integrated into the robot's design.
Therefore, each part of the software
development process is designed to maximize Cyrus's hardware capabilities,
making it a highly functional and intelligent robot.
AI Implementation with Python
C.Y.R.U.S GUI |
3. Location Tracking and Map Navigation: Equipped with GPS modules and the geopy library, Cyrus can track its location and navigate efficiently.
4. Environmental Monitoring: Our robot provides real-time updates on time, temperature, and weather forecasts, helping you plan your day effectively.
5. Network Utilities: Cyrus retrieves IP addresses and assesses WiFi speed, ensuring optimal connectivity.
6. Personal Assistant Functions: From setting alarms and performing mathematical calculations to answering questions and conducting Wikipedia searches, Cyrus is a highly capable assistant.
8. Facial Recognition and Greeting: Using its powerful AI made with Google Gemini, and machine learning algorithms Cyrus recognizes faces and greets individuals by name, providing a personalized experience.
9. Powerful AI with Google Gemini: The AI capabilities of Cyrus are enhanced with Google Gemini, allowing for advanced processing, learning, and interaction capabilities.AI Code |
Android Application:
Arduino Coding for Cyrus:
Cyrus Main Code |
The Arduino code serves as the backbone of Cyrus's hardware control system, enabling communication between its various components and facilitating interaction with the environment. It includes modules for motor control, sensor readings, and communication protocols such as WiFi and Bluetooth.
Overall Code and Download Link:
Source Code:
Working Prototype:
Conclusion :
The journey of building Cyrus, from a mere idea to a tangible reality, has been a testament to the power of persistence, creativity, and innovation. Along the way, there were countless challenges and setbacks,but each failure served as a stepping stone toward success. From circuitry mishaps to coding errors, every obstacle was an opportunity to learn and improve, ultimately leading to the creation of a remarkable humanoid robot.
Through Cyrus, we've demonstrated the transformative potential of combining imagination with technology. It's not just a robot; it's a symbol of limitless possibilities and endless exploration. With its advanced AI system, versatile mobility, and interactive features, Cyrus represents a new frontier in robotics, offering solutions to real-world problems and inspiring future generations of innovators.
In today's rapidly evolving world, robots like Cyrus play a crucial role in shaping the future of technology and society. From assisting in education and research to enhancing productivity and convenience in daily life, humanoid robots offer a myriad of benefits and opportunities. They bridge the gap between humans and machines, opening doors to new possibilities and revolutionizing various industries.
As we look towards the future, robots like Cyrus will continue to evolve and adapt, becoming integral parts of our lives. They'll assist us in tasks that are dangerous, tedious, or beyond human capability, making our lives safer, easier, and more efficient. With continued innovation and collaboration, we'll unlock new potentials and redefine the boundaries of what's possible, ushering in a new era of human-robot interaction and cooperation.
In the end, Cyrus is not just a robot; it's a symbol of innovation, perseverance, and the boundless potential of the human spirit. It reminds us that with determination and creativity, we can overcome any obstacle and achieve our dreams, no matter how daunting they may seem. As we continue to push the boundaries of technology and imagination, the future holds endless possibilities, and robots like Cyrus will be at the forefront of shaping that future.