Link to this comparison view

Both sides previous revision Previous revision
Last revision Both sides next revision
fabricademy2017:students:cheung:week_7_-_open_source_hardware_-_from_fibres_to_fabric [2018/03/03 23:15]
wei-ying.cheung [Future plan]
fabricademy2017:students:cheung:week_7_-_open_source_hardware_-_from_fibres_to_fabric [2018/04/25 21:57]
wei-ying.cheung
Line 27: Line 27:
 We sewed the bottom of the cable tie to the servo motor and used the hole at the top of the cable tie to thread the yarn through. We needed to stabilise the '​needle',​ so we added a piece of wood along the centre of the machine and a pathway for it to go through - for this we used a piece of a straw. We sewed the bottom of the cable tie to the servo motor and used the hole at the top of the cable tie to thread the yarn through. We needed to stabilise the '​needle',​ so we added a piece of wood along the centre of the machine and a pathway for it to go through - for this we used a piece of a straw.
  
-We connected the electronics and used the Arduino sketch given by Adriana for a servo motorand added 2 buttons ​one button to turn the blades, and the other button to turn the blades back.+We connected the servo motor to the Arduino ​and added 2 buttons ​(one button to turn the blades, and the other button to turn the blades back) as in the schematic below: 
 + 
 +{{:​fabricademy2017:​students:​cheung:​open_hardware:​schematic_-_1_servo_to_arduino.jpg?​nolink&​600x324}} 
 + 
 +We used the Arduino sketch given by Adriana to actuate a servo motor.
  
 {{:​fabricademy2017:​students:​cheung:​open_hardware:​first_test_-_description.jpg?​nolink&​600x454|first_test_-_description.jpg}} {{:​fabricademy2017:​students:​cheung:​open_hardware:​first_test_-_description.jpg?​nolink&​600x454|first_test_-_description.jpg}}
Line 69: Line 73:
 void setup() { void setup() {
  
-for (int i = 0; i < num_servos; i++) {\\+for (int i = 0; i < num_servos; i ) {\\
 allServos[i].attach(pin_numbers[i]);​\\ allServos[i].attach(pin_numbers[i]);​\\
 } }
Line 84: Line 88:
  
 if(buttonState ==HIGH && position < 150){\\ if(buttonState ==HIGH && position < 150){\\
-for (int i = 0; i < num_servos; i++) {\\ +for (int i = 0; i < num_servos; i ) {\\ 
-allServos[i].write(position++);\\+allServos[i].write(position );\\
 } }
  
Line 91: Line 95:
 }\\ }\\
 if(buttonState2 == HIGH && position > 3){\\ if(buttonState2 == HIGH && position > 3){\\
-for (int i = 0; i < num_servos; i++) {\\+for (int i = 0; i < num_servos; i ) {\\
 allServos[i].write(position–);​\\ allServos[i].write(position–);​\\
 }\\ }\\
Line 106: Line 110:
  
 As well as taking part in planning discussions,​ my specific contribution to the project was cutting the wooden pieces to go across the loom, drilling the holes for the needles and helping to sew some needles to the motors. As well as taking part in planning discussions,​ my specific contribution to the project was cutting the wooden pieces to go across the loom, drilling the holes for the needles and helping to sew some needles to the motors.
- 
-==== Future plan ==== 
- 
-In order to digitalise our prototype, Liane designed the wooden structure in Illustrator so that it can be laser cut to size. She also designed needles that could perhaps be laser cut too, although we would need to research this a bit more regarding which material would be best. We would also need to test if the length and joints work well. 
- 
-{{:​fabricademy2017:​students:​cheung:​open_hardware:​weavingmachine_scheme-01.jpg?​nolink&​600x450|Web}}