If you're seeing this message, it means we're having trouble loading external resources on our website.

If you're behind a web filter, please make sure that the domains *.kastatic.org and *.kasandbox.org are unblocked.

Main content
Current time:0:00Total duration:6:03

Video transcript

okay so in this video we're going to connect spiders LED eyes now you'll notice the LEDs have four legs one of the legs is longer are one of the leads is longer so we want to bend the longer lead back now on the first one that we're going to put up we're going to bend the longer league lead back in such a way that we have one of the legs is going to connect to pin 12 and so we want to sort of bend those those legs out so that we can connect to pin 12 and then we're also going to connect to the next to that exposed pins which are going to be pin seven and eight so we want to bend those legs out and you can use the the nipper pliers to trim them down just a little bit so so it'll go pin 12 pin 7 pin eight and the long leg gets bent backwards okay so we're gonna do the same thing for this led and we're gonna Bend that long leg backwards there we go and then we're going to connect our our legs so the legs are going to go in this one they're going to go into looks like I think we're going to do pin four three and two pins for three and two so that's those are digital pins for three and two and it takes a little bit of doing to get it in there but we got it okay so those are going to be our eyes so I think that's right yeah line it up there okay alright so once we've got the LED in in place for those we can take our resistors and we can connect those resistors to our LEDs now the the legs that we bent back are the negatives that they're the ones that connect to the negative part of the circuit and so we're going to trim those down and we're going to trim down our resistor leads just a little bit so it doesn't take up quite so much space and then we're going to solder them together and so when you take your resistor you want to I tried to twist the two around each other and they're just too short to do that in an easy way so what I ended up doing was and I was thinking maybe I could take a piece of wire and twist it and it didn't work so what I ended up doing was grabbing a a alligator clip and used the alligator clip to hold them together while there goes again it's falling alright yeah here we go finally got the alligator clip in place and sit still there we go oh it's falling again so this can be kind of trying trying but once you got the alligator clip it should work for you okay so the dahle at our alligator clip does two things it holds the resistor in place but it also allows us to absorb some heat so that we don't damage our LED so now I'm just trimming off some of the excess there and we'll do the same for the the other side of the the resistor and the LED so we'll do the same on the other eye and now we're just trimming some heat-shrink tubing and we're gonna slide the heat shrink tubing up over our resistor and that way we can protect the exposed wires from potentially shorting on another piece of metal it's always good to make sure that those exposed wires are covered now you can always take just some electrical tape and cover over it too okay so we've got our heat shrink tubing we'll slide that up over the connection and again electrical tape works just as well it's not quite as neat as the heat shrink but it works just as well okay so now what we're gonna do is we are connecting the sliding the other piece of heat shrink tubing up and then we're going to twist the two pieces together and we'll twist those together with the wire that is coming from the negative side of our motor controller or the negative output of other motor controller so it's kind of tricky to get these to go together and you can see that I actually broke the lead on the on the led because I've moved it around too much so the way to fix that is to just took the resistor and there's already some solder on the resistor and I can hold it against the the LED there and get it to to hold in place and so that'll work so hopefully that won't happen to you okay so anyway we got the the leads on the led and we're gonna twist everything together or there we go alright so now once those pieces are twisted together we can solder them and make sure that that joint stay solid okay so we're just gonna take the solder heat it up and make sure that it flows over the wires there and then again we'll trim off the rough edges and I realized after doing this that the the heat shrink tubing that I put on there on the black wire is actually too small to slide over the solder that I put on so I can't really use it to do what I wanted it to do I wanted it to slide up over the solder so if you do this use a larger diameter heat shrink tubing if you're going to use that so that it can slide over that solder joint but whit but this actually serves as a good proof point for we're just using the heat gun here to shrink up the tubing said cover up those open leads and then we're gonna take a piece of electrical tape and like I was saying this kind of works as a good proof point for how the electrical tape can also cover over some exposed wire and we'll just trim off the excess there and make sure that it's connected pretty tightly okay so now our LEDs are connected and the wires are insulated and they're in the right sockets and everything's in the right place now you again probably want to spend some time bending the wires to get everything just right so we're now we're just sliding our bottle cap eyes on now you want to be kind of careful doing this because they you have to push the LEDs apart to get the bottle caps to go on just right but once you've got them on you want to double check that the leads are still connected in the right pins and that nothing got pulled out and there we go okay so we can see that the board is is on we're about to program it