8. Sprint 1 (Building Phase) - m-division-2018-2019/Team-17 GitHub Wiki
Fabrication Plan
- Laser cut acrylic sheets to form the required parts.
- Carefully assemble all the parts.
Sr no. | Part name | Materials of the part | Description of the part | Quantity required |
---|---|---|---|---|
1 | acrylic sheet | 5mm | ||
2 | nuts | |||
3 | bolts | |||
4 | micro servo motor | 1 |
Code
#include <Servo.h>
Servo myservo;
int pos = 0;
void setup() {
myservo.attach(9);
}
void loop() {
for (pos = 0; pos <= 180; pos += 1) {
// in steps of 1 degree
myservo.write(pos);
delay(15);
}
for (pos = 180; pos >= 0; pos -= 1) {
myservo.write(pos);
delay(15);
}
}
Built Subsystem