Animatronic Eyeball DIY Kit Basic Instructions | Animatronic Eye Mechanism for Arduino

Video Statistics and Information

Video
Captions Word Cloud
Reddit Comments
Captions
[Music] so whether you bought the full kit or sourcing parts yourself this is everything that you should need all right so we're going to start with the frame and the eye pivot these two pieces should initially just snap together and be held in place with friction and then they're going to be secured from the rear with a six millimeter phillips head screw and you do want a smaller phillips head screwdriver that's kind of long and slender but those just secures from the back and you want to make sure you get it pretty tight so the thing doesn't move but you also don't want to risk stripping the screw next we're going to attach the feet on the front and rear the frame these should also snap in initially and then be secured in place pretty similarly there's really no need to get these super duper tight the screw is mostly just there to make sure that nothing slides out of place and with that our basic frame assembly is done from there we need to attach each of the servos to the frame with each servo comes three screws we're going to be working with the two larger screws for now these are going to be what we use to actually secure the servos to the frame and we do need to mount these in a pretty particular pattern so if we hold the frame with the pivot facing to the right we need to insert this servo so that the white part is facing us and is oriented downward towards the feet of the frame and secure that in place with the two screws and set aside and the next servo we're going to put uh so the white part is pointing so we've got down up and the pivot facing the right so this side is good now we're going to flip over to the other side so the pivot is now facing to the left and we're going to put the next servo again oriented downward and then after that the remaining servo needs to be pointing up so that's the one closest to the pivot so we secure that in place and we know we're correct when all the servos match this proper orientation now we've got a pretty big mess of cables so we're going to tidy that up with some zip ties at the rear of the frame you should see two little rectangular slots i like to do the top wires kind of by themselves pull those towards the back and zip tie them together and then i bundle those two top wires with the two bottom wires and then secure that with a zip tie kind of [Music] out on their own and then we trim the excess with a pair of snips and that's looking a lot cleaner so now we're going to actually put in our eyeball mount so that we have a good way to secure this thing to our frame and move it how we want so i actually in the kit include a little tool that is to make sure that we get the mount secured in in the right position so the mount just secures into the little eye holder piece and then it presses down into the eyeball and it should be nice and flush even spacing all the way around to secure the piece into the eyeball where i use hot glue you could use super glue or something else but i found hot glue worked pretty well and you actually don't need a whole lot of glue basically put some glue in the bottom of the eyeball set the pivot piece down in there and then use the tool to press it down hold it for about 10 seconds and then you can pry the little tool piece out and you should have a nice even spacing all the way around one of the downsides to hot glue is you get strings that you have to clean out but it's generally works pretty well for me i found all right and with that done we can actually snap the eyeball into our frame should go in pretty nicely and should be able to move in all directions pretty smoothly if it's not then you might want to use a replacement piece next we're going to put in the screws that we use to pivot the eyeball lids around we're not going to screw those in all the way we're just going to get them so they're barely peeking out of the two little side arms from the pivot piece uh next we're going to take our two lids kind of put them together and then attach them to those screws so i find it's easy to kind of put it in on one side and then that will hold it in place and then you screw it in on the other side you do want to make sure that you don't screw in too far so the eye can't move all right so next we're going to start with some of our electronics work in the full kit you should get a power supply that has this little handy attachment on it we're going to start with the positive that's the plus sign marked on there we're going to attach a red wire on there and then we're also going to go ahead and attach our negative side that's going to go to our route then on our servo driver board we're going to attach our red wire to the side that says v plus and then our ground wire or negative wire to the side that says round for this one you do need a flat head screwdriver it's the only piece in the kit that you need it for but i don't make these boards so it's not much i can do about it so secure these in place make sure they're pretty tight and that they're not going to fall out or get loose anytime soon and with that we can set our servo driver over to the side now we're going to take our breadboard um if you've never used one before basically the red and blue rails are where we're going to be getting our power from and then the rows are connected to themselves so we're going to take our servo driver so that it is facing to the right we're going to plug the top pin into j1 and the bottom pin should then be at j6 so again the board is facing to the right so now we're going to start actually wiring this thing up the first thing that we're going to connect is our ground wire and we're actually going to skip a pin and then go to our scl wire then our sda wire and then our vcc ui so basically we do our ground wire we skip a pin and then we do three marks or in breadboard terms f2 3 4 and 6. so now we're actually going to put in our push buttons these guys are pretty small but we want to orient it so that it kind of bridges the gap between the two sides of the breadboard we're going to put in both of these it doesn't really matter where on the breadboard they are in terms of rows as long as it straddles that center trough so we're going to take one of our colored wires and put it in one of the same rows as one of the legs we're going to do that for each button so i connected mine to the top leg of the button and then we're going to connect a black wire to where the bottom leg of the button that row is perfect so now we're going to start wiring up all of our grounds so basically we're going to take the bottom wire from the servo driver we're going to plug that into our blue column it's labeled minus we're going to take our two bottom legs of the push buttons and put those to ground as well and then we're going to run a wire going from anywhere on that blue column that ground column over to the ground pin on the arduino so it's kind of hard to see but it's like a gnd all right next we're also going to run our 5 volt line so we're going to take one of the red wires plug it into the 5 volt line on the arduino and then plug that into the red plus rail on the breadboard we're going to take our topmost wire from the servo board and plug that into that same red positive voltage rail so next we're going to attach our sda and scl wires from the servo board to the arduino as well as the two signal wires that we had for the buttons into pins two and three on the arduino with that our wiring is good so we're going to start plugging things in we're going to power up the servo board first plug that into the wall and then plug in your arduino um into your laptop okay we're going to begin by opening our imac user guide that you can download it should look something like this but we're going to go to the arduino code section we're going to open that up we're going to go to our very first file it's our wiring check file and we're going to open that up uh luckily i've already got that open you do want to make sure that you have your arduino plugged into the computer that you are doing your coding on and basically all that this code does is it makes sure that your buttons are plugged in to the right places and that they can actually read a clip correctly and it also will send power to that servo board so that we can get our servos oriented in the right position so that we can start attaching our linkages so what i'm going to do is i'm going to go ahead and send that code over it's going to upload to the arduino and then i'm going to click up to this right corner it says serial monitor and that over here it's telling me that we're ready to go and i'm just going to reach over and click the button we'll see that the look button works then we'll go and press the other button and we can see the blink button works so now we're sure that our wiring is correct and we can start uh moving forward okay so here's where things start to get fun we need to start connecting our servos we need to do it without any of those plastic servo horns attached so if you accidentally attach those go ahead and remove them basically we're going to take our back most servo we're going to trace that wire down and we're going to plug it in to the bottom pins on the servo when you plug each servo in it should move to its home position so here you can see that that second servo just flipped around and note that the black color should go to the black and the yellow should kind of be yellow so our rear most servo is going to be in pin 0 on the servo board and our front most servo the one closest to the eye should be in pin 3. now we're going to start actually attaching those white servo horns so we can get a good idea of how we can make this thing move note that we do want to attach these pretty much up and down at the servo's natural home position so don't try and twist the servos to get them perfectly straight just get it close it doesn't have to be perfect okay so now we're going to go back to our arduino code we're going to go to the second file that says button blank and we're going to open up the file that's for one eye which is what we're working with right now so we open that up and if by any chance you happen to unplug your arduino go ahead and plug back in connect to it and we're going to upload this code and when you press the blink button on the breadboard you should see the mechanism move so those back two servos should be moving towards the eyelids all right so now we're going to start what i think to be the most frustrating part of this project we're going to start bending the linkages so on your little linkage bending like template type thing you take some of that steel wire and there's there's two pieces on there that are just like a basic stretched out straight z shape so go ahead and bend one piece of wire to the longer z shape this is going to be what controls our top end and then bend another piece of wire to the smaller stretched out z shape um so just press it on down in there you want to keep these as straight and as flat as you can and these will take a little bit of tweaking to get everything uh getting right go ahead and bend that in and then snip it roughly to length on the template [Music] so we're going to start with the shorter linkage piece this is for our bottom lid we're actually going to feed it in from behind the servo horn into the bottom most hole and then that just reaches over and connects into the eyelid it may be a little loose but we'll fix that in a minute we're going to do the same for the top eyelid and then what i like to do is i like to get a pair of pliers and then kind of grab the little bit that's poking through the horn pull it out as far as i can and then bend it away from the eyelids bend it away towards the back of the mechanism what that does is that adds tension so that the linkage is always pressing into the eyelid um so that it doesn't pop out i'm gonna do the same for the bottom lid you can see just the level of tension that's in there it actually wants to press inward so we're going to go ahead and connect that then you might have to tweak the top linkage a little bit to make it clear the servo that's right next to it so i like to add a little bend in there and after that you want to make sure that everything is as straight as possible in terms of a straight line from the linkage to the servo when you're looking from the top but other than that we should be able to blink you are going to need to change some of these levels these define the limits for your opening and shutting of the eyelids so i've said here that this is the shut limit this is the open limit so if you need your eye to be more open make this more like 410 if you need your eye to shut a little farther go ahead and make this closer to 300 if you if it's too far down then bring it up a little bit and so on and so forth with that we can go ahead and screw in the little servo horns using the tiny screws that came with each servo to do that make sure everything works and we should be able to move on to the other side so now we're going to go and open up the third file which is look x y you're going to do this with one eye open it up make sure that our arduino is plugged in upload the code and then when we press the button we should see the arduino beginning to move the other servos then we're going to actually connect these up so we're going to bend our linkages for the x and y movements of those um we're actually going to start with these the longer zigzaggy shape on our bending template go ahead and bend that all the way around and trim to length we're going to do the same for the shorter zigzagging shape these are actually what are making up our x and y linkages so our x linkage is the shorter one and our y linkage is the longer one and these can take a little bit of effort to get just right because you do have to do some tweaking on them uh some extra bends and that type of thing we go ahead and trim this to length take them both out and we're going to actually start with the longer linkage so we're going to set the short one to the side we're going to take the longer one we're going to start by taking the short curly end and bending that 90 degrees towards the longer end so it's we're going to bend it up and when you get that finished if you look from the top the short end should be in line with the rest and the longer hook should be laying flat and if you look from the side it should be the other way so we're going to hit the longer hook through the top horn of the second servo and this this is going to take some tweaking you want to make sure that that first little straight bit is nice and flat so i actually like to bend this in with the pliers make sure that it's not going to go anywhere we only want it to be able to rotate in one kind of along one direction um so we want to make sure that that first little straight bit is parallel to the rest of the frame so i'm going to bend that a little bit i also bent it up just to clear the servo next to it a little bit as well and at the end the shorter hook should be in line with the center line of the frame pointing perfectly up and down now we're gonna do a similar thing for the x-axis servo so we're gonna put the longer hook through the bottom hole of the servo horn and then kind of pinch it crimp it down a little bit with the pliers so that it can only bend or it can only rotate in one direction and so now we'll actually need to bend this piece uh upwards so kind of like a z shape so we're just going to take both of the flat sides pinch them real hard and then just move straight up so we get a nice little z shape that hook should be about midline between the edge of the screw and a little pivot point once that's done we can actually connect the eyeball through those little holes this can be a little tricky sometimes it's easier to take the entire horn of the servo off connect it to the eyeball and then put the servos with the horns back on the servo but either way you connect the linkages to the eyeball as well and then you pop the eyeball into the little ball and socket joint that's attached to the frame and at that point we're ready to start kind of tweaking these linkages and make sure it gets in the right spots so once again we're going to go back to our look xy code and just as before with the blink we're gonna have to change these uh limits so that we make sure that our eyeball isn't going to go too far in the left right up or down direction these are really important because if you go too far you can actually break either the little eye ball attachment piece or the pivot point so you want to be kind of conservative with these and work your way up to what you think might be the good limits of your design so there's a couple different ways that you can tweak these to get them moving super well i actually noticed on mine that i had my servo horn in a not ideal orientation so i went and moved it over by one little clip i also you know constantly fidgeting with some of these different linkages and stuff you can really stiffen up your linkages a lot by going ahead and putting the screws in once you're sure that they're not going to collide with anything and i also found that crimping it a little bit extra helped a lot once that was done i got the thing moving very reliably and in a way that i really liked so i go ahead and reattach the eyelids and reattach the linkages into the eyelids and i recommend you load the look and blink arduino code just to make sure that nothing is going to collide from here you can tweak your limits and ranges to make sure that your eye always ends up centered at the end of each motion and once you've done that you're kind of off to the race as you can start doing pretty much whatever you want with your eye mechanism so that completes the basic instructions for putting this thing together as always there's lots to explore with the code in terms of unlocking the potential of this mechanism you could have this thing triggered by things like motion sensors you could run it manually using buttons or controller or that type of thing or you could set a routine or just have it cycle through random expressions and moves and that type of thing there is some sample code that kind of just designed to get you started but either way this kit is homemade this is my first try at this type of thing so i understand there might be some difficulties here and there as always leave a comment or send me a message or feedback or that type of thing so that this can improve in the future but thank you for checking out this project and for supporting a good cause you
Info
Channel: John Strope
Views: 68,160
Rating: undefined out of 5
Keywords: Animatronic, Eyeball, Eye Ball, DIY kit, animatronic eye mechanism, eye mechanism, animatronic kit, robotics kit, arduino, animatronics arduino, arduino animatronics, 3d printed animatronic
Id: xf6xtEhTiz0
Channel Id: undefined
Length: 21min 17sec (1277 seconds)
Published: Sun Dec 20 2020
Related Videos
Note
Please note that this website is currently a work in progress! Lots of interesting data and statistics to come.