Robotic Arm ******************* .. image:: Images/RoboticArm.jpg :align: center Description ============ The robotic arm is a mechanical device that is programmed to move by using hydraulic systems made up of regular medical syringes. Learning Objectives =================== The Robotic is a project that helps students learn and apply the following: - Volume and area - Fundamentals of hydraulics - The implementation of the engineering design process - Application of theoretical concepts to real life situations - Coding, electronics, and physical science through a hands-on application that can be directly related to real life situations Materials Needed ================ - Raspberry pi with micro SD card and Raspbian - Jumper wires - Breadboard - 4x L293D (H-Bridge) - 4x 9v Battery - 2x Resistors - 7x DC-GearMotors Setup and Functionality ======================= The basic concept of the hydraulics: .. image:: Images/RoboticArm-hydraulics.jpg :align: center While one syringe is filled with water and connected to another empty syringe, if pressure is applied, the empty syringe would start to receive the water. The above process is illustrated in the figure below: .. image:: Images/RoboticArm-movement.jpg :align: center A DC motor with rotational movement is used to transform it into linear movement to apply the pressure on the syringe. As the crank rotates, the link favors the movement of the slider in a linear path. .. image:: Images/RoboticArm-rot-to-lin.jpg :align: center For the syringes pistons to be pushed in or out of the syringe, a screw turns in the bolt. This will cause the piston to be pushed in or out of the syringe. Pictures below: .. image:: Images/RoboticArm-pistons.jpg :align: center The screw is attached to the axis of a 6V gear motor. This is clear in the image below. .. image:: Images/RoboticArm-motor1.jpg :align: center .. image:: Images/RoboticArm-motor2.jpg :align: center The body of the arm is made up of Plexiglas. However, it could be made of any other rigid material like hard cardboard or thin plywood. .. image:: Images/RoboticArm-Construction.jpg :align: center Two screws with two bolts were used with two motors on each syringe to ensure efficiency. Circuitry and Electronics: ================================================= The second diagram below shows the connections and the circuitry of the ultrasonic sensor that controls the movement of the syringe at its limit points: .. image:: Circuits/RoboticArm.png :align: center Programming =========== Due to the large number of python code files, they were uploaded separately in the folder of this documentation. Thinking about how to control the arm, old Wii Remote control is used. There is an online support availavle; cwiid- a python package for using Wii Remote with Raspberry Pi. The accelerometer on the remote unit was used to control the wheels of the robot. .. image:: Images/wiimote.jpg :align: center .. literalinclude:: Code/RoboticArm.py Science Concepts and Skills =========================== A Hydraulic pressure system was in this project to make it move like a real creature. Blaise Pascal and Daniel Bernoulli were two physicists that came out with of hydraulics principles which are still used in today’s technology. Pascal’s law states “pressure in a liquid is transmitted equally in all directions” that is the application of pressure at any point will be transmitted equally to all sides of the container. In the hydraulic press, which is an example of a syringe, Pascal’s law is used to create a pressure on a liquid that will be transmitted to another syringe if connected through a plastic tube. The pressure will be equal throughout the system. In the robotic arm application, the same concept is applied when the pressure exerted on one syringe is transmitted to another syringe as they are connected with a tube and all the system is filled with water. The work applied on one side of the syringes is transmitted to the other syringe causing the arm to move, rotate, and the clamp to open and close. Pressure can be calculated using the formula: :: P = F/A Where: P is pressure in Pascal F is the force applied in Newton A is the surface are where the force is applied The robotic arm application is programmed to operate on a Raspberry Pi where motors are used to control the movement of the pistons of the syringes. You can refer to the video tutorial below to learn more about hydraulics. `Video Tutorial`_. .. _Video Tutorial: https://www.youtube.com/watch?v=YlmRa-9zDF8 **Flex your brain!** How can you apply this concept to real life situations to design car brakes?