Embedded - 130: Criminal Training Camp

Episode Date: December 17, 2015

Alvaro Prieto (@alvaroprieto) spoke with us about laser turrets, tearing down quadcopters, flux capacitors, the moon, and culture at work. Alvaro's blog Alvaro's github repositories including Proto-X ...quadcopter information, Silta bus monitoring, and Skype video message exporter for OSX. One of the inspirations for taking apart the Proto-X was watching Micah talk about herCoastermelt project. We talked to her about it on episode 101: Taking Apart the Toaster. One of his reasons for going to Planet Labs was knowing Shaun Meehan, check out his Amp Hour interview. Daemon by Daniel Suarez Video of Supercon talk on laser shooting robots Podcast Award nominations open in early 2016

Transcript
Discussion (0)
Starting point is 00:00:00 Welcome to Embedded FM. I'm Alicia White alongside Christopher White. This week on the show, we have the giggles. Also, we have Alvaro Prieto. If you don't know him, well, now you will. Before we get started and maybe to calm down on these insipid giggling attacks, I'd like to remind you that the podcast awards are coming up and that I really want nominations because I'm some sort of competitive dork. So that's happening in January. Please keep your eye out. And now...
Starting point is 00:00:40 Hi, Alvaro. Welcome to the show, or whatever this is. Hi. So tell us a bit about yourself. I'm an electrical engineer, technically, but I write firmware for a living. I also make stuff at home, usually in areas I know nothing about. So mechanical and sometimes firmware and electrical and stuff like that. Yeah. Engineer.
Starting point is 00:01:09 All right. Well, I think there's a little more to it than that, but we'll get into that. And before we do it, I guess we're going to do lightning round again. Okay. Are you ready? No. That was question one. Yes.
Starting point is 00:01:27 Okay. So these questions are going to be fairly short, and the goal is one-word answers, which we may ask for explanations for later, but we'll try to keep it, you know, snappy. Christopher, do you want to start? No. Okay, favorite programming language. C.
Starting point is 00:01:46 Programming language you think colleges should teach in the first class that cs majors are required to take python i like that those answers aren't the same uh do you already have star wars tickets no what mac or pc mac android or ios ios Mac. Android or iOS? iOS. Object-oriented or procedural? Procedural. 4 p.m. drink, champagne, coffee, or Mountain Dew? Champagne. Oh, nice. Bendy straw or straight? Straight.
Starting point is 00:02:17 I don't know. I thought you enjoyed the bendy straw. You can bend straight straws. Introvert or extrovert? Both can't be both depends hacking or making depends no no this is you asked for one word answers and you're getting them i don't think depends i mean diapers or depends diapers what okay so going back to the bendy straw thing yeah alvaro did not grow up in the united states he was unaware of bendy straws existence well how come on the champagne train. You were fascinated by the champagne straw. It was champagne with straws.
Starting point is 00:03:08 Oh, that was the incredible part? That was very incredible. Yes. Only America has bendy straws. In a train. Slytherin or Ravenclaw? Whoa. Ravenclaw. Jar Jar or Ewoks?
Starting point is 00:03:25 Ewoks.oks favorite airport oh it can be international or domestic you can hate all airports Christopher does Zurich I'm out
Starting point is 00:03:42 alright well which is most important to your daily work? Saturn, iron, keyboard, or mouse? Keyboard. For work, do you do hardware or software? Both. If you have to choose just one? Software. For fun, do you do hardware or software?
Starting point is 00:03:59 If you have to choose just one? Hardware. Your Twitter description says traveler. What's your next goal destination? Oh, my next one. I'm thinking about going to Patagonia once I can walk again. And I've also always wanted to do Trans-Siberian Railroad. Well, you don't need to be able to walk for that. Nope. But there's other things you need to walk for. Okay, so for those of you who aren't in the studio,
Starting point is 00:04:32 which is pretty much everybody but us, Alvaro came over today, and I had this grand plan of getting him to help me maybe get a Christmas tree, because Chris wasn't able to. And Alvaro shows up with a cast on his leg. And I ask, how did you end up with this on your leg? So we had a work holiday party on Friday and I danced too much.
Starting point is 00:05:03 That just really, we should have done that instead of lightning around i mean that just says so much about you uh yeah it's not the first time so where do you work uh planet labs i believe we've heard of them what do they do they make tiny uh earth imaging satellites to take pictures of the earth every day. The whole earth. That's a goal. And they're tiny and they're cheap and they fly in flocks. Yes. Who works for them?
Starting point is 00:05:36 Who works for them? No, just me. Oh, I mean, I do and a bunch of other great people. He's only been there a little while. That's true. How long have you been there? A month and a half. Where were you before?
Starting point is 00:05:49 Apple. Apple. Apple. Yes. I asked you to be on the show a long time ago, and then you said you worked at Apple, and I'm like, oh, never mind. Yeah. What did you do at Apple?
Starting point is 00:06:02 Most firmware engineer in an R&D group. Can you tell us anything else? Depends. Come on, you don't work there anymore. What are they going to do, fire you? I got a very nice letter after I left reminding me of all these things I signed. Yes. You guys designed the battery with the hump, didn't you?
Starting point is 00:06:21 No. Nobody's going to take credit for that one no some of the things i did one of them got mentioned like side mentioned on a wired article actually which is kind of neat um but most of the stuff is either not released not public or non-existent. Or not legal. I... You probably should say no. No?
Starting point is 00:06:50 It's one of the things about working for a startup like Planet, is that they really can't not use your work. Yeah. I mean, your work has to go into space, because... Otherwise, why am I there? They can't afford having any extra stuff,
Starting point is 00:07:08 including people. Yeah, it's great. So what are you doing there? Right now, I'm part of the manufacturing tools, reliability kind of area. So I'm automating all sorts of things for testing satellites before they
Starting point is 00:07:26 get launched. Well, before they get built even. Just making sure they work. Which is sort of important even though they tend to launch a lot of satellites.
Starting point is 00:07:37 It's kind of launching is still really expensive. Yes. It's just now that this year is going to be Mission 1, which is going to be like over 100 satellites,
Starting point is 00:07:50 you can't just wing it as much anymore because if there's one flaw and they all have it, that's a lot of money. So do they all get launched? When you say Mission 1, hundreds of satellites, is that one launch with all those satellites? So there is going to be one launch with uh our bunch of our satellites and that way we can get the orbit uh that we want so sun
Starting point is 00:08:12 synchronous that way they're always taking pictures at the same time of day um right now and previously it's mostly launches from the iss or whatever rocket you know has extra room. And you might be one, two, eight, twelve at a time. And launches from the ISS means that... They throw them out the window. They actually just throw them out the window. Almost, yeah. They actually go into the ISS and these deployers and then the astronauts mounted on the Canadarm or one of those.
Starting point is 00:08:40 And then they open up the door and its spring spring loads out it's really cool it's really cool there's a video of it uh an astronaut talk which is really cool how close do they end up staying to the iss that whole time then because they don't they don't have a lot of velocity but i guess their orbits decay well they're going the same speed as iss initially which is yeah so they actually use drag because there is some atmosphere to separate the satellites out. And then you can use that too. It's like they have little wings and can use... Solar panels.
Starting point is 00:09:13 Solar panels, yeah. I got a tour and it was very cool. Patrick was great. That was part of my reward for asking if any of our listeners wanted to work there. I didn't even... That didn't even click when I started there that people asked me later, oh, was it because it's a podcast? I'm like, oh yeah, I totally forgot.
Starting point is 00:09:32 I should have. You actually knew somebody there, Sean. Sean and Alex, yes. And Sean was on The Amp Hour that time with Chris where, with Chris Gamble. Yes. It was like six hours long and it started out in Antarctica. It was awesome. That was one of the best shows.
Starting point is 00:09:49 It involved giant robots as pets. They are so cool. Yes. Yes. But yeah, I mean, I heard about Planet way back with that show. And then another friend got a job there. And then I asked him to get a tour a few months ago and then they asked me to work there.
Starting point is 00:10:08 And by accident your tour included an interview. Yeah, it was pretty sneaky. So you do a lot of off hours hacking or making, which I guess depends. Yes. You know, I started the bendy straw story and I never got back to why diaper versus depends was funny because depends are adult diapers. Oh. It's a brand name.
Starting point is 00:10:35 Not aware of that. Explaining the joke. Yeah, but like 10 minutes later, it's like the brick joke. Yeah. Okay, so hacking or making, you've been doing a lot of stuff. What have you been working on? Most recently, I built a flex capacitor, a portable flex capacitor for the holiday party.
Starting point is 00:10:57 It was Back to the Future theme. The injurious holiday party. Yes. Injurious, whatever. Okay, so a flex capacitor, did you travel through time? I wish. You're a holiday party. Yes. Injurious. Whatever. Okay. So, flux capacitor, did you travel through time? I wish. I could go back and tell myself to not dance so much.
Starting point is 00:11:18 But no, yeah, so that was a kind of weak project because I had no costume. So, it's easier for me to build a flux capacitor than a costume. It's true of so many things. Well, that's what I know. Give me fabrics and I will fail. So this was mostly lights, box, controller. Yeah, some WS2012Bs. I cut them up, put them inside some tubing, spray painted a box,
Starting point is 00:11:44 and used a 10C I got at the Hackaday conference and made them pretty colors. Yeah, it was very simple. How did it go over? How people liked it. What were other people dressed as? A guy was dressed as a DeLorean, which was really cool.
Starting point is 00:12:03 A lot of Marty McFly's's doc browns and any rick and morty's yes yep there is yep uh okay so that was a recent uh project but there's been a lot more yes uh you were the guy who took apart the quadcopters oh that was about a year ago the proto x's yes um well one of many but um yeah i i don't know why i did it i guess i was bored and had one and went left alone too long with a little tiny drone yeah it was in december so probably not much going on and i had a I don't know I had a few and seemed like a good idea at the time didn't have any dancing to do
Starting point is 00:12:48 well I was recovering from hip surgery so I couldn't dance yeah so these are the quadcopters they cost about 30 bucks they come with a controller and they're about the size of half a deck of playing cards yeah
Starting point is 00:13:06 they're small i mean really small they literally fit in the palm of your hand yeah um and you not only took it apart and looked at this stuff inside you also looked at the communication what did you find there yeah so i i don't know where i got the idea but i wanted to kind of uh steal them like basically be able to take them away um just for fun so i figured okay if i figure out the radio protocol i can build my own controller and then depending on how that goes i can use it to control other people's quadcopters. So since I have no radio experience, I just tap the spy lines on the radio and use my salient to look at the packets. Then I generate more traffic
Starting point is 00:13:58 and then I figure out what the packet does. And then I remove the microcontroller from one of the remote controllers and I connected an STM32 spy just to basically use the controller as a radio. And then I could control it from my computer and then I made it a mouse and keyboard control, which is the worst possible control for quadcopters.
Starting point is 00:14:20 It's not very intuitive. No, it's terrible because the mouse is great. If I had two mice, it would have have been great but computers don't like that um you would need to go straight and like write your own driver i guess um but i was able to control like forward back left right with with a trackball actually and then the up and down was the keyboard which is discrete so you have to click click click up and then it's going too high and click click click down and you overdid it and now it's crashed and um then after that i got a ps4 controller and then i used that which was much better and i think you guys saw that at the bring a hack dinner um and the most i did was kind of a denial of service thing so i was able to sniff the kind of uh not really key exchange but they agree on a number and they use that to
Starting point is 00:15:09 not really encode but just to address the packets so if you were able to listen to that initial pairing when you turn on the remote you can sniff the packets and also transmit as if you were that i just don't have a powerful enough radio so all I could do is push a button and then the quadcopter would crash. Well, I... Which is fun. Yeah, I can see how that would be quite amusing and possibly useful to some people for larger quadcopters, but that's a separate issue.
Starting point is 00:15:41 That's a whole other radio, but yeah, that's something I would like to do if i had more time so you don't you you just decided this was what you were going to do one weekend yeah it's it's one of those things that you're like oh this is this would be neat i started doing it i put a little bit a lot of other stuff online and then people say oh that's cool or oh i was trying to do that and that's very encouraging so then it's like all right i'm gonna double down and actually do it and then post the results so it seems like you could have expanded that and i don't you probably already thought of this and control multiple at once or yes record and playback so you could dancing
Starting point is 00:16:21 dancing quadcopters if you want yeah so the the problem with the little ones are oh i get it um the problem with the little ones is um the control is not great so if you could control many at the same time they're probably crashing to each other because you have to trim them differently um i thought about many ways of doing kind of either visual feedback of sorts to be able to control them remotely but know where they are that way you don't crash them because they have lights yes so i thought about lights with video but i had a weird idea with like an array of microphones because they probably have a unique sound to them um certainly after that one crashed into the little ball of cat fur it had a very different sound yeah um but i again i the things i haven't done so you have actually been
Starting point is 00:17:16 recently working on using camera to identify things with the oh the shooting robots yes yes tell me about shooting robots so this is actually one of my earliest projects um not the laser one but back in 2006 right after i graduated from high school i heard about um defcon the conference in vegas and they had a defcon bots robot contest um and i thought it was the coolest thing it was bb bb guns autonomous bb guns that would shoot at these targets um i had absolutely no experience i was right out of high school i could program in q basic and visual basic php q basic was still a thing in 2006 i started in 2000 i'm still boggled so in 2007th grade i when i moved to the u.s i uh i learned q basic so i uh this robot contest seemed amazing but it was like i don't know anything about motors or anything so my dad's friend was gonna go and do it and i thought oh
Starting point is 00:18:23 maybe i can work with him. He initially said, yeah, let's work together. But then kind of backed out, backed out on me a few weeks out. So I just like, I'll do it anyway. And I got a webcam mount with some servos, a USB servo controller. I destroyed my dad's only webcam at the time and I put it all together and then I went to Vegas by myself to the competition I ended up getting fifth out of six which was incredible because it was mostly much older people or teams and it was a great experience again I had no idea what I was doing but I was able to have a little robot shoot these targets autonomously. And these were infrared lit targets, which was much easier to see. I basically put some developed film in front of the webcam and all the light was kind of oranges, orange and red and infrared was white.
Starting point is 00:19:18 So my image processing was not an official basic. And since I didn't know how to interface with the webcam, I was able to tell the webcam to take a picture and it would save a jpeg and then i would read the jpeg and i would split the image and i would saturate it so you just had black and white pixels and i would split the image into just a grid and i would count the number of white pixels and move in that direction until the number of white pixels was in the middle and then i would just shoot until the light disappeared so that's how i started um i did that one year and then i went to college and then uh the competition stopped happening after a few years i couldn't make it because i was traveling and working every summer during college so i couldn't couldn't go to vegas
Starting point is 00:19:59 for five days um and two years ago they said they're bringing it back but this time it's with laser beams so not shooting bbs they're just aiming the laser yeah it's a different kind of dangerous um well so so the first year it was these ping pong balls on a model train and it was five ping pong balls that would light up blue and they would move around in this train track and you had to shoot them all you had to do was shoot them um this year it was same train a little bit faster but it was a green laser and it was always on laser and hitting the targets with the laser was not good enough you had to actually send a 9600 baud encoded message with your kind of your player id to um actually register shots so it's a little more complicated um yep but you participated in
Starting point is 00:20:57 yes with the laser one yeah well i did the laser one, I guess, 2014. 2014, I had, it was a laser cut robot with a friction drive and like little pulley and belts and gear motors. And that one was, we got first place that time. And I won a really big quadcopter, which I later built. And I still haven't reverse engineered that one the radio but it was parallax something or other it's huge scares me and um yeah i tried it in my room tied to a chair just to see if it worked and it was terrifying and then this year i wanted to completely change the design and i used the laser
Starting point is 00:21:46 with mirrors with galvanometers which is super fast but the whole image processing is different because now the camera and the laser are completely separate from each other they're not before i would move a camera and the laser together so So the laser's always hitting, you know, pixel X, Y. And now the camera's static and the laser's moving. So it requires a little more math, which is fun. But again, you've got to learn it. And so did that go to DEF CON or is it going this year? It went this summer. And we got third place, I think.
Starting point is 00:22:24 We had a problem the modulating the laser it wasn't registering the hits uh during the final round so yeah that was fun what is defcon like i've never been oh it's a lot of fun um it's a lot bigger now when i went in 2006 it was a few thousand people now Now it's well over 10. I don't know if it was 15,000 or something people this year. Um, it's, it's a hacking conference.
Starting point is 00:22:51 So they have tons of security workshops, talks, all sorts of stuff. I mostly go to hang out with people and, and have fun. Um, the competition was great. Now they have the dc dark net which is kind of a
Starting point is 00:23:07 live rpg of sorts where you i don't know if you have you guys wrote the book demon by daniel suarez nope oh well it's based on a book it's really it's a great book actually um but they you basically they had a soldering kit you you put it together and you can actually exchange keys with people so it encourages some social interaction because you have to go exchange keys then you get points for that and they use that to um you have to go report the keys back to the demon which is this you know computer program somewhere and then it gives you quests to do so okay your quest is to learn how to crack uh wpa encryption um or to learn how you use pgp or use tor and you have to learn these things to prove that you did them and then you get points for it so it's a pretty interesting game where you have
Starting point is 00:24:04 to you have to learn how to lockpick. So there's these lockpick boxes and for every lock you peg, you get more points. So it's kind of a side thing to DEF CON that's a lot of fun. This year, it's like 600 or some badges were made and people just run around and do all sorts of fun things with them.
Starting point is 00:24:23 So who usually goes to DEF CON? It sounds like it's a criminal training camp. A little bit, yeah. I mean, I went when I was 18. Please don't do anything to me. It was a joke. Everyone. Oh, everyone's super nice.
Starting point is 00:24:42 I mean, there's everyone, right? You have the business types. you have the government people, weird hobbyists like me that security is kind of fun, but I don't really do much in that area. I always wanted to as a kid, but never really did. Well, Natalie, I mean, you spoke to Natalie. She's a regular. Natalie Silvanovich, theagotchi yes deconstruction person um i mean she gives workshops there hardware hacking stuff like that
Starting point is 00:25:14 um so it's like a less businessy black hat which black hat is like a super business oriented very expensive conference where people go learn about all the latest security things. And DEF CON's more fun, I would say. There's tons of parties as well. Yeah. But I mean, it's just like any big conference. Well, mostly dudes. And there's talks, there's workshops um yeah so this gets back to a question i had for you about culture um you went from apple which has a very defined and secretive culture
Starting point is 00:25:58 to planet which i mean doesn't... Doesn't. It doesn't. I think they describe themselves as hippie scientists. They're definitely on a path to do good in the world and maybe at least break even if they're lucky. How are these different places to work i mean that i i uh i know what everyone else is doing which is new at apple i you might not know what the person next to you is working on that's a thing silos um very very silos um at planet everyone talks about everything we might not be able to tell the public about
Starting point is 00:26:45 everything we talk about but at least internally it's it's incredible everything i know because they're just super open about it they're super honest they tell us oh we're if they're money stuff they tell us um if there's all the business stuff all the technical stuff if they have problems they tell everyone every monday we all get together during lunch, and every team will come up and talk about what's going on. I really like that part. A lot of startups are more transparent with the money side of things because a large part of your compensation ends up being stock options,
Starting point is 00:27:23 and you need to know how much it's worth and blah, blah, blah. I still don't know how that works. It doesn't stock options. Yeah, it's all fuzzy. Oh,
Starting point is 00:27:36 now I feel like we should go through the snow white guide to, to stock options. They're actually going to have a little thing next week for us. There's a bunch of new people so all right well uh but there's what else is different um i mean some of its geography apple was in cupertino san francisco and so there's just some innate mental change and And I don't live in San Francisco. Oh, that's fine. I don't know what makes those two an hour apart and mentally more than an hour apart.
Starting point is 00:28:15 Yeah, so I used to bike to work all the time, which I can't quite do anymore. It would take me a few hours. The location, yeah, it's very different um Apple had everything I mean I could go to the doctor right down the street like a block down I could like cafeterias all over the place people everywhere um a planet in San Francisco it's a small company right so you can't afford doctors and all these things. And they bring in food, but it's going to be, everybody's going to have some food that's all the same.
Starting point is 00:28:55 And Apple, you got all the cafeterias with their different menus. Yes, the food was really nice. So that's different, but I mean, those are just kind of perks, which everyone has different perks like planet has free massages right apple we had to pay for them but it's you know whatever somebody out there is laughing really hard i know like well it just just things like that it's um it is different but i i i mean it doesn't really affect my day-to-day that much. What about tools?
Starting point is 00:29:28 Resources, yes. We have budgets now. It's great. Yeah, we have to be much more conscious of, you can't just, oh, buy whatever it needs to get the job done, which is great, but if you're trying to make money first, you've got to make money first you gotta be careful um also resources just uh like intellectually right at apple i i worked for one of if not the best firm
Starting point is 00:29:55 engineer of the company which a planet it's it's very few of us that do firmware right so you don't have like your traditional mentors and these kinds of things, which at the same time gives me much more responsibility where I actually have to do these things and think about them. I can't just wing it and then, oh, hopefully they'll tell me if I'm wrong.
Starting point is 00:30:14 Now it's a little more serious, I guess, if I screw up. So this is your first startup. Yes. Do you find you're getting more done in the same amount of time? And do you find that you have wider classes of things to do? Wider classes? Wider classes of things to do.
Starting point is 00:30:34 Yeah. Things that you may not have even considered that you needed to do at Apple because there were 50 million people all doing little things. Well, I was at an interesting team at Apple. It was like an R&D kind of internal, you could say internal contracting team. We did work for all these different teams, so we were always doing different stuff.
Starting point is 00:30:54 But at Planet, it's pretty similar, where I am sometimes working on satellite hardware, sometimes just doing scripts or server stuff. We have a tools team that does all these great things, but they're busy sometimes, so we have to do it ourselves. And if you need something, you just go get it and make it. So, yeah, I mean, I guess I'll end up doing more stuff at Planet. When I went from HP Labs to Crossbow,
Starting point is 00:31:28 which was a 45, 50-person startup when I got there, it was like going without a net. I mean, I understand what you're saying about not having backup and not having all the tools. You get to try all of these things you didn't expect to. I mean, I had always believed that version control was an important integral part of embedded software, but I had never had to choose a version control system,
Starting point is 00:31:57 which was what I did the first day at my new startup. Was that before Git? It was long before Git. Before the dark times. Before CVS? I chose the nifty, shiny, scary, new version control known as SVN. Oh. And never regretted it.
Starting point is 00:32:17 But yeah, I mean, you go from having to implement X on a system to having to implement a system. And it is a little daunting and freeing. And you're not a pigeonhole. You're not a pigeon in the little hole anymore. Now you can try it all. Find out if maybe server-side scripts is actually more fun than what you were doing. No. Well, no, of course not.
Starting point is 00:32:42 But, yeah. Yeah, I mean, there are things that are directly affecting the company that I get to do now. You know, if I do something very well, it's actually going to do a lot of good. Whereas Apple, if I do something awesome or terrible, maybe no one will notice. of like my team will notice bags of cash in the bank it's not all cash though i mean you can't solve everything with money um what it's it's true um you you can you can try but it's easier to solve things with money oh yeah
Starting point is 00:33:22 it's definitely much more comfortable but then there's a lot of waste that goes with that as well. When you assume you have so much money, then you're just like, Oh, I just buy all these things and you never use them. Why? But yeah. Yeah.
Starting point is 00:33:39 It's different. It's different. Yeah. I like them. I like them both. I mean, it's a different experiences. Apple But I like them both. I mean, different experiences. Apple is learning tons every day, just so much.
Starting point is 00:33:50 And now I'm actually applying all that stuff that I learned, whether I liked it or not. Well, there's, yeah, there was some reasons to go back and forth from big companies to small companies. Because you do different kinds of learning in different spots and it's often hard to learn the theory stuff that you might have been getting in apple while you're applying the things i mean you sometimes you can learn both at once but sometimes it's just really hard to do both for yourself well a lot of the lessons i learned at apple while i was doing it you my boss would say, oh, why do you do it this way? Why do you do it this way? Why don't you do it this way?
Starting point is 00:34:29 And at the time, you're like, okay, that's what they told me. And sometimes you look back and you're like, oh, that makes a lot of sense. And I'm also, I mean, I haven't been working that long, so I'm still in the, whoa. Well, before Apple, you worked at TI, so it's not like you just have built lasers that spit fire uh robots that spit not yet not fire fire will happen do you have plans for actual fire spitting robots i i was joking but what i give a gle. I have a lot of butane cans.
Starting point is 00:35:07 Amazon, yeah. I have to do something with them. Is Amazon shipping your packages in butane cans? Well, no. I got an apple. They had breakfast. I still want to know how this is going to lead to butane cans. Well, exactly.
Starting point is 00:35:23 So, I had this awesome breakfast. I would get there at like 7.30 every morning, and they have an omelet bar. And they would do it where the salad bar usually is, which means they don't have grills. So, they have these portable stoves. And I wanted a portable stove because I have an electric stove at home, and I wanted a gas one. And I figured if these guys can do this every day for two and a half hours, these stoves are probably the best. So I saw which one they had and then I bought one and that takes butane cans and they're pretty expensive locally at like the
Starting point is 00:35:56 Japanese supermarket. So I got Amazon and Amazon was like a 24 pack maybe. And it was really cheap. Think of how much money you were saving. Again, it seemed like a good idea at the time. So now I have them and I don't cook as much as I thought I was going to. Yes. Yeah, so anybody who has suggestions for Alvaro and his 23 packs of butane, can. Just email the show. has suggestions for Alvaro and his 23 packs of butane. Can. Just email the show.
Starting point is 00:36:29 We'll pass along whatever you're. Well, we'll think of something. Think of something. Didn't the Amp Hour last week talk about how you should have exploding boards, that that should be part of your curriculum? No? I haven't. Oh, okay.
Starting point is 00:36:43 I'm behind. I'm a week behind. That's always what I say, too i i'm pretty good i have a very long commute it's true i've listened to so many podcasts i've read so many books it's great uh okay so before ti you worked for National Technical Institute for the Deaf? You looked at my LinkedIn? I did. Oh. I cyber-stalked you just a little bit. Well, yeah, so that was actually at school.
Starting point is 00:37:13 That was a college job. I went to Rochester Institute of Technology in New York, RIT. And NTID, the National Technical Institute for the Deaf, is kind of a partner with RIT. So, like, most of my classes, we had interpreters. And there's an entire college devoted to, like, hard of hearing and deaf people. And I worked on the website there. So, I would walk down, like, the next building from my dorm, and I did web development. Yeah, PHP,
Starting point is 00:37:46 ColdFusion. It's terrible. ColdFusion. It's a thing for web stuff. You don't. Just go on. Alright, that's good. Christopher, do you have a question ready? No. Because I don't.
Starting point is 00:38:02 Let's see. What show is this? I know. Well, we got the giggles and then i got all distracted uh let's see i think we met we probably met before this but the first time i was like this is alvaro and he's cool we should have him on the show was uh when we took the champagne train to san francisco Emil and Jen Castillo. And I brought champagne in cans because
Starting point is 00:38:29 that's the kind of class act I am and you can drink on the train. We're going to a party. That was for one of the Hackaday hardware developers didactic galactic. Yeah, we might have met at Sophie
Starting point is 00:38:46 the party Sophie did that was the Sophie party yeah she set that up to announce last year's Hackaday Prize right and it was fun but I have since found that you know like everyone
Starting point is 00:39:02 like every time I'm like have you met oh yeah alvaro hi how are you and you're just like how does that work i don't know i don't like talking to people what advice do you have for people who'd rather prefer to sit in the corner and play with their phones instead of dancing on the tables and hurting their legs i did not dance on the table this time this time this time no i'm i'm i'm kind of like that too uh when i don't know people i'm actually pretty shy once i'm introduced to someone all bets are off and you won't shut me up but i am terrible at like introducing myself
Starting point is 00:39:46 that's why whenever i know people that i think are awesome they don't know each other i'm like hey talk to each other and because if someone did that for me i would talk to them um so i kind of feel like if you know people that are fun and they don't talk much get them talking to each other and then leave and then leave what good does that do you well it's gonna help other people meet each other i guess i don't know no i mean the core of that they'll do it to you another time right maybe they'll know people and then they'll introduce you i don't know i feel like no the core of that your advice there i i do agree and appreciate um it is a lot easier to say hi have you met my friend yeah instead of hi i'm somebody it's just so much easier to yeah push it off or go meet someone with a friend like oh let's go introduce ourselves or just
Starting point is 00:40:42 it's less creepy when it's creepy when it's not just you. If it's a group of people, like, oh, look, there's someone over there. Let's go talk to them. But if it's just me, I just stand there. Oh, groups are the worst. How do you break into a group? No, no, no. So, let's say there's one person there, but I don't want to just go by myself.
Starting point is 00:40:59 I'm like, hey, look who I am. I don't know. I got my friends. Hey, let's go talk to that person. So who should I have on the show next year? You were the one who suggested Natalie and she was great. Yeah, Natalie's awesome. Wow, there's a few people.
Starting point is 00:41:19 I should have written. I thought about these on the way over and, um, all right. All right. I will. Have you talked to her from punch through design? No. Okay.
Starting point is 00:41:36 Oh, they're great. They're also, they do, uh, the, have you, the light blue bean?
Starting point is 00:41:41 Oh yeah. Were they at the hackaday thing this week yeah the hardware developers die why did you name it that chris gammill i might have been matt frederick both of you yes you know them both so um but yeah they're great um let's see it's okay i didn't really mean to put you on the spot like yeah i will get you a list uh and you have been working on a new project silta oh that started two weeks ago yes um it's that's actually bridge and finish um i the word silta means bridge oh in finnish um i the word silta means bridge oh in finnish the language yes sorry i thought we were finishing something no no no and finish done no no no the the word silta is i i worked in finland for a bit and they have really cool and weird language and so i have this project that's um
Starting point is 00:42:44 i mean i don't know if you've used the Bus Pirate. I'm familiar with it, yeah. Yeah, so it's basically when you're working with a sensor, you need I2C or SPI. You either have to get another device that speaks that and then write some code and then test out the sensor. And, oh, is my I2C code not working or is the sensor not working? And it takes a while. So there's tools that you can buy to do this, but I didn't have any.
Starting point is 00:43:08 So I had a lot of SCM32 F4 discovery boards, and I've used them a lot. So I'm pretty familiar. I already have code to get a USB console up and running. And so I made this bridge that basically lets you talk i2c spy toggle gpios do analog inputs digital outputs all um through usb and you can do like a serial terminal just type the commands in or i wrote a python wrapper around it so you can just open this Cilta bridge and say whatever.itc and you give it a list
Starting point is 00:43:47 and then it sends the packet out and then you can prototype sensors. Actually, I'm using this at work for testing stuff, but Planet is totally okay with me doing open sourcing. So it's great. And so you put this on GitHub or Hackaday? Yes, that's on GitHub right now. There's no documentation at the moment
Starting point is 00:44:06 oh i see i will document it all right there's a readme file with how to use it but i haven't documented all the functions and stuff it's been kind of a mostly work on it on the train actually it's been a busy six weeks since you started a new job yeah it's been it's been crazy because the hackaday conference thing happened and i thought it was going to be a lot smaller right it was well it was small i i know but they said oh if you give a talk we'll give you a free ticket i'm like okay oh we can get a free ticket and and then i found like it was a few hundred people and like oh that's a lot for me you talked about the laser turdine system yeah is that right yeah they they um i submitted two talks i had submitted either
Starting point is 00:44:52 quadcopters or the proto x reverse engineering or the robot and they asked me which one i wanted to do which i said both but you know there's no time um and you said it depends because yeah it depends on the audience everything depends it's all relative right uh yeah they said it was more about making so making laser shooting robots i would consider making proto x i would consider hacking because i'm like taking it apart i'm not producing anything quadcoptery but i'm like figuring out how it works i did write some software on the side, but I guess that's how I differentiate it. With making it something completely new from scratch that I built
Starting point is 00:45:32 and hacking and modifying something to make it do something else. Or taking it apart to understand it. And then modifying it. And then modifying it to do something else. Yeah, that was actually... Oh, I know why I did the quadcopter now it was um um micah's uh coaster melt yeah the the dvd writer project that was that blew my mind when i saw those videos and she got firmware dumped the firmware and then put it in a bitmap file or something, and then you could visualize it
Starting point is 00:46:06 and you could see, oh, here's the instruction, and this and that. That just blew my mind. So I wanted to learn reverse engineering with a simpler project than I happen to have the quadcopter. Okay. I do remember now.
Starting point is 00:46:21 It wasn't just the drinking. So did you end up using... What? I'm asking a remember now. It wasn't just the drinking. So did you end up using... The drinking? What? I'm asking a question now. Yeah, okay. So did you end up using those techniques on that project or did you start hacking it and then just do your own thing? It was mostly my own thing. It was just to learn.
Starting point is 00:46:37 It was mostly inspiration because those were much more advanced than I've never decompiled with IR IR these encrypted firmware and and I thought I might get to that point but I didn't have to so I never had to dump the firmware because I just tapped the the radio and it was a lot easier that way but yeah that's what that's what the inspiration was no that was a very inspiring video because it was like, this is possible? Why didn't I think this was possible? Of course it was possible, but I didn't ever think.
Starting point is 00:47:11 Yeah, Micah does some of the coolest stuff. Whatever is going on right now with, just follow Micah on Twitter. She's got some neat art thing going on. When I watched those videos, I thought it was science fiction. She actually. He's got some neat art thing going on in San Francisco. When I watched those videos, I thought it was science fiction. Because it was like, it was just this, you know, I've done this kind of engineering stuff for a long, long time. And then watching that, I was like, okay, that's, what? Yeah.
Starting point is 00:47:36 What? Oh, I'm debugging with the power button or something. And yet it was all like, it wasn't 50 steps beyond where I couldn't understand it. No, but it was a different way of thinking. Yes. Yes, it was very different. Yeah. And neat.
Starting point is 00:47:53 Yeah, that was super, super cool. Okay. You brought things. Oh, they're upstairs. Oh, all right. Well, tell us about the things you brought us to play with. Pretend you have them because nobody can see. Yes, they're upstairs. Oh, all right. Well, tell us about the things you brought us. Pretend you have them because nobody can see. Yes, they don't know.
Starting point is 00:48:09 I'm telling you. Oh, I brought some stereo pictures of the moon. Yeah. From 1949. Yeah. So this just gets weirder and weirder. Yes. And I guess people, until you see it, it's hard to understand.
Starting point is 00:48:25 But you can't just take a stereo camera and take a picture of the moon in LVM3D. Yeah. Because it's too far. Very far. Yes. There's no difference between your eyes. But this is kind of a viewer where you look at it and you can see the craters and everything. It's sort of like a professional version of a view master.
Starting point is 00:48:41 You can see the curvature is really pronounced. Yes. Yeah. Yeah. So you can see the curvature of the pronounced yeah yeah so you can see the curvature of the moon and the craters and everything and this was actually done by my great-grandfather um in 1949 and some of the pictures for example the left eye was the left picture was taken in february and then the right picture was taken in august and he has little
Starting point is 00:49:01 it's not absolute latitude and longitudes but it's a difference between the two points but basically he had to travel a great distance and get the timing just right to take these stereo pictures of the moon and not just he tried just doing the distance thing but that didn't quite work he also had to take into account the position of the moon because i guess it shows you a little bit different sides depending on the time. Well, you can't just take a picture, get in your car, drive for a few hours until you're far enough away. Because the moon moves. And then take another picture because...
Starting point is 00:49:31 Yeah, it follows you. Darn moon, it just keeps going. Yeah, so my dad just mailed me that this week and he asked me to figure it out and see if my friends could configure it out so am i i'm gonna try to figure out how to scan the the photos and we already have all the other information i'll put it online at some point and and see if the internet can figure it out well then figure out how to do this again with digital photos that would be sort of neat yeah that'd be cool so i don't know i don't know if it'd be much easier
Starting point is 00:50:06 um because i was thinking oh you could take it now we could take a picture at the same time from two different places but that might not be good enough because then you'll you won't get the the moon different sides right so that might not be quite the same this is the resounding silence of us all trying to figure out if this would work i mean he didn't have gps there so he had to do gps didn't exist exactly we hadn't even been to the moon right like the moon this is pre-polluted moon you know before that darn armstrong got there i i saw i sent it to some friends to work and and the first thing they say, they're like, oh, that's before I was littered with robots and illegally parked vehicles.
Starting point is 00:50:50 Christopher, do you think if we... I don't know. If we talk to people on the East Coast and say... You play Kerbal, right? You can figure this out. Well, what? You have a degree in physics. You keep reminding me.
Starting point is 00:51:07 Yeah, no, I was just wondering about you were mentioning the shift of the rotation of the slight shift in rotation it's called libration and I don't know if that really matters as much because yeah I'd have to think about it yeah because even if you're 100 miles apart relative to the distance to the moon
Starting point is 00:51:23 that's not that much right well I was thinking 2- a hundred miles apart relative to the distance to the moon that's not that much right well i was thinking two three thousand miles apart yeah but then the yeah i guess you'd have to wait then you wouldn't do it at the same time right because you'd have to do like an hour after moonrise or whatever yeah it reminds me of some imaging techniques that astronomers do sometimes when looking at distant objects, is they actually take advantage of the Earth being in different places in the orbit, so they can take quasi-stereo images, but they can see the object moving more or less, depending on how far away it is. But yeah, that'd be an interesting project.
Starting point is 00:51:58 If you figured it out without computers and GPS, we should be able to. I don't know if we will be able to. I think I was saying before, it's kind of embarrassing. We think we're so damn smart. I don't think that. I'm just like, I have no idea what I'm doing. Film camera and some paper and a map. Well, that's what I want to also figure out.
Starting point is 00:52:18 The coordinates are relative. It doesn't have an absolute latitude and longitude. Maybe I could figure out where he did take the pictures because we know where the moon was at that time he actually used a weird time zone it says gct which i think was something gibraltar civil time and apparently that was the thing back then i don't know so we gotta figure that too. What time base was he using? Sorry, I'm trying to frantically solve this all with Wikipedia in my head. And I keep coming up with 404s. Oh.
Starting point is 00:52:55 I get 500 server errors. Yeah, all right. Well, I want to go play with that now that's it yeah do you have any more questions Christopher no just thanks
Starting point is 00:53:16 thanks for shaking your head for that that's one thing that doesn't hurt when I move your head poor Christopher never sneeze never sneeze and never get old one thing that doesn't hurt when I move. Your head? Yes. Poor Christopher. Never sneeze. We're never getting a Christmas tree. Never sneeze and never get old. You can get a little Christmas. Oh, I have
Starting point is 00:53:32 ideas for Christmas trees. Yeah, this from the person who's only got one working leg. Oh no, I have like four and a half meters left of the RGB LED strip, so I was gonna coil it, do like a cone of spiral um just have like a wire yeah no they actually sell those that's no fun well and i never want
Starting point is 00:53:54 to find out people sell things and then you don't want to do it exactly you were all sad when somebody was finally selling my idea from 2004 oh i know that's because you could have sold you could have made a lot of money on it. Yeah. Did you see the little sad corner they were in? That's just my greed. Yeah, sorry. Oh, no.
Starting point is 00:54:13 I don't do Christmas trees anyway. So, it's like I might have done it just because it was cool, but it's been done that way. Sorry. That's okay. I have too many other things I want to do. Exactly. Do you have something else you're excited about yeah no i mean the the moon data project sounds very cool but that's definitely that's not hardware so no that's different um well at hackaday conference
Starting point is 00:54:39 i met um michael osmond and he had not the hackety bash. He had something else he was wearing and I asked him and it was purple board, of course, and he, he said, Oh, this is the great fat. It's like the good fat, but great.
Starting point is 00:54:58 And I asked him, what is, what does this do? And then he said, Oh, this is a, I just started working on it it's going to be kind of a prototyping device that you know you use usb and python and then
Starting point is 00:55:12 you get itc but this one has high speed usb this guy with the lpc3 something or other that has a dual core processor and um all sorts of cool uh cool things oh high speed usb 5 built-in which is way cool um so this is a kind of like celta but better so i want to kind of do that instead and actually do it right and fast and awesome and he's got a bunch of connected boards you can connect to like radios and um all these other things and it'd be cool to work with other people for a change it is motivating it is hard yes sometimes it's hard to do stuff on your own yeah no that's why i post everything online because otherwise i'll do something and i'll do something else but if
Starting point is 00:56:01 people are like oh that's cool, then that is really encouraging. I mean, one of my other projects that it's pure software, I don't know if you use Skype at all, you can leave video messages. So let's say you're not there, someone calls you, you can leave them a video message. And I didn't know about this. And then my uncle, it was, a couple years ago, said,
Starting point is 00:56:26 oh, do you know how to export and save the video messages? I'm like, oh, I'm sure you just right-click it and save as. No, you can't. You can't save the video messages. And then I found out they're not even stored in your computer. You download them from Skype servers every time. So I looked into it because i was trying to help my uncle and i found out there's some sqlite database in your computer with some urls and then you could
Starting point is 00:56:52 go copy that url and download it so i wrote an app to automatically do that and just you run this it opens your skype database it finds the links, and then it just downloads them. And I sent it to my uncle, and he was super happy. So I was like, oh, maybe I'll post this online. Someone else might be interested. So I put it on the Skype forums. And this was for Mac, of course, because that's what I was working on at the time.
Starting point is 00:57:19 And then it became one of the top Mac posts because everyone was trying to figure out how to do it. And everyone was so thankful about these, like, oh, I can now export my messages. Because not everyone can go up an SQLite database and figure this out. So if it's like my grandma or something. And I thought that was great. You know, I'm really glad I worked on this project. And then I get a message, one of those.
Starting point is 00:57:47 So, you know, my dad just died and he left left me a video message and i was able to export it and now i have a forever kind of thing and then it was like okay like uh yeah that makes it all worth it which if i hadn't published it i don't know But it makes me want to make more of these things. Having people to talk to and having people encourage you is, I think, critical to getting us through those times when it'd be more fun to go to the beach or to read a book or have a beer and watch TV. And so it's this, it isn't external motivation. It's still internal motivation, but it's encouragement. Encouragement makes the world go round. Yeah, no, it's, yeah. I mean, I love movies, so I watch tons of movies, but. Oh, so do we.
Starting point is 00:58:38 Yeah. I'm not saying that it isn't useful to sit down with a beer and TV. It's totally. Well, you got to turn off the brain for a while. Sometimes, you know, it's also fun to build something just because you want to. Or because you have an uncle who says, I have this problem.
Starting point is 00:58:56 That's the most fun. When you're helping people solve problems, that's the best. Which I don't usually do with lasers. That's kind of just for fun, but occasionally helping people solve problems and shooting lasers. Those are the best. Yeah.
Starting point is 00:59:14 And quad copters, quad copters are a lot of fun. Yeah. All right. Um, I think we'll, we'll close it up. Do you have any final thoughts? I just need an Advil oh lucky i can't take advil so i'm allergic um final thought um i can't believe i'm the only able-bodied person in this room
Starting point is 00:59:39 we're we can add each other no i'm useless from. I'll take your leg and we'll have a half useful. Final thought. Yeah, don't be afraid to make stuff, I guess. I mean, a lot of my home projects have been in areas I know nothing about. And that's the ones that have been the most fun. Whether it's laser shooting robots or quadcopters or even the Skype thing. I mean, I knew nothing about SQLite and all these things.
Starting point is 01:00:12 The most fun projects are the ones that have been most enriching, I guess. Yeah, my best projects have been the ones I did knowing nothing about it. And I feel like some people are not inclined to work on things because they don't have the experience. Or they're afraid to break something. Oh, break it.
Starting point is 01:00:32 Yeah, I'm learning that. I'm learning that breaking things is actually kind of fun. Yeah, I've given up. It's worth just breaking it and learning from it. And then just record it. If you are going to break something, including yourself, record it. That way you can put it on YouTube for other people to learn. Yeah, that's my final thought.
Starting point is 01:00:52 Is there a video of you dancing? I hope not. Maybe. I don't know. Come on, Patrick at Planet Labs. Come up with this video for us. We'll link to it. Ooh. come up with this video for us. We'll link to it.
Starting point is 01:01:09 My guest has been Alvaro Prieto, engineer at Planet Labs and maker and hacker. It depends. Thank you for being here. Thanks for having me. And thank you to Christopher for producing and co-hosting despite his extreme pain. And thank you to Christopher for producing and co-hosting despite his extreme pain. And thank you for listening. Hit the contact link on Embedded FM if you'd like to say hello or email us, show at embedded.fm.
Starting point is 01:01:34 I think that's enough for this week. We may all need some more alcohol. Or beer. We'll see. So the final thought to tide you over until next week is from Frida Kahlo. I used to think I was the strangest person in the world, but then I thought there were so many people in the world. There must be someone just like me who feels bizarre and flawed in the same way as I do. I would imagine her and imagine that she must be out there thinking of me too.
Starting point is 01:02:04 Well, I hope that if you are out there and read this and know that, yes, it's true, I'm here, and I'm just as strange as you. Embedded FM is an independently produced radio show that focuses on the many aspects of engineering. It is a production of Logico Elegance, an embedded software consulting company in California. If there are advertisements in the show, we did not put them there.
Starting point is 01:02:27 Do not receive any revenue from them. At this time, our sole sponsor remains Logical Elegance.

There aren't comments yet for this episode. Click on any sentence in the transcript to leave a comment.