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:50

Video transcript

okay so we're going to hack a digital camera today and we've got two buttons on the camera and one of them is a power button the other is a shutter button so you got to push the power button first and then you can push the shutter button and it'll trigger the the camera to take a picture so I'm going to pop those office or metal no membrane switches and we take the tops off of those we realize that the connections there are really small it's going to be hard to solder to those so we're looking at connecting to these four points on the back that's where the switches wire into the main board so we're just going to cut the switches off and we're going to see if we can the first thing that we need to do is we need to run power to the camera so we need to find a way to power it we're going to try and power it using our the batteries on our Bitsey bot and so we're going to solder to the positive terminal that's the terminal that the batteries would connect to we're going to solder a 22 gauge wire to that and since it's positive the wires read it's just a symbolic way of representing the red wire and then we're looking on the back you can see where the battery connections go and so we're going to connect to the negative where the battery at negative battery connects I'm going to just feed our 22 gauge wire there the black one and that will be our negative or ground wire and we'll sort of that in place as well and once we run 5 volt power to those 2 wires we should be able to power our digital camera and so it's basically extending the connections that we would normally have for our batteries now to do the wires for our on/off switch and for our shutter we're using really small wires we're using like a thirty third I think it's a thirty eight gauge magnet wire and right now we're just stripping the insulation off of that magnet wire it's a that is the insulation is lacquer so we're just scraping that lacquer coating off and preparing the wire for soldering once the lacquer coating is gone we will tape the wire down to one of our contacts and that will hold the wire now one of the reasons we're using such a fine wire is that when that solder flows around the wire it won't take up so much space that it bleeds over into the other solder contacts that we need to keep separated otherwise the switch won't work so we're just going to heat that wire up just a little bit and use some solder and this is a very big tip if you have a smaller tip for your soldering iron that's going to work a lot better but we just got a little bit of solder on there and let it flow down the the original solder joint over the wire and we have a good connection so we'll do this for our second wire and make sure the second wire is in in the right position and we'll continue this again for our third wire and then there's our third wire there and again we're just taping that in place and it's it's really important that these wires remain separated and that they're not connecting each other otherwise your again your switch won't work and so then we'll do it again for our fourth wire and it takes a fair amount of practice with a soldering iron to get just the right amount of solder on it so that it makes the connection but not so much on it so that it bridges between connections so if you're not very familiar with the soldering iron you may want to practice a good bit before trying this okay so now that we have our wires on there we've taken the tape off we're going to tape them back down to make sure that they stay firmly in place this is really important because those solder joints are not very strong and if you tug on the wire it will pull the solder out pull the wire out and it may ruin your joint okay so we're looking at our motor control here we're actually going to attach our ground wire our negative wire from our camera to the negative or the ground wire on our motor controller there and then we're going to connect the negative wire from our battery to that same terminal pin on the terminal block that is the left terminal pin on the Center terminal block there and then we're going to connect the right terminal pin to the positive wire from the battery that's the 12-volt wire the positive 12 volts and we'll connect that to the the far right terminal pin and screw that one down and you can see when we did that the negative wire came out so we're going to need to reattach that the wire from the battery and then we're going to take the positive wire from the camera after we connect our reconnect our battery wire and tighten that down the rest of the way we'll take our positive wire from our camera put it in the center pin and the center pin is our 5 volt out so we should be getting close to 5 volts to power our camera so we've got our voltmeter here and the power is going from the battery to the motor controller and and it's going through that central chip the the the little chip there which is a 5 volt regulator chip and so it's converting our 12 volts to 5 volts and we're going to put our our voltmeter on the negative pin and then on the centre one and you can see that that is four point nine eight volts so we we do have the right number white right amount of voltage to to run our camera we're going to check our camera to just to make sure the voltage is going on the camera to the camera where it's supposed to be and it looks like yeah we've got four point nine eight volts there too and so that's a that's more than actually what we need to run our camera but I think it's within tolerance so we've got enough voltage to make things happen so now we've got our two wires here to a two of the wires that we connected we're going to try and connect them and see if they're the ones that trigger our power on so if we if we found the right wires when we connect those it should turn the power on to the cameras you can see the L LED or LCD screen light up so let's see if we can make that happen and it looks good yeah that was those were our power wires and they they do power our allow the power to flow through our camera and so now if we want to take a picture we need to take our two shutter wires oh and you can see what just happened there was the two power wires touched the metal on the lt98 chip and and actually caused them to to connect so it's really important when you're using those wires that you keep them separated so that they don't touch when you don't want to okay so now we've got our shutter wires here and there you go we just connected them and you can see we took a picture so what we're going to do now is we're going to wire up a circuit so that the Arduino can control when this happens when the shutter happens and when the camera is and on now that we have the wire separated we can wire that to a circuit and control it with the Arduino