Posts

Showing posts from April, 2026

{0.8} Final Clock

Image
 My dog clock was admittedly a little easier then I originally thought it was going to be. starting with the sketches to start out bellow. To achieve the motion of the ears and tail I had to learn how to program an Arduino. I got a beginner's kit for the Arduino and followed the provided tutorials until I got to the one with the servo. After figuring out how to connect one servo I copied it two more times to have 3 servos connected to the Arduino (two for each ear, one for the tail) After many many many hours of searching online forums and testing my code over and over again I was able to make the ears do a sweep between 0 and 45 degrees at random (with one of the servos being a mirror of the other. the tail is similar but sweep between 0 to 75 degrees and also sweeps a random amount of times between 1 and 5 times. after making sure it worked on the breadboard/test board we soldered it to a Arduino nano 3 which is significantly smaller and easier to fit in the clock.   St...