Skip to content

17. Machine design

MACHINE DESIGN(part 2 of 2)

Group assignment:

  • Actuate and automate your machine.

  • Document the group project

Individual assignment:

  • Document your individual contribution.

Part 1 Mechanical design

1. GROUP ASSIGNMENT

Here you can see the Group Assignment

2. INDIVIDUAL ASSIGNMENT

Buy an arduino 1 board to program the motor and lights.

I used the Arduino IDE software to program. I correctly connected the cables to the computer and we began to program, we defined the type of motor and its speed, in this case a stepper motor, finally the time that it will rotate and the sequences that will follow. Finally I tried it manually and it covered the mechanism, after programming it I tested it by connecting it to the power supply and it also covered it.

You can see the code below:

//initialize the stepper library on pins 8 to 11: Stepper myStepper(stepsPerRevolution, 8, 9, 10, 11);

void setup() { //set the speed to 50 rpm: myStep.setSpeed(50);

}

void loop() { //number of turns integer n = 5; //time in seconds int t1 = 5; //time in seconds int t2 = 60; // step n revolutions in the other direction myStepper.step(-nstepsPerRevolution); delay(t11000);

// step n revolutions in the other direction: myStepper.step(-nstepsPerRevolution); delay(t21000); }

The final result was the following: A completely transparent face is presented. With another twist you can see the Fab Academy logo. In another you can see MDF prisons covered in vinyl of different colors. In addition, the light frames the window.

I made the documentation of the group work and the video for the final presentation:


Last update: November 30, 2022