Ottopus
ottopus is octopus opensource robot.It made of 3dprint parts, arduino nano, nano shield, piezo buzzer, distance sensor, servo motor.
Supplies
arduino nano, nano shield, piezo buzzer, distance sensor, servo motor.
3dprint
Code (move Forward)
#include
Servo a1; Servo a2; Servo a3; Servo a4; Servo a5; Servo a6;
void setup() { a1.attach(2); a2.attach(3); a3.attach(4); a4.attach(5); a5.attach(6); a6.attach(7); a1.write(0); a2.write(180); a3.write(180); a4.write(0); a5.write(180); a6.write(0); }
void loop() { a1.write(0); a2.write(180); a3.write(180); a4.write(0); a5.write(180); a6.write(0); delay(200); a1.write(90); a2.write(90); a3.write(180); a4.write(0); a5.write(180); a6.write(0); delay(200); a1.write(90); a2.write(90); a3.write(90); a4.write(90); a5.write(180); a6.write(0); delay(200); a1.write(90); a2.write(90); a3.write(90); a4.write(90); a5.write(90); a6.write(90); delay(200); a1.write(0); a2.write(180); a3.write(90); a4.write(90); a5.write(90); a6.write(90); delay(200); a1.write(0); a2.write(180); a3.write(180); a4.write(0); a5.write(90); a6.write(90); delay(200); }