This living tripod operates as an articulated support structure. The tripod loses his footing, and after falling down wriggles on the table in a failed attempt to stand once again. This tripod uses a micro-servo as a joint for one of the three legs, allowing for sudden change in center of mass to tilt the device. Three pieces of laser cut wood were used to assemble the machine. See below for code. If questions, contact jkwang1@andrew.cmu.edu.
// "Tripod" by Jen Kwang // Moves the leg of the tripod to fall down #include const int SERVO_PIN = 9; Servo svo; void setup(void) { svo.attach(SERVO_PIN); svo.write(140); delay(3000); const int angles[8] = { 150, 145, 150, 155, 150, 145, 150, 100}; for (int idx = 0; idx < 8; idx = idx + 1) { svo.write(angles[idx]-10); delay(1000); } const int angles2[12] = { 160, 140, 160, 140, 160, 140, 160, 150, 120, 170, 120, 170}; for (int idx = 0; idx < 8; idx = idx + 1) { svo.write(angles[idx]); delay(200); } } void loop(void) { }
Solid Works files are here.
Leave a Reply
You must be logged in to post a comment.