 Good, so yeah, good morning and thank you very much for joining this talk and thank you very much for Luke and the whole team for Organizing in this room and I'm gonna talk about continuous integration for open hardware projects where I have to say We are not really the experts. I'm like a little bit trying to describe Where we are now and I'm happy to get also information from you guys and any questions that we could work on together So my name is Mario. I'm from Germany, but I stayed ten years in Asia and Yeah, we had a lot of projects in Asia and but we felt a little bit cut off from the community, right? I mean like foster miss here and everyone just coming and but like an Asia like at that time ten years ago and we felt a bit that Things are going on everywhere else and we don't meet the people that we usually meet in Europe So what we thought is like we like force free and open source software and like hardware as well, right? And we need an event so we started for Asia ten years ago and at events people meet and have Ideas and then we say yeah, let's open a git repository and ten years later. Suddenly you produce hardware so that's the story in short and Yeah, then of course like I'm from Europe. So I also started a company here in Berlin. It's called open tech and Yeah, we are running projects together also with European partners For example like within the horizon 2020 program. So we're always happy to Make open hardware sustainable also economic economically and yeah I like languages that I was why I like to go to different conferences and I like international music So it's like really cool Opportunity so what I tell you first a bit like what we are doing What projects we are doing in regards to hardware so we have the pocket science lab project that started 2014 and it's a project that Yeah that I can give it around actually so It's a it's a project for measurement tools So the idea is to have many Measurement tools in one and there's also an app on the app store which you can check out We have many just to integrated components. We have a desktop app So that's pretty cool and it sells well in Japan already So how it works here you connect basically a device to the Mobile phone for example Android unfortunately iOS is not supported. I think many people know the problems with Apple it's not so easy actually always to connect something to to Apple and then what you can do is for example You have these different tabs and behind each tab. There is an instrument for example an oscilloscope so Something cool that happened recently people said actually we can also use that for robotics So we had this idea that there are robotic arms They can go into different angles and you can drag and drop for example an angle into a timeline here So yeah getting into robotics as well and here are a few instruments that are on the device So apart from a oscilloscope. We have a multimeter logic analyzer wave generator power source accelerometer and more and I don't know if I said it at the beginning of course, it's all open hardware Right, I mean we don't control the chip But like I think like in this track it's clear that we are talking about open hardware another thing that we are doing Is this chip? Sorry this batch? so this batch is not open yet, but we are working on it and the first step was that There was this guy on the internet he basically Reverse engineered the protocol and based on his hack. We were able to do an open source app already looks like this It's also like just like type into your phone So that's the that's the first step and we're really getting excited to to do more here as well So you can save an export clips you can draw On the badges something that we do and the third project that we are doing Currently is the neural lab. There are already other projects like open BCI. Don't know is anyone here from open BCI? No, and they're also a project that is called brain dream. Oh, basically the idea is that you can collect your brain waves and Then you can analyze them for example. It's relatively Yeah, clear already if you want to for example know focus or relaxation things like that is already possible And then it's the same model as with the pocket science lab. We make an app and you can basically do it so Yeah, so what we are doing is we already producing hardware the pocket science lab is on sales and I'm sharing a bit how we are trying to get better in development and so our idea was to Yeah use continuous integration and many know from software and it's like out there since the 90s and Continuous integration has been developed with the objective to reduce integration time and to continue to provide continuous software updates Yeah, so builds. Okay, and yeah continuous integration of software today So you could build and test after each integration in a continuous cycle of builds so for example, you make a pull request and then you can Basically test does your pull request work. This is in software and so the goal is that Integration becomes kind of a non-event. It's just like going on and it's always clear that Yeah, that pull request or that merge request that will work Yeah, and cycles are developing building compilation executing automated test and inspections and Continuous integration you can also say Continuous deployment could be part of that. So you deploy the software automatically right for example on a server like Yeah, Google and so on have made it very easy to do that with a cloud But we don't always want to be on the Google cloud with our software So it's also possible to do that with scripts. There are other solutions to do this as well Like so continuous integration continuous deployment So usual development workflow in force Asia So in force Asia project so we have around 200 repositories and like more than 4,000 people registered on our github Right, but we all know big names people come and go and then don't unregister They just stay and of course we're happy to keep everyone connected. So whenever somebody tells you big numbers Take it with a how do you say an English grain of salt, right? so but like we have a merge pull request on average every 15 minutes and So that's kind of good thing already and this is our workflow. So at first Functional feature or bug is solved or developed in the developer workspace So how we are working? We don't have feature branches like we because like we what we had in the past we also tried that out with feature branches and so on and Then like some developer like gets a job or has something else to do and disappears And we have like 40 feature branches and we're losing track and then somebody says Oh, yeah, I have I'm working on this feature. No, no somebody else works on this feature But like it's not taking care for months and you know So we said like look it's great if people contribute But like it's a lot of overhead to take care of like what is actually going on all these different projects So what we say is people work in their own workspace. They make a their own branch and their own repository and when they are ready they can then Make the Pull request from their own forked Repository yeah, so not inside the project so and yeah, how it's then done of course the developer runs the build locally and Solves any integration issues The pull request is finally made and then we have usually like I don't know if there's any repository where we don't have a CI tool so let's say Travis CI or circle CI We like github actions, of course is a cool idea, but we are not sure yet How much integration that would be like like if somebody moves the repository and they don't use github Does it still work with github action and so on so we are not clear We don't want to have this kind of vendor lock in yeah, so so at the moment We're still like focusing on those and yeah So tests are run of course developers need to write tests and Yeah, if everything is good the code is merged and as I said in some cases automatically just put deployed So how can we transfer this idea to? Hardware development so what's it difficult or the difference or the similarities of This hardware so we have Configuration and hardware projects of course, okay, that that's what we have can write that into code Writing and maintaining test cases test scripts is also possible, right? I mean Hardware is not just like hardware. There's a firmware on it. There are some Test cases that we could run for example on that as well. So all this is possible Yeah, so you could trigger various test scenarios. You could also collect metrics. Yeah You could analyze results keep track of build logs Something like that and yeah, we had a talk yesterday of key cat in another track So it's also cool and what is upcoming in this area? Yeah, and so want to go a little bit like how we are doing this now with hardware How does it work with hardware? So we are producing in China I think like production in Europe is also getting better and better But actually we had a lot of people who speak Chinese so for us it wasn't like a big gap that we need to go to a provider and and Check this out. For example, this is we tat and our the the first Asia office main office is in Singapore So that's that international hub where people speak all kinds of different languages and he is a Chinese speaker So and he helps us to get the hardware development done in China And it's really important because if I ask something in English, they say yes And if he asked in Chinese exactly the same question they say oh, maybe not yeah, so so it's really it's really good that we have that and There are a lot of questions. I think that we cannot go into detail now in Here in this sessions, but I would like to also like I think other people are also thinking about this integration things and there are a lot of questions coming up For example, we have all these machines and like this is not like Travis CI and then like Travis CI sends the data to this machine right for example So so this is something that I think is is important to talk about and of course We want that needs standards that needs integration that needs API's and it's very important that we talk about these topics here And in the open source community because we don't want companies coming up And having the same fights that we had with free and open source in the past Yeah, where people say patents non-standard software and so on so this is all Yeah important and we have some experience here Producing this already so we're happy to work on you guys so we Okay, and so integration from hardware now our wish list So configuration and testing should be Yeah getting easier. Yeah, and so when we for example like we would like to learn more what? CLI tools are out there. What are other people using what other things missing for example? There's this company and that we are Talking to Vicky factory. Yeah, they have they have ideas So and we have this consortium on the European level where we like actually Collecting these questions is already a big thing. Yeah, so if you could talk to me about this For example the create automatic creations of bomb bill of materials. Yeah, and where you have like a list of materials and for example, you have different Different suppliers. Yeah funnel or others and you can like Upload your bill of materials and automatically see what is the outcome? What is the cost and what's the cost if I order a hundred and so on so all these Things right because what we want with continuous integration. We want the same thing as software Make a button make a poor request merge request merge that Build the whole thing make all the tests but actually build the real device Yeah, so it can be shipped and emerge that would be our dream So what do we need to to make this happening? And yeah, so of course we want to like learn Well, how far can we go in a digital way? Yeah, I mean what can we solve digitally and what can we do in regards to Producing real prototype devices, you know JLC PCB and so on is just so cheap like five dollars or something and you have you have a Board already so that's cool. So and possibly automatic recommendations, why not write YAML files and say, okay, this Producer for example this component supplier is supporting the Frost community And why not write that in the YAML file and make that a preferred producer of open hardware or something like that? I mean all kinds of things that I could imagine to really like grow the ecosystem in open source hardware So what we see is basically in the hardware Creation process it's a similar cycle to software. Yeah, I mean especially the further people are away From the development. I think the more they think the process is really different But like we feel what we learned so far about like producing creating and producing hardware is it's really similar So you for example like so you have have this cycle, right? You have the cycle and you orchestrate tasks tasks in a sequence Where you then have a pipeline you test it you improve it and you receive feedback and Continue development on this feedback. I mean it's really similar to software development and So to make hardware CI possible We like an automation engines is like really necessary. Yeah, and it should be deployed It should be able to deploy and I don't know we don't have so much experience with FPGA but I think like there's this project of bunny Huang and Sean like in in Singapore and we connect with them a lot in In Singapore right there based in Singapore. We have the first Asia summit in Singapore every year So so that's really cool. They had this small FPGA USB development Device so that's that's cool, but not everything is FPGA. Yeah, and not everyone knows about it and I don't know They're pros and cons so maybe we could have people who really know about this because I see some people are nodding Yeah, maybe we can have workshops on this in future Learn more how to how to do that and develop here apart from the prototypes So how far are we now in this endeavor? So what we are doing for example? We are creating automatic deployments using kit space and YAML and I haven't seen Casper here at the event like he was here last year. So for example, we integrated a YAML file So kit space is pretty cool. It already does a lot of things what what we need. So it enables an automatic generation of kind of like Like a list of things to build maybe I just show it is easier to show them to to talk about it Maybe and yeah, so on each merged pull request this YAML file is executed and it connects to kit space and it generates a part list And yeah, and then this part list can be matched with different suppliers So this is basically still on the level of part list But like why not bring this to the next level like let's say to really produce the board and To see what else we can do. So we have this repository here for example of the We are pocket science lab hardware and It's a very simple YAML file. So it basically tells you Where is the Gerber file where the Gerber files and it has a link to a bombsheet? ODS which was before Automatically created by key cat. Yeah, so we are already going into this Direction and yeah, and then like this YAML file is executed and then we have this page on the kit space website and a kit space itself is open source, right? I mean like That's really important for us. Yeah, we can always like they can be cool services That's not always open and we use them like, you know get up itself But like git is open and here even like the whole kit space Our service is open. So they generate automatically and these Links also and you basically can click then you can for example click adjust quantity. So how many? Like prototypes you want to produce and then you can see what is the price are these components available and you can click on any of these Suppliers and and check out and then basically order it yeah, and Yeah, I mean it sounds really great already, but Yeah, the question is how how standardized are these components list or always? So you still should check you shouldn't just like go there or a Mario said that and let me try that out You should still check are these the real components like sometimes like there might be slight differences Or yeah, like so that's something we need to work on and get more Get more experience. So from continuous integration to sustainable continuous deployment redeployment and recycling. Yeah, and Ten years ago, we had this talk even more than came to Berlin the chaos communication Congress was still in Berlin And he said open hardware is the next big thing and then there were people talking. Yeah, it's really good for the environment It's all these yeah, it's sustainable like it's not like it's right to repair and all these things Yeah, and now ten years later. We have this topic and I'm like hmm. Yeah Sounds like a deja vu. Yeah, and But like it's it's also an opportunity for us So we shouldn't be tired to just repeat the conversations that we had years ago we should really try to do this and this whole thing about open hardware and Continuous integration and could be deployment. Let's really like think into the future. It's not just like about building hard hardware Could we also do something like de-assemblement machines? Yeah, well, we say here are components Just like you can deploy your software again on a server Could you like de-assemble the the the hardware and and do this right? I mean like it's it's it's not impossible Yeah, and so this is this is the thing if you really think like everything is open and you have the CR You could also have the How to call it? Yeah, let's let's let's phrase let's phrase a Sentence and that's make it big or something. Yeah, I mean so that you de-assembled so see see I solutions Enable us to publish a new version and devices to be produced anywhere automatically here another thing, right? We can ship the the final Design everywhere in the world and produce it locally. I mean we're always always talking about small boards but how about we talk about cars and Trains and spaceships in the future. Yeah, we could do all kinds of things that should all just be open it is just like necessary for sustainability and So we need machine integration to deploy full auto fully automatically. So it's a problem, right? I mean these machines that we see before I showed you the picture of the What's it called in English? I don't know so so where you put the reels in and you produce the hardware and so on, right? I mean, they are not open. Yeah, I mean I wasn't in Shenzhen Not last week so relax So a while ago So last year last year So Right and and they have these machines and they tell you wow $20,000 and you can produce everything and so I don't know but like right do they follow open standards? Like what can we do here in in in this area that we can really plug in we sent our Hardware design here and and they really do it and how open can we get that let's work together on on doing this And this is something that we try to also push on the on the European level to have more research, right? I mean when they have these big research projects and yeah, I don't know five billion dollars, right? I mean like and there's just the word open hardware somewhere in this big European Book that they do right and so Okay, yeah all these car manufacturing big companies and so on they get like maybe like most of it But how about 200 million really for Creators of open hardware companies that do that and so on so that would be good So let's get these these topics also on a European level and connect on this So this is this is important and and yeah, I already said we need these assembly machines all devices could possibly be Automatically be disassembled and components could be reduced or recycled. We really need to go in this direction So continuous integration can enable us to make open hardware economically sustainable. I mean I always see this sustainable topic in regards to the Ecology, but we also need it in economically and This is something that I'm trying to do so because I know a lot of hackers and they make Yeah, they do something and for example, we have this cool project where we hack the knitting machine and I have and we Collaborate and so on right but then the project is done and and they're happy. We achieved the goal So let's move on to another project So it's not really about like Changing the fashion industry make it it into a circular economy or something like that and that's something that I would like to do really like work with people together on the missing parts and pieces to make this Possible and it all needs to be open because if I don't have time somebody else should be able to continue the work that That we are doing so and of course like This whole process makes development More reliable and faster by automating parts. So Right, I mean we have all these these problems with with the environment and so on but like maybe could be also solve These problems faster. I mean it takes seven years to Get like from design to really like creating a car. It could be shortened this process by automating these Integration processes even on on on a really big big level and could be lower costs Yeah, I mean, that's all I kind of I think like people noting here, of course we can know a lower cost by by doing this automatically and we can speed up regular updates and Support the building of a developer and user community, which cannot be copied. Yeah, I mean people always say like we had this talk this morning of the Chris and so on and it can't be copied copied and we need We need the community, right? I mean you can always copy hardware You can copy software, but you cannot copy a community that's dedicated. So this is impossible So where to get the hardware by the way that we are that I showed at the beginning You can just go to first Asia. You can of course Download all of it and some people sell it's not really open the chip is not open Yeah, unfortunately, we are not that far but I know many people here working on this and you can order it everywhere and of course you can collaborate with us You can if you have a company or something you can talk to us if they anyways to share like experience and maybe do workshops Meet us on the project chats. We have a few hundred people there and so it's really cool to connect Here the chance is to connect for example So the first Asia summit is in Singapore from March 19 to 21 We also have like a key cat deaf room on Sunday when we have the deaf sprints. So that's cool if you're able to come and Open tech summit community day in Berlin is on May 21. So would love to see you guys there. Thank you very much for joining So how's the time? I think there's no time for questions. Is there time? I know yeah, okay good So just come to me by the way, there's a false Asia stand on the Second floor or first floor depends on from which country you come and where you how you calculate, right? So it's not on the ground floor. It's one floor up Yes, right. Thank you very much. Okay, so because I forgot to