My project mimics those toys that never fall over no matter how hard you push them. The trick is to put their center of gravity low and centered so that the toy always bounces back to the middle.
For the rocking motion to look unnatural and interesting, I knew I had to make my structure tall and wide enough put something heavy on the bottom. So, I decided to go with an egg shape. When it tips, the toy looks like it’s going to fall over, but it doesn’t.
I put one ball bearing on one side, and 2 quarters on the other side, since I only took one ball bearing. If I had more bearings, I would replace the 2 quarters with one bearing and maybe add one additional bearing on each side to ensure that the toy will never fall over. Besides this, I’m happy with how my project turned out.
#include <Servo.h> Servo hobby; void setup() { hobby.attach(9); hobby.write(0); delay(500); } void loop() { hobby.write(135); delay(1200); hobby.write(0); delay(6000); }
Leave a Reply
You must be logged in to post a comment.