1 00:00:00,000 --> 00:00:04,417 [MUSIC] 2 00:00:04,417 --> 00:00:05,203 Hello, world. 3 00:00:05,203 --> 00:00:09,510 Andrew here, JavaScript developer and electronics enthusiast. 4 00:00:09,510 --> 00:00:14,260 In this workshop we're going to talk about the Internet of Things with JavaScript. 5 00:00:14,260 --> 00:00:16,860 Firstly, what is the Internet of Things or IoT? 6 00:00:16,860 --> 00:00:21,155 The Internet of Things is described as physical objects that have embedded 7 00:00:21,155 --> 00:00:26,170 sensors, software, and electronics that are connected to the Internet. 8 00:00:26,170 --> 00:00:30,280 Data is collected by or sent to the devices. 9 00:00:30,280 --> 00:00:34,910 Internet of Things devices can connect to the Internet in a couple of ways. 10 00:00:34,910 --> 00:00:39,635 Directly via WiFi or Ethernet connected to a router, or 11 00:00:39,635 --> 00:00:45,660 IoT devices can connect through a gateway device like a smartphone via Bluetooth. 12 00:00:45,660 --> 00:00:50,230 There are other wireless technologies too, like Zigbee and Z-Wave, 13 00:00:50,230 --> 00:00:52,810 where devices connect to so-called hubs, 14 00:00:52,810 --> 00:00:56,700 that in turn connect to your phone or Internet services. 15 00:00:56,700 --> 00:01:00,330 Let's take a look at some examples of IoT devices. 16 00:01:00,330 --> 00:01:04,770 There's the Nest thermostat that can be controlled remotely via an app. 17 00:01:04,770 --> 00:01:07,300 The Nest can also automatically adapt and 18 00:01:07,300 --> 00:01:11,890 program itself depending on your habits and as they change throughout the year. 19 00:01:12,940 --> 00:01:17,280 Samsung produced a line of security cameras that can connect to the Internet, 20 00:01:17,280 --> 00:01:21,770 so you can see what's happening when you're away from home or your office. 21 00:01:21,770 --> 00:01:24,996 It also allows you to speak to intruders, relatives and 22 00:01:24,996 --> 00:01:27,932 friends through a built-in speaker. 23 00:01:27,932 --> 00:01:32,000 There are a number of smart lock solutions on the market, which make it easy for 24 00:01:32,000 --> 00:01:34,380 you to lock and unlock your doors. 25 00:01:34,380 --> 00:01:39,210 Smart locks allow you to check your doors and lock them even when you're miles away. 26 00:01:39,210 --> 00:01:41,266 We all can get forgetful when we're rushed. 27 00:01:41,266 --> 00:01:47,390 AirBNB hosts often use smart locks to give guests digital keys that allow 28 00:01:47,390 --> 00:01:52,240 them to access their property for short amounts of time through their smartphone. 29 00:01:52,240 --> 00:01:55,770 IoT is being used in the medical industry too, for 30 00:01:55,770 --> 00:01:58,145 example, with smart glucose monitors. 31 00:01:58,145 --> 00:02:02,040 All your blood sugar history is stored online and can be shared with your 32 00:02:02,040 --> 00:02:05,790 physician, allowing more personalized and real time care. 33 00:02:05,790 --> 00:02:10,090 Fitness is another area that's seen growth in IoT products. 34 00:02:10,090 --> 00:02:13,850 Fitbit uses sensors to collect information on activity, and 35 00:02:13,850 --> 00:02:17,980 then connects to your smartphone to send that information back to the Internet. 36 00:02:17,980 --> 00:02:21,230 Not only does it help you keep track of your activity, but 37 00:02:21,230 --> 00:02:25,650 you can also work on your goals with your friends too, through social features. 38 00:02:25,650 --> 00:02:28,710 Have been creating smart mirrors that display calendar and 39 00:02:28,710 --> 00:02:31,270 weather information, amongst other things. 40 00:02:31,270 --> 00:02:33,800 This can be handy to remind you to take your umbrella 41 00:02:33,800 --> 00:02:36,260 on the way out if it's going to rain later. 42 00:02:36,260 --> 00:02:41,110 Retail stores can install smart signs that can be updated in real time. 43 00:02:41,110 --> 00:02:45,440 This is great for AB testing sales in physical locations. 44 00:02:45,440 --> 00:02:49,410 Amazon has a number of smart devices, like their Dash button. 45 00:02:49,410 --> 00:02:52,090 These buttons connect to your Amazon account, and 46 00:02:52,090 --> 00:02:54,870 reorders commonly used products. 47 00:02:54,870 --> 00:02:58,710 This technology is being built into devices like coffee makers and 48 00:02:58,710 --> 00:03:00,170 washing machines. 49 00:03:00,170 --> 00:03:03,980 Lighting is another area that is being connected to the Internet. 50 00:03:03,980 --> 00:03:07,510 Imagine being away from your home longer than you expected. 51 00:03:07,510 --> 00:03:09,790 With Internet connected lighting, 52 00:03:09,790 --> 00:03:13,030 you can switch on your bulbs when you're away to look like you're home. 53 00:03:14,270 --> 00:03:16,270 With the combination of big data and 54 00:03:16,270 --> 00:03:21,960 IoT, farmers are able to use algorithms to generate better crop yields. 55 00:03:21,960 --> 00:03:24,880 The automotive industry are making you safer 56 00:03:24,880 --> 00:03:28,760 by alerting emergency services if you're in an accident. 57 00:03:28,760 --> 00:03:30,660 Climate researchers can deploy cheap, 58 00:03:30,660 --> 00:03:35,730 inexpensive sensors to get approximate readings over vast distances. 59 00:03:35,730 --> 00:03:38,700 If any of their weather stations report back interesting or 60 00:03:38,700 --> 00:03:43,255 peculiar readings, they can go out and get more detailed readings. 61 00:03:43,255 --> 00:03:47,410 Both commercial and consumer electric meters can help you monitor energy 62 00:03:47,410 --> 00:03:53,140 consumption and give you suggestions on how to save electricity and money. 63 00:03:53,140 --> 00:03:57,370 On production lines, sensors can be triggered when things go wrong. 64 00:03:57,370 --> 00:04:01,310 If they're connected to the Internet, they can alert who needs to know immediately, 65 00:04:01,310 --> 00:04:04,060 so that they can come and fix the issues. 66 00:04:04,060 --> 00:04:08,300 In the next videos, we'll start looking at the solutions available for 67 00:04:08,300 --> 00:04:10,580 JavaScript and the Internet of Things.