Date: 
10.04.16

Deformation

Purpose of experiment: to create a live model for measuring plastic deformation to material, where a set of applied forces is based on a locally derived experimental model, rather than a model informed by known and formerly reported material properties.

A rectangular aluminum surface is clamped along one of its short sides and free in all other three sides.

A torsional force is applied to the surface by rotating the free short side. The rotational angle is increased until plastic deformation is achieved corresponding to a pre-determined geometry. At this point, the stepper motor reverses its direction to the point at which the material is no longer applying force to the stepper motor, the relaxation point of the metal.

Actuation source: stepper motor with 200 steps/revolution, 1.8A driver

Controls: Arduino, EasyStepper driver

Code:

void SmallStepMode()
{
  Serial.println("Stepping at 1/8th microstep mode.");
  digitalWrite(dir, LOW); //Pull direction pin low to move "forward"
  digitalWrite(MS1, HIGH); //Pull MS1, and MS2 high to set logic to 1/8th microstep resolution
  digitalWrite(MS2, HIGH);
  for(x= 1; x<100; x++)  //Loop the forward stepping enough times for motion to be visible
  {
    digitalWrite(stp,HIGH); //Trigger one step forward
    delay(1);
    digitalWrite(stp,LOW); //Pull step pin low so it can be triggered again
    delay(1);
  }

  digitalWrite(EN, LOW);
  Serial.println("Enter new option");
  Serial.println();
}

//Forward/reverse stepping function
digitalWrite(dir, HIGH); //Pull direction pin low to move "forward"