 Is it working? Have you been here? Yeah. So, IOTA of IOT. It's my talk's name, like I named it. There are two reasons why I named it. One is because IOTA is one of the letters in Greek and I'll be talking all about basics of IOT, Raspberry Pi and Pi Beacons. Okay. And the second reason is it sounds very cool. So, I'm Prabhanshu A3. I'm a software development engineer at Zomato and from India. So, I'll be talking about basics of IOT, what's IOT, what's Internet of Things, Raspberry Pi and Beacons and what I did with Beacons, a little bit about that. So, what's IOT? IOT is connecting every device's world around you, like the chairs, the cameras, the lights and everything connecting to Internet so that you can have context anywhere and everywhere so that you can get connected and get control of them. You can control the things from your office, the things at your home from your office. That's the IOT, that's the Internet of Things, connecting everything. And, like, it started in 1982 when, like, at CMU, some people connected the Coke vending machine to Internet and they can see the inventory of that machine and then in 2012 and 2016, it just, like, escalated the process. Like, everything got trying to get connected because analytics came in, big data came in and new things came up. So, this is just an example how, like, how you can get your fridge connected and it can tell you that you need milk. It's not there. So, there were three phases, three waves. Like, initially, it started with the electronics or consumer-based electronics because if you enable the consumer-based electronics and connect them to the Internet, the consumer will buy it. And that's where the industry comes in, like, industry brought these things to their consumer-based devices. The second wave, when they found out that these things can help really in industry as well, like inventory management and everything, then they started connecting these things to their device at the industry level. And the third thing, third wave, is when everything is connected. So, I guess Singapore is somewhere between second and third wave because they have almost everything got connected and they are working on this. So, it's kind of, it becomes a little bit creepy because if your devices are connected to Internet and if you can control it from somewhere else, somebody else can also do it. And if you are using third-party platform or, like, let's say Google's platform, then Google can look it into a data and that's where it gets creepy and you get advertisement based on your context. So, the next thing is how you can start with the IoT, Internet of Things, because it's all hardware and not everybody has the knowledge of hardware. I'm a software engineer and I have less knowledge about the hardware because that's where I get messed up. So, I started with two things. Like, there are two boards, Arduino board and Raspberry Pi. They are just devices here. So, this is a small computer and Arduino is a less powerful computer than this. I'm showing you, I'm de-assembling this. Yeah. So, this is the small computer. You just connect your screen here. This is the HDMI port and this is the, like, everything here. So, these are the pins. You can connect your sensors, how you can detect things around. You can connect your USBs, LAN, and this is the Raspberry Pi 3. So, Pi 2 didn't have the Wi-Fi and everything. Now, this has Bluetooth as well as Wi-Fi. So, for $35, you can get your own computer and play around, because starting with, like, learning with computer, like a laptop, you won't get that much knowledge because you're not building everything on your own. But with Raspberry Pi, you're assembling it and you're doing things and it won't break. Even if it breaks, you won't lose much money. So, that's the concept of Raspberry Pi and you must have seen, how many of you have seen the Mr. Robot series? Mr. Robot. Yeah, like, you must have seen, the Raspberry Pi is there. So, the protagonist, what it does is, he programs the Raspberry Pi, goes to a, like, power station and just assembles it there and then he can hack the system right away. So, that's where you can see the Raspberry Pi as well in work. So, it's small hacks you can work on. So, the next thing is about sensors. Now, you have a computer. How do you connect the real world with the computer world? It's just not computer to computer, machine to machine communication. It's real world to machine communication. So, sensors come in and other things come in. So, let's say you are blindfolded and you are walking. How will you know that this is a Newton Hall or this is a Dalton Hall? You will not know. You need someone to tell you that go right and then do this because you are blindfolded. You cannot see. Your phone in your pocket is feeling the same way right now because without GPS or even with the GPS, it doesn't know what all is there around this place. So, if it doesn't know what all is there, the device cannot help you that much. So, that's where Beacon comes in. So, it's a BLE Bluetooth Low Energy Devices. I'll show you one. There are many things here. So, these are the Beacons. They are small devices, Bluetooth devices. What they do is they throw unique IDs around you and they don't need connections for your devices to get connected. So, if I don't need connection, I'll need less power. So, they are like the lighthouse. They are just beaming the light out. They are just beacon of light exclusively for machines. So, they tell the devices that this is the unique ID and you are here. So, if the device knows, your application in the device knows that this is the unique ID assigned to this particular place, the device knows where you are. And it has interesting implementations worldwide like in every industry. So, in Germany, they are really using it for e-commerce and commercial like you go into shop and you know what this product is. So, what if you go and you pick up a shoe and your device, the application knows you have picked the shoe and it's near you. So, they keep on popping you, giving you offers with it. So, you are getting contextual advertisement as well. And then Google, this was started with the iBeacons. Apple started with iBeacons. That's where it was introduced and Google came up with different things. This is the Eddystone protocol. This is the Eddystone URL logo. So, they came up Eddystone protocols. Those protocols, what they do is they are a little bit different from iBeacons. They have other thing as well like throwing out URLs. Just a page URL, nothing else. Instead of giving a unique ID, because when you are giving a unique ID, it's a hash, it's just random letters. And as a person, you won't know what's this device knows it. You need an application for that. But with Eddystone URLs, your Android devices can know this is the URL I need to redirect the user to this place if he wants. So, right now my iBeacons are like throwing two URLs. One of them is to this presentation. No, one of them is to a repository and one of the URL goes to my blog. So... Okay. Do we have any other speakers in the room? I could do something else. Okay, but keep going but... Okay, I'll switch. It's supposed to be five minutes or well over that. Sorry, sorry. So, right now if you have the nearby enabled, it shows you URLs and your Android devices. You can right away go to it and visit things and everything. And then what I did is, these beacons cost you money. Like these three beacons, it cost me $100 in India plus tax customs. So, while these were in transit, I started developing a package for Python where you can convert your Linux machine into a beacon. Right away, you don't need anything else. You just need a Linux machine with a beacon, with a Bluetooth device. So, it works with Raspberry Pi, it works with your system, it works with everything. It's called Pi Beacon and these are the repositories and the code was merged with Google and they have the code, but the upgraded version is with this URL and that's what I did. And it's a simple command, like pipe install Pi Beacon and you have the Pi Beacon. Pi Beacon minus minus help, you get all the help, how you can enable the beacon and how can you get started? That's it.