Spring 2017 Prosthetic Arm: Servo Rotation Accelerometer Test
The Robot Company | CEO Professor Gary Hill
Blog Post created by Project Manager | Bianca Esquivel
Project Test Executed by Mission, Systems, and Test Engineer | Phuong Tran and Electronics and Control Engineer | Mikael Movsisyan
Purpose: This experiment satisfies the L1 Requirement Integration – Together, the hand and arm shall be able to perform 3 tasks: pick up a cup of water, pick up a Chips Ahoy cookie, and operate a computer mouse to play a game of minesweeper.
Aim: This experiment follows up on the con-ops presented during the Preliminary Design Review, whereby the wrist should only be allowed to rotate at a specific orientation. The aim of this experiment is to allow wrist rotation only when the arm is pointing down.
SparkFun 2 d.o.f. IMU
Test Set Up
- Connect the output of the IMU/accelerometer to the analog pin 1 of the MCU
- Connect the output of the EMG sensor to analog pin 0.
- Test the accelerometer analog readings and select a threshold value, signifying the accelerometer is pointing in the positive y-axis (as drawn on board).
- Modify the FSM code such that in order for transition from state one to occur, both muscle contraction and the correct orientation conditions must be met.
Code ran successfully, and the servo rotated only when the arm was pointing down.
Experiment satisfies the new requirement from con-ops i.e. allow wrist rotation only in specified orientation. The wrist rotates only when the arm is pointing down and the necessary muscle contraction and subsequent relaxation conditions are met.