 I'm just going to introduce this talk which is pretty much all about the lovely badge that you're wearing around your necks and we have a panel of experts because we all know how much we like experts and In Britain these days and anyway, these guys put you together your badge So I'd like to welcome them to the stage. So please put your hands together for them. Quick round of introductions. I'm Matt of UK I am the budget team lead and I've been responsible this year for delivering the actual physical hardware and working with our assembly team John T sorted out all the sponsorship Bob did all the initial concepts and designs Kimmel's been working on the Micro-Python and the Wi-Fi drivers, which is why they work on the Wi-Fi Tom has been working on the back-end server in Pearl because he's strange Why not why not? Matt who's new to the team this year He's been doing all the graphics library in the new gfx and making all the screen work for us And Merrick who's been doing all the main app and all the Python side of the actual Python side that's running on the badges right now Yeah cool So, why do we do a badge? Because it's fun and it's hard work Yeah Seems like a good idea at the time. Yeah seem like a really good idea at the time He's come back again. It's all right. We're asleep so Yeah, so this year it was a case of let's go big And we really really wanted to put the Wi-Fi on there So we started looking at ESPs and Wi-Fi and we just got some random pictures of early development early screens getting there The badge has a CPU running Micro-Python which meant we were able to get you guys to write all the apps for us We provide the framework you write apps So all of you guys have done the scheduling apps this year in the bar API apps and there's geolocation and Mario theme Mario things all sorts of apps. I haven't even looked at because I haven't seen it for since Saturday So we started back in May two years ago Yeah, no a year ago. Sorry main last year and we finished yesterday Sometime after we gave the badges. Yeah, we'll be finished in about three weeks time This was These pictures are we We rent a HDD where we go and get these things built They just and let's say The boot is full of components. There's about 40,000 pounds with components in that boot They're a bit of factory and the machines that built the boards So not we kept asking was kept telling not we're gonna Put one and a half thousand extra device on the Wi-Fi and they were like, yeah, we fine and you've all found that he's struggling, right? So you can see here at about 10 o'clock in the morning on on Saturday where the graph of associated devices just peaks as We give out all the badges in the first day and the big pink Purple slice on the graph is all the ti devices connected the network. So over one thousand four hundred Ti based device, which is the Wi-Fi in the badge and random numbers So we built around about 2000 for one 750 days where we got spares to swap it out for anything breaks Projects as a total is around about 80,000 pounds all of the money for this comes from sponsors It's not part of the tickets. So we have to find that 80,000 pounds was 10,000 pounds that is in the MCU 20,000 pounds in the Wi-Fi this 30,000 pounds in just the assembly alone Another three thousand four hundred in the PCBs Over a hundred and twenty components per batch. It took a minute each minute two minutes each to build That HCD allowed four days for the building actually took them eight. So we're going some trouble there The microphone hex the final firmware image we used up most of the 512k that we had available Tom and Catalyst made out 24,000 lines of pearl Tom was like every line almost We need someone to dev the server. I know we were like oh do it in Python because laser was no Python But Tom's like yeah, but I'm a pearl developer And he's just like Fuck yeah, I'm gonna get on with it rather than learning Python I was gonna write in pearl and none of you will be able to change it, but it get it got done We actually have we actually have a pull request in there is one of the catalyst dev on site I don't know where he is. There he is. I Still haven't accepted it. I've forgotten so We now have 69 apps on the app store from all of you that was pretty good 120 revisions, so it's a you're able to go and revise your app. So 120 reasons we allowed 84 we rejected 36. That was probably bugs of revisions that we Yeah, most of the things just don't work I tried to send emails to everyone he brought them so check your emails if you haven't been accepted yet Our content approval process was nowhere as strict as apples Most went through Between the initial micro Python, which we branched an hour version of my Python We have another 250 new git commits in that repository line Which we are pushing back stuff to my Python 290 lines difference Microsoft that's the point at least that so your badges have been sending if you opted in they've been sending stats back to Microsoft Who was the big sponsor they sponsored 15,000 pounds to cover all the cost of the parts? Part of that was we're pushing data to Azure. So this is IOT in action So we've sent 68,000 records about 28 megs of data That's all gone up to Azure IoT switch remote monitoring solution and that is available anyone can deploy that and all the codes on GitHub and Paul was hoping to get some nice graphs up Like we've got we should be able to do geolocation off that data and sort of heat maps of where things are Clusters of badges are but we have no chance to implement it sponsors. I like jobs to talk for a little while Right so we mentioned at the start that all of this is Paid for by sponsors. So for those who don't know we've done a badge at EMF ever since we started back in 2012 and Frankly, it was quite ambitious to do a badge for the very first event We ever did and we pulled it off then and we've continued to mostly pull it off ever since Mostly At this time it it was it was going fairly well And we actually had discussions with TI going on for two years before this event left over from the last event And it's a very long email threat to the point where it started making their email clients have problems And they had to say can we please start talking somewhere else? So it's the the sponsorship discussions are on very long But the majority of the sponsorship has been in components before that so text instruments provided the Wi-Fi chip and ST provided the microcontroller and the reason that we have both text instruments and ST on the same thing both sponsoring which is remarkable and When we realized that and I mentioned it to them they they were massively happy But they both agreed that it was okay in the end and they would benefit everyone all around But micro python itself was only ported to ST microcontrollers The text instrument one was not it's not reasonable for us to do that The reason we use micro python it is a because we want something to be really easy to develop people who've had our previous badges Which I imagine is about half the room They've generally been Arduino based things which is fine And that's fairly easy to get going with but having an app store app store on Arduino. I didn't say app store I said app library And that will be bleeped out the I've forgotten what I was saying The reason we use micro python it is because it's much easier for us to get going in terms of developing things and to have apps On the badge in the first place And the development for that. It's just a bit tricky But so we could have done another arduino based badge based on an ST or just pure TI platform That was totally feasible, but their aim for this badge was two things. It had to have a screen or three things I mean it had to have a screen it had to have Wi-Fi and it had to have micro python And that was a bit of a moonshot to start with And Frankly, I'm a little bit astonished that the team pulled it off. It was a huge amount of work And it's taken a huge amount of effort both from ST and TI as well helping out with this We've had text instruments send one of their staff on-site and he's been working in the badson about 10 He unfortunately had to leave to go to a site visit yesterday So he was hoping to be here hasn't quite made it, but they've been working on the drivers We found bugs in their hardware. It's been a very interesting that the set of work And that you know that was all going really well. We had all these parts lined up. I was pretty confident about it. Oh I was very confident about it Oh, yeah, I Didn't want them to put this in Specifically this is from our ISE chat room where the badge team hang out so At the start of the year I said sponsorship won't be a problem Which which was made me fine and it did look at the time like everything was going to be completely okay But with sponsorship for anyone who's ever done sponsorship work It's quite hard to figure out to get contracts signed out knowing how much money you're gonna get Especially when there's hardware involved and things are gonna get made And it got to the stage where we had all the components all the components were there It was great what we didn't have was anyone who could make it and that was when the next line came in and we were saying We might have to cancel it And it was really hard for us. We would we'd spent a year at this point developing the badge We had prototypes the software was working. We had patches in micro Python. We have patches in frankly too many things and It was going really well We were just sat there and we could not find anyone in the UK who would make it for us Nobody would sponsor the manufacturing no more sponsor the PCBs We for anyone who doesn't know about the stuff, which is nearly everyone Manufacturing is really expensive PCBs are not so expensive. You can get them from China. It's fine You can also get it made in China, but we didn't have the turnaround time anymore and it would have arrived just next week so There was someone who keeps tweeting saying that the MF camp badge will always be ready for the next camp Which is not even true because I don't think the last camp badge is still ready In this case it would have really been the case but we put our call out and We decided that it was I don't know whose idea it was but it was a last-ditch attempt. We're gonna go We will just say this is what we've built. We're really proud of it We really want this to happen and we just fired it out of the internet everywhere we could think of and I remember I was sat talking to Russ and it was about eight o'clock And we were just about to publish this thing assuming that nothing was gonna happen and I wanted to put my phone number on it and Russ was like don't put your phone number on it because you get people are gonna call you might know what it's gonna call us Nothing is gonna happen The project is screwed. We're done. Let's just move on with this He was like look let's put another number in that we can forward to your phone number And I'm extremely glad that he did that because we put the blog post out and I was in the office at the time and just ignored it And then my phone started ringing and then my phone kept ringing all day for two days and That was when I was just like people. Please just stop calling me. I I don't know how to handle this I don't know how to handle this much support and it was my favorite one being Microsoft who Email this and apparently have been wanting sponsor for years and they got in touch and said you have to do it today You have to get the contract to us today because it's the end of the tax year and it has to be today That's great Russ, can you send them a contract at which point Russ went what contract I haven't written it yet So there was a lot of scrambling and within two days we managed to get HDD set up to manufacture it We got get smarter energy who offered support to sponsor the PCBs And we had to I and worth electronic came in as well. I'm going to skip back because I can't remember this Smart carbon control and then RS and worth electronic and next mo came in as well And we had some really amazing phone calls and Conversations and my but my two favorite ones were with Microsoft when they just kept offering more and it was just like Can we bring a gazebo as well and put things on it like yes, of course you can do that That sounds great. Can we bring loads of robots? Yes, you can bring robots. Can we put works? Yes, yes, you can do all of these things. This sounds really good Please do all of the things and the next moment like can we send text messages to the badges? I'm like, yes, you could send text message to the bad is And it was just ended up being a really good 48 hours of people offering things for free and it's really nice when that happens so So essentially that was me rambling for a little bit too long about how nice our sponsors are and how much you should all love them for Giving you free things The badges themselves if we do actually sell them and we are considering doing a second run because people They're so in demand now would be about 40 to 50 pounds to buy So they're not a cheap piece of hardware. So keep keep it safe Don't throw it in the bin or anything or at least sell it on eBay to someone who wants it So there's a couple of other things on here, which they put in which again I'm not massively happy about and some of these needs slightly explaining is there a screenshot of the comic sans interface Yes, they really wanted to ship the badge with the entire interface in comic sans I Just had to make the call on that one because I've I've got standards and typography is important. So Point out that we were talking I see and most of us use IRC cloud and when you type comic sans in IRC cloud It displays in comic sans and it was driving half of us mad You and your fancy IRC clients And then the last one that there was the bit about it going on fire now I don't know how many people know this either But if you do have a badge from 2014 and you've been storing it with a battery still plugged in We did email you about this, but please do unplug the battery It's not likely that it will burst into flame, but it did happen more than once so There was a slight design error we're very sorry just please keep it unplugged for now Other than that which isn't in this one. No, this one will definitely not go on fire today Right, am I done excellent So the badges all open hardware and open source. So these are the links to all our github. So we have quite a few different ones so Mark 3 hardware. So the the eagle design files are all licensed under the CERN OHL So you can go and tweak it make your own If you're that brave it took me three hours to build three badges in a batch by hand with tweezers, and I did about 20 prototypes There's our fork of microprison which has all the changes in it. We're gonna slowly emerge back as much as we can Mark 3 firmware, that's the Python that it downloads when it first boosts up or the bootstrapping code and runs the app library and the store and the built-in apps and the server which is Tom's pearl side Please pull request welcome anytime And yeah, so we're gonna move on to Q&A, which is the best way of doing it Can we get the yeah, so I have the mic so basically put your hand up I'll try to be as democratic as possible, and we won't have time for everyone go All right other back here Hey, so quick question. So did these need to be RF certified in any way or? Development modules And actually the TI Wi-Fi chip is I believe Probably likely to have been tested for FTC and whatever but it as a whole the module It's the board itself hasn't been tested any way shape or form It doesn't need to be because it's yeah, it's a development board so we get around that loophole Next all right more questions Oh come on Sorry, I have to run around So these pictures going by just random stuff up to go all through the the build so like that's like when the lanyards arrived Build it battery charges So how are you get are you to do this all again? Sorry what? How eager are you to do this all again for next DMS? Yeah, we're just giving you all Android phones next year What can we improve on well? I don't know about anyone else, but I think that we've got a really good base We've got stuff that people can work on so I think to improve on next year It'll be different peripherals, but I would hope that we can build upon the same base so that people can Contribute really well more RAM Um Frankly, we actually need more people to help the team this time was okay, but this is the entire team set on the stage and Producing some a piece of hardware at not inconsiderable scale is really hard Now some of this is worked okay because people have experience in the areas that matter without Matt We couldn't have made it because he knew how to get electronics made without Gina Hcd Hcd who assembled it's helping we probably would have screwed it up really badly and we would have had a lovely PCB That didn't do anything Without the team that have done the embedded development It wouldn't have worked at all But all of these things is really one person and when that person's busy or having to move house or in Bob's case move an entire Hackspace We Are we all being in South Africa twice that that? It's we need more people to help out But we also because this thing needs money behind it in the first place. We do need money We need sponsors mainly for components and mainly in kind we actually don't really like taking cash for this We would rather have all the parts given to us and time on machines and assistants and in any possible way It would be great, and I'm sure there are people in the room who have contacts or Can think of people that we should be talking to or maybe even would like to get involved But if you would like to get involved with this and we would like to help build this in the future Please do come talk to the team after We're quite receptive to new people and we're also looking for new ideas Like that we don't just want to roll with the same platform The point of the badge is to give you something that no one has had before something that's interesting to play with Something that's fun at the camp and then people can use to learn afterwards We want to see the badge well all sorts of weird things done with a badge after the camp And that means it has to be reusable and we have to produce something that oh Go on. Oh on that note on that note Oh, yeah, I've got about this so we've got some prizes We've got some prizes for the best badge app that's been built so far out of the 60. We've had submitted We also are gonna offer a prize for the best app built by the end of September to give you a bit more time because Most of you only got them yesterday, and it was a bit crashy. So Yeah, none of it's my fault only the app store was really crashy. So sorry, sorry app library And also the best hardware integration So there are some things on this badge, which may not be obvious It has been designed for conductive thread. So along the top there are conductive thread holes On the right-hand side are connectors that are very suitable for making a drone If you would have so I was kind of hoping someone will do that at the camp, but it hasn't happened yet Oh, yeah, we've had we've had a small robot arm hooked up to already But the prizes are so for the best badge app built so far We've decided this based on the one that made us all giggle in a good way There is the one that does Wi-Fi geolocation on the badge and then also shows you what what is now and next on the Stage is if you happen to be in a stage just because it's really lovely It works really well, and it's a great app, and I don't know if the person here is in here who built it I suspect is it you right so you win another badge If you want one of the badges that go on fire occasion, you can have one of those two In fact, we've got about 70 you can take all the ones you want Quite seriously if anyone does want a badge from 2014 they really don't go on fire that much Where we have loads of them and where they're on sale from the badge tent for I think was it 15 15 quid They're really nice arduino development boards They've got a really nice screen really nice wireless chips and things on them if you would like one drop by there And then the prize for the best badge app built by the end of September will be two free tickets to the next EMF I know and a cuddly toy And two free tickets if we do a one day next year maybe then two free tickets that as well So that is worth doing and there's I've been talking to people who are building apps, and they're having quite a lot fun With it, so I'd recommend having a go submitting apps to us and seeing what happens And the best of the same for the best hardware integration is two free tickets to the next EMF and also the one day So I would recommend having a go Sam from next mode everyone to the stage Hi, thank you. Sorry. I'm kind of desperately packing up my camp because I'm trying to get home to get a flight somewhere But I just want to say thank you very much for those that have played with stuff and poked stuff and done stuff People have asked us about the messages and it says you know what happens with the messages afterwards So I'm going to repeat the spiel that I've been giving everybody The numbers that are currently assigned so there's an on-site badge server that the messages app talks to which will I believe go Down tomorrow sometime and possibly be back up towards the end of net of the week ish We it may not go down at all. We so we'll see what happens There may be some a brief outage in the next week But that should be back up and working those numbers that are currently on your badges are pointing at that server and your badges talk to that Server that will all stay until at least I'll leave all those numbers till at least the end of the August Before the end of August I'll also publish some stuff on the next mode blog and I'll tweet it and next mode will tweet it So just follow us somewhere About basically how to get yourself your own number You can sign up for a nexmo account and I'll give you a chunk of free credit I'll keep a number running for at least a year depending on long as you don't want a number in sort of South Africa or something where they're really expensive But you can point you choose your own number point that at a server will work out the server We're going to open source all the server code and I'm going to try and we'll run a long-term Server for the messaging stuff and push some improvements That's basically it and if you need anything just like tweet me or something, but I'm going to be traveling So I might not answer immediately What's your Twitter handle? Sam Machen on Twitter if you can find it in the Will be cursed off and things in the speaker slides for his talk. Yeah, so if you want the worst SMS device ever for the next year While they're running the thing down there everyone that got a badge will have had a thing from text instruments And they've got a competition as well to to win one of their deathports. It's just a prize draw So if you look on the leaflet you got with the badge and sign up that and say I pushed that particularly because Roger from TI was so so helpful to me in getting the wireless working In fact, he would be replying to emails at half past two in the morning You mentioned about the 2016 hardware hacks. There was a competition for the 2014 badge. Did anything actually come out of that? Yes, and I meant to look it up before I came on stage So I don't know who the person was but I do know who won that and I've been quite busy organizing a thing I forgot to tell them that they won the prize But Whoever wrote their own operating system for the entire for the 2014 badge and I mean a complete operating On the left of that you you have also won two tickets for next year, which you should have had for this year, but I hope that's okay I'm really sorry about that All right, I think we've got one more one more question time It's easy if you could have added one feature to the badge for this year. What would it have been? bike shed approaching Actually, so No, actually the the screens that are on there actually come in a touchscreen option So the we brought 20 screens for the heart for the for the for the for the badges to play around with But they're too shiny in gloss for actually giving out but it's all wired up So if you go out and buy the touch the description version of screen and write some code Yeah, touchscreen interface We did also have We tried to do an e-paper variant in the previous badge We kind of wanted to do that again with this one, but e-papers really very slow for good interfaces One of the things we looked at was there's a type of LCD memory. Yeah sharp memory LCD Which is like e-paper for with a much higher refresh rate Yeah, the pebble watches use it and we'd really like to use that But it's far too expensive for us to sponsor and sure I'm wearing sponsor It for good reasons because they've given a lot of money to cancer research and I that is a very good cause So instead of shiny badges But if anyone here works for sharp, I'd really like to talk to you There's actually two tiny things that we haven't talked about with this which we're really short on time now One is there is a magnetometer in it, which is a compass No one has done anything with it yet because we haven't documented it but Read the data sheet. They read the data sheet. It's chained off the accelerometer So you have to put the accelerometer in some mode that should then So if somebody gets that working, I'll buy them a pint I would love to see a little compass out that'd be really neat And the second one is some of you may already have seen this but the LED on the badges doesn't work And we've been the big shiny LED that's up the top which most people have probably seen does nothing important But that's a big RGB LED and it should be working. It kind of got put on backwards So sorry about that But yeah, I think that's it really Yeah, we have been swapping them over and we probably still will do a few if you want to pop over to the badge tent Yep, and if yeah, this is true And anyone who's good at soldering should be able to re-solder this for you your local hackerspace will be able to do it easily It just you'll need to replace it because it turns out if you turn it on it actually destroys it So it's not a matter of turning it around. You need a new one But we do actually have one for every person here. So you can come get one from us And where do we get them from? Sorry the badge tent? Yeah, to get them from the badge tent. All right Well, I'm afraid that's that's all the time we have for you guys But I'm sure everyone enjoyed that so please think the guys for making such a fantastic badge