{0.8} Final Clock
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.
Starting with the head, I took the clock mechanism 3d model provided in class and made a space for it to go while making sure the front/face wasn't to thick so you cant securely attach the clock to the face. after getting the front finished It was time for the back of the head. The first point of concern for me was making sure there was a hatch to easily access the dial and battery for the clock and making the space for the servos to be near the ears. after making the space for those I left space on both sides of the face to leave space for the ears to move then split the face into several slices to access the tunnel I made for the servo wires. To finish the head off I made some tube-like covers for the servos to keep them hidden. (Light blue is printed with transparent blue TPU and the white is Silky PLA)
With the head done I moved onto the body, starting with the neck joint. I knew the head would be top heavy so I wanted to make a really secure ball joint and to do that it requires a cap that screws around the joint. I hated how bulky It looked so I changed it to the blue TPU I used so it would look more like a collar.
after getting a basic shape for the body, I cut it in half and made some simple models to represent the size for all the components of the Arduino like the board, power switch, and battery (In red) then hollowed out the body to give space for the components while leaving a hollow tunnel through the neck to feed the wires of the servos controlling the ears through to the board. I also made sure to model the tail and leave space for it to move similarly to the ears. To finish the rough body off I cut out a battery pack hatch on his stomach so his battery and power switch could be accessed and changed out.
after getting the body shape down and split, I added cylinders to allow them to snap together and align easily after they printed before moving onto the legs. I got the rough shape of the legs down and aligned them with the ball joints positioned roughly on the body. I Scaled up and offset the legs to Boolean difference them from the body to give space for the legs to be able to move around. to give space to the ball joint socket I made a sphere and boolean difference it from the leg before unioning the joint to the body and the socket to the legs and mirroring them.



Comments
Post a Comment