Professional Documents
Culture Documents
Symbiosis Institute of Technology, Pune: SR No. Name PRN No. 1 2 3
Symbiosis Institute of Technology, Pune: SR No. Name PRN No. 1 2 3
1
SYMBIOSIS INSTITUTE OF TECHNOLOGY, PUNE
DEPARTMENT OF ROBOTICS AND AUTOMATION
MTech – Robotics and Automation (2022-24)
Semester –1st
Description:
The robot arm project is a proof of concept if a simple 3D-printed drive by affordable servo motors
can be controlled by accelerometers and a magnetometer attached to the controlling person’s arm. The
person needs to learn using any input devices just perform the movement that should be reflected by
the robot. A use case could be to perform manual tasks remotely in inaccessible or dangerous areas
such underwater projects, medical applications, etc.
Sensors:
There are four sensors used. Three of these are responsible for the arm movements and one for the
gripper. The servos in the upper, lower arm and the wrist are capable of measuring the acceleration.
Additionally, the digital compass of the sensor at the wrist is used. The accelerometers measure the
orientation of the limbs relative to the gravity vectors. These orientations determine the angles of the
servo motors.
Since regular movement also creates acceleration the trajectory of the robot arm will differ at higher
movement speeds. The magnetometer (compass) is used to measure the arm yaw. The measured
position on the start-up of the microcontroller is measured and taken as the reference forward
direction later. The compass vector is taken at the wrist and applied to a shoulder servo which rotates
the complete arm.
Since the orientation of the wrist sensor needs to be subtracted from the compass vector to get the
absolute world orientation, all transformations from shoulder to wrist are back transformed using
matrices. This happens in the calculate Angles method of the sketch.
Wiring Diagram:
2
SYMBIOSIS INSTITUTE OF TECHNOLOGY, PUNE
DEPARTMENT OF ROBOTICS AND AUTOMATION
MTech – Robotics and Automation (2022-24)
Semester –1st
Almost all communication is done using I²C. To be able to address two GY-521 sensors at once they
have two different addresses assigned by wiring either GND or VCC to the ADD pin of the sensor
boards.
The I²C is a bit limited in signal strength. You might want to add additional pull-up resistors to SDA
and SCL. All sensor boards are powered by 5V since they have their own 3.3V regulators. The GY-
511 board I am using also has a 3.3V pin which changes the pin order. be careful to connect the right
pin to 5V if you are building an adapter board like me.
The power supply that's connected to the PWM board screw connectors should be able to apply
several amps since quite some forces can occur with 6 active servos. Your USB will be overloaded for
sure if you don't use an additional supply.
Objectives:
This project shows a 3D printed robot arm that mimics your arm movements. The arm motion is
sensed using accelerometers and a digital compass.