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. So it's hardware hacking for a STEM software guy. I definitely include myself in this group. I've done software for a long time, but I've never really gotten into hardware. 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. Just as a disclaimer, if you've seen other Arduino talks or maybe some things that are similar, it's because it's all true and good, not because it's, and so, and I thought of it first, I guarantee it. So again, back to Arduinos. So hardware hacking, it can be daunting for software guys like me. So I look at it and I say, you know, there's these complex circuits and components that I didn't understand or even don't understand a lot of them still. There's the cost involved in getting into hardware hacking. So you have the hardware. You know, you have, you have to buy a development kit. You have to buy all these tools, soldering irons, test crimp, things like that. So you look at it, just enormous cost you have to put down to get involved in this. And then there's also, in many cases, a steep learning curve. So, you know, you're trying to learn assembly or something like that. These, these languages that may be hard to learn. There's also, for a lot of the stuff, there's a lack of good information. So you look, you try to find, you know, good tutorials on things and sometimes it's hard to find something. You know, it's equivalent to like an example. For example, in code, where you can take it and, and, you know, modify and use it however you want. And, but, but I still wanted to make cool stuff and so I started looking around. So, so one thing that really helped me is last year I, I picked up the hardware hacking kit that they sold here at DEF CON and, and had a parallax board that was, that's a really cool board, by the way. And then the other thing is I started just hearing about these Arduino things, just reading on Hackaday and, and the Make website and things like that. And so I picked up a couple of Arduinos and just started messing around. And so this is why, this is why I like Arduinos and microcontrollers, is they're, they're a good mix of hardware and software. So you can, you can drop code on them and they can do the same thing as a really complex circuit, but they're just on this one little chip. And so they're really easy to use. And you can reprogram, repurpose them for something else. It's not like a circuit where you have to desolder everything, resolder it up, you just drop different code on it. It's, it's something else. And I, I really like that. So if you look at this graph, this is a, this is a graph that shows the search. The, the amount of the people that are searching for these different terms. So if you look the, the green and the orange are Atmel and, and Microchip. And you see over time, so these are two big chip manufacturers that are used a lot, especially in the industry. And in fact, the Atmel chip is on the Arduino. But so as you can see, this, people have been searching less and less for these terms, but Arduino, the red one, has been going up since it came out, you know, in 2007 or so. Then it's, you know, steadily been rising and it's passed the other ones. 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. So what is an Arduino if you're not familiar with them? They're open source hardware platforms. It's an open source hardware platform. It's an all-in-one solution. So, so it's open source meaning the design is completely open source. Anybody can download the schematic. You can build your own. You can sell them. You can do whatever you want. It's, it's completely open source. It's all-in-one, like I said, so that means basically have everything you need on the board. So you just plug a USB cable into it and go. You can just drop code on it. It has an easy-to-learn language. The Arduino language is kind of an abstracted C. It takes care of a lot of the, a lot of the functions for you, like digital pin writes and things like that. They're really easy to do in the Arduino language. It has a free open source IDE that does syntax highlighting. It uploads the code to the board. It compiles it. It can burn new bootloaders on just blank chips, things like that. So it's really cool. It has a strong community backing. There's a ton of people doing stuff with Arduinos all over the place. And there's great forms, things like that. And also, they're about 30 bucks, so they're not for the typical one that most people use. So they're a really good deal, and they work really well. So to me, it's kind of like the hardware equivalent of a scripting language. So, you know, you use a scripting language to get things done fast, to get things done easily. Scripting languages have disadvantages as well, though, right? You know, they may not be as fast as a compiled language. You're going to have certain tradeoffs. You're going to see the same thing with Arduinos, but they're good for a lot of stuff. So this is a picture of an Arduino. This is a DeMillinove, which is 2009 in Italian. This is the last, again, the latest one that the Arduinos guys came out with. It so runs on a Mega 328P chip. It has 14 digital input-output pins. Six of them are pulse-width modulation, which means they can be analog out, so they're not all the way on or all the way off. They go on and off so fast that it looks like they're partway on. And they also have six analog input pins where you can read an analog value. 32 kilobytes of flash, and they run at 16 megahertz. And so, but what else is an Arduino? Like I said, these are open-source boards, so a lot of other people make them. Some of them are fully compatible. Other ones are just IDE compatible, which means you can drop the code on them, but they may not be, you know, they may not be exact same shape, which we'll talk about why that's important in a minute. But, so there's like the Arduino Mega, which is just a big Arduino. There's a SparkFun makes some, the Arduino Pro and Mini and others that they make. They're the same shape. They don't have the FTDI built onto it, so you have to have a separate FTDI cable. Evil Mat Scientist, they make one. FreeDuino, SeaDuino are other clones. Then there's some other ones that have extra functionality, like the FiO has some wireless capabilities on it that other ones don't. The Teensy is partially Arduino compatible. There's been other talks about the Teensy during DEF CON. And it, but it does a lot of USB stuff that's really cool. Lilypad is used for embedding in clothing. It's a round Arduino. Arduino and bare bones are these really, they're just bare bones Arduino, so there's just not much to them. It doesn't have a lot of the extra components. And then the Maple is really cool. It's an ARM-based Arduino. And so it runs like 10 times faster, but you can drop the same code on them, basically. And there's other ones that are also doing ARM-based Arduinos as well. The Butterfly Uno is actually on a FPGA. So it emulates the Atmel chip on the FPGA, and you can add input and output pins on the fly. It's pretty cool. So Arduinos, they're general purpose platforms. You can make whatever you want, literally, with these things. So like this thing, I guess when you fart, it changes the channel. Kind of funny. So I made things, like I made a little autonomous robot that avoided walls. That was my first project. It took just like half a, you know, a couple of hours. You know, I made. I made my daughter's Halloween costume with a stoplight that changed shapes, things like that. So you can make all sorts of things with these. People are making cool stuff. So, but like I said, they're not for every project. They're expensive when you want to make a lot of something. So if you wanted to manufacture a thousand of something, 30 bucks a pop is pretty expensive. You probably just want to go with the chip itself. They're not incredibly powerful. Like I said, people are doing cool stuff with these, but they're doing. You can do a ton with them, but it's not a computer. And also, there's no parallel computing. They do have interrupts, though. So you can interrupt what you're doing and switch to something else. So in hardware, generally the first thing you do is the equivalent of, the equivalent of hello world is to blink an LED. So here's the code to blink an LED. So I just define my LED pin to be pin 13, which on the Arduino board that actually has an LED on, like a surface mat LED there. So you can test it and do things like this. Then it just has a void setup. It's a function, and this is just the function that will run one time when the Arduino first starts up, and then it goes into this void loop where it's just going to keep going through this over and over again until it loses power or something happens to turn it off. So on this one, I'm just doing a digital write, which is just going to make that LED turn on. I make that LED pin high, so that's going to give it power. I delay for a thousand milliseconds, which is one second. Then I make that pin low, do another digital write. Then I delay for another thousand milliseconds. So it's pretty easy to make an LED blink. So now I just want to talk a little about shields. So shields, they fit on top of the Arduino as long as it's shaped the same shape. That's why shape's important. It adds extra functionality, and many are stackable, so you can stack one on top of the other. So here's some available shields that are pretty cool. So you have the Ethernet shield, which gives you Ethernet capability. XBee gives you radio stuff. Motor shields lets you drive motors. Wave shields, you can play waves. Nixie tube shield, that's this guy up here. So this lets you drive Nixie tubes. So if you haven't seen them, they're a really cool display. So it has all the numbers kind of layered on top of each other. And then it just lights up the one that you need. I've been wearing this around as a badge a little bit. But it runs like 90 volts, though, so I'm a little bit scared of it. But I still keep doing it. Then there's an LCD shield, so you can see LCD stuff. There's a cellular shield, so you can put a SIM card in it. You're on the cell network. You can program there. The advantages of shields, for the most part, unless you buy it as a kit, there's no tools necessary. You just pop it on, and you've got that functionality. So, for example, here's the Ethernet shield. So you just pop it on. In hardware, it can support up to four simultaneous connections. It has the TCP stack on hardware on the shield itself. And so there's one thing you can do pretty easily. This is just a simple port scanner. So you just define the IP that you're going to scan by putting in an array, a four-element array. So I just put it in there. So I'm just going to scan this subnet 192.168.1. And then I'm going to just change that last octet every time I go through the loop and then scan ports or just try to connect to ports 1 to 1028. And then I can report that however I want. I can log that to an SD card. I can transmit that somewhere else. So if I want to put this on a network, you know, and then, you know, leave or something like that, then I have this really small device that I can use to be a port scanner planet somewhere. So here's the XB. It's 2.4 gigahertz, 250 kilobits max data rate, 128-bit encryption. And it can read from a few hundred feet to several miles in range, depending on the model that you get. So XBs and security. So one of the reasons I like XBs is they can be used for out-of-band communications. So they're 2.4 gigahertz. Wave, but it's not 802.11, and so you're not likely going to see it like in a wireless assessment. So if you plant this somewhere, it's maybe going to go undetected for longer than a computer or something like that using a typical wireless protocol. You can also use these to reprogram your Arduino remotely. So if you can plant it somewhere, you want to change the functionality of it, you can, you know, maybe plant it somewhere it's doing one thing that's good and then you want to, you're putting it as a Trojan or something like that, we want to change the functionality later, you could do it. And we're also looking at using this to do triangulation for wireless assessments. So say that you're trying to do a wireless assessment inside of a building, you're trying to figure out where that wireless signal is coming from, then we're looking at putting these around the building and being able to detect that way by triangulating the signals and the power they're getting from each of them. So here's the XB shield and the Ethernet shield together. So like I said, this is a small device. When you put these together, then you can put it inside of a network device. I'll talk about that a little bit later with the Cisco router. And you basically have this remote device you can use. So here's a picture of my Nixie tube shield. Since you guys probably can't see it up here, it's kind of small. So this one, right now it's just counting down. Everyone asks me what it's counting down to when they see me. And I don't know what it is. One guy was in the vendor area, it was getting down to like 1098 and he was getting a little scared it seemed like. It just starts over. But anyway. But yeah. See, it's kind of fun. It's a really cool little display. So then the next thing after you use the available shields that are out there, the next thing I thought about is, okay, I'm going to start making my own shield. So you can either use what's called a prototype shield where it's a shield that just has a bunch of holes you can solder into and use like that. You can use a custom PCB where you draw it out, send it out to be manufactured, you make it yourself. Or you can use a multipurpose PCB like a perf board, which is what I tend to use just because they're cheap and I'm lazy and they work well. So you're going to need a soldering iron and possibly other tools if you're going to be making your own shield. And one thing I want to say about soldering irons is if you're having a hard time soldering, just try it with a decent soldering iron because that was the difference for me. I was using a cheap Radio Shack one and I sucked and now I can actually solder because I got a decent one. So reading from pins. So digital reads, they're really easy. So you just use the digital reads. With a digital read function, you're going to get a 1 or a 0 if the signal coming into it is high or low. With an analog read, you're going to get a value between 0 and 123 depending on what's coming into it. So one thing that you want to think about any time that you're hooking into an external device is that it's kind of like the forms in a web page. So you've got these inputs and you can start just pushing weird stuff to them and seeing what happens. And kind of fun stuff happens. We've seen other talks about doing things like USB fuzzing, so you just start sending it crap or trying to tell it you're a different device. And a lot of these interfaces aren't as well protected as the front door is. So this is a good opportunity to use these hardware platforms to do hacking stuff. So here's one little project that I made. This is one of the first things that I did. It's a lie detector. So we're going to be running a little bit of voltage through people to do this, so be careful. This is just a little bit so it shouldn't hurt anybody. So anyway, so the wire, you basically take, you have two wires, so you hook, you take a wire, you put tinfoil on the end of it, you wrap it around your finger, and then I just used tape in this picture. You can use Velcro or something like that as well. You plug one of them into 3.3 volts, and then you take another one to another finger, you plug that into an analog read, use a 10 kilohm resistor as a pull down to help you get a good accurate read. So from the analog read to ground. And then basically the way it works then is so you've got a piece of tape on one finger with foil with a wire coming off of it going to power, the other one going to the analog read, and it just is going to send voltage through your finger basically. And if you're lying, typically you'll start kind of sweating a little bit on your skin, and so the resistance will go down, so the analog value will go up. And so that's kind of the way this really simple lie detector works. So here's the code for it, really simple. I'm using the analog read pin 2. Then I'm just doing a serial begin. This is just a function that lets me output whatever is happening on the Arduino over serial. I can just do a serial print, which then I do down the void loop. So I do a serial print of whatever I read into the analog read. And then I delay for five seconds, then it's just going to keep reading. And so I can just watch that value go up or down. I can know what's going on. It's not perfect. Any emotional response will actually trigger you sweating like this, so if you're mad about what the person is saying or something like that, then you're also going to look like you're lying to these lie detectors. And also the professional ones all have things like, they test for heart rate and breathing rate and things like that. So here's another one that's, there's a ton of people who make different versions of this. So all you do is take a laser, you put it across the doorway, and then on the other side of the doorway, you have a photoresistor that the laser is pointing at. So when someone goes through that, that laser is going to change the value that's being read on that analog read to that photoresistor, and it's going to show you that someone went through. And you can buzz or do whatever you want to trigger on that person coming through. Here's one that the follower talked about yesterday that he did. This is one of the first projects that I made as well actually going off of his plants. So this is based on our project VUSB. So it's a simple circuit. It has just three resistors, two diodes, and then just the USB connector, and that's it. And you can emulate a HID device. So you can do a keyboard, and then when you plug it into a computer, it's not going to need any drivers. It's just going to work. And it can be modified to be like a joystick or a mouse or a lot of other devices. So security uses for this, there's been a couple other talks. Adrian Crenshaw and then Follower, doing things like proof or doing things like you connect it to a computer and then when a person comes and logs in then it can, while they're turned away or something like that, then it can add a user really fast without them noticing. Another use that I thought about using it for was you hook it up to a kiosk, a computer that's in a kiosk mode, and have it just go through all the possible combinations of keys and try to break out of that kiosk mode. Typically in the past, a lot of kiosk modes have special keys that they forget to exclude from being able to get to things in Windows or something like that. But check out, like I said, check out Adrian's or Follower's talk about this as well. They did some good stuff. So here's the schematic. Like I said, it's really simple. It's these three resistors, two diodes, and then the USB connector and then to the Arduino. And then the code, basically so you have to disable the built-in and the Arduino because USB uses different timing. And then you just connect as a USB device and you just start sending keystrokes. So it's super easy to do. The next one that I decided to do or one of the ones I decided to do wasn't next after that one, I guess, but at some point in my life, I decided to try to make an RFID emulator. It was actually, part of this was because I wanted to get Chris Padgett's from that he was supposed to make after last DEF CON, but he never came out with it. So I thought, well, I'll see if I can make my own RFID emulator. So I wanted to emulate 125 kilohertz RFID tag. I didn't have an oscilloscope or any kind of antenna tuning equipment and I didn't have any plans to do it. So there was no, here's how to make an RFID emulator with an Arduino or anything like that. There's some similar projects that gave me a lot of help, but there was nothing right there so I could just take it and use it. And so this is what I ended up coming up with. So this RFID tag is a stupid, simple, I ended up picking it up and doing stories on it. So all it is, is just a 10 kilohm resistor, a transistor, a 10 nanofarad capacitor, and then a spool of wire and a spent roll of toilet paper. and the code is 20 lines long so it's really easy to make this thing. So I'll actually demo it here in just a minute, but here's the schematic. So you have, and it didn't take me very long to figure this out either. I mean, I think it was like six hours or something like that. So these are actually really easy to make. So it has the resistor going to the Arduino pin then to the base of the transistor then the emitter and the collector are connected to the coil and it also has that tuning capacitor that goes in between them. And so basically what happens is I've wrapped this antenna so it's at the right frequency and so the RFID reader sends out a carrier wave and my antenna is tuned so that it will respond as basically a high whenever the RFID reader sends out the wave. But then what happens is with this transistor when I put power to the base it essentially connects those two ends of the antenna that are connected to the emitter and the collector and so that detunes that antenna so it gives it a low signal so it's really easy to make this thing work. So the code, so I'm using pin 9, I just chose a pin, it doesn't matter which one you use and I said it's going to be an output pin because this is the one I'm going to use to turn on and off the antenna to detune it and tune it. So I started out as low and then so the way that RFID works I just got this off of Wikipedia it uses Manchester encoding so this just means it has the clock signal and then it has the data and they get XORed and that's what you end up sending back so that way the clock and the data is in one signal back. You don't have to have separate ones when you're sending the data. So here's my main loop of my code so basically I just define my data that I'm going to be spoofing so you have to send it a bunch of ones so that it knows you're a valid RFID or a valid RFID tag you're not something just giving interference or something like that. Then you start sending it the signal and so in this one I'm just doing all F's I'm just doing four ones and then the zero is parity and at the very end there's all those zeros which is the column parity so it has parity on the rows and the columns. And then I just call this function that I defined called set pin Manchester and I just give it what the clock is and then what the data is and then it just does all the XOR stuff and it then changes the pin. I delay for 256 microseconds so I'm at 125 kilohertz and I just keep repeating so so you just set the so here's my Manchester code so as you can see there I'm just XORing the clock and the signal to get my man encoded in and then if that's one I know that I should set that pin low because low is going to be high on the antenna because I'm not joining those two ends detuning the antenna or I set it high and that detunes the antenna and then I get my you know then it is going to give a low signal so here I'll really quickly show how this thing works so I'm just using to demo this I'm just using the parallax RFID reader that Joe Grand developed he just came out with a new one that's a reader writer but um and then here's my spool of toilet paper with wire around it the antenna just has to be the right tuning so it doesn't have to be around a thing of toilet paper but that's just what's easy for me to do so here's my code um and then and that's the IDE as well um here's the it has a built in serial monitor so you can you can do serial stuff so as you can see here hold the tag up to it it reads it hold another tag it reads it then I'm going to hold this thing up and it's just doing all F's right so I can change that code I can modify it and it can do it can output whatever I want and so I can emulate any IDE with this device ok close off ok so now so now the next thing that well another thing to look at too is when you're building hardware devices is what other stuff can you interface with and so serial is a good way to interface with things lot of stuff supports it. There's the digital I.O. pins 0 and 1 are hardware serial pins, so they're easy to connect to stuff. There's also, so like this parallax reader uses serial, GPS units use serial, LCDs, various integrated circuits, a lot of stuff uses serial. And the second one is I2C, which is, or I2C, which is analog pins 4 and 5 are built-in I2C pins. This is what, this is a bus protocol, so you can have up to 128 individual devices on this bus, and each device has its own address, so that way, you know, you can interact with the one you want. So there's like the centipede shield, this is what it uses, which gives you a ton of I.O., I think it gives you an extra 64 I.O. per shield, and you can stack them. Also, we nunchuck, it uses I2C, and I have an LC that does either serial or I2C. So you can connect the Arduino to whatever device you want and try to, you know, you can connect it to whatever device you want. You know, you send stuff over serial or listen over serial, see what's happening, and figure out how stuff works. I actually used this to fix my neighbor's Seagate hard drive. It looked like it was going dead, and so we, I Googled and found out it has a serial interface on the back of it, so I was able to connect to it and change and reset the hard drive, and that works perfectly now. So it's kind of interesting that even hard drives have that on them. So like I said, Wii controllers, and there's also an I2C scanner, which will just scan everything on a bus, see what's there. So like I said, there's a parallax RFID reader. It's a serial device. It runs at 2400 baud. Really easy to use. Here's the code for it. So basically, with this one, I wanted to be able to use the hardware serial to report back to the computer, so I ended up using the new soft serial library, which gives me basically BitBing serial, so I can use any of the digital IOPins to do serial. And so then I set up my, so this is all the code right here, so it's super easy to do. I include the new soft serial library. I tell it I'm going to use pins six and seven for RX and TX, and then I start up my serial, which is the new soft serial one, and I set up my serial, which is the hardware, built-in one, and then basically what I do is anything that comes in from the new soft serial pins, I just forward out to me. So that's how I can see that up on the screen, things like that. GPS tracking device. So this uses a The serial GPS unit, I got this off SparkFun, can log data to an SD card or it can broadcast it out using cellular or XP or something like that. So you can use it to track down stolen goods. So I know people who have devices like this, they put it inside their golf bag or whatever, and then if someone steals it, they just go and beat them up or whatever. And also, you can see where people are. Like I have a cop who lives next door to me. He says that they put these devices on cars, and they can track where they're going. And they have to have, in Utah at least, you don't have to have a warrant to do it. They just have to have a reasonable cause that there's something suspicious going on. But as far as me doing it, I don't know if it's legal or not. Another device is this Blue Smurf. It's really cool. So it's a serial device. It basically replaces a serial cable with Bluetooth. So if you have two Bluetooth on each side, then it's the same as a serial cable between the two. So default data is 115K. And it can be used to program an Arduino if you just hook it up right. An Arduino is programmed over serial, so any serial device can be used to reprogram it remotely. You can also use it to communicate with other Bluetooth devices. So Fowler talked about this yesterday as well. So this is the Blue Smurf. 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, which it seems a little bit silly to use this one because, I mean, the range is so small. It seems like you'd use an XP or something like that. That's what the criminals used. So people are saying Sparks Fund is bad because they made this device, but it's just silly, right? Where did they find the device? I believe they found it at a gas station in the key pad. So you swipe your card and you put your pin in. I believe that's where it was, something like that. 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. So basically what this lets me do is I install this app on my phone. I install it on my Android phone. Then I put the Blue Smurf on. Then I can interact with my phone. I can make my phone interact with my Arduino wirelessly and vice versa. So events on my phone can trigger stuff on my Arduino and stuff on my Arduino can trigger events on my phone. So it's a pretty cool little project. It's really easy to use as well with this Blue Smurf. Another thing you can do is you wire up to an iPod or an iPhone and then you can do serial commands too. So you can do things like dump out playlists. You can do all the remote things. The other thing that's fun to do is just try to send it just crazy crap and see what happens. See how it likes that. So another thing that I did is I put, so I used the XP Shield and I thought it would be kind of cool. So I thought about two different things with a Cisco device. So I thought well you could either put an Arduino with an Ethernet Shield inside of it. Maybe use Relays so that when you're not, when you don't want to attack something then it's working correctly. And then when you want to do something with it you switch that port over so it's going to your Arduino. And you can mess with stuff. Another thing that I did with this was I actually inside of this Cisco router I've actually opened it up and I've soldered to the bottom of the console pins. 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. So then I can actually interact with a console port over XP with my Arduino. So I could, if I could get this into some company or something like that then basically I have remote access to their console. Or I could use it, I guess I could use it legitimately as well if I want to put a router somewhere and I didn't want to go touch it actually then I could do that. So here's the top, here's a picture of the top of it. So basically the wires come up and then I just put my Arduino and stuff on top. Another thing you can do is you interact, integrate with a cell phone. 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. So what I ended up doing is I pulled off the keypad of this cheap prepaid cell phone that I had. The keypad stopped working anyway from the top and so I just ripped the keypad off, the rubber stuff. And then I just connected transistors to each of the button things on the cell phone. So basically it had a big ring on the outside and then a little circuit. There's a little circle in the middle so I just put a transistor between the two. When I put power to the base of that transistor it essentially makes that connection and so it pushes the buttons. And I could connect these all directly to my Arduino but then that would use up all my pins. I couldn't do anything else with it. So here's what's called a shift register which lets you shift out what you want it to do. So you can do the high and low signals using these shift registers. It only uses like four or five pins. But I ended up using the centipede shield which like I said that's, 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. So essentially it doesn't use any pins to be able to do that. So I communicate to remote devices, interact with touch tone systems. Anything that I want to use a cell phone for I basically have, can hit any key and do whatever I want. 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. So I have a video of this. I did not try. I don't think I, I don't know what they'd say. I can't see what's up. Okay. Okay. Am I hitting the play button? It's not playing though, huh? It's thinking. Fantastic. I wonder if it wants me to. Okay. Well. Guess we're not showing that. 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. And you can, you can use the same technique for anything that has buttons that you want to automate something that it does. So you could do this with like a game controller. Here's, here's a close up picture of the cell phone. So like you said, it may be hard to get this through airport security. Just this phone with all these wires coming off every button. But, but, but yeah. So anyway, so you can use this for anything where you have pretty much anything. Any electrical device will open it up. It'll either have these jaggy things. And so when you push the button it just grounds the, it just connects the two, bridges the two. Or it has something like this where it has its outer circle and inner circle. You just, you just solder to them. You put a transistor on them or something like that and you can, you can run the device. Another thing that I made that I'm kind of working on still is this combination lock brute forcer. So basically what this is, is a stepper motor that, that turns a dial. And a servo that, that tries to pull the, the shaft out after it tries, you know, three numbers or whatever. It'll have a laser point to a photo trans, photo resistor that detects zero. So I, I use that for a couple reasons. So one is when it's to make sure it's not getting off. And the other thing is a lot of locks have, have known algorithms like, like the master locks where you pull the shaft out. You turn it until it stops. And then you just write down all those, and then you, you let it go back in. Then you pull it back out again. Turn it more until it stops. 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. And so this can do things like that because it goes until it stops. Because with a stepper, it all it knows is I'm trying to turn. But if you stop it from turning, it doesn't know that it wasn't able to turn. It doesn't have any feedback. And so I just turn it as far as I can. Then further than I think I'm going to be able to turn it. And then I just come back and see where it hits zero and I know how far I went. And it can use known algorithms. Oh, like I said, I already said that. So, and it can also try every possible combination. So here's a picture of it. I actually realized that I forgot this when I got here. So I started rebuilding it, but I didn't get it done. So, sorry. So here's a, here's a picture of it though. So basically the server on top and the metal plate is just a cover plate, electrical cover plate I picked up at Lowe's. And it just has those bolts so I can adjust the height of it. Make sure it's the right height for me. Make sure it's the right height for my lock. And then this plastic stuff is called shape lock that I use. So you can see there's a servo at the bottom that tries to pull the shaft out. There's the button that detects if it is pulled out. So it's really, it's pretty easy to make really. You can just pull a stepper out of an old printer if you have them or just buy them online. They're about 15 bucks. You probably need like a stepper driver to be able to drive it easily. Like an easy driver or something like that. So one thing I want to say though. About that plastic stuff is it's called shape lock and it's rad. It's really cool. So basically these little plastic beads you get water. You heat it up in the microwave or something like that. And then you can make it into any shape you want. Until it cools down and it's really pliable and things like that. As soon as it cools down it gets really hard. You can drill it. You can cut it. You can do whatever you want. It's really cool stuff if you have to make custom pieces. And for this I need to have a piece that fit over the lock. And fit inside the stepper. Or over the stepper shaft and over the lock dial. And so I didn't know where to get anything like that. So I just made it with this stuff. And it worked really well. Yeah you can. So you just put it back in the microwave in the water or whatever. And it just remelts. You can reuse it. It's cool. And so that's one thing though as well. So you don't want to use it for something where it's going to get hot. So like anything outside here in Vegas. You probably wouldn't want to use it. So I think it melts at 150 degrees Fahrenheit. And then yeah. So as long as you keep it below that for whatever you're doing. Then you should be good. So another thing that I made using this shape lock stuff. Was a key impressioner. So basically this works only on wafer locks. This won't work on a pin tumbler lock. Just wafer tumbler. So basically what it is. Is this piece of. This is actually shape lock as well. So I took this piece of shape lock. Flatted it way out. Made it about the same shape as this. This is the key. And then I have. So there's several exposed wires at the very end of it. At the very tip of it. And then there's wires connected to the body. There's a wire connected to the body of the lock. So I'll kind of show how this works a little bit. So here's a pin tumbler lock. That you guys are probably familiar with. So it has all these pins. They're cut at different lengths. But when there's no key in it. They're all the way down. Because you have those springs on top. You put a key in. If the key is the right shape. Then it's going to raise them all up at the right level. The cuts and the pins are going to be at the right place. And you're going to be able to turn it. A wafer lock works a little bit differently. So a wafer lock has all these wafers. And they're. If you look at the one on the left. Then they're all. Without the key in it. Then they're all different. They're all different levels. Right. So this is actually the level that you need. To be able to open it with a key. Because you want them to basically all go straight up. At the same level they are. So then it's not locking it. And so then that's what the key does. And so what that means is. If I can get a device in there. And figure out what level they're at. When they're down. Then I know what the key looks like. And so. So basically that's the way this key impressioner works. So I. Like I said. I stick this piece of plastic in it. The red is the wires. At the very end. Towards the tip. That angle tip. They're all exposed. And so then the blue things are the tumblers. If you can tell. So. So. So what I do is. I put the key impressioner in. As you pull it out. At the right places. You have to figure out where the right places are. For that right lock. Then it will just hit that one wire. That one exposed wire. And so you'll know. Okay. This one goes down three fourths of the way. Or something like that. So then you know. What that key looks like. As you pull it out. And they're coming out with some. Some. Like professional versions of this. I think this year. You're going to see some coming out. So. But it's kind of an interesting little project. To. I've just been messing around with this. Just last week or two. And so like I said. Then all you do. Is. Is you connect a. You connect. Like. A power to the. To the outside of the lock. So just the body of the lock. And then you have. You connect all these wires. Coming off the back of this. To your Arduino. And then you just see. Which one's giving a high signal. Coming in. In a digital read. Because that's the one. That's going to actually be hitting. Because you have the body. Giving power. And then. Yeah. And so you're going to. It's going to go through the. Through the body of the lock. Into the tumblers. And into the. Device. So another really cool thing. That you can do. Is you can combine devices. So. So you like it. We've talked a little about this before. So you take an XB. And you take an Ethernet. And you put those together. You can take an RFID reader. And you broadcast it. Using cell phone. Or using. Or using. XB. Or whatever you want. So you can have this remote RFID reader. That's reading stuff. You can use Bluetooth. For motor control. And you can. Using your Arduino. Or something like that. So you have. Some robot. You can. You can control it. Using Bluetooth. So it's just really cool. The things you can make. When you start combining things. So. Some other interesting Arduino libraries. That other people. Have come up with. There's like. There's actually. Cryptography libraries. So you can do. Cryptography here. It's really slow. There's another project. Where people are unlocking doors. By knocking a certain signal. On the door. Then the door unlocks. There's another. There's a. There's a. A university. That's doing a project. Where somebody. You do a special handshake. And you're wearing. A special glove. Connected to an Arduino. And it will make sure. You do the right handshake. To make sure. That you're. Who you say you are. You can also do. Make an Arduino based oscilloscope. It's kind of like. A poor man's oscilloscope. Using. The analog read pins. It's not super fast. Or super. Or the best thing ever. But it. But it works. And. And gets you buying a lot of projects. Also. So like I said. Arduino's are really cool. And I love Arduino's. But there's. There's also some other alternatives. That. Depending on what project. You're doing. You may want to look at. The parallax propeller. It has. They're selling the kits here. In the hardware hacking village. It has eight cogs. So it can do eight things. At the same time. Which is pretty cool. It can do. Video. And audio. And things like that. So you can output to a TV. AVR. Is just the. Just basically. This is the chip. That's on the Arduino. You just take the bare chip. And use it. And like. These are. You know. Two or. You know. They're probably between. Two and four bucks a piece. And so they're a lot cheaper. Than. Than using an Arduino. You can also use a pick. So they're. They're pretty cheap. To buy. The only. The thing with picks. Are for the most. A lot of times. You're going to have to buy. Like a proprietary. Development environment. Or something like that. So you can code in C. The assembly ones are free. And you can also do. Some like. Limited size of C. For free. With a lot of them as well. With a lot of the IDEs. So. There's also the. The free scale one. That we have on our badges. As well. They're really cool. Using. Processing expert. You can do a lot of cool stuff. With them. So. Here's some resources. That you might. Want to check out. If you're looking for. Some additional. Stuff. So. The official Arduino. Website. Is Arduino. C. C. Has really good forums. Instructables. Com. Has a lot of cool. A lot of cool. Arduino projects. I. Have a couple up there. Spark fun. Is a cool place. To buy things. That's. Makershed. Evil mad scientist. C. Studios. Out of. Out of China. And they sell stuff. That's really. Cheap. And these guys. Pololu. They're actually. Here local. In Vegas. I need. So. I could try to get that. That. The. Brew. Force. For the combination locks. Work. I needed. A stepper driver. And. And. Even though. They mostly. So. Work. Eagle. Learn more. So. I go to my. Local. Hacker space. They do. A ton of. Arduino. Stuff. At. Mine. And. I know. A lot. Of. Other. Ones. Do. As. Well. So. Just. Check. Out. Just. Google. And. One. Near. You. If. There. Isn't. One. Consider. Starting. One. And. You. Know. Just. Having. You. Know. Start. Spreading. The. Knowledge. And. Things. Like. That. So. Also. A. Of. Places. Like. Like. We. Have. A. Local. Make. Group. That. Does. The. Kind. Of. Stuff. As. The. As. Our. Hacker. Space. And. The. Thing. Is. Upstairs. There's. A. Hardware. Hacking. Village. If. You. Guys. Haven't. Made. It. Up. There. Then. You. I. Encourage. You. Go. Check. It. Out. One. And. Just. Talk. To. You. About. Stuff. Was. To. A. Yesterday. About. Or. A. Couple. Days. Ago. About. Stuff. He. Was. Doing. With. Arduinos. And. He. Think. That's. That's. I. Have. So. Anybody. Have. Any. Questions. Or. Now. I'll. You. Guys. Go. Yeah. Go. Ahead. Then. I'll. Ask. A. Good. Question. So. Basically. I. Going. To. Cover. That. I. Forgot. So. I. Found. A. So. I. That. Had. To. Be. 160. Micro. Henry's. And. So. Basically. What. Did. Then. Is. I. A. Calculator. Online. Where. You. Just. Put. In. Okay. How. Big. Is. Your. Is. Your. Is. Your. Thing. And. So. I. Measured. The. Toy. Paper. Tube. Then. It. Took. About. Half. An. Hour. I. Think. Of. Just. Messing. With. A. More. Wraps. Trying. It. Out. Just. Works. So. So. I. My. There's. An. Instructable. On. Project. And. On. That. Instructable. I. You. How. Many. Wraps. I. Did. I. Can't. Can't. Remember. Off. My. Head. How. Many. It. Was. About. My. Wife's. Laughing. At. That. Project. Apparently. But. No. She. Watched. The. Whole. Thing. Any. Other. Questions. Okay. Let. Guys. Out. A. Early. If. Anybody. Wants. To.