1 00:00:00,000 --> 00:00:07,740 Okay, we're going to go ahead and get started. So this talk is, as you can see on the screen, this is Arduinos for a STEM software guy. 2 00:00:07,820 --> 00:00:11,300 So it's hardware hacking for a STEM software guy. I definitely include myself in this group. 3 00:00:11,780 --> 00:00:15,520 I've done software for a long time, but I've never really gotten into hardware. 4 00:00:15,700 --> 00:00:21,040 So this is how I got into it. This is about a way that all of you can get into it if you're looking for a way to do it. 5 00:00:23,240 --> 00:00:28,240 Just as a disclaimer, if you've seen other Arduino talks or maybe some things that are similar, 6 00:00:28,240 --> 00:00:34,060 it's because it's all true and good, not because it's, and so, and I thought of it first, I guarantee it. 7 00:00:36,200 --> 00:00:42,180 So again, back to Arduinos. So hardware hacking, it can be daunting for software guys like me. 8 00:00:42,300 --> 00:00:50,320 So I look at it and I say, you know, there's these complex circuits and components that I didn't understand 9 00:00:50,320 --> 00:00:56,140 or even don't understand a lot of them still. There's the cost involved in getting into hardware hacking. 10 00:00:56,260 --> 00:00:58,220 So you have the hardware. 11 00:00:58,240 --> 00:01:00,540 You know, you have, you have to buy a development kit. 12 00:01:00,680 --> 00:01:04,320 You have to buy all these tools, soldering irons, test crimp, things like that. 13 00:01:04,400 --> 00:01:08,200 So you look at it, just enormous cost you have to put down to get involved in this. 14 00:01:08,320 --> 00:01:11,580 And then there's also, in many cases, a steep learning curve. 15 00:01:11,740 --> 00:01:16,840 So, you know, you're trying to learn assembly or something like that. These, these languages that may be hard to learn. 16 00:01:18,260 --> 00:01:21,220 There's also, for a lot of the stuff, there's a lack of good information. 17 00:01:21,460 --> 00:01:26,480 So you look, you try to find, you know, good tutorials on things and sometimes it's hard to find something. 18 00:01:26,720 --> 00:01:28,220 You know, it's equivalent to like an example. 19 00:01:28,220 --> 00:01:32,540 For example, in code, where you can take it and, and, you know, modify and use it however you want. 20 00:01:33,100 --> 00:01:36,880 And, but, but I still wanted to make cool stuff and so I started looking around. 21 00:01:37,040 --> 00:01:40,900 So, so one thing that really helped me is last year I, I picked up the hardware hacking kit 22 00:01:41,680 --> 00:01:47,040 that they sold here at DEF CON and, and had a parallax board that was, that's a really cool board, by the way. 23 00:01:47,920 --> 00:01:52,780 And then the other thing is I started just hearing about these Arduino things, just reading on Hackaday and, 24 00:01:52,820 --> 00:01:57,300 and the Make website and things like that. And so I picked up a couple of Arduinos and just started messing around. 25 00:01:58,580 --> 00:02:02,180 And so this is why, this is why I like Arduinos and microcontrollers, 26 00:02:02,260 --> 00:02:04,280 is they're, they're a good mix of hardware and software. 27 00:02:05,820 --> 00:02:09,980 So you can, you can drop code on them and they can do the same thing as a really complex circuit, 28 00:02:10,120 --> 00:02:11,500 but they're just on this one little chip. 29 00:02:11,980 --> 00:02:15,580 And so they're really easy to use. And you can reprogram, repurpose them for something else. 30 00:02:15,640 --> 00:02:20,120 It's not like a circuit where you have to desolder everything, resolder it up, you just drop different code on it. 31 00:02:20,140 --> 00:02:22,740 It's, it's something else. And I, I really like that. 32 00:02:23,060 --> 00:02:26,900 So if you look at this graph, this is a, this is a graph that shows the search. 33 00:02:27,600 --> 00:02:30,740 The, the amount of the people that are searching for these different terms. 34 00:02:30,840 --> 00:02:36,720 So if you look the, the green and the orange are Atmel and, and Microchip. 35 00:02:37,480 --> 00:02:42,060 And you see over time, so these are two big chip manufacturers that are used a lot, especially in the industry. 36 00:02:42,760 --> 00:02:44,920 And in fact, the Atmel chip is on the Arduino. 37 00:02:45,240 --> 00:02:48,660 But so as you can see, this, people have been searching less and less for these terms, 38 00:02:48,760 --> 00:02:53,620 but Arduino, the red one, has been going up since it came out, you know, in 2007 or so. 39 00:02:53,700 --> 00:02:56,540 Then it's, you know, steadily been rising and it's passed the other ones. 40 00:02:56,900 --> 00:03:02,240 It's going to, as far as I can see, it's going to continue to rise because it has so many, so many great advantages to using Arduinos. 41 00:03:02,940 --> 00:03:05,360 So what is an Arduino if you're not familiar with them? 42 00:03:05,480 --> 00:03:07,040 They're open source hardware platforms. 43 00:03:07,720 --> 00:03:10,540 It's an open source hardware platform. It's an all-in-one solution. 44 00:03:10,820 --> 00:03:14,300 So, so it's open source meaning the design is completely open source. 45 00:03:14,440 --> 00:03:16,920 Anybody can download the schematic. You can build your own. 46 00:03:17,380 --> 00:03:19,360 You can sell them. You can do whatever you want. 47 00:03:19,460 --> 00:03:20,700 It's, it's completely open source. 48 00:03:21,960 --> 00:03:25,940 It's all-in-one, like I said, so that means basically have everything you need on the board. 49 00:03:25,940 --> 00:03:27,860 So you just plug a USB cable into it and go. 50 00:03:28,800 --> 00:03:30,040 You can just drop code on it. 51 00:03:30,100 --> 00:03:31,620 It has an easy-to-learn language. 52 00:03:31,860 --> 00:03:33,880 The Arduino language is kind of an abstracted C. 53 00:03:34,660 --> 00:03:39,920 It takes care of a lot of the, a lot of the functions for you, like digital pin writes and things like that. 54 00:03:39,960 --> 00:03:41,720 They're really easy to do in the Arduino language. 55 00:03:42,800 --> 00:03:45,780 It has a free open source IDE that does syntax highlighting. 56 00:03:46,000 --> 00:03:48,240 It uploads the code to the board. It compiles it. 57 00:03:48,320 --> 00:03:52,660 It can burn new bootloaders on just blank chips, things like that. 58 00:03:52,780 --> 00:03:53,540 So it's really cool. 59 00:03:54,200 --> 00:03:55,620 It has a strong community backing. 60 00:03:55,940 --> 00:03:58,520 There's a ton of people doing stuff with Arduinos all over the place. 61 00:03:58,760 --> 00:04:00,560 And there's great forms, things like that. 62 00:04:00,660 --> 00:04:04,040 And also, they're about 30 bucks, so they're not for the typical one that most people use. 63 00:04:04,400 --> 00:04:06,960 So they're a really good deal, and they work really well. 64 00:04:07,040 --> 00:04:10,680 So to me, it's kind of like the hardware equivalent of a scripting language. 65 00:04:10,920 --> 00:04:15,540 So, you know, you use a scripting language to get things done fast, to get things done easily. 66 00:04:17,060 --> 00:04:19,280 Scripting languages have disadvantages as well, though, right? 67 00:04:19,380 --> 00:04:21,980 You know, they may not be as fast as a compiled language. 68 00:04:22,120 --> 00:04:23,220 You're going to have certain tradeoffs. 69 00:04:23,220 --> 00:04:27,180 You're going to see the same thing with Arduinos, but they're good for a lot of stuff. 70 00:04:28,640 --> 00:04:30,900 So this is a picture of an Arduino. 71 00:04:30,940 --> 00:04:34,560 This is a DeMillinove, which is 2009 in Italian. 72 00:04:34,800 --> 00:04:39,040 This is the last, again, the latest one that the Arduinos guys came out with. 73 00:04:40,700 --> 00:04:43,360 It so runs on a Mega 328P chip. 74 00:04:43,640 --> 00:04:46,060 It has 14 digital input-output pins. 75 00:04:46,600 --> 00:04:51,000 Six of them are pulse-width modulation, which means they can be analog out, 76 00:04:51,080 --> 00:04:53,020 so they're not all the way on or all the way off. 77 00:04:53,220 --> 00:04:55,820 They go on and off so fast that it looks like they're partway on. 78 00:04:56,300 --> 00:05:00,320 And they also have six analog input pins where you can read an analog value. 79 00:05:01,080 --> 00:05:03,580 32 kilobytes of flash, and they run at 16 megahertz. 80 00:05:04,220 --> 00:05:05,700 And so, but what else is an Arduino? 81 00:05:05,740 --> 00:05:08,740 Like I said, these are open-source boards, so a lot of other people make them. 82 00:05:09,360 --> 00:05:10,820 Some of them are fully compatible. 83 00:05:10,960 --> 00:05:15,020 Other ones are just IDE compatible, which means you can drop the code on them, 84 00:05:15,060 --> 00:05:21,040 but they may not be, you know, they may not be exact same shape, 85 00:05:21,180 --> 00:05:22,980 which we'll talk about why that's important in a minute. 86 00:05:23,220 --> 00:05:26,080 But, so there's like the Arduino Mega, which is just a big Arduino. 87 00:05:26,300 --> 00:05:30,300 There's a SparkFun makes some, the Arduino Pro and Mini and others that they make. 88 00:05:31,200 --> 00:05:32,160 They're the same shape. 89 00:05:32,240 --> 00:05:35,880 They don't have the FTDI built onto it, so you have to have a separate FTDI cable. 90 00:05:36,760 --> 00:05:38,900 Evil Mat Scientist, they make one. 91 00:05:39,120 --> 00:05:41,580 FreeDuino, SeaDuino are other clones. 92 00:05:41,980 --> 00:05:43,940 Then there's some other ones that have extra functionality, 93 00:05:43,940 --> 00:05:47,620 like the FiO has some wireless capabilities on it that other ones don't. 94 00:05:47,800 --> 00:05:49,900 The Teensy is partially Arduino compatible. 95 00:05:50,240 --> 00:05:52,600 There's been other talks about the Teensy during DEF CON. 96 00:05:53,220 --> 00:05:56,280 And it, but it does a lot of USB stuff that's really cool. 97 00:05:57,160 --> 00:05:58,720 Lilypad is used for embedding in clothing. 98 00:05:59,540 --> 00:06:00,580 It's a round Arduino. 99 00:06:01,420 --> 00:06:05,360 Arduino and bare bones are these really, they're just bare bones Arduino, 100 00:06:05,420 --> 00:06:06,540 so there's just not much to them. 101 00:06:06,660 --> 00:06:08,240 It doesn't have a lot of the extra components. 102 00:06:08,720 --> 00:06:10,200 And then the Maple is really cool. 103 00:06:10,300 --> 00:06:11,620 It's an ARM-based Arduino. 104 00:06:13,260 --> 00:06:17,480 And so it runs like 10 times faster, but you can drop the same code on them, basically. 105 00:06:17,500 --> 00:06:20,020 And there's other ones that are also doing ARM-based Arduinos as well. 106 00:06:20,300 --> 00:06:23,200 The Butterfly Uno is actually on a FPGA. 107 00:06:23,200 --> 00:06:27,300 So it emulates the Atmel chip on the FPGA, 108 00:06:27,380 --> 00:06:30,020 and you can add input and output pins on the fly. 109 00:06:30,160 --> 00:06:30,800 It's pretty cool. 110 00:06:31,980 --> 00:06:34,880 So Arduinos, they're general purpose platforms. 111 00:06:35,060 --> 00:06:37,620 You can make whatever you want, literally, with these things. 112 00:06:38,780 --> 00:06:41,600 So like this thing, I guess when you fart, it changes the channel. 113 00:06:42,680 --> 00:06:43,380 Kind of funny. 114 00:06:43,900 --> 00:06:47,520 So I made things, like I made a little autonomous robot that avoided walls. 115 00:06:47,700 --> 00:06:48,580 That was my first project. 116 00:06:48,680 --> 00:06:51,160 It took just like half a, you know, a couple of hours. 117 00:06:51,720 --> 00:06:52,480 You know, I made. 118 00:06:52,480 --> 00:06:57,180 I made my daughter's Halloween costume with a stoplight that changed shapes, things like that. 119 00:06:57,280 --> 00:06:59,020 So you can make all sorts of things with these. 120 00:06:59,080 --> 00:07:00,020 People are making cool stuff. 121 00:07:01,840 --> 00:07:03,760 So, but like I said, they're not for every project. 122 00:07:03,920 --> 00:07:06,020 They're expensive when you want to make a lot of something. 123 00:07:06,240 --> 00:07:08,400 So if you wanted to manufacture a thousand of something, 124 00:07:08,880 --> 00:07:10,440 30 bucks a pop is pretty expensive. 125 00:07:10,480 --> 00:07:11,920 You probably just want to go with the chip itself. 126 00:07:12,340 --> 00:07:13,620 They're not incredibly powerful. 127 00:07:13,660 --> 00:07:16,160 Like I said, people are doing cool stuff with these, but they're doing. 128 00:07:16,320 --> 00:07:18,860 You can do a ton with them, but it's not a computer. 129 00:07:19,660 --> 00:07:22,060 And also, there's no parallel computing. 130 00:07:22,480 --> 00:07:23,380 They do have interrupts, though. 131 00:07:23,840 --> 00:07:27,140 So you can interrupt what you're doing and switch to something else. 132 00:07:27,720 --> 00:07:33,340 So in hardware, generally the first thing you do is the equivalent of, 133 00:07:35,100 --> 00:07:37,600 the equivalent of hello world is to blink an LED. 134 00:07:38,340 --> 00:07:40,260 So here's the code to blink an LED. 135 00:07:40,400 --> 00:07:43,160 So I just define my LED pin to be pin 13, 136 00:07:43,720 --> 00:07:46,320 which on the Arduino board that actually has an LED on, 137 00:07:46,440 --> 00:07:48,300 like a surface mat LED there. 138 00:07:48,420 --> 00:07:50,400 So you can test it and do things like this. 139 00:07:50,820 --> 00:07:52,280 Then it just has a void setup. 140 00:07:52,480 --> 00:07:55,640 It's a function, and this is just the function that will run one time 141 00:07:55,640 --> 00:07:57,600 when the Arduino first starts up, 142 00:07:57,700 --> 00:08:00,600 and then it goes into this void loop where it's just going to keep going through this 143 00:08:00,600 --> 00:08:05,060 over and over again until it loses power or something happens to turn it off. 144 00:08:07,140 --> 00:08:09,680 So on this one, I'm just doing a digital write, 145 00:08:09,880 --> 00:08:12,340 which is just going to make that LED turn on. 146 00:08:12,940 --> 00:08:15,860 I make that LED pin high, so that's going to give it power. 147 00:08:16,180 --> 00:08:19,020 I delay for a thousand milliseconds, which is one second. 148 00:08:19,100 --> 00:08:21,720 Then I make that pin low, do another digital write. 149 00:08:21,720 --> 00:08:23,540 Then I delay for another thousand milliseconds. 150 00:08:23,820 --> 00:08:26,380 So it's pretty easy to make an LED blink. 151 00:08:27,640 --> 00:08:29,580 So now I just want to talk a little about shields. 152 00:08:29,740 --> 00:08:34,000 So shields, they fit on top of the Arduino as long as it's shaped the same shape. 153 00:08:34,220 --> 00:08:35,300 That's why shape's important. 154 00:08:35,840 --> 00:08:38,620 It adds extra functionality, and many are stackable, 155 00:08:38,620 --> 00:08:40,020 so you can stack one on top of the other. 156 00:08:40,900 --> 00:08:43,340 So here's some available shields that are pretty cool. 157 00:08:43,460 --> 00:08:46,200 So you have the Ethernet shield, which gives you Ethernet capability. 158 00:08:46,400 --> 00:08:48,660 XBee gives you radio stuff. 159 00:08:49,120 --> 00:08:50,440 Motor shields lets you drive motors. 160 00:08:50,440 --> 00:08:51,960 Wave shields, you can play waves. 161 00:08:52,340 --> 00:08:54,540 Nixie tube shield, that's this guy up here. 162 00:08:54,740 --> 00:08:56,380 So this lets you drive Nixie tubes. 163 00:08:56,620 --> 00:08:58,900 So if you haven't seen them, they're a really cool display. 164 00:08:59,020 --> 00:09:01,240 So it has all the numbers kind of layered on top of each other. 165 00:09:01,640 --> 00:09:03,640 And then it just lights up the one that you need. 166 00:09:04,700 --> 00:09:06,560 I've been wearing this around as a badge a little bit. 167 00:09:06,840 --> 00:09:11,480 But it runs like 90 volts, though, so I'm a little bit scared of it. 168 00:09:11,600 --> 00:09:12,900 But I still keep doing it. 169 00:09:13,920 --> 00:09:17,800 Then there's an LCD shield, so you can see LCD stuff. 170 00:09:17,860 --> 00:09:20,400 There's a cellular shield, so you can put a SIM card in it. 171 00:09:20,440 --> 00:09:21,120 You're on the cell network. 172 00:09:21,360 --> 00:09:22,100 You can program there. 173 00:09:22,460 --> 00:09:27,120 The advantages of shields, for the most part, unless you buy it as a kit, there's no tools necessary. 174 00:09:27,200 --> 00:09:28,800 You just pop it on, and you've got that functionality. 175 00:09:31,240 --> 00:09:33,760 So, for example, here's the Ethernet shield. 176 00:09:33,900 --> 00:09:34,820 So you just pop it on. 177 00:09:35,620 --> 00:09:39,480 In hardware, it can support up to four simultaneous connections. 178 00:09:40,040 --> 00:09:44,540 It has the TCP stack on hardware on the shield itself. 179 00:09:45,560 --> 00:09:47,600 And so there's one thing you can do pretty easily. 180 00:09:47,660 --> 00:09:49,320 This is just a simple port scanner. 181 00:09:50,440 --> 00:09:58,460 So you just define the IP that you're going to scan by putting in an array, a four-element array. 182 00:09:58,620 --> 00:09:59,500 So I just put it in there. 183 00:09:59,980 --> 00:10:03,080 So I'm just going to scan this subnet 192.168.1. 184 00:10:04,420 --> 00:10:09,100 And then I'm going to just change that last octet every time I go through the loop and then scan ports 185 00:10:09,540 --> 00:10:12,340 or just try to connect to ports 1 to 1028. 186 00:10:12,840 --> 00:10:14,540 And then I can report that however I want. 187 00:10:14,600 --> 00:10:15,860 I can log that to an SD card. 188 00:10:15,980 --> 00:10:17,560 I can transmit that somewhere else. 189 00:10:17,580 --> 00:10:20,040 So if I want to put this on a network, you know, 190 00:10:20,040 --> 00:10:22,000 and then, you know, leave or something like that, 191 00:10:22,060 --> 00:10:26,320 then I have this really small device that I can use to be a port scanner planet somewhere. 192 00:10:27,260 --> 00:10:28,540 So here's the XB. 193 00:10:28,800 --> 00:10:34,300 It's 2.4 gigahertz, 250 kilobits max data rate, 128-bit encryption. 194 00:10:35,080 --> 00:10:39,260 And it can read from a few hundred feet to several miles in range, 195 00:10:40,180 --> 00:10:41,600 depending on the model that you get. 196 00:10:42,440 --> 00:10:43,700 So XBs and security. 197 00:10:43,840 --> 00:10:47,700 So one of the reasons I like XBs is they can be used for out-of-band communications. 198 00:10:47,780 --> 00:10:49,960 So they're 2.4 gigahertz. 199 00:10:50,500 --> 00:10:53,660 Wave, but it's not 802.11, 200 00:10:53,800 --> 00:10:56,820 and so you're not likely going to see it like in a wireless assessment. 201 00:10:57,040 --> 00:10:57,940 So if you plant this somewhere, 202 00:10:58,140 --> 00:11:01,600 it's maybe going to go undetected for longer than a computer or something like that 203 00:11:01,600 --> 00:11:03,780 using a typical wireless protocol. 204 00:11:05,180 --> 00:11:08,040 You can also use these to reprogram your Arduino remotely. 205 00:11:08,300 --> 00:11:11,060 So if you can plant it somewhere, you want to change the functionality of it, 206 00:11:11,100 --> 00:11:13,720 you can, you know, maybe plant it somewhere it's doing one thing that's good 207 00:11:13,720 --> 00:11:16,500 and then you want to, you're putting it as a Trojan or something like that, 208 00:11:16,560 --> 00:11:18,460 we want to change the functionality later, you could do it. 209 00:11:18,460 --> 00:11:23,100 And we're also looking at using this to do triangulation for wireless assessments. 210 00:11:23,400 --> 00:11:27,980 So say that you're trying to do a wireless assessment inside of a building, 211 00:11:28,080 --> 00:11:30,220 you're trying to figure out where that wireless signal is coming from, 212 00:11:30,520 --> 00:11:32,560 then we're looking at putting these around the building 213 00:11:32,560 --> 00:11:37,620 and being able to detect that way by triangulating the signals 214 00:11:37,620 --> 00:11:39,380 and the power they're getting from each of them. 215 00:11:39,960 --> 00:11:42,420 So here's the XB shield and the Ethernet shield together. 216 00:11:43,140 --> 00:11:44,760 So like I said, this is a small device. 217 00:11:44,880 --> 00:11:47,480 When you put these together, then you can put it inside of a network device. 218 00:11:47,480 --> 00:11:50,020 I'll talk about that a little bit later with the Cisco router. 219 00:11:51,760 --> 00:11:54,020 And you basically have this remote device you can use. 220 00:11:54,280 --> 00:11:57,180 So here's a picture of my Nixie tube shield. 221 00:11:57,360 --> 00:11:59,220 Since you guys probably can't see it up here, it's kind of small. 222 00:12:00,120 --> 00:12:02,500 So this one, right now it's just counting down. 223 00:12:02,680 --> 00:12:04,880 Everyone asks me what it's counting down to when they see me. 224 00:12:05,120 --> 00:12:06,400 And I don't know what it is. 225 00:12:07,220 --> 00:12:10,240 One guy was in the vendor area, it was getting down to like 1098 226 00:12:10,240 --> 00:12:11,780 and he was getting a little scared it seemed like. 227 00:12:12,860 --> 00:12:14,040 It just starts over. 228 00:12:15,220 --> 00:12:15,720 But anyway. 229 00:12:16,000 --> 00:12:16,600 But yeah. 230 00:12:17,480 --> 00:12:18,120 See, it's kind of fun. 231 00:12:18,200 --> 00:12:19,240 It's a really cool little display. 232 00:12:21,320 --> 00:12:24,020 So then the next thing after you use the available shields that are out there, 233 00:12:24,080 --> 00:12:26,760 the next thing I thought about is, okay, I'm going to start making my own shield. 234 00:12:26,840 --> 00:12:29,340 So you can either use what's called a prototype shield 235 00:12:29,340 --> 00:12:33,380 where it's a shield that just has a bunch of holes you can solder into and use like that. 236 00:12:34,400 --> 00:12:40,120 You can use a custom PCB where you draw it out, send it out to be manufactured, 237 00:12:40,280 --> 00:12:40,840 you make it yourself. 238 00:12:41,320 --> 00:12:43,920 Or you can use a multipurpose PCB like a perf board, 239 00:12:44,060 --> 00:12:46,420 which is what I tend to use just because they're cheap and I'm lazy 240 00:12:46,420 --> 00:12:47,440 and they work well. 241 00:12:49,020 --> 00:12:51,500 So you're going to need a soldering iron and possibly other tools 242 00:12:51,500 --> 00:12:53,080 if you're going to be making your own shield. 243 00:12:53,520 --> 00:12:55,640 And one thing I want to say about soldering irons 244 00:12:55,640 --> 00:12:57,340 is if you're having a hard time soldering, 245 00:12:57,520 --> 00:12:59,640 just try it with a decent soldering iron 246 00:12:59,640 --> 00:13:01,260 because that was the difference for me. 247 00:13:01,320 --> 00:13:03,880 I was using a cheap Radio Shack one and I sucked 248 00:13:03,880 --> 00:13:06,340 and now I can actually solder because I got a decent one. 249 00:13:08,540 --> 00:13:09,700 So reading from pins. 250 00:13:10,100 --> 00:13:13,720 So digital reads, they're really easy. 251 00:13:13,840 --> 00:13:16,400 So you just use the digital reads. 252 00:13:16,400 --> 00:13:18,120 With a digital read function, you're going to get a 1 or a 0 253 00:13:18,120 --> 00:13:20,860 if the signal coming into it is high or low. 254 00:13:21,320 --> 00:13:25,120 With an analog read, you're going to get a value between 0 and 123 255 00:13:25,120 --> 00:13:30,560 depending on what's coming into it. 256 00:13:32,580 --> 00:13:34,440 So one thing that you want to think about 257 00:13:34,440 --> 00:13:36,560 any time that you're hooking into an external device 258 00:13:37,100 --> 00:13:42,420 is that it's kind of like the forms in a web page. 259 00:13:42,720 --> 00:13:45,960 So you've got these inputs and you can start just pushing 260 00:13:45,960 --> 00:13:47,380 weird stuff to them and seeing what happens. 261 00:13:47,660 --> 00:13:49,820 And kind of fun stuff happens. 262 00:13:49,960 --> 00:13:52,560 We've seen other talks about doing things like USB fuzzing, 263 00:13:52,700 --> 00:13:55,880 so you just start sending it crap or trying to tell it you're a different device. 264 00:13:56,160 --> 00:13:58,820 And a lot of these interfaces aren't as well protected 265 00:13:58,820 --> 00:13:59,820 as the front door is. 266 00:13:59,940 --> 00:14:03,560 So this is a good opportunity to use these hardware platforms 267 00:14:03,560 --> 00:14:04,420 to do hacking stuff. 268 00:14:05,560 --> 00:14:07,520 So here's one little project that I made. 269 00:14:07,600 --> 00:14:08,860 This is one of the first things that I did. 270 00:14:08,980 --> 00:14:09,620 It's a lie detector. 271 00:14:10,240 --> 00:14:11,900 So we're going to be running a little bit of voltage 272 00:14:11,900 --> 00:14:14,640 through people to do this, so be careful. 273 00:14:14,640 --> 00:14:16,720 This is just a little bit so it shouldn't hurt anybody. 274 00:14:17,220 --> 00:14:20,040 So anyway, so the wire, you basically take, 275 00:14:20,720 --> 00:14:22,880 you have two wires, so you hook, 276 00:14:23,900 --> 00:14:26,820 you take a wire, you put tinfoil on the end of it, 277 00:14:26,880 --> 00:14:28,580 you wrap it around your finger, and then I just used tape 278 00:14:28,580 --> 00:14:29,140 in this picture. 279 00:14:29,280 --> 00:14:31,980 You can use Velcro or something like that as well. 280 00:14:32,400 --> 00:14:34,560 You plug one of them into 3.3 volts, 281 00:14:34,580 --> 00:14:36,560 and then you take another one to another finger, 282 00:14:36,600 --> 00:14:38,500 you plug that into an analog read, 283 00:14:39,060 --> 00:14:41,060 use a 10 kilohm resistor as a pull down 284 00:14:41,060 --> 00:14:43,120 to help you get a good accurate read. 285 00:14:44,640 --> 00:14:46,680 So from the analog read to ground. 286 00:14:47,060 --> 00:14:49,780 And then basically the way it works then is 287 00:14:49,780 --> 00:14:52,680 so you've got a piece of tape on one finger with foil 288 00:14:52,680 --> 00:14:54,900 with a wire coming off of it going to power, 289 00:14:55,060 --> 00:14:56,940 the other one going to the analog read, 290 00:14:57,000 --> 00:14:58,380 and it just is going to send voltage 291 00:14:58,380 --> 00:14:59,860 through your finger basically. 292 00:15:00,380 --> 00:15:02,680 And if you're lying, typically you'll start 293 00:15:02,680 --> 00:15:04,320 kind of sweating a little bit on your skin, 294 00:15:04,380 --> 00:15:07,680 and so the resistance will go down, 295 00:15:07,680 --> 00:15:09,100 so the analog value will go up. 296 00:15:11,380 --> 00:15:13,120 And so that's kind of the way 297 00:15:13,120 --> 00:15:14,560 this really simple lie detector works. 298 00:15:14,640 --> 00:15:17,020 So here's the code for it, really simple. 299 00:15:17,540 --> 00:15:19,460 I'm using the analog read pin 2. 300 00:15:20,540 --> 00:15:22,200 Then I'm just doing a serial begin. 301 00:15:22,440 --> 00:15:24,080 This is just a function that lets me output 302 00:15:24,460 --> 00:15:26,360 whatever is happening on the Arduino over serial. 303 00:15:26,460 --> 00:15:27,480 I can just do a serial print, 304 00:15:28,180 --> 00:15:29,760 which then I do down the void loop. 305 00:15:29,940 --> 00:15:32,200 So I do a serial print of whatever I read 306 00:15:32,200 --> 00:15:33,120 into the analog read. 307 00:15:33,760 --> 00:15:35,760 And then I delay for five seconds, 308 00:15:35,820 --> 00:15:36,860 then it's just going to keep reading. 309 00:15:37,060 --> 00:15:38,800 And so I can just watch that value go up or down. 310 00:15:38,880 --> 00:15:40,140 I can know what's going on. 311 00:15:41,140 --> 00:15:42,080 It's not perfect. 312 00:15:43,440 --> 00:15:45,660 Any emotional response will actually trigger you 313 00:15:45,660 --> 00:15:47,340 sweating like this, so if you're mad about 314 00:15:47,340 --> 00:15:49,720 what the person is saying or something like that, 315 00:15:49,860 --> 00:15:51,100 then you're also going to look like you're lying 316 00:15:51,100 --> 00:15:51,760 to these lie detectors. 317 00:15:52,560 --> 00:15:54,920 And also the professional ones all have things like, 318 00:15:55,000 --> 00:15:57,460 they test for heart rate and breathing rate 319 00:15:57,460 --> 00:15:58,180 and things like that. 320 00:16:00,080 --> 00:16:01,600 So here's another one that's, 321 00:16:02,100 --> 00:16:03,560 there's a ton of people who make 322 00:16:03,560 --> 00:16:05,080 different versions of this. 323 00:16:05,900 --> 00:16:07,620 So all you do is take a laser, 324 00:16:07,640 --> 00:16:08,760 you put it across the doorway, 325 00:16:09,540 --> 00:16:11,020 and then on the other side of the doorway, 326 00:16:11,020 --> 00:16:13,120 you have a photoresistor 327 00:16:13,120 --> 00:16:14,560 that the laser is pointing at. 328 00:16:14,700 --> 00:16:16,440 So when someone goes through that, 329 00:16:17,220 --> 00:16:18,860 that laser is going to change the value 330 00:16:18,860 --> 00:16:20,320 that's being read on that analog read 331 00:16:20,320 --> 00:16:23,180 to that photoresistor, and it's going to show you 332 00:16:23,180 --> 00:16:24,220 that someone went through. 333 00:16:24,300 --> 00:16:26,240 And you can buzz or do whatever you want 334 00:16:26,240 --> 00:16:27,720 to trigger on that person coming through. 335 00:16:31,180 --> 00:16:33,040 Here's one that the follower talked about 336 00:16:33,040 --> 00:16:34,040 yesterday that he did. 337 00:16:34,440 --> 00:16:36,760 This is one of the first projects that I made as well 338 00:16:36,760 --> 00:16:38,040 actually going off of his plants. 339 00:16:38,360 --> 00:16:39,660 So this is based on 340 00:16:41,020 --> 00:16:42,320 our project VUSB. 341 00:16:43,060 --> 00:16:44,220 So it's a simple circuit. 342 00:16:44,280 --> 00:16:46,440 It has just three resistors, two diodes, 343 00:16:46,520 --> 00:16:49,120 and then just the USB connector, 344 00:16:49,220 --> 00:16:49,620 and that's it. 345 00:16:49,740 --> 00:16:52,400 And you can emulate a HID device. 346 00:16:53,320 --> 00:16:54,720 So you can do a keyboard, 347 00:16:54,860 --> 00:16:56,180 and then when you plug it into a computer, 348 00:16:56,300 --> 00:16:57,420 it's not going to need any drivers. 349 00:16:57,540 --> 00:16:58,340 It's just going to work. 350 00:16:58,940 --> 00:17:01,560 And it can be modified to be like a joystick 351 00:17:01,560 --> 00:17:04,080 or a mouse or a lot of other devices. 352 00:17:05,260 --> 00:17:06,680 So security uses for this, 353 00:17:06,760 --> 00:17:07,800 there's been a couple other talks. 354 00:17:08,720 --> 00:17:10,120 Adrian Crenshaw and then Follower, 355 00:17:11,280 --> 00:17:12,880 doing things like proof or 356 00:17:13,660 --> 00:17:14,780 doing things like 357 00:17:15,720 --> 00:17:17,020 you connect it to a computer 358 00:17:17,440 --> 00:17:19,300 and then when a person comes and logs in 359 00:17:19,300 --> 00:17:20,880 then it can, while they're turned away 360 00:17:20,880 --> 00:17:22,640 or something like that, then it can add a user 361 00:17:23,120 --> 00:17:24,700 really fast without them noticing. 362 00:17:26,500 --> 00:17:28,680 Another use that I thought about using it for 363 00:17:28,680 --> 00:17:30,560 was you hook it up to a kiosk, 364 00:17:30,560 --> 00:17:31,800 a computer that's in a kiosk mode, 365 00:17:31,940 --> 00:17:33,800 and have it just go through all the possible 366 00:17:33,800 --> 00:17:36,880 combinations of keys and try to break out of that kiosk mode. 367 00:17:37,640 --> 00:17:38,600 Typically in the past, 368 00:17:38,600 --> 00:17:40,300 a lot of kiosk modes have special keys 369 00:17:40,300 --> 00:17:42,640 that they forget to exclude from being able 370 00:17:42,640 --> 00:17:44,320 to get to things in Windows 371 00:17:44,320 --> 00:17:45,420 or something like that. 372 00:17:46,080 --> 00:17:47,800 But check out, like I said, check out 373 00:17:48,440 --> 00:17:50,360 Adrian's or Follower's talk about this as well. 374 00:17:50,460 --> 00:17:51,440 They did some good stuff. 375 00:17:51,940 --> 00:17:54,240 So here's the schematic. Like I said, it's really simple. 376 00:17:54,620 --> 00:17:56,640 It's these three resistors, two diodes, 377 00:17:56,640 --> 00:17:57,960 and then the USB connector 378 00:17:57,960 --> 00:17:58,740 and then to the Arduino. 379 00:18:02,000 --> 00:18:03,140 And then the code, 380 00:18:03,780 --> 00:18:06,040 basically so you have to disable the built-in 381 00:18:06,040 --> 00:18:07,880 and the Arduino because USB uses 382 00:18:08,600 --> 00:18:09,160 different timing. 383 00:18:09,660 --> 00:18:11,480 And then you just connect as a USB device 384 00:18:11,480 --> 00:18:12,960 and you just start sending keystrokes. 385 00:18:13,040 --> 00:18:14,640 So it's super easy to do. 386 00:18:17,220 --> 00:18:20,080 The next one that I decided to do 387 00:18:20,080 --> 00:18:21,960 or one of the ones I decided to do 388 00:18:21,960 --> 00:18:23,120 wasn't next after that one, I guess, 389 00:18:23,200 --> 00:18:25,060 but at some point in my life, 390 00:18:25,080 --> 00:18:28,240 I decided to try to make an RFID emulator. 391 00:18:28,420 --> 00:18:30,240 It was actually, part of this was because 392 00:18:30,240 --> 00:18:32,080 I wanted to get Chris Padgett's from 393 00:18:32,080 --> 00:18:34,280 that he was supposed to make after last DEF CON, 394 00:18:34,400 --> 00:18:36,100 but he never came out with it. 395 00:18:36,160 --> 00:18:37,680 So I thought, well, I'll see if I can make my own 396 00:18:38,860 --> 00:18:39,300 RFID emulator. 397 00:18:39,300 --> 00:18:42,040 So I wanted to emulate 125 kilohertz 398 00:18:43,060 --> 00:18:43,780 RFID tag. 399 00:18:44,440 --> 00:18:46,580 I didn't have an oscilloscope or any kind of 400 00:18:46,580 --> 00:18:47,580 antenna tuning equipment 401 00:18:47,580 --> 00:18:50,260 and I didn't have any plans to do it. 402 00:18:50,340 --> 00:18:50,820 So there was no, 403 00:18:52,320 --> 00:18:54,280 here's how to make an RFID emulator 404 00:18:54,280 --> 00:18:56,120 with an Arduino or anything like that. 405 00:18:56,400 --> 00:18:57,720 There's some similar projects 406 00:18:57,720 --> 00:18:59,600 that gave me a lot of help, 407 00:18:59,720 --> 00:19:01,680 but there was nothing 408 00:19:01,680 --> 00:19:04,500 right there so I could just take it and use it. 409 00:19:04,820 --> 00:19:06,300 And so this is what I ended up 410 00:19:06,300 --> 00:19:08,340 coming up with. So this RFID tag 411 00:19:08,600 --> 00:19:09,460 is a stupid, simple, 412 00:19:09,980 --> 00:19:12,360 I ended up picking it up and 413 00:19:12,360 --> 00:19:13,600 doing stories on it. 414 00:19:13,780 --> 00:19:16,540 So all it is, is just a 10 kilohm resistor, 415 00:19:17,660 --> 00:19:18,380 a transistor, 416 00:19:18,660 --> 00:19:19,520 a 10 nanofarad capacitor, 417 00:19:20,000 --> 00:19:22,360 and then a spool of wire and a spent roll of toilet paper. 418 00:19:23,980 --> 00:19:25,840 and the code is 20 lines long 419 00:19:25,840 --> 00:19:27,360 so it's really easy to make this thing. 420 00:19:29,000 --> 00:19:30,620 So I'll actually demo it here in just a minute, 421 00:19:30,680 --> 00:19:31,300 but here's the schematic. 422 00:19:32,840 --> 00:19:33,620 So you have, 423 00:19:33,880 --> 00:19:35,960 and it didn't take me very long to figure this out either. 424 00:19:36,320 --> 00:19:38,420 I mean, I think it was like six hours or something like that. 425 00:19:38,600 --> 00:19:40,000 So these are actually really easy to make. 426 00:19:42,180 --> 00:19:45,000 So it has the resistor going to the Arduino pin 427 00:19:45,000 --> 00:19:46,220 then to the base of the transistor 428 00:19:46,220 --> 00:19:48,360 then the emitter and the collector 429 00:19:48,360 --> 00:19:50,420 are connected to the coil 430 00:19:50,420 --> 00:19:51,880 and it also has that tuning capacitor 431 00:19:51,880 --> 00:19:52,900 that goes in between them. 432 00:19:53,620 --> 00:19:55,240 And so basically what happens is 433 00:19:55,240 --> 00:19:57,420 I've wrapped this antenna so it's at the right frequency 434 00:19:57,420 --> 00:20:00,380 and so the RFID reader 435 00:20:00,380 --> 00:20:01,600 sends out a carrier wave 436 00:20:02,360 --> 00:20:03,920 and my antenna is tuned 437 00:20:03,920 --> 00:20:05,800 so that it will respond as basically a high 438 00:20:05,800 --> 00:20:08,260 whenever the RFID reader 439 00:20:08,600 --> 00:20:09,500 sends out the wave. 440 00:20:09,980 --> 00:20:12,320 But then what happens is with this transistor 441 00:20:12,320 --> 00:20:13,460 when I put power to the base 442 00:20:13,460 --> 00:20:15,500 it essentially connects those two ends of the antenna 443 00:20:15,500 --> 00:20:17,200 that are connected to the emitter and the collector 444 00:20:18,120 --> 00:20:19,820 and so that detunes that antenna 445 00:20:19,820 --> 00:20:20,980 so it gives it a low signal 446 00:20:20,980 --> 00:20:23,000 so it's really easy to make this thing work. 447 00:20:24,020 --> 00:20:25,260 So the code, 448 00:20:26,020 --> 00:20:27,700 so I'm using pin 9, 449 00:20:27,780 --> 00:20:30,020 I just chose a pin, it doesn't matter which one you use 450 00:20:30,020 --> 00:20:32,060 and I said it's going to be an output pin 451 00:20:32,060 --> 00:20:33,420 because this is the one I'm going to use 452 00:20:33,420 --> 00:20:35,720 to turn on and off the antenna 453 00:20:35,720 --> 00:20:37,060 to detune it and tune it. 454 00:20:38,600 --> 00:20:39,700 So I started out as low 455 00:20:40,740 --> 00:20:42,600 and then so the way that RFID works 456 00:20:43,040 --> 00:20:44,280 I just got this off of Wikipedia 457 00:20:44,280 --> 00:20:46,280 it uses Manchester encoding so 458 00:20:46,840 --> 00:20:48,480 this just means it has the clock 459 00:20:48,480 --> 00:20:50,500 signal and then it has 460 00:20:50,500 --> 00:20:52,040 the data and they get XORed 461 00:20:52,040 --> 00:20:53,760 and that's what you end up sending back 462 00:20:53,760 --> 00:20:56,340 so that way the clock and the data is in one 463 00:20:56,740 --> 00:20:58,400 signal back. You don't have to have separate 464 00:20:59,280 --> 00:21:00,780 ones when you're sending the data. 465 00:21:01,260 --> 00:21:02,180 So here's my 466 00:21:02,760 --> 00:21:04,440 main loop of my code so basically 467 00:21:04,440 --> 00:21:06,360 I just define my 468 00:21:06,360 --> 00:21:08,040 data that I'm going to be spoofing 469 00:21:08,860 --> 00:21:10,740 so you have to send it a bunch of ones 470 00:21:10,740 --> 00:21:12,560 so that it knows you're a valid RFID 471 00:21:12,560 --> 00:21:14,100 or a valid RFID tag 472 00:21:14,540 --> 00:21:16,160 you're not something just giving interference 473 00:21:16,160 --> 00:21:18,520 or something like that. Then you start sending 474 00:21:18,520 --> 00:21:19,220 it the signal 475 00:21:20,000 --> 00:21:22,100 and so in this one I'm just doing all F's 476 00:21:22,100 --> 00:21:24,400 I'm just doing four ones and then 477 00:21:24,400 --> 00:21:26,720 the zero is parity and at the very end 478 00:21:26,720 --> 00:21:28,460 there's all those zeros which is the column parity 479 00:21:28,460 --> 00:21:29,660 so it has parity on the 480 00:21:30,160 --> 00:21:31,300 rows and the columns. 481 00:21:33,040 --> 00:21:34,500 And then I just call 482 00:21:34,500 --> 00:21:36,300 this function that I defined called 483 00:21:36,300 --> 00:21:37,600 set pin Manchester 484 00:21:38,600 --> 00:21:40,460 and I just give it what the clock is 485 00:21:40,460 --> 00:21:42,340 and then what the data is and then it just does 486 00:21:42,340 --> 00:21:44,060 all the XOR stuff and 487 00:21:44,060 --> 00:21:45,760 it then changes the pin. 488 00:21:46,000 --> 00:21:48,420 I delay for 256 microseconds 489 00:21:48,420 --> 00:21:50,160 so I'm at 125 kilohertz 490 00:21:50,160 --> 00:21:52,220 and I just keep repeating so 491 00:21:54,520 --> 00:21:55,920 so you just set the 492 00:21:55,920 --> 00:21:57,460 so here's my Manchester code 493 00:21:57,460 --> 00:21:59,380 so as you can see there I'm just 494 00:22:00,860 --> 00:22:02,320 XORing the clock and the signal 495 00:22:02,320 --> 00:22:04,620 to get my man encoded in 496 00:22:04,620 --> 00:22:06,580 and then if that's one I know that 497 00:22:06,580 --> 00:22:08,120 I should set that pin low 498 00:22:08,600 --> 00:22:10,020 because low is going to be high on the antenna 499 00:22:10,020 --> 00:22:12,240 because I'm not joining those two ends 500 00:22:12,240 --> 00:22:14,580 detuning the antenna or I set it 501 00:22:14,580 --> 00:22:15,940 high and that detunes the antenna 502 00:22:15,940 --> 00:22:17,720 and then I get my 503 00:22:19,300 --> 00:22:20,260 you know then it 504 00:22:20,260 --> 00:22:21,480 is going to give a low signal 505 00:22:22,140 --> 00:22:23,980 so here I'll really quickly 506 00:22:26,120 --> 00:22:27,400 show how this thing works 507 00:22:28,820 --> 00:22:29,820 so I'm just using 508 00:22:29,820 --> 00:22:31,920 to demo this I'm just using the parallax RFID 509 00:22:32,820 --> 00:22:34,520 reader that Joe Grand developed 510 00:22:34,520 --> 00:22:36,220 he just came out with a new one that's a reader writer 511 00:22:36,220 --> 00:22:36,880 but um 512 00:22:38,600 --> 00:22:40,440 and then here's my spool of 513 00:22:40,440 --> 00:22:41,680 toilet paper with wire around it 514 00:22:41,680 --> 00:22:44,420 the antenna just has to be the right tuning 515 00:22:44,420 --> 00:22:46,240 so it doesn't have to be around a thing of toilet paper 516 00:22:47,280 --> 00:22:48,600 but that's just what's easy 517 00:22:48,600 --> 00:22:49,120 for me to do 518 00:22:54,840 --> 00:22:56,480 so here's my code 519 00:22:57,760 --> 00:22:58,160 um 520 00:22:58,160 --> 00:22:58,800 and then 521 00:23:05,260 --> 00:23:06,740 and that's the IDE as well 522 00:23:07,380 --> 00:23:07,780 um 523 00:23:11,680 --> 00:23:12,220 here's the 524 00:23:12,220 --> 00:23:14,320 it has a built in serial monitor so you can 525 00:23:14,320 --> 00:23:16,400 you can do serial stuff 526 00:23:16,400 --> 00:23:17,420 so as you can see here 527 00:23:17,900 --> 00:23:19,700 hold the tag up to it it reads it 528 00:23:20,360 --> 00:23:21,940 hold another tag it reads it 529 00:23:22,420 --> 00:23:23,640 then I'm going to hold this thing up 530 00:23:24,740 --> 00:23:26,540 and it's just doing all F's right 531 00:23:26,540 --> 00:23:28,600 so I can change that code 532 00:23:28,600 --> 00:23:29,960 I can modify it and it can do 533 00:23:30,400 --> 00:23:31,920 it can output whatever I want 534 00:23:32,560 --> 00:23:34,400 and so I can emulate any IDE 535 00:23:34,400 --> 00:23:35,040 with this 536 00:23:35,660 --> 00:23:36,100 device 537 00:23:45,320 --> 00:23:45,760 ok 538 00:23:45,760 --> 00:23:47,620 close off 539 00:23:52,740 --> 00:23:53,180 ok 540 00:23:57,180 --> 00:23:58,060 so now 541 00:23:58,060 --> 00:23:59,020 so now the next thing that 542 00:23:59,020 --> 00:24:01,100 well another thing to look at too 543 00:24:01,100 --> 00:24:02,800 is when you're building hardware devices 544 00:24:02,800 --> 00:24:04,800 is what other stuff can you interface with 545 00:24:04,800 --> 00:24:06,840 and so serial is a good way to interface with things 546 00:24:08,600 --> 00:24:14,000 lot of stuff supports it. There's the digital I.O. pins 0 and 1 are hardware serial pins, 547 00:24:14,120 --> 00:24:21,240 so they're easy to connect to stuff. There's also, so like this parallax reader uses serial, 548 00:24:22,100 --> 00:24:28,800 GPS units use serial, LCDs, various integrated circuits, a lot of stuff uses serial. And 549 00:24:28,800 --> 00:24:35,700 the second one is I2C, which is, or I2C, which is analog pins 4 and 5 are built-in I2C pins. 550 00:24:35,700 --> 00:24:41,540 This is what, this is a bus protocol, so you can have up to 128 individual devices on this bus, 551 00:24:42,100 --> 00:24:46,220 and each device has its own address, so that way, you know, you can interact with the one you want. 552 00:24:46,320 --> 00:24:50,140 So there's like the centipede shield, this is what it uses, which gives you a ton of I.O., 553 00:24:50,140 --> 00:24:55,140 I think it gives you an extra 64 I.O. per shield, and you can stack them. Also, we nunchuck, 554 00:24:55,240 --> 00:25:03,680 it uses I2C, and I have an LC that does either serial or I2C. So you can connect the Arduino to 555 00:25:03,680 --> 00:25:05,680 whatever device you want and try to, you know, you can connect it to whatever device you want. 556 00:25:05,700 --> 00:25:10,160 You know, you send stuff over serial or listen over serial, see what's happening, and figure out 557 00:25:10,160 --> 00:25:15,220 how stuff works. I actually used this to fix my neighbor's Seagate hard drive. It looked like it 558 00:25:15,220 --> 00:25:20,000 was going dead, and so we, I Googled and found out it has a serial interface on the back of it, 559 00:25:20,080 --> 00:25:25,200 so I was able to connect to it and change and reset the hard drive, and that works perfectly 560 00:25:25,200 --> 00:25:30,280 now. So it's kind of interesting that even hard drives have that on them. So like I said, 561 00:25:30,280 --> 00:25:34,080 Wii controllers, and there's also an I2C scanner, which will just scan everything on a bus, see 562 00:25:34,080 --> 00:25:35,600 what's there. So like I said, 563 00:25:35,700 --> 00:25:43,420 there's a parallax RFID reader. It's a serial device. It runs at 2400 baud. Really easy to use. 564 00:25:44,060 --> 00:25:48,320 Here's the code for it. So basically, with this one, I wanted to be able to use the hardware 565 00:25:48,760 --> 00:25:53,960 serial to report back to the computer, so I ended up using the new soft serial library, 566 00:25:54,120 --> 00:25:58,880 which gives me basically BitBing serial, so I can use any of the digital IOPins to do serial. 567 00:26:00,080 --> 00:26:04,680 And so then I set up my, so this is all the code right here, so it's super easy to do. 568 00:26:04,680 --> 00:26:09,400 I include the new soft serial library. I tell it I'm going to use pins six and seven 569 00:26:09,400 --> 00:26:17,100 for RX and TX, and then I start up my serial, which is the new soft serial one, and I set 570 00:26:17,100 --> 00:26:22,220 up my serial, which is the hardware, built-in one, and then basically what I do is anything 571 00:26:22,220 --> 00:26:27,560 that comes in from the new soft serial pins, I just forward out to me. So that's how I 572 00:26:27,560 --> 00:26:34,040 can see that up on the screen, things like that. GPS tracking device. So this uses a 573 00:26:34,040 --> 00:26:38,580 The serial GPS unit, I got this off SparkFun, can log data to an SD card 574 00:26:38,580 --> 00:26:42,680 or it can broadcast it out using cellular or XP or something like that. 575 00:26:43,000 --> 00:26:45,020 So you can use it to track down stolen goods. 576 00:26:45,140 --> 00:26:48,540 So I know people who have devices like this, they put it inside their golf bag or whatever, 577 00:26:48,660 --> 00:26:51,860 and then if someone steals it, they just go and beat them up or whatever. 578 00:26:52,920 --> 00:26:56,180 And also, you can see where people are. 579 00:26:56,340 --> 00:26:57,860 Like I have a cop who lives next door to me. 580 00:26:57,920 --> 00:27:01,340 He says that they put these devices on cars, and they can track where they're going. 581 00:27:01,340 --> 00:27:04,480 And they have to have, in Utah at least, you don't have to have a warrant to do it. 582 00:27:04,520 --> 00:27:08,140 They just have to have a reasonable cause that there's something suspicious going on. 583 00:27:08,320 --> 00:27:10,740 But as far as me doing it, I don't know if it's legal or not. 584 00:27:13,400 --> 00:27:15,140 Another device is this Blue Smurf. 585 00:27:15,180 --> 00:27:15,780 It's really cool. 586 00:27:15,940 --> 00:27:16,800 So it's a serial device. 587 00:27:17,140 --> 00:27:20,920 It basically replaces a serial cable with Bluetooth. 588 00:27:21,460 --> 00:27:27,160 So if you have two Bluetooth on each side, then it's the same as a serial cable between the two. 589 00:27:28,200 --> 00:27:31,040 So default data is 115K. 590 00:27:32,080 --> 00:27:35,040 And it can be used to program an Arduino if you just hook it up right. 591 00:27:35,160 --> 00:27:39,440 An Arduino is programmed over serial, so any serial device can be used to reprogram it remotely. 592 00:27:40,060 --> 00:27:42,520 You can also use it to communicate with other Bluetooth devices. 593 00:27:44,000 --> 00:27:45,880 So Fowler talked about this yesterday as well. 594 00:27:45,960 --> 00:27:47,800 So this is the Blue Smurf. 595 00:27:47,820 --> 00:27:54,820 This is a picture of a cop holding it where they found it inside of a, I think, a pin pad of a gas station or something like that, 596 00:27:54,900 --> 00:27:58,740 which it seems a little bit silly to use this one because, I mean, the range is so small. 597 00:27:58,820 --> 00:28:01,020 It seems like you'd use an XP or something like that. 598 00:28:01,740 --> 00:28:02,800 That's what the criminals used. 599 00:28:03,160 --> 00:28:07,640 So people are saying Sparks Fund is bad because they made this device, but it's just silly, right? 600 00:28:07,860 --> 00:28:08,920 Where did they find the device? 601 00:28:09,480 --> 00:28:11,980 I believe they found it at a gas station in the key pad. 602 00:28:12,140 --> 00:28:13,700 So you swipe your card and you put your pin in. 603 00:28:13,860 --> 00:28:15,660 I believe that's where it was, something like that. 604 00:28:19,460 --> 00:28:26,360 So another thing, so one thing that's kind of fun to do with this Bluetooth is the Arduino and the Android project is called Armarino. 605 00:28:27,100 --> 00:28:31,320 So basically what this lets me do is I install this app on my phone. 606 00:28:31,320 --> 00:28:32,560 I install it on my Android phone. 607 00:28:32,740 --> 00:28:34,420 Then I put the Blue Smurf on. 608 00:28:34,660 --> 00:28:37,100 Then I can interact with my phone. 609 00:28:37,400 --> 00:28:42,480 I can make my phone interact with my Arduino wirelessly and vice versa. 610 00:28:42,700 --> 00:28:46,900 So events on my phone can trigger stuff on my Arduino and stuff on my Arduino can trigger events on my phone. 611 00:28:47,240 --> 00:28:49,020 So it's a pretty cool little project. 612 00:28:49,140 --> 00:28:52,180 It's really easy to use as well with this Blue Smurf. 613 00:28:52,780 --> 00:28:59,720 Another thing you can do is you wire up to an iPod or an iPhone and then you can do serial commands too. 614 00:28:59,800 --> 00:29:01,260 So you can do things like dump out playlists. 615 00:29:01,260 --> 00:29:03,500 You can do all the remote things. 616 00:29:03,780 --> 00:29:08,080 The other thing that's fun to do is just try to send it just crazy crap and see what happens. 617 00:29:08,180 --> 00:29:10,080 See how it likes that. 618 00:29:12,060 --> 00:29:21,120 So another thing that I did is I put, so I used the XP Shield and I thought it would be kind of cool. 619 00:29:21,260 --> 00:29:23,900 So I thought about two different things with a Cisco device. 620 00:29:24,060 --> 00:29:27,780 So I thought well you could either put an Arduino with an Ethernet Shield inside of it. 621 00:29:27,920 --> 00:29:30,720 Maybe use Relays so that when you're not, 622 00:29:30,720 --> 00:29:33,320 when you don't want to attack something then it's working correctly. 623 00:29:33,760 --> 00:29:38,620 And then when you want to do something with it you switch that port over so it's going to your Arduino. 624 00:29:39,420 --> 00:29:40,920 And you can mess with stuff. 625 00:29:41,620 --> 00:29:50,660 Another thing that I did with this was I actually inside of this Cisco router I've actually opened it up 626 00:29:50,660 --> 00:29:53,240 and I've soldered to the bottom of the console pins. 627 00:29:53,760 --> 00:29:59,520 And then I hooked up a level shifter so I can use those because they're going to run at a different voltage than the Arduino stuff is. 628 00:29:59,520 --> 00:30:05,340 So then I can actually interact with a console port over XP with my Arduino. 629 00:30:05,560 --> 00:30:10,940 So I could, if I could get this into some company or something like that then basically I have remote access to their console. 630 00:30:11,120 --> 00:30:15,360 Or I could use it, I guess I could use it legitimately as well if I want to put a router somewhere 631 00:30:15,360 --> 00:30:17,960 and I didn't want to go touch it actually then I could do that. 632 00:30:20,760 --> 00:30:23,080 So here's the top, here's a picture of the top of it. 633 00:30:23,140 --> 00:30:26,820 So basically the wires come up and then I just put my Arduino and stuff on top. 634 00:30:29,540 --> 00:30:32,800 Another thing you can do is you interact, integrate with a cell phone. 635 00:30:32,980 --> 00:30:38,700 So like I said you can buy a cell phone shield but that didn't seem as much fun as you know trying to do something with a cell phone itself. 636 00:30:38,960 --> 00:30:43,640 So what I ended up doing is I pulled off the keypad of this cheap prepaid cell phone that I had. 637 00:30:44,320 --> 00:30:49,980 The keypad stopped working anyway from the top and so I just ripped the keypad off, the rubber stuff. 638 00:30:50,500 --> 00:30:56,720 And then I just connected transistors to each of the button things on the cell phone. 639 00:30:56,860 --> 00:30:59,500 So basically it had a big ring on the outside and then a little circuit. 640 00:30:59,520 --> 00:31:01,560 There's a little circle in the middle so I just put a transistor between the two. 641 00:31:01,980 --> 00:31:07,140 When I put power to the base of that transistor it essentially makes that connection and so it pushes the buttons. 642 00:31:07,700 --> 00:31:11,520 And I could connect these all directly to my Arduino but then that would use up all my pins. 643 00:31:11,660 --> 00:31:13,040 I couldn't do anything else with it. 644 00:31:13,160 --> 00:31:21,500 So here's what's called a shift register which lets you shift out what you want it to do. 645 00:31:21,580 --> 00:31:23,920 So you can do the high and low signals using these shift registers. 646 00:31:24,060 --> 00:31:25,680 It only uses like four or five pins. 647 00:31:26,160 --> 00:31:29,320 But I ended up using the centipede shield which like I said that's, 648 00:31:29,520 --> 00:31:35,300 it's an I2C so it just uses two pins which like I said it's a bus protocol so I can use a lot of different I2C devices. 649 00:31:35,520 --> 00:31:38,080 So essentially it doesn't use any pins to be able to do that. 650 00:31:39,160 --> 00:31:42,280 So I communicate to remote devices, interact with touch tone systems. 651 00:31:42,620 --> 00:31:47,520 Anything that I want to use a cell phone for I basically have, can hit any key and do whatever I want. 652 00:31:48,520 --> 00:31:57,160 So here's the schematic like I said it's just this transistor, the resistor to the base and then going to some Arduino pin and then the two pieces of the cell phone button. 653 00:31:59,520 --> 00:32:01,020 So I have a video of this. 654 00:32:06,140 --> 00:32:07,540 I did not try. 655 00:32:09,780 --> 00:32:11,680 I don't think I, I don't know what they'd say. 656 00:32:16,920 --> 00:32:18,080 I can't see what's up. 657 00:32:21,640 --> 00:32:22,040 Okay. 658 00:32:22,040 --> 00:32:22,100 Okay. 659 00:32:28,720 --> 00:32:29,760 Am I hitting the play button? 660 00:32:31,580 --> 00:32:32,520 It's not playing though, huh? 661 00:32:35,660 --> 00:32:36,220 It's thinking. 662 00:32:37,900 --> 00:32:38,220 Fantastic. 663 00:32:48,960 --> 00:32:50,240 I wonder if it wants me to. 664 00:33:00,960 --> 00:33:01,320 Okay. 665 00:33:02,720 --> 00:33:03,080 Well. 666 00:33:04,860 --> 00:33:06,080 Guess we're not showing that. 667 00:33:06,560 --> 00:33:18,500 So basically all you see in the video is you just see the, you see the cell phone and you'd be able to see like push any button that I want on the cell phone and it just reacts like you would if you push buttons on a cell phone. 668 00:33:23,040 --> 00:33:28,720 And you can, you can use the same technique for anything that has buttons that you want to automate something that it does. 669 00:33:29,280 --> 00:33:31,040 So you could do this with like a game controller. 670 00:33:32,240 --> 00:33:34,140 Here's, here's a close up picture of the cell phone. 671 00:33:34,320 --> 00:33:36,660 So like you said, it may be hard to get this through airport security. 672 00:33:36,900 --> 00:33:39,840 Just this phone with all these wires coming off every button. 673 00:33:39,960 --> 00:33:44,580 But, but, but yeah. 674 00:33:44,660 --> 00:33:47,780 So anyway, so you can use this for anything where you have pretty much anything. 675 00:33:47,780 --> 00:33:49,380 Any electrical device will open it up. 676 00:33:49,500 --> 00:33:51,160 It'll either have these jaggy things. 677 00:33:51,940 --> 00:33:55,480 And so when you push the button it just grounds the, it just connects the two, bridges the two. 678 00:33:55,820 --> 00:33:58,680 Or it has something like this where it has its outer circle and inner circle. 679 00:33:59,020 --> 00:34:00,800 You just, you just solder to them. 680 00:34:00,880 --> 00:34:04,040 You put a transistor on them or something like that and you can, you can run the device. 681 00:34:06,240 --> 00:34:12,480 Another thing that I made that I'm kind of working on still is this combination lock brute forcer. 682 00:34:12,560 --> 00:34:17,380 So basically what this is, is a stepper motor that, that turns a dial. 683 00:34:17,380 --> 00:34:23,340 And a servo that, that tries to pull the, the shaft out after it tries, you know, three numbers or whatever. 684 00:34:23,800 --> 00:34:27,520 It'll have a laser point to a photo trans, photo resistor that detects zero. 685 00:34:28,680 --> 00:34:31,200 So I, I use that for a couple reasons. 686 00:34:31,300 --> 00:34:33,380 So one is when it's to make sure it's not getting off. 687 00:34:33,560 --> 00:34:40,540 And the other thing is a lot of locks have, have known algorithms like, like the master locks where you pull the shaft out. 688 00:34:40,600 --> 00:34:41,800 You turn it until it stops. 689 00:34:42,280 --> 00:34:45,360 And then you just write down all those, and then you, you let it go back in. 690 00:34:45,400 --> 00:34:46,480 Then you pull it back out again. 691 00:34:46,500 --> 00:34:47,360 Turn it more until it stops. 692 00:34:47,380 --> 00:34:55,060 You write down those numbers and you can reduce the number of possible combinations down from 16,000 or something like that to about 100. 693 00:34:56,180 --> 00:34:59,320 And so this can do things like that because it goes until it stops. 694 00:34:59,680 --> 00:35:02,340 Because with a stepper, it all it knows is I'm trying to turn. 695 00:35:02,500 --> 00:35:05,900 But if you stop it from turning, it doesn't know that it wasn't able to turn. 696 00:35:06,000 --> 00:35:06,860 It doesn't have any feedback. 697 00:35:07,460 --> 00:35:09,260 And so I just turn it as far as I can. 698 00:35:09,480 --> 00:35:12,060 Then further than I think I'm going to be able to turn it. 699 00:35:12,080 --> 00:35:14,860 And then I just come back and see where it hits zero and I know how far I went. 700 00:35:16,720 --> 00:35:18,500 And it can use known algorithms. 701 00:35:19,560 --> 00:35:20,840 Oh, like I said, I already said that. 702 00:35:20,920 --> 00:35:23,180 So, and it can also try every possible combination. 703 00:35:23,360 --> 00:35:24,300 So here's a picture of it. 704 00:35:24,880 --> 00:35:27,120 I actually realized that I forgot this when I got here. 705 00:35:27,220 --> 00:35:29,120 So I started rebuilding it, but I didn't get it done. 706 00:35:29,300 --> 00:35:30,380 So, sorry. 707 00:35:31,700 --> 00:35:33,580 So here's a, here's a picture of it though. 708 00:35:33,660 --> 00:35:40,760 So basically the server on top and the metal plate is just a cover plate, electrical cover plate I picked up at Lowe's. 709 00:35:41,420 --> 00:35:43,860 And it just has those bolts so I can adjust the height of it. 710 00:35:43,880 --> 00:35:44,840 Make sure it's the right height for me. 711 00:35:44,840 --> 00:35:45,360 Make sure it's the right height for my lock. 712 00:35:45,960 --> 00:35:51,480 And then this plastic stuff is called shape lock that I use. 713 00:35:51,740 --> 00:35:55,600 So you can see there's a servo at the bottom that tries to pull the shaft out. 714 00:35:56,140 --> 00:35:58,280 There's the button that detects if it is pulled out. 715 00:35:59,480 --> 00:36:01,220 So it's really, it's pretty easy to make really. 716 00:36:01,800 --> 00:36:04,920 You can just pull a stepper out of an old printer if you have them or just buy them online. 717 00:36:05,060 --> 00:36:05,860 They're about 15 bucks. 718 00:36:06,380 --> 00:36:09,540 You probably need like a stepper driver to be able to drive it easily. 719 00:36:10,600 --> 00:36:12,420 Like an easy driver or something like that. 720 00:36:13,420 --> 00:36:14,820 So one thing I want to say though. 721 00:36:14,840 --> 00:36:17,700 About that plastic stuff is it's called shape lock and it's rad. 722 00:36:17,980 --> 00:36:19,000 It's really cool. 723 00:36:19,140 --> 00:36:22,520 So basically these little plastic beads you get water. 724 00:36:22,640 --> 00:36:24,700 You heat it up in the microwave or something like that. 725 00:36:25,280 --> 00:36:30,180 And then you can make it into any shape you want. 726 00:36:30,280 --> 00:36:34,800 Until it cools down and it's really pliable and things like that. 727 00:36:34,880 --> 00:36:36,480 As soon as it cools down it gets really hard. 728 00:36:36,680 --> 00:36:37,480 You can drill it. 729 00:36:37,520 --> 00:36:37,940 You can cut it. 730 00:36:37,980 --> 00:36:38,700 You can do whatever you want. 731 00:36:38,780 --> 00:36:41,780 It's really cool stuff if you have to make custom pieces. 732 00:36:41,880 --> 00:36:44,360 And for this I need to have a piece that fit over the lock. 733 00:36:44,360 --> 00:36:46,080 And fit inside the stepper. 734 00:36:46,880 --> 00:36:50,460 Or over the stepper shaft and over the lock dial. 735 00:36:50,920 --> 00:36:52,960 And so I didn't know where to get anything like that. 736 00:36:53,040 --> 00:36:54,100 So I just made it with this stuff. 737 00:36:54,220 --> 00:36:55,180 And it worked really well. 738 00:36:56,200 --> 00:36:56,960 Yeah you can. 739 00:36:57,100 --> 00:36:59,960 So you just put it back in the microwave in the water or whatever. 740 00:37:00,140 --> 00:37:00,820 And it just remelts. 741 00:37:00,860 --> 00:37:01,500 You can reuse it. 742 00:37:01,740 --> 00:37:02,280 It's cool. 743 00:37:02,640 --> 00:37:04,240 And so that's one thing though as well. 744 00:37:04,320 --> 00:37:06,500 So you don't want to use it for something where it's going to get hot. 745 00:37:06,920 --> 00:37:08,640 So like anything outside here in Vegas. 746 00:37:08,900 --> 00:37:10,000 You probably wouldn't want to use it. 747 00:37:10,700 --> 00:37:13,660 So I think it melts at 150 degrees Fahrenheit. 748 00:37:13,660 --> 00:37:15,880 And then yeah. 749 00:37:16,100 --> 00:37:18,120 So as long as you keep it below that for whatever you're doing. 750 00:37:18,160 --> 00:37:18,720 Then you should be good. 751 00:37:21,020 --> 00:37:23,520 So another thing that I made using this shape lock stuff. 752 00:37:23,660 --> 00:37:24,680 Was a key impressioner. 753 00:37:27,640 --> 00:37:29,940 So basically this works only on wafer locks. 754 00:37:30,080 --> 00:37:31,840 This won't work on a pin tumbler lock. 755 00:37:33,400 --> 00:37:34,680 Just wafer tumbler. 756 00:37:34,760 --> 00:37:37,220 So basically what it is. 757 00:37:37,260 --> 00:37:38,140 Is this piece of. 758 00:37:38,300 --> 00:37:39,740 This is actually shape lock as well. 759 00:37:39,860 --> 00:37:41,160 So I took this piece of shape lock. 760 00:37:41,240 --> 00:37:42,020 Flatted it way out. 761 00:37:42,220 --> 00:37:43,640 Made it about the same shape as this. 762 00:37:43,660 --> 00:37:43,900 This is the key. 763 00:37:44,360 --> 00:37:45,260 And then I have. 764 00:37:45,940 --> 00:37:48,440 So there's several exposed wires at the very end of it. 765 00:37:48,500 --> 00:37:49,200 At the very tip of it. 766 00:37:49,540 --> 00:37:51,500 And then there's wires connected to the body. 767 00:37:52,180 --> 00:37:53,680 There's a wire connected to the body of the lock. 768 00:37:53,820 --> 00:37:55,600 So I'll kind of show how this works a little bit. 769 00:37:57,980 --> 00:38:00,580 So here's a pin tumbler lock. 770 00:38:00,740 --> 00:38:02,220 That you guys are probably familiar with. 771 00:38:02,340 --> 00:38:03,640 So it has all these pins. 772 00:38:03,820 --> 00:38:04,860 They're cut at different lengths. 773 00:38:06,740 --> 00:38:08,840 But when there's no key in it. 774 00:38:08,900 --> 00:38:09,840 They're all the way down. 775 00:38:09,980 --> 00:38:11,980 Because you have those springs on top. 776 00:38:12,780 --> 00:38:14,000 You put a key in. 777 00:38:14,080 --> 00:38:15,160 If the key is the right shape. 778 00:38:15,240 --> 00:38:16,840 Then it's going to raise them all up at the right level. 779 00:38:17,160 --> 00:38:19,580 The cuts and the pins are going to be at the right place. 780 00:38:19,660 --> 00:38:20,540 And you're going to be able to turn it. 781 00:38:22,600 --> 00:38:24,420 A wafer lock works a little bit differently. 782 00:38:24,600 --> 00:38:26,300 So a wafer lock has all these wafers. 783 00:38:27,020 --> 00:38:27,660 And they're. 784 00:38:29,460 --> 00:38:31,520 If you look at the one on the left. 785 00:38:31,960 --> 00:38:32,560 Then they're all. 786 00:38:33,060 --> 00:38:34,040 Without the key in it. 787 00:38:34,140 --> 00:38:35,720 Then they're all different. 788 00:38:36,700 --> 00:38:37,660 They're all different levels. 789 00:38:37,940 --> 00:38:38,100 Right. 790 00:38:38,420 --> 00:38:40,100 So this is actually the level that you need. 791 00:38:40,160 --> 00:38:41,320 To be able to open it with a key. 792 00:38:41,320 --> 00:38:43,340 Because you want them to basically all go straight up. 793 00:38:43,360 --> 00:38:44,300 At the same level they are. 794 00:38:44,540 --> 00:38:45,920 So then it's not locking it. 795 00:38:46,420 --> 00:38:48,120 And so then that's what the key does. 796 00:38:48,220 --> 00:38:49,260 And so what that means is. 797 00:38:49,340 --> 00:38:50,640 If I can get a device in there. 798 00:38:50,900 --> 00:38:52,420 And figure out what level they're at. 799 00:38:52,500 --> 00:38:53,480 When they're down. 800 00:38:53,620 --> 00:38:55,100 Then I know what the key looks like. 801 00:38:55,600 --> 00:38:56,220 And so. 802 00:38:56,920 --> 00:38:58,940 So basically that's the way this key impressioner works. 803 00:38:59,140 --> 00:38:59,400 So I. 804 00:38:59,640 --> 00:39:00,180 Like I said. 805 00:39:00,240 --> 00:39:01,560 I stick this piece of plastic in it. 806 00:39:01,640 --> 00:39:03,260 The red is the wires. 807 00:39:03,340 --> 00:39:04,160 At the very end. 808 00:39:05,100 --> 00:39:05,840 Towards the tip. 809 00:39:05,920 --> 00:39:06,680 That angle tip. 810 00:39:06,780 --> 00:39:07,440 They're all exposed. 811 00:39:08,140 --> 00:39:10,040 And so then the blue things are the tumblers. 812 00:39:10,180 --> 00:39:10,740 If you can tell. 813 00:39:11,720 --> 00:39:12,040 So. 814 00:39:12,360 --> 00:39:12,680 So. 815 00:39:13,560 --> 00:39:14,400 So what I do is. 816 00:39:14,440 --> 00:39:15,400 I put the key impressioner in. 817 00:39:15,480 --> 00:39:16,180 As you pull it out. 818 00:39:17,580 --> 00:39:18,640 At the right places. 819 00:39:18,660 --> 00:39:19,960 You have to figure out where the right places are. 820 00:39:20,000 --> 00:39:20,640 For that right lock. 821 00:39:21,320 --> 00:39:23,060 Then it will just hit that one wire. 822 00:39:23,200 --> 00:39:24,080 That one exposed wire. 823 00:39:24,360 --> 00:39:24,940 And so you'll know. 824 00:39:25,460 --> 00:39:25,780 Okay. 825 00:39:25,840 --> 00:39:27,560 This one goes down three fourths of the way. 826 00:39:27,640 --> 00:39:28,300 Or something like that. 827 00:39:28,360 --> 00:39:28,940 So then you know. 828 00:39:28,980 --> 00:39:29,960 What that key looks like. 829 00:39:29,980 --> 00:39:30,620 As you pull it out. 830 00:39:30,960 --> 00:39:32,040 And they're coming out with some. 831 00:39:32,320 --> 00:39:32,640 Some. 832 00:39:33,380 --> 00:39:34,900 Like professional versions of this. 833 00:39:35,300 --> 00:39:36,120 I think this year. 834 00:39:36,220 --> 00:39:37,200 You're going to see some coming out. 835 00:39:37,340 --> 00:39:37,560 So. 836 00:39:38,060 --> 00:39:39,600 But it's kind of an interesting little project. 837 00:39:39,820 --> 00:39:39,940 To. 838 00:39:40,060 --> 00:39:41,300 I've just been messing around with this. 839 00:39:41,300 --> 00:39:42,400 Just last week or two. 840 00:39:43,340 --> 00:39:44,400 And so like I said. 841 00:39:44,440 --> 00:39:44,920 Then all you do. 842 00:39:45,100 --> 00:39:45,380 Is. 843 00:39:45,620 --> 00:39:46,540 Is you connect a. 844 00:39:47,000 --> 00:39:47,500 You connect. 845 00:39:48,360 --> 00:39:48,680 Like. 846 00:39:49,900 --> 00:39:51,040 A power to the. 847 00:39:51,560 --> 00:39:52,720 To the outside of the lock. 848 00:39:52,880 --> 00:39:53,880 So just the body of the lock. 849 00:39:53,980 --> 00:39:54,560 And then you have. 850 00:39:54,740 --> 00:39:55,860 You connect all these wires. 851 00:39:55,960 --> 00:39:56,940 Coming off the back of this. 852 00:39:56,960 --> 00:39:57,360 To your Arduino. 853 00:39:58,140 --> 00:39:58,840 And then you just see. 854 00:39:58,880 --> 00:40:00,100 Which one's giving a high signal. 855 00:40:00,420 --> 00:40:00,880 Coming in. 856 00:40:00,940 --> 00:40:01,720 In a digital read. 857 00:40:02,120 --> 00:40:02,900 Because that's the one. 858 00:40:02,980 --> 00:40:03,760 That's going to actually be hitting. 859 00:40:03,880 --> 00:40:04,560 Because you have the body. 860 00:40:05,160 --> 00:40:05,680 Giving power. 861 00:40:05,860 --> 00:40:06,000 And then. 862 00:40:06,600 --> 00:40:06,920 Yeah. 863 00:40:07,020 --> 00:40:07,580 And so you're going to. 864 00:40:07,700 --> 00:40:08,600 It's going to go through the. 865 00:40:08,680 --> 00:40:09,580 Through the body of the lock. 866 00:40:11,300 --> 00:40:11,760 Into the tumblers. 867 00:40:12,360 --> 00:40:13,200 And into the. 868 00:40:13,540 --> 00:40:13,940 Device. 869 00:40:15,160 --> 00:40:16,440 So another really cool thing. 870 00:40:16,520 --> 00:40:16,940 That you can do. 871 00:40:17,000 --> 00:40:17,780 Is you can combine devices. 872 00:40:18,200 --> 00:40:18,460 So. 873 00:40:19,660 --> 00:40:20,480 So you like it. 874 00:40:20,560 --> 00:40:21,600 We've talked a little about this before. 875 00:40:21,760 --> 00:40:22,440 So you take an XB. 876 00:40:23,040 --> 00:40:24,240 And you take an Ethernet. 877 00:40:24,380 --> 00:40:25,080 And you put those together. 878 00:40:25,320 --> 00:40:26,360 You can take an RFID reader. 879 00:40:26,900 --> 00:40:27,960 And you broadcast it. 880 00:40:28,080 --> 00:40:28,620 Using cell phone. 881 00:40:28,940 --> 00:40:29,480 Or using. 882 00:40:30,520 --> 00:40:31,200 Or using. 883 00:40:32,160 --> 00:40:32,560 XB. 884 00:40:32,740 --> 00:40:33,780 Or whatever you want. 885 00:40:34,000 --> 00:40:35,640 So you can have this remote RFID reader. 886 00:40:35,780 --> 00:40:36,380 That's reading stuff. 887 00:40:37,440 --> 00:40:38,620 You can use Bluetooth. 888 00:40:38,740 --> 00:40:39,580 For motor control. 889 00:40:40,880 --> 00:40:41,280 And you can. 890 00:40:43,100 --> 00:40:44,000 Using your Arduino. 891 00:40:44,220 --> 00:40:44,700 Or something like that. 892 00:40:44,840 --> 00:40:45,100 So you have. 893 00:40:45,180 --> 00:40:45,640 Some robot. 894 00:40:45,780 --> 00:40:45,960 You can. 895 00:40:45,980 --> 00:40:46,960 You can control it. 896 00:40:47,020 --> 00:40:47,480 Using Bluetooth. 897 00:40:47,960 --> 00:40:49,200 So it's just really cool. 898 00:40:49,340 --> 00:40:49,900 The things you can make. 899 00:40:49,940 --> 00:40:50,720 When you start combining things. 900 00:40:50,840 --> 00:40:51,060 So. 901 00:40:51,420 --> 00:40:53,100 Some other interesting Arduino libraries. 902 00:40:53,300 --> 00:40:53,780 That other people. 903 00:40:53,860 --> 00:40:54,700 Have come up with. 904 00:40:54,780 --> 00:40:55,080 There's like. 905 00:40:55,140 --> 00:40:55,560 There's actually. 906 00:40:56,120 --> 00:40:56,840 Cryptography libraries. 907 00:40:57,160 --> 00:40:57,500 So you can do. 908 00:40:58,180 --> 00:40:58,700 Cryptography here. 909 00:40:58,800 --> 00:40:59,500 It's really slow. 910 00:41:00,220 --> 00:41:01,100 There's another project. 911 00:41:01,340 --> 00:41:02,500 Where people are unlocking doors. 912 00:41:02,620 --> 00:41:04,020 By knocking a certain signal. 913 00:41:04,080 --> 00:41:04,520 On the door. 914 00:41:04,660 --> 00:41:05,520 Then the door unlocks. 915 00:41:07,300 --> 00:41:07,840 There's another. 916 00:41:08,000 --> 00:41:08,480 There's a. 917 00:41:08,480 --> 00:41:08,920 There's a. 918 00:41:08,940 --> 00:41:09,540 A university. 919 00:41:09,740 --> 00:41:10,360 That's doing a project. 920 00:41:11,300 --> 00:41:11,400 Where somebody. 921 00:41:11,420 --> 00:41:12,540 You do a special handshake. 922 00:41:12,600 --> 00:41:12,980 And you're wearing. 923 00:41:13,040 --> 00:41:13,740 A special glove. 924 00:41:14,400 --> 00:41:15,140 Connected to an Arduino. 925 00:41:15,420 --> 00:41:15,920 And it will make sure. 926 00:41:15,980 --> 00:41:16,820 You do the right handshake. 927 00:41:16,880 --> 00:41:17,280 To make sure. 928 00:41:17,300 --> 00:41:17,600 That you're. 929 00:41:17,600 --> 00:41:18,420 Who you say you are. 930 00:41:20,020 --> 00:41:20,840 You can also do. 931 00:41:20,880 --> 00:41:22,300 Make an Arduino based oscilloscope. 932 00:41:22,520 --> 00:41:22,980 It's kind of like. 933 00:41:23,020 --> 00:41:24,100 A poor man's oscilloscope. 934 00:41:24,220 --> 00:41:24,480 Using. 935 00:41:24,960 --> 00:41:26,100 The analog read pins. 936 00:41:26,300 --> 00:41:27,180 It's not super fast. 937 00:41:27,360 --> 00:41:27,620 Or super. 938 00:41:28,280 --> 00:41:29,160 Or the best thing ever. 939 00:41:29,300 --> 00:41:29,540 But it. 940 00:41:29,580 --> 00:41:30,080 But it works. 941 00:41:31,000 --> 00:41:31,320 And. 942 00:41:31,400 --> 00:41:32,720 And gets you buying a lot of projects. 943 00:41:33,860 --> 00:41:34,180 Also. 944 00:41:34,840 --> 00:41:35,640 So like I said. 945 00:41:35,900 --> 00:41:36,640 Arduino's are really cool. 946 00:41:36,760 --> 00:41:37,700 And I love Arduino's. 947 00:41:37,700 --> 00:41:38,100 But there's. 948 00:41:38,100 --> 00:41:39,260 There's also some other alternatives. 949 00:41:39,520 --> 00:41:39,700 That. 950 00:41:39,700 --> 00:41:40,720 Depending on what project. 951 00:41:40,840 --> 00:41:41,080 You're doing. 952 00:41:41,120 --> 00:41:41,920 You may want to look at. 953 00:41:42,740 --> 00:41:43,900 The parallax propeller. 954 00:41:44,020 --> 00:41:44,620 It has. 955 00:41:44,660 --> 00:41:45,760 They're selling the kits here. 956 00:41:45,800 --> 00:41:46,620 In the hardware hacking village. 957 00:41:46,740 --> 00:41:47,820 It has eight cogs. 958 00:41:48,320 --> 00:41:49,560 So it can do eight things. 959 00:41:49,600 --> 00:41:50,380 At the same time. 960 00:41:51,040 --> 00:41:52,040 Which is pretty cool. 961 00:41:53,240 --> 00:41:53,800 It can do. 962 00:41:54,080 --> 00:41:54,400 Video. 963 00:41:54,480 --> 00:41:54,820 And audio. 964 00:41:54,920 --> 00:41:55,460 And things like that. 965 00:41:55,540 --> 00:41:56,420 So you can output to a TV. 966 00:41:57,900 --> 00:41:58,220 AVR. 967 00:41:58,340 --> 00:41:58,920 Is just the. 968 00:41:58,960 --> 00:41:59,380 Just basically. 969 00:41:59,380 --> 00:42:00,020 This is the chip. 970 00:42:00,100 --> 00:42:00,680 That's on the Arduino. 971 00:42:00,860 --> 00:42:01,760 You just take the bare chip. 972 00:42:02,200 --> 00:42:02,920 And use it. 973 00:42:03,460 --> 00:42:03,920 And like. 974 00:42:03,980 --> 00:42:04,280 These are. 975 00:42:04,400 --> 00:42:04,720 You know. 976 00:42:04,740 --> 00:42:05,100 Two or. 977 00:42:05,180 --> 00:42:05,500 You know. 978 00:42:05,500 --> 00:42:05,860 They're probably between. 979 00:42:05,940 --> 00:42:06,900 Two and four bucks a piece. 980 00:42:07,120 --> 00:42:07,880 And so they're a lot cheaper. 981 00:42:08,080 --> 00:42:08,320 Than. 982 00:42:08,700 --> 00:42:09,620 Than using an Arduino. 983 00:42:10,440 --> 00:42:11,500 You can also use a pick. 984 00:42:12,900 --> 00:42:13,500 So they're. 985 00:42:13,500 --> 00:42:14,180 They're pretty cheap. 986 00:42:14,280 --> 00:42:14,620 To buy. 987 00:42:15,100 --> 00:42:15,640 The only. 988 00:42:15,760 --> 00:42:16,560 The thing with picks. 989 00:42:16,680 --> 00:42:17,320 Are for the most. 990 00:42:17,440 --> 00:42:18,000 A lot of times. 991 00:42:18,060 --> 00:42:18,520 You're going to have to buy. 992 00:42:18,560 --> 00:42:19,180 Like a proprietary. 993 00:42:20,260 --> 00:42:20,900 Development environment. 994 00:42:21,000 --> 00:42:21,720 Or something like that. 995 00:42:21,820 --> 00:42:22,700 So you can code in C. 996 00:42:23,060 --> 00:42:24,240 The assembly ones are free. 997 00:42:24,740 --> 00:42:25,740 And you can also do. 998 00:42:25,840 --> 00:42:26,280 Some like. 999 00:42:26,380 --> 00:42:27,580 Limited size of C. 1000 00:42:27,640 --> 00:42:28,080 For free. 1001 00:42:28,120 --> 00:42:29,080 With a lot of them as well. 1002 00:42:29,240 --> 00:42:30,260 With a lot of the IDEs. 1003 00:42:30,500 --> 00:42:30,820 So. 1004 00:42:31,380 --> 00:42:32,120 There's also the. 1005 00:42:32,240 --> 00:42:33,120 The free scale one. 1006 00:42:33,180 --> 00:42:33,980 That we have on our badges. 1007 00:42:35,500 --> 00:42:35,780 As well. 1008 00:42:35,880 --> 00:42:36,380 They're really cool. 1009 00:42:37,260 --> 00:42:37,620 Using. 1010 00:42:38,120 --> 00:42:38,680 Processing expert. 1011 00:42:38,760 --> 00:42:39,620 You can do a lot of cool stuff. 1012 00:42:39,660 --> 00:42:39,980 With them. 1013 00:42:40,980 --> 00:42:41,340 So. 1014 00:42:41,440 --> 00:42:42,280 Here's some resources. 1015 00:42:42,500 --> 00:42:42,920 That you might. 1016 00:42:43,560 --> 00:42:44,380 Want to check out. 1017 00:42:44,480 --> 00:42:45,280 If you're looking for. 1018 00:42:46,240 --> 00:42:46,880 Some additional. 1019 00:42:47,600 --> 00:42:47,960 Stuff. 1020 00:42:48,040 --> 00:42:48,320 So. 1021 00:42:48,380 --> 00:42:49,060 The official Arduino. 1022 00:42:49,320 --> 00:42:49,680 Website. 1023 00:42:49,700 --> 00:42:50,000 Is Arduino. 1024 00:42:50,320 --> 00:42:50,540 C. 1025 00:42:50,680 --> 00:42:50,900 C. 1026 00:42:51,340 --> 00:42:52,560 Has really good forums. 1027 00:42:53,800 --> 00:42:54,160 Instructables. 1028 00:42:54,260 --> 00:42:54,580 Com. 1029 00:42:54,700 --> 00:42:55,460 Has a lot of cool. 1030 00:42:55,740 --> 00:42:56,420 A lot of cool. 1031 00:42:56,680 --> 00:42:57,720 Arduino projects. 1032 00:42:58,080 --> 00:42:58,280 I. 1033 00:42:58,300 --> 00:42:59,300 Have a couple up there. 1034 00:43:00,120 --> 00:43:00,800 Spark fun. 1035 00:43:01,240 --> 00:43:02,180 Is a cool place. 1036 00:43:02,200 --> 00:43:02,620 To buy things. 1037 00:43:05,500 --> 00:43:05,660 That's. 1038 00:43:06,500 --> 00:43:06,860 Makershed. 1039 00:43:06,880 --> 00:43:07,860 Evil mad scientist. 1040 00:43:10,040 --> 00:43:10,400 C. 1041 00:43:10,580 --> 00:43:10,760 Studios. 1042 00:43:11,040 --> 00:43:11,580 Out of. 1043 00:43:11,600 --> 00:43:12,280 Out of China. 1044 00:43:12,500 --> 00:43:13,040 And they sell stuff. 1045 00:43:13,100 --> 00:43:13,400 That's really. 1046 00:43:13,540 --> 00:43:13,900 Cheap. 1047 00:43:14,140 --> 00:43:14,800 And these guys. 1048 00:43:14,900 --> 00:43:15,260 Pololu. 1049 00:43:15,380 --> 00:43:15,720 They're actually. 1050 00:43:15,780 --> 00:43:16,340 Here local. 1051 00:43:16,420 --> 00:43:17,000 In Vegas. 1052 00:43:17,100 --> 00:43:17,400 I need. 1053 00:43:17,980 --> 00:43:18,340 So. 1054 00:43:18,460 --> 00:43:19,080 I could try to get that. 1055 00:43:19,660 --> 00:43:20,020 That. 1056 00:43:21,480 --> 00:43:21,840 The. 1057 00:43:21,900 --> 00:43:22,100 Brew. 1058 00:43:22,200 --> 00:43:22,420 Force. 1059 00:43:22,480 --> 00:43:23,260 For the combination locks. 1060 00:43:23,320 --> 00:43:23,480 Work. 1061 00:43:23,500 --> 00:43:23,800 I needed. 1062 00:43:24,120 --> 00:43:25,040 A stepper driver. 1063 00:43:25,960 --> 00:43:26,320 And. 1064 00:43:26,360 --> 00:43:26,720 And. 1065 00:43:26,760 --> 00:43:27,000 Even though. 1066 00:43:27,060 --> 00:43:27,340 They mostly. 1067 00:43:36,080 --> 00:43:36,320 So. 1068 00:43:36,680 --> 00:43:36,920 Work. 1069 00:43:37,020 --> 00:43:37,200 Eagle. 1070 00:43:37,300 --> 00:43:37,760 Learn more. 1071 00:43:37,920 --> 00:43:38,080 So. 1072 00:43:38,200 --> 00:43:38,660 I go to my. 1073 00:43:38,840 --> 00:43:39,080 Local. 1074 00:43:39,180 --> 00:43:39,640 Hacker space. 1075 00:43:39,800 --> 00:43:40,020 They do. 1076 00:43:40,100 --> 00:43:40,500 A ton of. 1077 00:43:40,580 --> 00:43:40,820 Arduino. 1078 00:43:40,900 --> 00:43:41,140 Stuff. 1079 00:43:41,180 --> 00:43:41,340 At. 1080 00:43:41,360 --> 00:43:41,520 Mine. 1081 00:43:41,540 --> 00:43:41,660 And. 1082 00:43:41,740 --> 00:43:41,900 I know. 1083 00:43:41,920 --> 00:43:42,260 A lot. 1084 00:43:42,260 --> 00:43:42,320 Of. 1085 00:43:42,420 --> 00:43:42,480 Other. 1086 00:43:42,560 --> 00:43:42,760 Ones. 1087 00:43:42,760 --> 00:43:42,860 Do. 1088 00:43:42,940 --> 00:43:43,120 As. 1089 00:43:43,160 --> 00:43:43,340 Well. 1090 00:43:44,480 --> 00:43:44,720 So. 1091 00:43:44,800 --> 00:43:44,980 Just. 1092 00:43:45,020 --> 00:43:45,160 Check. 1093 00:43:45,260 --> 00:43:45,400 Out. 1094 00:43:45,440 --> 00:43:45,640 Just. 1095 00:43:45,820 --> 00:43:46,060 Google. 1096 00:43:46,060 --> 00:43:46,200 And. 1097 00:43:46,680 --> 00:43:46,840 One. 1098 00:43:47,120 --> 00:43:47,340 Near. 1099 00:43:47,480 --> 00:43:47,680 You. 1100 00:43:49,160 --> 00:43:49,380 If. 1101 00:43:49,540 --> 00:43:49,560 There. 1102 00:43:49,640 --> 00:43:49,780 Isn't. 1103 00:43:49,800 --> 00:43:49,920 One. 1104 00:43:49,960 --> 00:43:50,180 Consider. 1105 00:43:50,400 --> 00:43:50,620 Starting. 1106 00:43:50,680 --> 00:43:50,840 One. 1107 00:43:50,880 --> 00:43:51,080 And. 1108 00:43:51,280 --> 00:43:51,500 You. 1109 00:43:51,560 --> 00:43:51,620 Know. 1110 00:43:51,660 --> 00:43:51,760 Just. 1111 00:43:51,840 --> 00:43:52,060 Having. 1112 00:43:53,640 --> 00:43:53,860 You. 1113 00:43:53,940 --> 00:43:53,960 Know. 1114 00:43:53,980 --> 00:43:54,080 Start. 1115 00:43:54,320 --> 00:43:54,540 Spreading. 1116 00:43:54,540 --> 00:43:54,680 The. 1117 00:43:54,720 --> 00:43:54,940 Knowledge. 1118 00:43:55,040 --> 00:43:55,100 And. 1119 00:43:55,140 --> 00:43:55,260 Things. 1120 00:43:55,320 --> 00:43:55,480 Like. 1121 00:43:55,480 --> 00:43:55,620 That. 1122 00:43:56,600 --> 00:43:56,800 So. 1123 00:43:56,960 --> 00:43:56,980 Also. 1124 00:43:57,060 --> 00:43:57,120 A. 1125 00:43:57,220 --> 00:43:57,260 Of. 1126 00:43:57,340 --> 00:43:57,480 Places. 1127 00:43:57,580 --> 00:43:57,780 Like. 1128 00:43:57,860 --> 00:43:58,060 Like. 1129 00:43:58,080 --> 00:43:58,160 We. 1130 00:43:58,260 --> 00:43:58,280 Have. 1131 00:43:58,400 --> 00:43:58,460 A. 1132 00:43:58,500 --> 00:43:58,580 Local. 1133 00:43:58,680 --> 00:43:58,840 Make. 1134 00:43:58,900 --> 00:43:59,100 Group. 1135 00:43:59,180 --> 00:43:59,320 That. 1136 00:43:59,380 --> 00:43:59,460 Does. 1137 00:43:59,520 --> 00:43:59,600 The. 1138 00:43:59,800 --> 00:43:59,900 Kind. 1139 00:43:59,940 --> 00:44:00,020 Of. 1140 00:44:00,020 --> 00:44:00,220 Stuff. 1141 00:44:00,340 --> 00:44:00,520 As. 1142 00:44:00,600 --> 00:44:00,780 The. 1143 00:44:01,580 --> 00:44:01,780 As. 1144 00:44:01,920 --> 00:44:02,040 Our. 1145 00:44:02,200 --> 00:44:02,400 Hacker. 1146 00:44:02,460 --> 00:44:02,660 Space. 1147 00:44:03,700 --> 00:44:03,900 And. 1148 00:44:03,900 --> 00:44:04,000 The. 1149 00:44:04,380 --> 00:44:04,400 Thing. 1150 00:44:04,500 --> 00:44:04,620 Is. 1151 00:44:04,820 --> 00:44:04,980 Upstairs. 1152 00:44:05,060 --> 00:44:05,220 There's. 1153 00:44:05,280 --> 00:44:05,320 A. 1154 00:44:05,420 --> 00:44:05,540 Hardware. 1155 00:44:05,660 --> 00:44:05,820 Hacking. 1156 00:44:05,920 --> 00:44:06,080 Village. 1157 00:44:06,160 --> 00:44:06,260 If. 1158 00:44:06,360 --> 00:44:06,400 You. 1159 00:44:06,440 --> 00:44:06,520 Guys. 1160 00:44:06,620 --> 00:44:06,780 Haven't. 1161 00:44:06,820 --> 00:44:06,900 Made. 1162 00:44:06,980 --> 00:44:07,040 It. 1163 00:44:07,080 --> 00:44:07,120 Up. 1164 00:44:07,200 --> 00:44:07,340 There. 1165 00:44:07,440 --> 00:44:07,600 Then. 1166 00:44:08,020 --> 00:44:08,180 You. 1167 00:44:08,300 --> 00:44:08,360 I. 1168 00:44:08,660 --> 00:44:08,820 Encourage. 1169 00:44:08,900 --> 00:44:08,960 You. 1170 00:44:09,020 --> 00:44:09,140 Go. 1171 00:44:09,380 --> 00:44:09,540 Check. 1172 00:44:09,660 --> 00:44:09,740 It. 1173 00:44:09,760 --> 00:44:09,880 Out. 1174 00:44:27,260 --> 00:44:27,420 One. 1175 00:44:27,420 --> 00:44:27,460 And. 1176 00:44:27,800 --> 00:44:27,960 Just. 1177 00:44:28,080 --> 00:44:28,200 Talk. 1178 00:44:28,280 --> 00:44:28,380 To. 1179 00:44:28,380 --> 00:44:28,400 You. 1180 00:44:28,480 --> 00:44:28,500 About. 1181 00:44:28,680 --> 00:44:28,740 Stuff. 1182 00:44:28,940 --> 00:44:28,960 Was. 1183 00:44:29,200 --> 00:44:29,280 To. 1184 00:44:29,300 --> 00:44:29,380 A. 1185 00:44:29,600 --> 00:44:29,760 Yesterday. 1186 00:44:30,020 --> 00:44:30,180 About. 1187 00:44:31,320 --> 00:44:31,480 Or. 1188 00:44:31,580 --> 00:44:31,640 A. 1189 00:44:31,680 --> 00:44:31,740 Couple. 1190 00:44:31,820 --> 00:44:31,920 Days. 1191 00:44:32,040 --> 00:44:32,120 Ago. 1192 00:44:32,200 --> 00:44:32,340 About. 1193 00:44:32,340 --> 00:44:32,500 Stuff. 1194 00:44:32,540 --> 00:44:32,680 He. 1195 00:44:32,720 --> 00:44:32,840 Was. 1196 00:44:32,900 --> 00:44:32,920 Doing. 1197 00:44:33,020 --> 00:44:33,080 With. 1198 00:44:33,380 --> 00:44:33,540 Arduinos. 1199 00:44:33,660 --> 00:44:33,820 And. 1200 00:44:57,220 --> 00:44:57,380 He. 1201 00:44:58,000 --> 00:44:58,200 Think. 1202 00:44:58,420 --> 00:44:58,620 That's. 1203 00:44:58,660 --> 00:44:58,860 That's. 1204 00:44:59,040 --> 00:44:59,100 I. 1205 00:44:59,140 --> 00:44:59,220 Have. 1206 00:44:59,300 --> 00:44:59,420 So. 1207 00:44:59,720 --> 00:44:59,920 Anybody. 1208 00:45:00,060 --> 00:45:00,120 Have. 1209 00:45:00,260 --> 00:45:00,360 Any. 1210 00:45:00,520 --> 00:45:00,720 Questions. 1211 00:45:01,040 --> 00:45:01,240 Or. 1212 00:45:02,980 --> 00:45:03,180 Now. 1213 00:45:03,280 --> 00:45:03,320 I'll. 1214 00:45:03,500 --> 00:45:03,540 You. 1215 00:45:03,600 --> 00:45:03,680 Guys. 1216 00:45:03,720 --> 00:45:03,860 Go. 1217 00:45:03,940 --> 00:45:04,140 Yeah. 1218 00:45:04,220 --> 00:45:04,420 Go. 1219 00:45:04,480 --> 00:45:04,600 Ahead. 1220 00:45:04,840 --> 00:45:05,040 Then. 1221 00:45:06,440 --> 00:45:06,640 I'll. 1222 00:45:06,720 --> 00:45:06,800 Ask. 1223 00:45:06,840 --> 00:45:06,880 A. 1224 00:45:06,920 --> 00:45:06,980 Good. 1225 00:45:07,020 --> 00:45:07,220 Question. 1226 00:45:07,260 --> 00:45:07,400 So. 1227 00:45:07,680 --> 00:45:07,880 Basically. 1228 00:45:08,500 --> 00:45:08,680 I. 1229 00:45:09,060 --> 00:45:09,080 Going. 1230 00:45:09,160 --> 00:45:09,180 To. 1231 00:45:09,320 --> 00:45:09,360 Cover. 1232 00:45:09,440 --> 00:45:09,540 That. 1233 00:45:09,600 --> 00:45:09,640 I. 1234 00:45:09,720 --> 00:45:09,900 Forgot. 1235 00:45:10,360 --> 00:45:10,540 So. 1236 00:45:10,640 --> 00:45:10,820 I. 1237 00:45:10,880 --> 00:45:11,060 Found. 1238 00:45:11,220 --> 00:45:11,340 A. 1239 00:45:12,180 --> 00:45:12,820 So. I. 1240 00:45:13,000 --> 00:45:13,060 That. 1241 00:45:13,100 --> 00:45:13,200 Had. 1242 00:45:13,320 --> 00:45:13,360 To. 1243 00:45:13,400 --> 00:45:13,420 Be. 1244 00:45:13,700 --> 00:45:13,880 160. 1245 00:45:15,040 --> 00:45:15,220 Micro. 1246 00:45:15,740 --> 00:45:15,920 Henry's. 1247 00:45:15,920 --> 00:45:16,020 And. 1248 00:45:16,060 --> 00:45:16,140 So. 1249 00:45:16,220 --> 00:45:16,400 Basically. 1250 00:45:16,460 --> 00:45:16,560 What. 1251 00:45:16,760 --> 00:45:16,800 Did. 1252 00:45:16,920 --> 00:45:17,100 Then. 1253 00:45:17,120 --> 00:45:17,300 Is. 1254 00:45:17,300 --> 00:45:17,660 I. 1255 00:45:17,940 --> 00:45:17,980 A. 1256 00:45:18,300 --> 00:45:18,540 Calculator. 1257 00:45:18,560 --> 00:45:18,800 Online. 1258 00:45:19,060 --> 00:45:19,280 Where. 1259 00:45:19,340 --> 00:45:19,440 You. 1260 00:45:19,520 --> 00:45:19,580 Just. 1261 00:45:19,660 --> 00:45:19,720 Put. 1262 00:45:19,800 --> 00:45:19,900 In. 1263 00:45:19,920 --> 00:45:20,060 Okay. 1264 00:45:20,120 --> 00:45:20,220 How. 1265 00:45:20,320 --> 00:45:20,480 Big. 1266 00:45:20,560 --> 00:45:20,680 Is. 1267 00:45:20,740 --> 00:45:20,940 Your. 1268 00:45:21,580 --> 00:45:21,820 Is. 1269 00:45:21,900 --> 00:45:22,120 Your. 1270 00:45:22,380 --> 00:45:22,620 Is. 1271 00:45:22,780 --> 00:45:22,820 Your. 1272 00:45:36,000 --> 00:45:36,240 Thing. 1273 00:45:36,240 --> 00:45:36,420 And. 1274 00:45:37,300 --> 00:45:37,540 So. 1275 00:45:37,540 --> 00:45:37,580 I. 1276 00:45:37,820 --> 00:45:38,060 Measured. 1277 00:45:38,140 --> 00:45:38,380 The. 1278 00:45:38,380 --> 00:45:38,580 Toy. 1279 00:45:38,600 --> 00:45:38,720 Paper. 1280 00:45:38,800 --> 00:45:39,040 Tube. 1281 00:45:40,360 --> 00:45:40,560 Then. 1282 00:45:41,500 --> 00:45:41,700 It. 1283 00:45:42,800 --> 00:45:43,000 Took. 1284 00:45:46,600 --> 00:45:46,620 About. 1285 00:45:46,820 --> 00:45:46,880 Half. 1286 00:45:47,040 --> 00:45:47,140 An. 1287 00:45:47,160 --> 00:45:47,240 Hour. 1288 00:45:47,340 --> 00:45:47,380 I. 1289 00:45:47,440 --> 00:45:47,560 Think. 1290 00:45:47,580 --> 00:45:47,680 Of. 1291 00:45:47,720 --> 00:45:47,880 Just. 1292 00:45:48,340 --> 00:45:48,540 Messing. 1293 00:45:48,580 --> 00:45:48,660 With. 1294 00:45:48,740 --> 00:45:48,800 A. 1295 00:45:49,020 --> 00:45:49,160 More. 1296 00:45:49,260 --> 00:45:49,460 Wraps. 1297 00:45:49,540 --> 00:45:49,740 Trying. 1298 00:45:49,820 --> 00:45:49,920 It. 1299 00:45:49,920 --> 00:45:50,080 Out. 1300 00:45:51,240 --> 00:45:51,440 Just. 1301 00:45:51,660 --> 00:45:51,840 Works. 1302 00:45:52,160 --> 00:45:52,360 So. 1303 00:45:53,160 --> 00:45:53,360 So. 1304 00:45:53,400 --> 00:45:53,440 I. 1305 00:45:53,660 --> 00:45:53,840 My. 1306 00:45:54,180 --> 00:45:54,340 There's. 1307 00:45:54,360 --> 00:45:54,400 An. 1308 00:45:54,660 --> 00:45:54,820 Instructable. 1309 00:45:54,880 --> 00:45:55,000 On. 1310 00:45:55,380 --> 00:45:55,540 Project. 1311 00:45:55,680 --> 00:45:55,840 And. 1312 00:45:55,940 --> 00:45:55,960 On. 1313 00:45:56,020 --> 00:45:56,080 That. 1314 00:45:56,280 --> 00:45:56,440 Instructable. 1315 00:45:56,480 --> 00:45:56,540 I. 1316 00:45:56,740 --> 00:45:56,800 You. 1317 00:45:56,820 --> 00:45:56,880 How. 1318 00:45:56,960 --> 00:45:57,020 Many. 1319 00:45:57,060 --> 00:45:57,220 Wraps. 1320 00:45:57,340 --> 00:45:57,420 I. 1321 00:45:57,480 --> 00:45:57,500 Did. 1322 00:45:57,540 --> 00:45:57,660 I. 1323 00:45:57,760 --> 00:45:57,920 Can't. 1324 00:45:58,000 --> 00:45:58,160 Can't. 1325 00:45:58,260 --> 00:45:58,420 Remember. 1326 00:45:58,460 --> 00:45:58,540 Off. 1327 00:45:58,700 --> 00:45:58,860 My. 1328 00:45:58,940 --> 00:45:59,020 Head. 1329 00:45:59,680 --> 00:45:59,840 How. 1330 00:45:59,920 --> 00:45:59,980 Many. 1331 00:46:00,020 --> 00:46:00,100 It. 1332 00:46:00,180 --> 00:46:00,340 Was. 1333 00:46:00,340 --> 00:46:00,520 About. 1334 00:46:01,840 --> 00:46:02,120 My. 1335 00:46:02,220 --> 00:46:02,400 Wife's. 1336 00:46:02,440 --> 00:46:02,660 Laughing. 1337 00:46:02,700 --> 00:46:02,840 At. 1338 00:46:02,880 --> 00:46:02,980 That. 1339 00:46:03,060 --> 00:46:03,340 Project. 1340 00:46:03,420 --> 00:46:03,680 Apparently. 1341 00:46:04,200 --> 00:46:04,480 But. 1342 00:46:05,380 --> 00:46:05,660 No. 1343 00:46:07,240 --> 00:46:07,520 She. 1344 00:46:07,540 --> 00:46:07,780 Watched. 1345 00:46:07,800 --> 00:46:07,900 The. 1346 00:46:07,940 --> 00:46:07,960 Whole. 1347 00:46:08,040 --> 00:46:08,200 Thing. 1348 00:46:09,660 --> 00:46:09,940 Any. 1349 00:46:09,980 --> 00:46:10,220 Other. 1350 00:46:10,360 --> 00:46:10,600 Questions. 1351 00:46:13,320 --> 00:46:13,600 Okay. 1352 00:46:13,820 --> 00:46:14,100 Let. 1353 00:46:14,280 --> 00:46:14,380 Guys. 1354 00:46:14,400 --> 00:46:14,520 Out. 1355 00:46:14,580 --> 00:46:14,660 A. 1356 00:46:14,680 --> 00:46:14,840 Early. 1357 00:46:14,940 --> 00:46:15,100 If. 1358 00:46:15,240 --> 00:46:15,400 Anybody. 1359 00:46:15,580 --> 00:46:15,720 Wants. 1360 00:46:15,800 --> 00:46:15,860 To.