Robot Hand
My group and I had created a robot hand powered by servos and an arduino. The purpose of making this hand was to learn to use sensors, coding, measurement, and building skills.
Supplies
the supplies needed to build a robot hand are
- elastic bands
- styrofoam
- paper clips
- pliers
- exacto knife
- fishing line
- hot glue gun
- servos
- arduino
- marker
Building the Hand
- Measure the finger lengths and mark it into the styrofoam
- Cut a piece of styrofoam according to the measurements.
- Sand down the styrofoam to look like fingers.
- Cut the sanded piece into 3 parts to make finger joints.
- Poke a hole through all the parts using a needle rod.
- Cut a piece of foam the size of a hand and attach all the fingers to it.
- Thread a wire through the holes from the top of the finger to the wrist and tie a knot to keep it in place.
- Connect the parts with rubber bands, leaving some space between them.
- Cut another piece of foam to hold the servo motors.
- Connect the wires from the fingers to the servo motors.
Wiring
Attach the sensors to the hand. Connect the sensor wires to the hand and the strings. And ensure all connections are secure.
Coding
- Copy and paste the code.
- Include the Servo library.
- Initialize the servo motors.
- Initialize the flex sensors.
- Create a variable to capture analog readings from the flex sensors.
- Connect the servo motors to PWM pins 3, 5, 6, and 9.
- Read the analog values from the flex sensors.
- Convert the sensor readings to a range of 0 to 180 for servo movement.
- Adjust the servo positions based on the converted values.
- Upload the final code to the controller.