Description

This piggy bank doubles as a fun desk toy doubles that will cheer most anyone up. Inspired by pointless robots, the piggy bank repeatedly hits itself until all of its stored money has spilled across the floor. The fall is caused by the force of the arm and the redistribution of mass within the robot. In addition, to add personality, the piggy bank has laser cut dollar sign eyes and a screw shaped mouth that also adds support. The pointless piggy bank is fun for all ages!

Solidworks Files can be foundĀ here

Arduino code


#include Servo;
Servo myServo;

void setup() {
// put your setup code here, to run once:
Serial.begin(9600);
myServo.attach(9);
myServo.write(0);
}

void loop() {
delay(500); 
// put your main code here, to run repeatedly:
for(int pos=0; pos <= 180; pos+=10){
myServo.write(pos);
delay(1); 
}

for(int pos=180; pos >= 0; pos--){
myServo.write(pos);
delay(20);
}
delay(500);

}