So, hello. I will be talking today about HATRA. It's a new product that uses relatively recent technological developments that bring very low cost radio receivers and transmitters with very wide range of spectrum that they can work with. So, it looks like this one, but maybe it's better to look like this one. I am passing it on between you after the demo. That's three separate devices in the picture. Well, there is a box device and OTL is the end. Because there is, of course, isn't you per device? There is like 20 dollars. What is the other one? It's 20 dollars. So now actually everybody who had the idea that it's nice to listen to high definition TV on the radio and uses these sticks for the computers. Most of the people actually have the similar device. So, what they look like. So first on the top, we see the most popular device. It's here. It covers approximately between 50 to megahertz to over 2 megahertz. And it's really a thing. I don't have one with me because I dropped HATRA. But if anybody wants to compare, it's just like this thing. It's the same size. Except that it's receiver only. And there are different models. And depending on the model, you have different receiving range. Because of course it relies on the way you have the individual pre-amplifying and the antenna. And then people have played a lot with it. I've listened to different signals. They found a very useful and very universal device. Actually, more and more people are now moving towards universal receivers. So, people often have a single antenna or single set of antennas. That's called MIMO to improve their receiving capability. That does both Wi-Fi. Which also has the benefit that if it's on the single chip, then you can automatically resolve the complex. And the range that people try was 30 megahertz to almost 6 GHz. So, close to 6 GHz, the signal becomes very, very noisy for the reasons how these electronics are constructed. You can still see some signal if it's very strong. And generally over the whole range, if you have a very strong signal, you can see it. Which is very good for any of you who just play with it at home with your own signal. But just wonder why the Wi-Fi reception broke. Especially if you are in 2.4 GHz band, very close to very popular 2.45 band. Somebody switched on the microwave and you don't yet know. So, it is basically, if you look at the components, it's bi-directional. So, you have antenna, you have input directions, you have filters, and then you can downscore the frequency from the desired one to intermediate frequency. And after that you can sample the signal at 20 mega samples per second. So basically, let's try it with 20 megahertz of the spectrum. So, you pick 20 megahertz out of this whole range and there is a lot of things in that. In particular, there are a lot of people that already compared in different devices. And because of this SDR technology that we have in both RTL and hardware, the prices are going down. So basically on the right we see USMP as very popular radio armature and also radio engineer equipment. That's about $1,000. So, it's kind of expensive, but that was still the thing that 10 years ago people saw, it's so hot because it's so cheap. Just to make the point, a manufacturer of chips that do this, not full systems, their flagship product which covers 3 megahertz, 3.8 megahertz, has just dropped their price to $35 for the chip. Why are micro systems just dropped? Which is single and single, it's the LMS 602. Single and single out. Transceiver, not just receiver, it's a $35 chip now. So, yeah, this is heading towards why would you make a radio any other way? Yeah, exactly. Especially that if you have specialized printer, you can have very good filtering, it's usually very limited in range. So, then you have the whole hardware, all kind of different components that do only one frequency. So, we have the first antenna. Actually, the thing that is very popular in this kind of mint is that first, there is usually a bar, but on this kind of very abstract image you don't see it. So, first the antenna is the single wire signal that you converted to differential signal to not have losses in the electronics, because actually the design of this electronics is rather sensitive and high frequencies to the noise from its own board. Then you have the down conversion and up conversion depending in which direction you use it. You can use it only in one direction at a time. Then you, of course, at each stage you have switches to make sure that only one channel is active. Then you have the ability to tune your frequency. So, on the side of this equipment here, you have two slots and you can connect them to another hacker app to make sure that they are synchronized and thus you record instead of 20 MHz band, 40 MHz band. And you can scale it a little bit. I hear there are about people that connected four of them to get more band. So, probably you also want two of them if you want both receiver and the transmitter. In most applications that I will talk about today, you actually are pretty happy with just one just receiver. And then you sample it by LPC-430 or similar microcontroller that has the ability to sample 20 MHz per second in ADC. So, this equipment works at actually an 8-bit, but there is also an option to do it at 12-bit. And what is important is that it samples differential signal. So, one signal is the reference for the other. Since they run in parallel, then basically it makes sure that the inductions effects are compensated. And the next, of course, what do we want to do with it? So, what kind of problems do we have with RF devices most of the time? Probably it breaks connection around the place and we don't know why. Sometimes there is actually a story. If you go by this special building, there is something because nobody hears it. You cannot even talk by the phone. I once worked in a building that was so well-screened that you didn't have any working cell phones inside, unless next to the window. And the theories were plentiful until somebody actually checked. And it turns out that it was winter isolation, which is popular in Europe, especially in Germany, because people want to save energy. And actually when they put the isolation, they save a lot of heating. But they also made it impossible to waste your precious working time with a cell phone. So, I'm not sure if it was intended. Especially since it was actually the building where they had very electromagnetically savvy, I would say, people, because most of their equipment were high magnets, like quite a few teslas and magnetic resonance equipment. So it was already shielded in the places where it matters. And they added this isolation. It was triple shielded probably. So, next thing, when the Bluetooth came, initially there were a lot of problems with interference between Wi-Fi and Bluetooth. Now we have Wi-Fi N and the latest Bluetooth that actually know that it's supposed to be interference and try to avoid that. But the users of the ISM bands on which Wi-Fi and Bluetooth work actually are plentiful. And not all of them actually consider. So, for example, the most frequent application is remote control. That you can see in the smartphone. Most of these applications just ignore this thing. Or we just change the band if it doesn't work for us. Without taking into consideration that maybe we just jump the signal to somebody. So that's also very popular. Especially in the buildings, we have the problem with multipath interference. We have quite a few places here that maybe there is some kind of metal. And multipath interference means that any signal that will be generated here may be delivered to a place 100 meters or 50 meters from here at, say, 100 microseconds, 200 microseconds. So that looks like two different signals. And then you have very high precision equipment that receives it, that samples it. And that tries to figure out what was the signal. And of course we need to compensate for that. And it's good to at least see it. So basically you can transmit a signal by just switching on your device, usually. And you see it in the spectrum that there is kind of equal. And yeah, these are the most popular problems. I'm sure there are many more. What's up here? This is the story about this building. Very, very good. One of the better stories. I hear that the story was actually so welcome that the cinema planned to do the same. Because then nobody would have this bell in the middle. Nobody would ring in the middle of the sound. So some of the problems we can debug by ourselves by just changing the operating system and comparing it. It's not very, like, it's rather frustrating. So you tell the story about your computer that doesn't work with Wi-Fi. And then you hear the story of, does this machine work with Wi-Fi? Usually before you debug the problem, it's three months, then two stories. And quite a few different devices that are around. Of course, you can just have a lot of antennas. So unfortunately, I changed my computer. But before I changed it, like, one year ago, I'm still jealous of the owners of ThinkBuds. Because usually they have very well placed antenna behind the screen. And as far as I remember, actually, I usually had a problem there. It received so many Wi-Fi. I actually usually had, like, hundreds of stations. And it's registered every 326. I knew about them. The delay was too much. So the big cons were rarely visible because of interference. But I was aware that they exist. And usually the problem I have with this computer is that I see ten of stations. And sometimes I don't see the iPad, which is next to me. So it really depends on the antenna. And of course, if I didn't have the hint that this iPad must be transmitting, I would believe that I don't have a Wi-Fi antenna. So they knew my devices start to tell you what is the signal strength. But it's still very, very naive measurement. Because first you need to receive, then you need to recognize that it's Wi-Fi signal. I'm spammed. Usually that's quite well done. But if you have high enough noise, then you will not see it. Especially the newer communication technologies, as I will show in a minute, actually they look like just higher noise in the given band. So because of OFDM, ultra-gonal frequency, the modulation, they basically try to cover the band very efficiently. And they do it by just probing it. So they are not giving a nice spectrum. The frequent problems that people have heard about before they started looking for the spectrum. So not everybody has a nice hacker app. And people suspected that maybe 5 gigahertz band is less used because there are less native devices that they hear about. But it's nothing short of a new measure. The ISM bands were suspected to be pretty neat from this. But until you measure, you don't know where exactly to use. A lot of these devices that actually transmit may transmit even though the transmission is unused. They just signal in case somebody, for example, that's very commonly in utilities. To leave some kind of transmitter or RFID that will just, actually it will flash back the incoming signal. But it increases noise too if you are close to this frequency. Because whatever you will transmit on this frequency will come back to you as a difference. So you don't know. But also if you have devices like notebooks and phones, of course, all computers are pretty well screened. But they usually have this frequency that they generate by themselves. Not one that can bring in a lot of noise. If the screening fails, then until you actually measure it, you don't know. I actually hear about a laptop of one company that just had the misfeature that some of the copies of the laptop spontaneously transmitted FM signal with your voice or whatever was around the laptop. I guess what would happen, like normally people just radio matters such or other transmission, it was not very frequently used back because it was very, very long. Still, yeah, maybe somebody will try to talk to them. And of course there is sometimes the shift in the frequency. So if your crystal is a bit off, then basically you are transmitting in slightly different frequency and if the receiver doesn't compensate for it. The transmission is perfectly strong and valid and it takes a big chunk of the spectrum and it's completely useless. And as a disclaimer, before we go to the demo, what I know is certainly if you use Hakarev for receiving, you may be legal, but if you use it for transmitting, then you certainly have to have license. That is general. The second, if you transmit, you need to obey the transmitter limits. So this device by itself will not yield to strong transmission, but naturally radio matters usually connected to amplifiers. Then you better know you have the license for the exact frequency and the exact strength of the signal and you don't connect 100 watt amplifier unless you are really having a broadcast license and you really know what to do. Just in case some of you surprise some of these equipment there are, hopefully just a little bit. And for license fees, usually you pay or you pass the exam depending on the kind of license. And some communications require special permission to listen to. So possibly not Wi-Fi. And as an introduction to Wi-Fi spectrum, Wi-Fi spectrum is divided into many channels and most of them are overlapping. So depending on your problems with the particular part of the spectrum and propagation, you can shift the channels like but you also have four non-overlapping channels. So you can have four stations that you don't conflict with. And while the signal looks like it's concentrated in the middle, it takes the whole part of the spectrum. And of course, when you use the new T-banding or how they call it, the wide band is made. The latest Wi-Fi standards have the option to give you twice or four times the ASP at the cost of the banding. So you don't have to have device that has more capability. Then you take more expensive outputs. The exact channels for 2.4 years are like this. They are pretty overlap. So I will actually use five kickerheads because I just connected myself to the network so I can listen to my own signal. And to follow the demo, to try that at home if you have error, you need to update style so if you don't have a Linux machine, that's equally simple. You just download new radio and then you look at the Hacker F webpage and download the software for Hacker. You just need a drive. Quick aside here, don't do it here because new radio is massive and it takes a long time to download. Do it when you have this embedded. Yeah, so don't download source code. I think actually it can be like 10 minutes to download. I think it can be longer. On Westend if you're using Macbooks, it downloads source and compiles it. No, no, no, no. Source and compiling takes more like 3 hours. Yeah, because it has a lot of dependencies. I install it normally from binary packages from distribution. Then it's really few minutes. It depends really on your network. You can use it with ID and it's much, much less. But if you bring in all the dependencies and compile it from scratch, it has very unusual dependencies like lib.org and they are huge. So it has its own compiler for very simple programs that run on simple processors. So since it needs a lot of Python and compilers, so now what I will try to do and hopefully succeed is to move. So first we will start with the... So depending what you want, if you feel like I can start from scratch and show you how to work it with new radio and hacker, or I can just demonstrate how it works. It's set up. Show the working work. So that I mimic the display because otherwise it would be awkward because I wouldn't be looking at it when I'm shopping. How do you feel about it? So... the new radio is very simple graphic programming that produces Python code. So if I decrease the canvas in which I have drawn the schema of what we are doing, you will see different components. First we have different weekboxes that configure different variables. So these are transmitted to hacker app to set up it for receiving. So this is... I just add the component from on the right like awesome or common. And I can add it either as transmitter or receiver with what I said previously that for transmitting probably need analysis. So I take the source, I set up the sample rate, the frequency, and I can also set up the gain. Here I leave the multiple values and I use AGC component, which is automatic gain correction. So in ignore radio every component has outputs and inputs that you just connect easily. So blue are complex inputs and outputs which are most suited for any service radio. So if you have real signal so it looks like you would expect it that it is just one wave and not two waves that are in the face between each other. Then it's complex to analyze it. Now after automatic gain correction I put just two things. First is waterfalls to sync and the second is F50 signals. Both are graphical visualizations of the spectrum. And if I run it now then I can see that here it probably needs auto scaling. Yeah. There is some artifact in the middle of the spectrum but otherwise it's pretty much empty. Okay, so let's try to download something. Or if it doesn't work I will just make sure that I do. Did I click it wrong way? The middle one again. Okay, so it's downloaded. So if I do pick home something appears, yeah? Yeah. Even though here I didn't... Oh, there is actually signal. I didn't do any gain correction. So before you get proper signal that you can analyze you need to tune up the gain. Because here it's just automatic gain correction. And since I'm covering almost only the band of Wi-Fi it's showing something only when there is transmission from my computer. So I don't hear anything else. Yeah. Otherwise it's not... I think it doesn't really progress with this download. Oh, it doesn't? Maybe then we will see it again. Oh yes! Now we... So as you see it basically shares the spectrum. So I put the hold here so whenever there is a signal it will show something but most of the time it probably sees the big ones from the other computers and it doesn't transmit anything. At this gain level it will not just see that there is a signal. You're working with a 20 MHz one end. Yeah. So it should cover the whole channel. So here it's actually... This is 20. I'm not exactly... Oh, with the device. So this is at 5.2 gigahertz. Yeah. So I basically... What I did? I started downloading something and then I checked what is my band. And I tuned exactly to the same band. If you have better setup so you need to tune the gain you need to make sure that your antenna is kind of bush. I'm not sure about this antenna. I'm not sure if it's that good. So I just connected a random piece of copper basically. And then you tune to the frequency. Yeah. It's actually way too long for this. No, it's a roll spectrum. You need to be there. Yeah, it should look like actually this slightly round spectrum. So you can't hear it. I don't know if it's for what they are. It's not obvious when there's a signal. It's when the band is about to change. Except... It's not running. It stopped. Yeah, it did. Unfortunately then I need to restart. So again it doesn't seem to be much. It's hard to see but the blue peak is at minus 5 dBs. It's the equivalent. This is an unfortunate central artifact of FACARM. Generally at whichever frequency you tune it I can tune it at exactly 5 GHz. And you will see the same. Do you mean in vertical or horizontal? Horizontal. No problem. So basically we can decrease the band to say 2 MHz. But then probably it would be stop it. Because it cannot do it on the run. You still see this unfortunate artifact. The RTL-SDR that I used before doesn't have it on the run. So generally what I observed already is that HACARF, especially at very high frequencies it can do that. But it has very high noise. And it's generally difficult to change. So actually sometimes I used RTL-SDR because it has given me a nice spectrum. And then I used HACARF on this specific part. But of course in the band that you have only HACARF probably you don't have it on this one. Maybe I should just exchange my... So the antenna is optimal for about 60 Mb. So you're... No. It's not quite the right size for you. It's not quite. Should I show you the footway? That's about 60 Mb. We can check at the other bands. So if I... I think Ipad generally transmits at... Did you look at 2 and 4? Yeah. I'm sure you can find the... Yeah. It's got a free-to-flow energy device that you can definitely describe. Good. I don't believe that. So, yeah. I didn't want that much. So basically normally the interface just... shoots. Maybe I will just use this. Can I just start at the bottom? Yeah. I'll see that and what you have. Yeah. So all the C cells that we observe are these frequencies. 2.412. Yeah. Maybe I should switch to this sequence. If I can. That would be... AP1... Okay. That's probably included so I can understand. But if I... Why don't you put the twist next to it? I've got the BLE device. Yeah. Let's put it next to it. Which frequency? 2.40. It's got channel hops around. BLE channel hops around. Yeah. Okay. So do you remember the... So there is obviously something here. This is something there. Yeah. Wow. I think it's heavy. It's a nice bag. So obviously if you don't send the packets there is nothing here. So it doesn't need it. But for stuff like Brutal Bear, they will keep sending heartbeats. So you... Yeah. Maybe I should have a better home. Because this house basically... I think it reports too early. Because Brutal's normally gives these packets every few hundred minutes. For two or three or four minutes. It's okay. Does it help? It's okay. It's okay. It's okay. It's okay. It's okay. It's okay. Because I changed the frequency. So actually when we send it, I think it must be a good one. So what do we do next? Maybe change the frequency. Maybe I will just disable the other widget. And just use the word. Oh, because if you're... You're only trying to get it to white. You only sound like trying to get it to white. Now I don't smell better. Because that's the typical case. If you don't sample enough spectrum, you're kind of disappointed. Thank you very much. This one will report your transit number. Yeah. Obviously I need to find the examples. Right? Yes. Guys, can we do Q&A after? So we'll go through the speakers. We can take questions after our mic. Thank you. Good evening, everyone. My name is Ben. It's my first time here. I'm so nervous. Just let me... I have a caveat that I am not a hacker. I have not done any hardware stuff. But I imagine... So with that as a starting point, a bit about myself how it looks, is that I teach web programming in schools. And it's part of this IDA Smart Nation project. I'm a private contractor with IDA. And I'm currently teaching about 10, 15 schools from primary school to secondary as a JC in coding. So really you only get kids to be exposed to coding. And hopefully get this movement pushing it for more than just about web apps, as well as in other areas. So this is what I'm doing full time at the moment. And I came across this product was very... It's my chance because I was thinking, okay, kids are learning programming and stuff. And some schools... I'm a businessman as well. I need to get the schools to sign up for the course so the IDA will pay me. So I do go to schools to pitch for them to take our courses. So the good thing about the program is that the schools don't pay me. As far as they sign up and IDA approved, IDA will pay the company. So that's a sweet deal for the school. So the school now has to choose, you know, why do I want my kids to learn web application development? What if they want to do robotics? What if they want to do mobile apps? Okay, fine. I only have, you know, a bag of tools. But if I can teach everything with just one set of skills, I think it would be fantastic. So looking at that, I came across a Google answer. What if I can... Is there a private controller that I can use to teach students programming using JavaScript, you know? So if they were to learn very basic web development in the beginning, they learned a bit of HTML. They exposed a bit of JavaScript. And from there, they have built a base. And now they can learn to use the same skillset to learn hardware programming. I think it's fantastic that they can go and explore and be creative. And I came across this product called Castle. And surprisingly, it was only recently crowdfunded successfully last year or year before. And I just went ahead to order a set and to play around with it. And I was really, really surprised that it was so easy. And before I know it, I wanted to order an adana set, but they said that, oh, sorry, version two is coming out, you know? So save your money. Right, so right now, this is the castle, the castle board, pretty small thing. I bought the... I'm not a salesman. This is sharing. Price-wise, I thought it was a little bit high, but if you look at the time I saved on learning, it's worth it. So the starter kit for this is... comes with four modules. This is a baseboard as per an Arduino. It comes with 32 Mac of RAM, a Wi-Fi chip built-in, four of these ports, I don't know what to call it, and some GPIO stuff. I'm sure you guys are more familiar with it than me. Four modules. I think you have an ambient in the camera. You also have an accelerometer. Oh, five, I'm sorry. You control the servo. You've got a... The accelerometer got the servo controller, and you've got a climate controller. So, treat deal. You've got five of these, and it's for US 170 for the whole set. The baseboard, if I'm not wrong, they are now like this tassel too. They have changed the design a little bit. Instead of four of these ports, they only have two, but they give you two other USB ports instead. So it's much more... cheaper, it's only $25 now, instead of $100 and something. But only available in August. So let me just show you and demonstrate, and welcome you guys to come and play around with it later on, because you guys will do a better job than me. Okay, so all you have to do is to run... Let me show you the code first. For those of you who are a bit more savvy, the very basic one that you would do is the hollow wall or hardware would be the blinky code just to bring a few LEDs, as simple as this. In JavaScript, it's just calling require a tassel module, and then the LEDs are in arrays, zero and one output, and that's it, and run it. And to run it, it's as simple as using a terminal. We're going to run this... I got a blinky script, it's tassel run blinky js. That's it, I'm just going to run it, and you can see blink, it's compiling. That's it, it's blinking, and it's logging it out. Quite as simple as that. Two LEDs, yeah, and you can set the interval, I mean it's very simple and basic, so nothing, no rocket science, it's just, okay, console log the message while I can blame, control C to start, and LED toggle on and off at 100 milliseconds, you can set it to 100, so that's on port A. Sorry, this is only on the board. Now I'm going to demonstrate the other one, which is the ambient. Now ambient chip is able to detect the levels of noise and light. Right, and it is, I'll show you the code, all right, that's simple. It's understandable, that is to me. It uses the ambient LED, requires this thing, which you just have to do an ambient install, simple as that, and then when it's ready, you'll get light interval, then you will just log light interval, the data comes back to you, the promise, light trigger as well, and then it'll sound same thing, all right, so I'll just run it again, all right, that would be ambient, okay. So what, it goes a little bit, I think there's a bit of background technical stuff like this, I'm reading it as a third party, so I'm not too sure how it works, so I think they use a lower code to do it, and then they just wrap JavaScript around it, so that's how it works, apparently. Okay, so now it is logging the sounds, to shut, if something happens to sound, the level goes up and it locks it, so basically, it's not too bad, and stuff, okay, and pretty much one of one stuff, and the last one, I'll just demonstrate, would be, so basically, it just uses port A, right, so now I'm going to port the camera script, which will use port B, I plug port A to ambient, now port B would be the camera, and I'll try to take a picture of you guys with this, okay. The quality's pretty sucky, but I think as the learning tool is good enough for the price, so all you have to do for the camera is that, once you run the script, it will take a picture, camera will take a picture very much like what you use for your mobile app, kind of a Colorado or stuff, that picture, right, so I'm going to run the script again, and this calls for, that's all, run the Javascript Camera JS and where to save the files to our directory, so everybody, I like blinks smile, all right, okay, it's done, it's taken a bit, so let's see, it's somewhere here, this guy, yeah, some just now, this is the one, no, this one, it was just now, yeah, so it's taken somewhere there, right, oh, there you go, just now, yeah, this one, oh well, it happens, me in China, okay, so, any questions for me? I can't answer much, but I'll try as much as I can, is that still on the page before, it says no JS and Javascript? Oh, okay, right, right, um, put it up, up the page, top, top, no JS, slash my OJ, yeah, that's right, yeah, so what is that, put it into the, okay, to install this, this fella, right, you get good documents, um, it was all, it was all good, it was technically not good, like, you're doing require blah, require blah, so that is running on the, no it's not, so you write code in Node, or Javascript, yes, yeah, and then it compiles it to Duo, and then it runs DuoJ on the board, on the Macro controller itself, which then takes the Duo code and runs it, right, it's, well, it's kind of like running Javascript on the Macro controller, although it's not really, because you can't really run V8 until it's available, right? Sounds French to me, but it makes sense to me, V8 is like, ridiculously, yeah, so all the most are installed using, uh, Node.js, just do an npm install, and you can just install it, spray away all the modules, and just run it as simple as that, install it, just, uh, my question is, is this that's not true to creating for the sole purpose of education, or is it better? Apparently it's not, um, I mean for me, I use it for education, but apparently, if you were to look at what they are doing, in the business plan, um, is that, you know, after they sell you all the stuff, right, they are able to, um, provide a service for prototyping this club to production, so they would, um, I don't know, there's some price, price things here, like the manufacturer, prototyping as well, so I guess it is also part of the, uh, prototyping, uh, industry and stuff like that. Yeah, there is definitely, like, like, there are, there are some videos, not many, uh, on YouTube as well, um, I saw one that they use, just to look, uh, uh, with AngularJS, uh, flying drone, so, I don't know, yeah, so, it's, I can't answer the question, I wouldn't know, but I think, hey, attack it! Oh yes, there is a, it's built on the baseball, yeah, it's built on the baseball, yeah, uh, this is, I think only, uh, AMB, but the version 2 will have, uh, end as well, yeah, so, so you can run like, extended, like, like, requests or whatever, um, yes, yes, yes, let me, I think I did one experiment the other day, was it, client JS? Yeah, was client JS, um, I'm able to run, uh, oh, wow, that's all fixed. Yeah, so it could, uh, I can do a demo later on, you know, in the small circle, I can actually, uh, talk to you and stuff, uh, let's just run it, oh, I can't, I need to connect to the Wi-Fi, so, I'll be there, all right, okay, thank you, thank you. Okay, so, uh, this is my first, actually, this is our first uh, the technical details of things, and, I don't know how this, how these sessions work, so, I didn't prepare anything, actually, I actually thought I was going to go through the app we created, during the competition itself, so, I'll do that first, we'll just go through what we created, and then, uh, if you guys have any questions about how this works, uh, I'll cover those aspects. So, my, my team is just setting up our system. Okay, so, my motivation came for, uh, this project, so, we realized that a lot of us are busy in our daily lives, and, uh, we might have somebody we take care of, their medical health, maybe, maybe your parents, or your children, you're tending to their medical health, so, if somebody is having medication on a regular basis, and you're busy, there's a possibility that you might forget to get their medications on time, so, uh, we developed this, this smart medical job, which, is at the end of the user, who's the patient, or the person who's been taking care of, and, taking care of pills onto the job. Now, when the number of pills falls below a certain threshold, the caretaker, the person who's busy, and taking care of this person, gets a notification that the pills are falling below a certain level. So, then you can, uh, you can go on to purchase medicines on the application itself. And, that's, that's basically what our whole setup was about. So, I'll show you what we, oh, sorry, I'm covering everything up, so, I'll show you what we developed in, uh, after that I'll get into how the back end works, what's, what's happening at the back end. So, okay, so this is the application which will be at the end, okay, let me just stand over here. So, this is the application which is at the end of the caretaker. So, you have an account with, uh, our company, uh, whatever it's called. The name, the name of this app is Java. So, you have an account with this app, and you can log in, and then you can see the profile of different people who are taking care of. So, you have a couple of jars, he, uh, is holding, these are different medicine jars, and you can look at his mom as well, she has a couple of jars under her name as well. So, you have a couple of jars configured to each of, each person you're taking care of. And, uh, yeah, so let's, let's zoom into your dad.   So, it's all mixed up, this is just a demo. So, let's say, uh, this is medicine for diabetes, and say your dad is, uh, is consuming his diabetes tablets, and say he has a bunch of tablets at one go. So, I'm taking out some tablets from the jar, and, uh, what we actually pick out now is that your, your tablets have fallen below a certain threshold. So, yeah, so it gets communicated to a certain threshold. Now, you can, you can zoom into this jar and look at what details you need to look at about the medicine. So, you can see what it's actually doing. It's treating diabetes, uh, they're not using terrible problems, and then you can go on to actually purchase, uh, the medicine through the brain-tree app. So, that's what we're doing now. Now, we had another feature which we added to this application. So, we realized that when you say your dad is suffering from diabetes, and you're buying a medicine all the time for diabetes, or he's suffering from cancer, or some other ailment, you're more likely to sympathize with other people suffering from the same cause. So, we installed a feature here which lets, lets you donate to that cause which, uh, your loved one is suffering from. So, the app is smart enough to associate the medicine with, uh, the ailment and, and give you a, a notification to a great contribution to that, uh, cause. Now, once you identify the cause, the next thing we gotta do is to link you up with a couple of charities which, uh, work with that cause. So, we use a just giving application to identify charities which are, uh, associated with that ailment and give you a list of charities which you can donate to. So, that's the whole, uh, product which we came out with, uh, during the hackathon. Yeah. And I guess, yeah. You guys didn't bring the axe? We don't bring the axe. We're going to coin because we're using the axe. So, that's what the application was about. So, there are, there are things at the back end with respect to hardware as well as software which we can talk about. But since this is, uh, it's, it's more about the hardware over here. So, I'll talk about the hardware and these guys are really the experts at the software. So, if you have any questions about the software at the back end, what I used for the hardware was, uh, an Arduino and I have a weight sensor out here. So, I've wrapped it up neatly so that you can't see the load cell below this. But there's a load cell below this and I connect it up to the Arduino and, uh, signals are sent through Bluetooth to a controller over here and the controller actually is connected to the internet and it, uh, it goes through, it sends the messages of, that's how on a very broad level how things work in this system. So, the basic idea here was that let's say you are in a house and your dad is probably taking four or five medicines. He will literally have four or five jars. So, all those jars will be connected to this one controller and also what we realized during the course of development was that, uh, let's say I put my hand inside here and then take the medicine out. These, uh, to basically send the stabilized weight to the server all this kind of logic went inside the controller. So, uh, the idea is that this controller will probably sit in one house and all the jars will be connected to it and all the jars will be profiled for each user and medicine and through the phone we will take this data and monitor uh, eventually. Yeah. So, so each medicine, at least, I think a branded medicine or the generic ones have a fixed weight associated with it. So, uh, at the back end we created, uh, a fake database of each medicine with the weight associated and, uh, the ailment associated as well with the medicine. So, that was the database we used to identify what, what cause you could donate to and it also helped us identify how many tablets were left in the jar itself. So, we had the weight of the jar we know that the weight per tablet and we can compute the number of uh, tablets left inside the jar. That's the back end database.  Yeah. So basically when we designed the patient model we wanted to basically have some sort of prescription medicine that guy's using. So, our initial idea was to basically, uh, just get the jar automatically configured but since it was a hackathon we just basically put in one jar. But ideally what you could have is you could purchase these jars and you could basically feed in some sort of a prescription during the onboarding stage and then we use this prescription at the back end to basically calculate what is the weight of each pill and once we get a stabilized weight we calculate the remaining and if it drops to a low certain threshold we sort of know that this is getting over. Now the threshold can be changed so that is something uh, the back end allows. One of this improvement is that if you add the real time clock and the buzzer in the jar itself you can also program the schedule of how the medicine will take place and how are you going to do this. Yeah. That can make this smarter. The other thing is the other thing is we chose Bluetooth over other protocols because Bluetooth is quite cheap the model is quite cheap and you can shrink the entire you know boat size into a small ship so you can actually fit this inside a proper jar and then the jar becomes a product. And the jar obviously knows what it's built in it's built in. You can configure it so that was the onboarding step. Actually the jar doesn't work. So this is just a read down. So actually we are all like software guys so we kept the hardware part very basic. So the jar just has an ID which is which is sent to the server and the jar by the jar ID we are able to determine which medicine and what project. So the onboarding process where you add a jar is where you where you it's like when you set up your watch like smartwatch or something you would see new jar found which jar is for I don't know some medicine A and that's that's how it's done. So the jar is actually independent of what it contains. You could probably use it to store kitchen ingredients. Actually that you use when I was mentioning the jar next to the server I understand the exact mechanism but I think the phone has a proxy. Yeah. So this we have one device which acts as a controller. So by controller we mean that the jar which has a Bluetooth can connect to this and in a round robin fashion they each send their jar weight to the controller.  For this case the controller is a phone but we can actually use like something like the Amazon dash we can something like that a small device we put it somewhere in the house it just has an internet connection and a Bluetooth connection the only the last question about hardware you can connect to the internet you can find a bunch of ritual yeah this is the hardware this one that's the real hardware I think there are some photos think yeah yeah each person gets one act each person gets an act and I'm the only one holding a robot hand so I'm the strongest I look pretty you can see it deprived as you can imagine yeah oh good job yeah last talk it's hi should we go to that? yeah yeah okay ready okay who has a Raspberry Pi here by the way like almost everywhere awesome hey hey Rick Rick are you coming for this it's gonna be awesome he's doing a magic show yes he will okay so how many of you actually attached some hardware to your Raspberry Pi to the people of Part 6 okay well I mean I've attached I have this Raspberry Pi at home it plays back to the movies I download from the internet legally legally very legally and I use it to I use it so that when I walk by my screen I just walk in front of it and the screen just lights up and I also use it to power some lights above the screen and we we actually made it I made a stupid like video with a friend of how it all works Steppen Steppen came round and we were just messing around with it Steppen from paper he works with paper and and I think a lot not many people know it's quite simple to do something with hardware that's my relay I need some more I want to control everything in my house really with through my Raspberry Pi what what what it's like my so I'm not using any crazy tool chains I'm just using the all-powerful shell language using a GPIO binary from the wiring Pi like package something like that so without looking at the video I mean this is boring now it's boring what's the old houses shell language I have no idea it's basher so right when you're running on a shell you just run something like watch GPIO read all and you see all the the pins of your of the we call that the GPIO pinout and the PIR sensors actually attached to GPIO 7 so if you look at that zero value and I just go over here and yeah I mean that's just a start you can obviously build on that add relays and go nuts with it which you might want to do well one complaint about the Raspberry Pi is that unlike say an Arduino which is a lot simply you run a program in a loop the Raspberry Pi you have to run a whole operating system and you have to maintain it and that is a real pain in the ass oh no not anymore I don't know if you know what I do for a living but I maintain an operating system called Web Converger and I have now a soft launched Raspberry Pi version of Web Converger and what does Web Converger do it just loads up the web page it's free it's free it's open source but if you have a lot of them hopefully you'll pay for that but for you guys who are just obvious just have one at home it's very free and it's all open source and the cool thing about it is that it auto updates so you don't have to go there and do your packman or app get upgraded it just auto updates and you can add like little files like for example this is how basically my screen turn on service works I have who's familiar with system D one two the cool thing is you just drop a system C D service file in the ETC system D directory and it's super simple you just say display for X and you have a simple line that says when GPIO N number 7 rises i.e. goes from 0 to 1 Luther then just turn on the screen and it's and that's it and then you enable it and it starts up and boot it's super simple to maintain it's just that's it and the cool thing they don't really interfere with each other so you can have multiple services running on that same rising sort of and then you can have all the other cool things about Raspberry Pi it's connected to the internet the whole tool chain is very clean you don't have to like I don't know all these new Kickstarter projects have some weird tool chain that isn't quite free which freaks me out but everything here is pretty much free except maybe the OMX stuff which is for decoding MP4s but yeah it's it's pretty good I really like it like between the signal oh it's I mean it's really my new like for example let's do some crazy tests like I'm going to make it blank after five seconds now so the screen should blank five seconds he just didn't say oh not off well I mean that's how I said it I mean I could do it other way so just imagine that since it's sort of digital signage so if you had the sign say outside hackerspace you wouldn't want to on in the in the morning hours wasting power you would only want to on when someone walks in front of the screen so you would have the PR pointing out and as you can see it should be like fairly instantaneous the cool thing it's an interrupt value it's it's GPO if you could see all this thing is going to be annoying now I'm going to change it to 60 seconds or something but as you can see here it blocks here on this very cool little binary it blocks on that like GPO rising it blocks there if it once it is goes on zero to one then it runs exit DPI DPMS force on super duper simple no, no JS super little interpreters bash is stupidly fast and very easy to debug are you saying that you spawn a new process after the end of after you get a rising edge blocks up that's a few microseconds right there that's fast enough to be honest it's not about speed it's more about simplicity and that's the beautiful thing about using a unix environment and system D actually pretty nice too it's for managing lots of services so yeah that's my talk I hope so yeah you can you're very welcome to use make a virgin as a base for your little projects and and you'll have a super up to date system and you can play around with GPIO is it a good help good help yeah sure it is sure it is where can we get the Raspberry Pi builds for the rest of it in virgin you just like this might blow your mind and the internet might not work here let's see again on you're gonna watch what is it type github.com no do we have to compile it no cross compile no I know that that's not a plan why do you have a github yeah is it loading I don't want to because I don't want to compile binary I don't want to compile my own Linux it's a binary distribution based on archonics so when I pioneered on Web Converger I've done this a few years ago the whole root of this is actually checked in to get the whole root of this which is freaking brilliant so you have a total integrity of your whole system so you know if someone's hacked your system you can just go get status boom I know what's changed actually that's a horrible idea that's because it works it works it makes it it makes it very simple are you saying that this one is only meant for the Raspberry Pi two yeah what are the other new world modules that are coming out what do you mean the new one Raspberry Pi today isn't it what? well there are archonics ports for these devices but to be honest I can't be bothered I'm just focusing on Raspberry Pi 2 yeah so if we scroll down the setup is a little bit complicated well it's just as complicated as archics are you set up the fat partition for the Raspberry Pi 2 and the magic happens where you you basically add the github repo and then you just do a good pull you download the binaries and you reboot and you're away so that's it everything is absolutely transparent and every time I make an update you don't have to read some super change log or just believe what I said you can just go into the commits thing and see exactly what I've done so you can see if I'm a complete idiot or a genius hopefully hopefully yeah I hope you give it a try it should make your lives easier any questions what do you have a raspberry for? a raspberry what do you mean? a raspberry the reason why I chose archics are it's a simpler distribution and it's lighter weight packaging is way simpler and I like the system D integration because you know like making services, writing services like this that are basically just one line instead of like something with the RCD or whatever it is this is so much simpler and you have some really good tools to blogging checking the status and debugging it's really nice to system D so yeah and and also if you want a digital sign you can use it I mean how many of you guys have a screen at work you can show a web page and show some key metrics about how your company's failing or winning and hopefully you won't cause depression you should definitely consider a vaping roger thing for that task okay no only doing the arm-saving raspberry pi 2 at the moment if there was demand if you said Kai has a thousand dollars doing the O-Droid C1 I'd say okay because building the image is not so good is that if you it's a lot of scam where we have to buy a new brand for a pi 2 from them no the reason why I did choose the board concept in raspberry pi 2 is I don't know if you've run it it's not a scam if you've run the browser on the original raspberry pi it is horrendous now using I mean to be honest the webkit 2 on raspberry pi 2 is not great either but at least you have like one gig of memory so this is actually the available memory count so I can tell if there's a memory leak but yeah the browser sort of works in the raspberry pi 2 this is why I've aimed it for digital signage so non non very interactive type usage because if you use it as if you expect to use it like your laptop or something you're going to be sadly disappointed so yeah raspberry pi is even worse performance raspberry pi 2 we're getting closer maybe the raspberry pi 3 will be awesome thing even better and I will move to raspberry pi 3 I mean building the the weapon bridge image is fairly simple actually it's like building like a docker image in some ways I played with Haskell on ARS 5 and I must say that as long as you don't compile anything it's great yeah I won't do that Sheld's actually a pretty good language and it's very good that's a real brief very easy okay guys thank you for that alright think announcements yeah okay so guys before you go we have some announcements we've been approached by IDA so we are Hacker Space part of Suntory so they are calling for projects to be displayed on Hacker Space so if you guys are interested please approach me or Luther where I'm sorry it's on 25th of April it's at Suntack I believe so if you want more details what is Suntack today? Suntack today well basically it's the government's initiative of the smart nation so they want to introduce the public to technologies and stuff so yeah I'm going to forget what you said just now tomorrow yep I'll post it on Hacker Web so yeah you can reply in the chat Kai will be there so if you want to spend the whole Suntack I told you not to say that oh shit there won't be any room at all with Hacker Space okay and that the day right after that 26th there's going to be Hacker Labs so since you guys are like eaching to play with Kai's toys or whatever I think Shinmi can you yeah you want to let us know what will happen on 26th Fernvale Fernvale yes there will be a workshop so basically during Forsaken event we talked with Bunny and Xops and they were so nice as to tell at least Xops will be there for sure and Bunny maybe if his customers will not need him at the same very moment and they will give us a tutorial about how to upload our own it's $12 phone which is basically a single chip package that has Bluetooth, Wi-Fi, GSM second generation and many other pictures problem yes I mean 12 alluras is the whole package chip you can buy for 4 or 5 dollars I've just bought the watch smart watch with display and everything that cost like 30 same as Apple exactly this is maybe it's like I think the yellow color is different the point is that the price of 12 dollars you get something as capable as the Raspberry Pi maybe it's like it's over in Raspberry second generation but who's behind Fenmef Fenmef who's behind that this is Xops and Bunny Xops and Bunny so Bunny Pong is a well-known hardware hacker lives in Singapore and he'll be doing the workshop well Xops will be doing it for sure and Bunny might be coming very good Hackerspace you know Hackerspace just register on meetup.com event so we know how many kits to have because I'm guessing Bunny and Xops will be bringing along kits to lend out for you to play with and they'll take it back the background to the whole thing is that they found a 12 dollar phone in Shenzhen and they took it to pieces and then they said there's a really cool chip in here and they x-rayed it and then they just went completely opensource everything even though the documents are kind of confidential they're reverse engineered or many of the things like the hardware line and how to do this they've written their own bootloader or if you guys so Hackware Labs is a monthly thing also so this is the Fox and the Shenzhen thing if you guys want to take part in that you can actually just bring down your hacking at the same time so yeah a lot of activities are going on and actually is it in June? July I think July or not July so similar to Tech Saturday there's also make a fact when happening so Sign Center also approached us and say if you guys want to showcase our projects please so get your projects prepared and so you can make it for they have oh we'll do this stay one if that was in on May the 18th that's fine we'll do some Hackerspace Awesomeness just tell us that if you guys are interested you don't need to show us your project next Hackware? yeah if you guys have something to share for the next Hackware which will be on the second Wednesday of May like drones or anything like that location still not confident yet we will back up location Hackerspace yes so we started Hackerspace that's our Hackerspace but if you can find somewhere more awesome like with free drinks and anyone else who wants to sponsor please the most awesome hardware hackers in Singapore yep cool so anything else anything else anyone else anyone oh yeah thank you big dog oh yeah all right give all the tents people hi thank you very much see you guys next yeah