 This is바ou'r badaig, some of you have hanging around your neck, some of you chucked them into the lake or something or chucked them into the lake or whatever. And we started this project over a year ago. Actually I think we were talking about this at the previous EMF, it might be two years ago now! All the people on stage involved in this project there are actually a few more involved, but not everyone is here nor everyone makes it. We're going to talk about what happened, why it doesn't quite work as it should Mae'r bwysig iawn, fe log chi yn bwysig ychydig ar gyfer am ddadw i ddaeddiad rŵn ac a'r dddechrau i chi yn dechrau. Moed dechreu'r Math, o mynd i chi eisiau, a rydyn ni'n iddyn ni'n fawr y form yma yn gallu. Byddai'n ei ddarparu, mae nhw rhaid yn i'r ha MI, neu dwy'n rhaid i'rshweithio eithio yn Elbe. I fe, oedd Mae'n bwysig. Rwy'n gweithio. Felly mae'n ddim ni. Rwy'n cael ei gweithio a'r pannol yn oed. Cymru o'r grondau ac yn ddweud o'r anodau a gynnig o'r ffwrdd. O'r ydych chi'n gallu'n gweld ffordd. Felly rydych chi'n lŵn i'r ffordd o'r badaig. Mae angen i'r tŷl iawn o'r tŷl iawn o'r gwych ei gwrs. Felly rwy'n gweithio i'r ar-rhyw ar gyfer ymlaen i'r gwrs. Felly, o'r badaigau yn gwneud ar-rhyw gwrs? Felly y badaig wysig i'r badaig i'r gwrs, ac mae'n ddysgu'r ddiddordeb am ddisgwrs. Rydych chi'n ddigwyddiaeth ei fod yn ddiddordeb yn yr ystyried? Rydych chi'n ddiddordeb yn ddiddordeb? Mae'r bach. Ond... Ymdag yma. Mae'n byd bob. Ychydig yn fwy o'r ddiddordeb yn ddeliriaeth. Mae'n ddiddordeb yn April 2013. Mae'r ddiddordeb yn ddiddordeb yn ddiddordeb. Mae'n ddiddordeb yn ddiddordeb yn ddiddordeb. . Mae'r ddafnod, gwybod, mae'n ddweud dros yma. Mae'r dim yn ystod y ddweud. Felly mae'n dweud, mae'n ddweud. Mae'n sgwysig. Mae'n angen i'r ddebyd. Mae'n amlwgru, mae'n ddweud. Mae'n ddweud. Mae'n ddweud. Mae'n angen i'r ddweud. Mae'n angen i'r ddweud. Mae hyn iawn. Dyna'r eich gweithio. Felly mae'r waltydd fannad arna. Felly rhaid i'r ffocos. Rhefpapio'r washoo. Mae'n golygiad yma. Mae'n golygiad? Mae'n golygiad. Felly eich golygiad. Rhaid i ran. Felly â oes weithio hefydbarth nolio. Rhef i bach i'r pr coefi am y Cy briefly hon. Mae'n golygiad sy'n ôl. John See then sort of spent a while getting sponsorship is great. Yeah. John See, yes. Get your sponsorship really hard. So yeah, em hear me first started out this and you mention the e-paper display we thought cool e-paper this is awesome. This is down to one person a 2012 and I don't know who it was but whoever you are you owe me a beer because they said what do you want on the badge next time oedd gennym wneud, coond iadwch eu papir o'r nifer Cyn beth oeddu i paerau'r papir i ddefnyddio fel gyn de 감 a我eron i papir o'r nifer mae'n cael ei fod yn cael byt felly rwy'n gallwch ymnyddio i gael a dwi gennym dwi gael e papir na'r wneud cael bydd y gallwch chi'n ddefnyddio i'r wneud ac mae'r broadfodol ar gyfer y gallwn y ddechrau mae'r rhaid i'r cyflaes ac mae'r f watershawdd i chi'n ddechrau a hynny ddim prosol ac mae'r broadfodol yma a all o bwysig yn ymgyrchol. Felly rydyn ni'n gallu rhaid o'n sefydliol, ac mae allwch yn rhaid i gael. Rydyn ni wedi bod yn bwysig o'r ffonsor, ac mae'n ffonsor i gael rhaid i'r ffonsor, mae'n rhaid i'r ffonsor i gael. Ond byddai'n gwaith bod y ffonsor, mae'n ffonsor i gael gweithio i fi, yn ymgyrchu i fi'n ffonsor i'i gael andrach, mae'n gweithio i fi'n gweithio i fi'n ffonsor i fi, dw i'n gwneud ddangos, ma'n meddwl bod ydych chi'n meddwl ar fy ystyried fel 10%. Da was iawn. Byddwn ni i ddim yn ystod i fynd i ddweud y pwyntl corelli. Dyma wedi cael ichi sydd wedi gwneud y sponso. Wel, ie, doedd e wedi ei gael, mae'n dod am yr ydw i'r gweithio. Rydw i'n gweithio yma, a ddim yn ei methu sydd yn cael wir iawn i gwybod 5%. Mae wedi swyddi wedi'i gwneud y brifindd rydyn ni'n gweithio ar ei fod yn y gweithio ar gyfer y mwylo, fascinating time and then it got quite bad. And all this time we weren't sure how much money we were going to get, we didn't want to deliver anything that we will try and deliver anything we couldn't actually get the money for, so we started looking for smaller sponsors and then we started talking to people we knew and companies that were involved and people who could help get involved. And it became pretty obvious that we needed to drop our budget a bit so we dropped the e-paper display, sorry, Ie, we kept going and eventually we managed to close, I think it's like 15 sponsors maybe more than that, all of whom put a bit of cash in to help with the project and all of whom helped get the thing made. But we waited, and we waited, and we waited, and we waited to see how much money we could actually get to build this thing for everyone. So we didn't go bust, and because of that, the project could put later and later and later until Matt and Bob were basically freaking out 24-7, it was brilliant to watch, not for them. Last make affair this year in March, I think it was, we sat down, no April. I don't remember. It was April. It was April, we sat down and basically we took the budget and the list of parts and just said, right, we'll take that off, we'll take that off, we'll take that off and squeeze the cost of the badge right the way down to sort of like some way like, and then it's like, right, yeah, okay, we need an LCD screen. Yeah, so we got the screen back on, and the thing about this is really annoying is that we actually put everything back on the badge anyway. Absolutely everything except for the paper screen. So it was a wasted few months of work to get all that done, but you know, it got done in the end anyway. But the sponsors that we ended up getting helping out, we're going to talk about Rago a bit later because they ended up moving mountains to get this done for us. But all of these sponsors are on the screen that you probably can't even see, can you see the side screens? So PayPal and Element 14 dropped in and just immediately helped out, they were great. And then slowly went around all the little sponsors and everyone we knew was trying to get a little bit more cash out of them and everyone squeezed out a little bit. And actually Mathworks were amazing as well. They were really good. Everyone has been fantastic helping out with this. So I don't know how many sponsors are actually in here at the moment, but thank you very much for helping out with this otherwise. You've got two on my face. Pardon? You've got two on stage. Well, you have got two on stage. Oh yeah, sorry. He's from Element 14. Yeah, and Stacey's from Ragwyr, hence the lovely orange wellies. There is a story about why your badges are red and not orange at some point, which I'm going to let her tell you along with many others. And I think with the sponsorship, anyway, all that had been closed and all sorted out, but it pushed everything back so the manufacturing was delayed. We didn't want to write software for it for a platform that might not actually exist as it was. So we had a rough idea what was going on, but we didn't want to push it. We didn't want to write something and have to be able to talk. So I think Bob and Matt will now explain exactly what happened next. Yeah. Yeah, go on. Next slide. Yeah, so we finally got money. We finally settled on an LCD screen, started redesigning the board. And yeah, about six weeks ago. Is it correct that that one go? Is that when we did the version two? Yeah. Yeah. Can you move the thing a bit closer? Yeah. How's that? I'll just switch my other notes. Yes, around the makerfair, we got Element 14 and Ragworm stepped in and said, we can help with the boards, we can help with the costs, we can help with the parts. Element 14 is great. We were able to get half the parts through them, through Farnow. Yes, so we were the version two prototype. We, Mark, found an LCD screen on Ali. I got a couple of samples sent over and I got the datasheet and redesigned the badge, took out all the paper stuff and a load of stuff I couldn't afford. Put the LCDs back in. Sent the boards off to Ragworm to have three new prototypes for the version two made. Yeah, we were having problems getting, we tried getting the screens going in the screen library. Got the boards back and realised I'd wired the screen the wrong way round. I got pin 1 and 40 mixed up and all the connectors in the wrong place. I had to put the screens in back to front. And they still didn't work. And they still didn't work. Yeah, go on. The screens are a chipset that's fairly common in an Adafrew cell, a screen that is almost the same chipset. And so I heard I'd got one of these screens and I'd got it all working and I'd found the library and it was all great. And then we got the real screen. And it didn't work. And it just didn't work. And I was looking at it, looking at it, looking at it and I eventually got to the point and I was like, we're sure we're going to make it work because they do work. But we had to make the order for 1500 screens. It was the deadline and we still hadn't made it work. So we just went, well, we've had so much bad luck already. We've got to go our way once. And eventually, let's say about, I think it was two days after we put the order in it and be confirmed I got the screen working. And it was really stupid. Every other screen, you select it and reset it. This one, you must not select it to reset it. Who knows? So that was pretty much when I got involved in the project as well to do screen things. Do you want to carry on with part sourcing? Part sourcing is a good one. Electronic parts take a very long time to be manufactured and arrived. Some of the stuff on this board has 13 to 16 week lead times. So we set a timeline plan out way back at January and it was like we wanted everything done and dusted two months before the event, setting Johnnie's flat, which meant we had... When we started actually building the place. Yeah. I've got graphs of when this was and it's going. So some of the parts, basically in order to hit that timeline, some of the parts I needed to order in March, which was when we were still losing sponsors. So yeah, that was fun. Thankfully I managed to... I work for Cececo. We deal with some big suppliers. So one of the worst ones is the processor. Getting hold of 1,500 processors is quite fun. It's quite hard, especially when you say, yes I can't wait for the 13 week lead time. Thankfully they've got 1,500... I got 1,900 in stock and I said, can I pre-order these and allocate them so that I can have them delivered at some point in the future. Because we still weren't sure we were going to have enough money. So it was like I need to put these on order, but I might not actually be able to afford them. We might not have a badge so we might have to cancel this order. And so the sales guy was like, yeah I can confirm it with my boss and we should be able to get you a sale or return on these things. He kept confirmation three days later and they preallocated me the stock but they only preallocated 800 because the others that were in stock had already gone out by this time. So it was like, yeah, about a month before we started getting towards ragworm and manufacturing. I think that happened around this time. So once they had ordered these chips, this was a thing that had happened. It was done, it was ordered, it wasn't a problem. And all this time I've been trying to talk to the manufacturer of the components to get discounts, to get free ones and all that kind of thing. I finally, after talking at Element 14, went through three other people and the director of the Raspberry Pi Foundation and got me introduced to someone at ML who would actually respond to my phone calls which took a really long time. And they immediately went, yeah, yeah, we'll sponsor this, this is great, we'll give you all the chips and like, cool. We've already bought them. I was using them as a footrest. Yeah, he'd been using them as a footrest by this point. And then they just were like, well, yeah, we can't really do anything. Bye. Great, so now we're stuffed in two different ways. This is really great. And it all got resolved, but I think they are sponsoring the future, hopefully. But with all of these things, it's been finding the right person to talk to at the companies to get it sorted out and it's taken a really long time. With the e-paper displays and back when we were doing that, finding anyone who would talk to us was just an absolute nightmare. Finding anyone who would talk to us about manufacturing boards and things was just, again, an equal nightmare. So it's nice that some of the companies will come out and talk to us about things occasionally and, well, they're all on site, so hopefully they're nice people. Anyway, come on. Yes, fine hour, great with this. I'll get all the parts through those, it was nice and easy. It's like, here you go, here's a bill of materials, get me all of these and they put it all on order. The fun stuff from China. AliExpress is an absolute nightmare to deal with. And so there are three of the parts that have got little anecdotal stories to them. Mark, do you want to talk about the LCDs and ordering those? The LCDs were reasonably easy compared with some of the stuff. The company we got them from is actually a fairly small outfit. There's only about six staff, as far as I can tell, and only one sales staff. So I got very used to speaking to Alice on Skype at five in the morning. She's very fond of saying, yes, dear, to all my questions. She's very fond of saying, yes, dear, to all my questions, even without checking anything. She's like, yes, dear, we know problem. And then you sort of left wondering whether there's anything really behind that. So we sent in the order and with a delivery, they're meant to be dispatched after 35 days. And on the 35th day she popped up on Skype. So I asked her, are these ready to ship? And she said, we've had no power for seven days. We might be a little bit late. And yeah, because they're based in Shenzhen and there's all sorts of stuff going on there, new buildings being built and massive expansion of factories and stuff. And they're only in a tiny little neighbourhood somewhere quite away away from the centre. And so yeah, they'd been completely out of action for a week. So things were completely hectic on their side and they did manage to get them shipped in time to arrive in London in my office so that I could then take them to the field. However, when they turned up in my office, they were meant to come in four boxes. Three of the boxes arrived, opened them all up, well, it looked fine. Fourth one was a slightly different shape and when I looked on the side it was addressed to a aerospace company in Birmingham, which sort of worried me a little bit. I opened it up and the dispatch note said that it was £100,000 worth of aircraft controller. I was quite tempted to hold on to it and sponsor the next batch or three. So we send that back and I explained the situation to FedEx who very helpfully said that they'd stop the delivery and get a courier to send it over that night and I didn't hear anything and then we had to go on to the field and still hadn't heard anything, this was a week later. And when I finally phoned them up they said we've been phoning them all the time and just in the last hour I've left two voicemail messages on their answering phone and I will be chasing them all the way through the next hour so I thought I'd phoned up the company themselves turns out they don't have an answering phone, they've got a switchboard and when I spoke to goods inwards they'd heard absolutely nothing and they were desperate to get rid of them themselves so we finally managed to convince FedEx that it was their fault and ship the last batch of LCDs to the field and they arrived on Thursday night or something just in time to be soldered with all the other components which also arrived in the last 24 hours. Thursday night is not the latest that things arrived but yes there were other things, the other guys were tearing their hair about other things in the meantime who was dealing with batteries is that you? Yeah that was me so ordering the batteries the original supply that we were looking at and the original battery we priced on way back it's time to order the batteries and oh they no longer have that battery so we need to go find another one so we went and found another one Bob found another battery and it was like right and Bob had asked Russ to do, because Russ has done a lot of the ordering Bob asked Russ to order the batteries and it's like okay I thought I'd done with them I wasn't worrying about them and about three days later it's like Russ did you order the batteries no what batteries anyway so I went ahead and I got in touch with the seller and I ordered the batteries and they were like yeah okay we can do 1,500 batteries for you and we can get you done delivered to you for the in a couple of weeks this was four weeks ago four weeks ago and they were supposed to go to London and be there and ready and waiting for us and then the fun and game started so they were like okay it's going to take a little while to pack these because we have to pack them in special boxes to ship them through checking and the post office told them that they need to pack them like such and such so it was two in a box so they could send them so they packed them in two in a box, this is in the factory in China packed up the batteries two in a box sent them over to Hong Kong where they were checked and then would be sent over by a TNT to here in the UK Hong Kong checking turned around and said nope you need to repack them so the factory in China paid for someone in Hong Kong to repack the bad repack the bad batteries into one in a box and that took time and days and still we didn't get through checking they actually flew one of their members of staff from China to Hong Kong to go and get them repacked a third time and through checking eventually it was Thursday last week they finally went through checking Thursday last week I went on TNT and it was like they thought they'd got it sorted several times over so every time I get an email and it's China and it's China time and I'll send an email and I'll get a reply the next morning it's just really slow back and forth on the messages and all the messages are like, dear friend and I've been pasted in them somewhere, they're floating around but yes we got them eventually they did arrive I think Wednesday in London they got stuck in they arrived Wednesday evening in London to be picked up by my office to be picked up by a friend of mine to bring them here Thursday evening to be plugged in to be sorted out for the next morning and we didn't actually have the chargers built for them at that point either so that was interesting but the batteries arrived on Thursday evening at this point we still don't have the badges is your next slide talking about the manufacturing? yeah the next one is ragram oh yeah just as a thing I haven't really touched the code in the badges since Monday afternoon when I left London I was down there all weekend writing code because we were planning last weekend to have a big put build together in London with all of this we were hoping to have all the boards and the PCBs and all the badges and the screens and we were going to put all together this weekend at London so we didn't have to do any of it on site so I went down to London last weekend this weekend last weekend I don't know days have gone in blur but yeah basically since I left London came up tonight and grabbed my camping gear and come down to field I haven't really touched the badges and the code base these guys have all put it all together and organised everything here on site because I've done all the power and the fencing so bits of the story I'm not so clear all the assembly, the finals so to run up to this we when we'd finally decided that we were actually going to run with these things and it was actually before I finished all the sponsorship and we decided we were just going to do it screw it worst case I'm going to have to go and do something awful to earn more money and we got and we just decided to do it so we ordered the badges, we ordered all the parts it was all going and at this point the amount of code we had written for this was none absolutely none at all because we weren't sure until that point what platform we were writing the code for what chip anything we didn't know any of it because we weren't certainly going to waste time and then I think it was Bob was it you I don't know so Bob started the absolute base of this and started doing a little bit of code for it a little bit to get it sorted Matt was too busy panicking about batteries and screens I've written a bit he did a bit he stepped in and started just writing code having never ever programmed an Arduino in his life never written anything for using this hardware never really done any electronics in his life and went from zero to all of it in about two weeks flat so any bugs are his fault that is absolutely not true only half of them but he he basically took over and started writing everything and the rest of us at this point because this is all done by the old team Mark's been organising all the tents I've just done all the sponsorship really I shouldn't even be on stage but it was just Marik doing it and a couple of other people stepping in occasionally to help out and they went and got all the code written and have been going ever since including the service side stuff so what should be mentioned is that it's not just the badge there's the radio network part of it which totally hasn't worked and I'm very sorry we'll get on to that in a bit but they're Raspberry Pis as well there's Raspberry Pis and stuff that needs to run on those and server stuff as well and a whole pile of stuff that needs to go in all the different places so that's why there's so many things that went wrong what was it? I'll skip the switches it was another one but ask me later we'll do switches in a minute so we've been trying to get the badges fabricated and we needed to get the PCBs made so you need to get the board made and the components stuck onto it it's not quite stuck onto it it's a bit more complicated than that and we used other people in the past to have the PCBs made and other people had assembled them we went and spoke to them this time and either they had no time or they came back to us with frightening quotes that we couldn't afford or they wouldn't talk to us at all and I'm not sure what I've done to offend them but apparently it was terrible but eventually after talking to quite a few people and Ragworm appeared I actually had no idea how that happened but we got introduced Stacey's from Ragworm here and she's ahead of that and they offered to manufacture all the boards and eventually after realising that we couldn't get anyone to assemble them either to assemble them as well which may have been a mistake on both our parts and we eventually shipped off all the components to Ragworm and they made all the boards and the boards got made and it's all lovely and aside from the fact that the ink to colour the boards was supposed to be bright orange and it isn't I've never actually found out why that is this is a particularly obvious reason why well the basic reason for the fact that they're red and orange is a mislabelled batch of ink that arrived at our factory along with everything else that had gone wrong obviously on these guys side it meant that we had very little time to actually make bare boards and assemble for a batch this size you'd probably have two weeks assembly time two weeks manufacture time if you're pushing at it quite hard we didn't have that so by the time the ink arrived we were at solder resist stage of the process and the ink arrived and had to go straight on to the boards so at that point when you open up pigment that's labelled as orange and it's red you don't have a lot you can do about it other than put it down so that's why you have red boards not orange bareboard manufacture is something we do every day that part was relatively painless the bareboards you have in front of you they take around about 40 minutes a panel to bareboard test and these boards go through up on a panel so there's about 500 panels to get through so it's a relatively slow process by the time we but we had a plan we knew we kind of wanted 5 days to assemble these but we could push that down to 48 hours we have a very nice assembly machine that we labelled as Doris because she's a little bit old and Doris gave up and spat out a load of components and ground to a halt on the Monday before Monday last week Monday last week so we was a little bit worried called some engineers out onto site that were a favour of the machine and they were going to put Doris back together at this point I sort of thought well these guys have got enough stress going on so we won't tell them just yet we've got a couple of days may have been a slight error at that point so the engineers worked for a day it was all going okay-ish they kept promising me that Doris was going to come back to life another day in and they said no she was officially dead so at this point I have a very embarrassing phone call to Johnty to make and explain that actually we no longer have a surface mount machine at which point Johnty I think had a mini heart attack on the other end of the phone and went very, very quiet but in true fashion you don't kind of leave it there and dump the problem on someone else's lap so we got on the phone we've recently made an acquisition of a company that's gone into administration and they have a very big surface mount machine who's not quite as old unfortunately she's been decommissioned and the administrators are in charge of the factory until we sign over so I had some very nice phone calls with administrators to try and put the machine back together to which after lots of begging pleading, almost crying they agreed that I was allowed to do so on Friday now I make a phone call to Johnty to say I think I've got a plan Johnty's still in cardiac arrest mode and not really saying a lot so we had some people in the person who's subsequently been made redundant from that factory actually agreed to come back in and put the machine back together it was bank holiday weekend so we didn't hear a lot Tuesday afternoon 11 o'clock no that's not going to happen so we're now at plan Z1A and at this point Connor who works with me is sitting at the front possibly made around about 30 phone calls to try and beg plead whatever we had to do to get someone to collaborate with us to support this event lots and lots of people said no nobody wants to build 1500 boards in two days one day it's just not going to happen there's 0402 components, thanks guys lots of people don't like them but there's a very nice company back in Nottingham which is where the components started so these components that are on your boards have gone from Nottingham to Kent from Kent to Bournemouth from Bournemouth to Chichester and then back to Nottingham most of which driven in a van by one of my very nice employers here where I don't think likes me anymore and they agreed to make your boards which at this point if you've ever assembled boards there's always questions and it's really hard to get hold of these guys in a field and get them to check emails when you need an answer in about two minutes flat and suddenly silly things that polarization of LEDs become really really big deals because we effectively had around about 12 hours to build these boards but they made it and the majority of you have one around your neck which I'm really pleased about but yeah please if you're designing projects leave time for assembly so that made it sound like everything arrived all at once which is not true so on Thursday Wednesday or Thursday night Thursday night on Thursday night at about 10pm we would do our first shipment of boards and at this time they didn't have the screens on them they didn't have the batteries on them they definitely weren't programmed so with Stacey it arrived on site by this point I've been here for four days and I was in no means to be dealing with couriers and the couriers is like due at 10 o'clock it's 11 o'clock and the courier is still not here it's 11.30 and the courier is still not here I'm getting quite stressed out because it's another delivery due at 12 and we received deliveries at, I think, half past 11 12 o'clock 8 o'clock in the morning 10 o'clock in the morning and 3 o'clock in the afternoon that was the delivery of the badges and each one of the badges had to have the screen sold on to it it had to have the screen connected it had to have one of the couriers did about three of those deliveries in the same person I didn't know that and I feel quite sorry for him actually it's not as bad as a completely random side note there was a guy who delivered all the chairs here and every single chair on site was delivered by one guy who loaded them all into his lorry by himself and it took him six hours I'd forgotten about that we found it out when he was he was doing this for 12 hours we didn't understand what was going on anyway so these had been delivered and at this point Maric had been setting up a badge central where they were all ready to solder them and they were just sat there for six hours waiting for these to show up and every time a shipment came in it was a flurry of activity and they sorted them all out and passed them off to everyone else and I don't think he's really forgiven me he broke a bit yesterday but the badges were still being assembled and programmed through Friday I think and they were all finished by about 6pm Friday but which point is a bit too late to give them out so we decided to wait until the next day was it 10? I can't remember any more and to be honest I think Maric needs to tell you about what's happened since because honestly I don't know any more firmware yeah take the next one actually I was quite happy that everything was behind schedule because firmware was behind schedule quite a lot so basically when the first shipment came in a lot of other people were helping me out and just starting to get everything going and I was still coding so it's different to work on Arduino and like plug everything together and that kind of works then actually have different hardware like it didn't quite work so for the firmware in general we wanted it to work with the Arduino IDE so everyone can get it going as easy as possible without battery low that's it it's not just the badges so we wanted it to be as easy as possible for Peter to hack on so everything is based on the Arduino stuff but we also wanted to use a task schedule like multiple things running at once because we have a shining new CPU that can handle lots of things at the same time and we really really wanted that so we decided to use some free autos and just swap things out and it's actually quite fancy yes turns out Adreno libraries are not written for multitasking and no threat safety is really really a thing you don't discuss in Arduino forums also it was all written in plain C so the first thing was to wrap it all in C++ so you can actually look at it without going completely insane so after all those things came together we it kind of looked alright and then we got the real badges and they kind of stopped occasionally and we'll go into this a bit later so we also had some games who was doing the Tetris one Ben, stand up so I think this guy needs a big cheer because he wrote probably the most important thing on this badge when we were in London at the weekend we were writing writing code for the autos tasks and stuff and I think it was Sunday night, one of the Nottinghack guys had done snake for our big train clocks and I got him to upload that to github and Sunday night America was just like I've had enough, I'm porting snake that was actually fun compared to the rest next slide so yeah the badge would only be half as complicated software wise if it wouldn't be for the fact that we wanted an up-to-date schedule on all of the badges which kind of meant given that the schedule is changing all the time and being updated that we needed some way of updating it so there's a radio on it and we decided to build a whole infrastructure around it with raspberry pies and every single decay with two radios on it one of them broadcasts its position the badge looks which one is the strongest signal is to a secret channel and then those the gateways in those data decays send out the schedule updates every 50 minutes or 5 minutes and that worked pretty well in in the Nottinghack space turns out if you're on the field and there are lots of other of those things that are running around in people as well you kind of end up missing packets and we have error detection so I think he has seen an actual schedule on a badge yeah I can count it on two hands so I'm never going to design another radio protocol from scratch again ever yeah basically covered all of this so yeah every badge has its unique ID I think you all tried to get it which was there so we could send you updates about when an event was about to happen like talk which all works fine unless we don't actually know where you are and you turn the badge off so I don't think we send any out actually but it works in theory so if you ever replicated at home you might get a message so bugs there are a few bugs you might have found them maybe there are some small display issues when you turn it around you change the apps when it's in the wrong direction because we actually have an IME in there and we try to do fancy things like Android phones it turns out that staying up for 3 weeks until 2am writing code is not the best time to write code that is reliable and bug free and as I say oh I don't know the display issues is just crazy and the maths of rotating a screen isn't that complicated however the screen is a landscape screen not a portrait screen so everything just got confusing from that point onwards because up isn't up yeah, random freezing which we still don't know exactly what is causing this it might be like a loss of different problems it might be due to the fact that threat safety is not a thing in some of those libraries and we are actually doing multi-threading so yeah, people don't actually receive schedules and weather information just because a single drop packet in a message means we are just throwing it away oh yeah we are also signing everything with elastic curves so just to make sure no one is sending fake stuff to all the badges which turned out to take quite a lot of time and made the packages even longer in the end we shouldn't have bothered because no one actually received it but the thought was there I heard stories of one battery controller exploding I'm not sure if that's true of course it never happened and my favourite buck is when coffee was writing the weather app he was translating day of week into strings and started with zero being Sunday but in reality it was starting with one being Monday which works fine apart from Sunday and in his big case statement he defaulted to Funday when it wasn't matching any of this so it actually turned out that Sunday turned into Funday which is not too bad all things considered yeah is there any more for me? no I think yes who wants to hang on to that yes so our initial planning meeting the week before in Wave a year ago there's a list of ideas and notes and it's on the wiki somewhere go and find it there's a huge list of things that we wanted to do and the core things was the schedules and the notifications and torch and the Arduino compatibility and stuff with them they will take Arduino shields sold to the headers on the back loads of stuff with them but yes to get all this stuff talking with each other you've got screens you've got motion processing radios all the LED sounds you really need this multitasking the free RTOS to be able to run all these codes in and out together we split it all up and still didn't get it all done so yeah, multitasking is hard and trying to write a GUI on a very tiny screen there's a lot of stuff that's being displayed in landscape because the screen is just not big enough I can't go to resolution also somehow none of us had a JTAG programmer so we couldn't do any property bugging it's been ridiculous it's like a camp of a thousand hackers and we can't find a JTAG anywhere yeah, I don't know if any of you used Arduino's or know about JTAGs but yeah, Arduino ID you just use the serial output for your debugging because there's no JTAG on those processes on the lower stuff and it's like yeah we basically had to do that with a high end processor where really you should just be using the JTAG and you should go and see and go oh that's why it's crashed sorry one last note I would really really laugh if you all take the batch home and look into it and just add things to it send us pull requests, get going and we're hoping we can use something similar if there will be a patch in two years as a basis and we can get going from there yeah sorry we're not doing 20s no we are doing 2016 part of this is my fault in that I was the one that said we should do the schedule thing that was his core requirement yeah core requirement so it's all my fault and I'm still glad that we aimed high but the point of the badges was that they do something fun during the event but the main aim is that you take them home and you do something fun with them and there's workshops that you can go and play with them as well and the point is to give you something you may not have had before you might not have had a chance to play with something to remember the event by and use and as part of that we've done this for every event we've done and I keep forgetting to announce and this has happened twice now but I'm going to remember to do it now is that we're running a competition and the competition is for the best use of the badge and the best use of the badge wins two free tickets to the next EMF so it is worth doing it might not take that long but build it into a giant robot connected to your microwave I don't know something interesting but they are just standard Arduino's if you want to use it like that but these guys have written a vast amount of code stuff and aside from a couple of issues it is actually a really good code base to work with it's quite pleasurable and it's worth having a look at before you just go and blout the entire thing but if you would like some free tickets to the next event in fact actually I've just made a decision right now you can have free tickets to the next one day event and the next EMF so it's worth even more if you like it and secondly for these we have more badges than we needed and that was intentional because obviously there's a failure rate when we manufacture these and I think how many did we actually get out of the manufacturing in the end so we got 1456 boards made of the 1500 we actually wanted to make and of that of course there's more failures we need to fix and people have been quite happily handing them in all weekend for us to fix and we really thank you for the fact that we've got to do a lot of soldering now but all the ones that we have left are for sale so if you would like another badge to play with and I highly recommend getting one because the hardware on these badges is worth quite a lot of money and if you were going to go and build these yourselves it would cost you a lot of money and a lot of time and a lot of time but even just buying all the components themselves is remarkably expensive I don't know exactly what the price is I haven't been informed but they were going to be for sale from the info tent but because we've got to fix so many of them we will post them out to you but if you go to the info tent later on today they will write down your name and take your details and we will bill you somehow or other I don't know how that's been decided somebody did that work I think someone's probably given me the evil eye from the back of the tent now anyway do we have anything else I'm not exactly sure I would imagine probably 40 quid because the components themselves are worth 30 and that money is actually necessary for us because we need some of that to cover the badge cost in the first place and Arduino GOA itself is 30 quid on its own so then you've got there's actually some components on this that never got turned on there's a speaker on it which you haven't heard there is oh yeah my favourite thing I insisted on this is to hold anyone right next to the lanyard holes there's two holes on the side and they're for conductive threads so you can sew things into your lanyard if you wanted to sew in LEDs or something and control them with a badge it's all documented it's just we forgot to tell everyone there's an infrared transmitter on it oh yeah and there's ethernet on board so if you want to connect it to the internet you just need a very small adaptor to be able to connect to the internet and what else is there oh yeah there's sections to solder on an SD card adapter infrared receiver and a magnetometer which is a compass and a few other bits as well pardon? and ethernet yeah I said ethernet though I'm not imagining things am I I've been awake a really long time so the ink screen has a lot of support circuitry with it and Matt really wanted to leave it on but I made him take it off because it cost too much money so you can blame me for that as well I don't know how easy it would be to add them back on yeah not easy the ink screen is one cost and then there's another two pounds worth of parts that's two pounds worth of parts that's not two pounds worth of the board tiny parts there's quite a few control lines we might be able to do it on us could we make the remaining ones basically more awkward than it would but all of the design the software, the firmware on the badge, the software on the decays, the design is all on github it's all under an open source license and it's all under an open source license so if you want to download the design and get some made you're welcome to do that I'd like to know if anyone does try that the prototypes I've built about nine of these prototypes by hand they take about two hours each so if anyone else builds one by hand I'll let me know don't build one by hand we've had a few people asking for more information about it and there's a URL on the back of the badge that we'll be working with more information later but because all of this got pushed so late we've all been so pressed and because pretty much all the team have been involved in running the rest of the event under is more important than shiny badges around your neck they haven't had time to update the documentation so we're very sorry about that we wanted it there but time constraints most of it is on the wiki but you know what wiki is like they're impossible to read so it's fine is there anything else? yeah we'll go through the what next I think sorry one more slide or? oh yeah so yes we're going to the badge team will hopefully aim to produce a badge for every event that Jonty agrees to run so yeah hopefully there'll be a one day event next year we're going to do a smaller badge like that then if any of you were at Wave and saw the signed badge for the treasure hunt one of the things we wanted to do with this is have this badge reprogrammed that badge so that they would interact with each other but time, hardware and all the rest of it but yes next year we'll do another small badge that hopefully we'll talk to this badge and we're going to keep this badge you all heard that Bob is in charge of the next badge for the one day event we've already got the initial designs we're pretty close already we actually missed that at one point when the money was really really really a problem and I was really not happy we did actually do a complete redesign from scratch which Bob did in a weekend which was the potential replacement for this which I believe is what the badge will be next time so you heard it here first we've got a year to get it done but obviously we'll do it in the week before instead because it's much more fun we built the last badge in the week before Wave was actually built I didn't talk about Wave when I was but I was built in the week between the Maker Fet and the Wave event I built all those badges at work all the little signs in literally the week before that was done just in time but we did do the entire event from start to finish in three months so that's kind of allowed with the compressed time we will be doing another badge in 2016 I think we probably will stick with the same software but not so buggy and somewhat similar hardware I don't really know we're going to run through with some similar hardware it may even be the same badge it might be the e-paper one it's not going to be the e-paper one I'm being quite clear about that but yeah we're going to run the code base through so hopefully we're going to build on what we've done this year I also want to do I'm going to spend some time at some point and make a tilde shaped prototype shield to go on it which will be really good and we'll hopefully get a ragwam to make some of those up and if we'll be able to buy it You heard that here first as well Are there any questions? This is the wireless mic so we'll have to pass it out to the audience so people can hear or we can repeat questions back if you're far away I don't really mind there's a phone up there you'll have to shout the radios can transmit and receive and actually the radios are reprogramable as well the seseco radios are started at TI-2200s I can't remember they can speak of each other CC and that depends but if you get two badges you can talk to each other you can get USB versions of the radios that you can plug in as well so if you wanted to say connect this to your central heating and then control it from something else which someone actually did with the badge from 2012 someone has that running their central heating system and frankly I think that's quite a ballsy move then yeah you can get the pieces if you talk to Matt afterwards or look at seseco they're linked from the wiki page you can buy all the radios there there's also a Raspberry Pi shield so you can connect that to it and talk to the badge from it and all sorts of things but if you wanted to run your own firmware on it there's programming pins somewhere on the back of it that are hidden oh and there's something else we've got to announce no no no there are hidden things on the badge there are quite a lot of hidden things but you found one you've got a cheaper one you're not allowed that but there are three things to unlock on the board and if you find out what all three are and you email us we'll probably do a free ticket for that as well just because it's going to take a lot of effort and probably completely destroying the badge so it's a oh yeah we should think Jake Jake did the artwork for oh yes tiny random applause for Jake who stepped in the very last minute too much applause too much he stepped in and did all the artwork for it because we're not designers and he made it look good and is there anything else we need to talk about I also learned the fact that we before the event we had a we had a product case oh yes is it you that designed it alright so somebody dropped into our RC channel and designed a 3D printed case for it which is really nice he's not getting his back by the way we weren't expecting that I think there's already a laser cup case floating around and a laser cup one as well anything else? any other questions from anyone? oh go on you got the linear holes I haven't got room for the mounting holes so that was just that we have data sheets for every component on there every single one is and I'll get every part the whole thing is completely documented because after the event we're going to get really sick of it for like 6 months and you're still going to want to work on it and I think we are done now so if you've got any other questions find these guys in the bar buy them a drink and they might tell you some of the horror stories we didn't say on stage