Introduction to IoT | IoT Projects-Smart Chair | IoT Tutorial for Beginners | IoT Training | Edureka



hey guys this is Byron Ephraim in Eureka and introduced training session will understand why is Internet of Things the next big revolution so let's have a look at the objectives of today's training we'll start off by understanding what exactly is Internet of Things and then we'll have a look at the evolution of Internet following which will go through the IOT architecture and further look at the different development boards used for IOT and finally we'll implement the concept of smart chair using Raspberry Pi 3 so guys over here with the objectives finally give me a confirmation by writing down the chat box okay so Ravi says his cue so the Sam Pallavi has a question she asks as Arduino and IOT development kit well yes and no Pallavi Arduino is actually an open source hardware and software company which manufactures single-board microcontroller to build your own IOT devices so I hope this answers your question Pallavi all right so Pallavi says yes all right guys now I'll take you through a Eureka's IOT certification course in this course you will learn how to develop IOT solutions using sensors and components integration you will be implementing IOT in Big Data and understand the utilization and modeling of extracted data a use cases and hands-on included in this course will help you understand how the IOT technology is going to change the future and by the end of this training you'll learn the roles and responsibilities of an IOT developer right then let's get started with a session now what do you understand by the term Internet so Internet is basically a network that is formed by connecting computers globally Internet provides data highways to share information over the network from one place to another in the entire world now when you expand the capability of internet from connecting computers globally to connecting several small electronic devices Internet of Things is formed so basically smart devices with smart creativity creates IOT now let's look at IBM's definition of IOT according to IBM Internet of Things is the concept of connecting any device to the Internet and to other connected devices Internet of Things is a giant net to work of connected things in people all of which collect and share data about the way they are used in the body environment around them so now that we understood what exactly is internet of things I will go ahead and look at the evolution of Internet so in the pre-internet era most of the human to human communication was through fixed and mobile telephony the problem with landlines worse you had to book a call with the operator and they would connect you when possible so sometimes it could take hours or even days and then with the origin of Internet the world changed at once it provided a mechanism for information sharing without regard for JA graphical location you could be continents apart and still share vital information just the click of a button and after the invention of blogging social media began to explode in popularity sites like MySpace and LinkedIn gained prominence in the early 2000s YouTube came out in 2005 creating an entirely new way for people to communicate and share with each other across great distances and by 2006 Facebook and Twitter both became available to users throughout the world today there is a tremendous variety of social networking sites and many of them can be linked to allow cross posting this creates an environment where users can reach the maximum number of people without sacrificing the intimacy of person-to-person communication and this is all fine with the computers and therefore the Internet are almost wholly dependent on human beings for information nearly all of the data available on the Internet today was first captured and created by human beings by typing pressing the record button taking a digital picture or scanning a barcode the problem is people have limited time attention and accuracy all of which means they're not very good at capturing data but things in the real world and if we had computers thank you everything there was to know about things using data or the gadget without any help from us we would be able to track and count everything and greatly reduce waste loss and cost you would know when things need replacing or repairing and whether they were fresh or past their best and this gave both through Internet of Things by now you might have understood that IOT is not just internet connected consumer devices in fact IOT is the technology that built systems capable of autonomously sensing and responding to stimuli from the real world without human intervention therefore need to develop a process flow for a definite framework of which an IOT solution is built so a thing in the context of the Internet of Things is an entity or a physical device that has a unique identifier an embedded system and the ability to transfer data over a network these things are equipped with sensors and actuators thus giving the ability to emit accept and process signals sensors of those devices which convert information from the physical environment into a signal and the actuators are those devices which act on the signal from the sensors and converted into output these things for the send the collected information to hardware components such as Arduino you know and Raspberry Pi the data from the sensor starts in analog form which needs to be aggregated and converted into digital streams for the processing downstream data acquisition systems perform these data aggregation and conversion functions these data acquisition systems often set in close proximity to the sensors and actuators for example a pump might contain a half-dozen sensors and actuators that feed data into a data aggregation device but also digitizes the data and there would be an adjacent gateway device or a Cir word which would then process the data and forward it to the next stages once IOT data has been digitized and aggregated it's ready to cross into the realm of IT however the data may require for the processing before it enters the data center IT processing systems may be located in remote offices or other edge locations but generally we said in the facility or location where they reside closer to the sensors such as in a wiring closet for example rather than passing gone raw by bration data for the pumps you can aggregate and convert the data analyze it and send only projections as to when each device will fail a neat service data that needs more in-depth processing and where feedback doesn't have to be immediate gets forwarded to the physical data center or cloud-based systems where more powerful IT systems can analyze manage and securely store the data you can execute a more in-depth analysis as well as combine the sensor data with data from other sources for deeper insights stage 4 processing may take place on premise in the cloud or in a hybrid cloud system but the type of processing executed in the stage remains the same regardless of the platform so that was the IOT solutions architecture now we'll go ahead and look at the different IOT development boards so we'll start off with Arduino so Arduino is an open source platform used for building electronic projects it consists of both a physical programmable circuit board and a piece of software or IDE then we have a Raspberry Pi raspberry pi is a credit card sized computer originally designed for education and inspired by the 1981 BBC micro why is a single board computer which is based on a Broadcom system of chip with an ARM processor of around 700 megahertz a GPU and 256 to 512 mb ram the cost of a pi is around $35 for a B model and it's available through many online and physical stores we also have Intel Galileo Intel Galileo is the first in the line of Arduino certified development boots based on Intel x86 architecture it is designed for the maker and education communities it is the first board based on Intel architecture designed to be hardware and software pen compatible with shields design for the Arduino you know r3 the dose for some of the development boots used for IOT now we'll go ahead and understand how to configure raspberry pi so first step would be download there has been operating system from raspberry pi dot o-r-g so let's go ahead and do that so we would have to download this raspbian operating system i'll download this zip file now after downloading there has to be an operating system we are supposed to load it onto our SD card and before we do that we'd have to format the SD card so we'll go to this site SD card dot o-r-g to download the SD card format oh now the software is available for both Windows and Mac systems and since I'm using a Windows system I'll download it for Windows I'll go ahead and accept the license agreement and the download starts now after formatting the SD card we would require a disk imager so that you can flash the operating system onto our SD card so we'll go to sourceforge.net and download the win32 disk imager again I'll click on download and the download would start now you would require a graphical desktop sharing system so that who can connect with the Raspberry Pi using a graphical user interface so real VNC is one such software which helps us to work with Raspberry Pi with a GUI so I'll click on download BNC viewer and the download would start and after performing all of these above steps we can finally insert the SD card into the Raspberry Pi and connect the power cable to the PI and as soon as you connect the power cable to the PI it would start searching for open Wi-Fi networks so what we'll do is we'll turn on the hotspot in our system and the Raspberry Pi will connect to our computer's Wi-Fi and once it gets connected to our computer's Wi-Fi you can see the dynamic IP address of the Raspberry Pi now we'll take this dynamic IP address and put it down in the dialog box or the view NC viewer now when we do this this gives us the graphical user interface to work with the Raspberry Pi so let's go ahead and do that so I'll go to settings and I see that the Raspberry Pi is already connected to my Wi-Fi network and this is the dynamic IP address of the Raspberry Pi so I will take this IP address and put it down in the dialog box of VNC viewer now this gives me the GUI – ok transferee now we go ahead and understand the concept of smart chair when it comes to smart chair you can do much more than just sit on it let's have a look at the applications of smart sure so it's my child you can save money on electricity and air conditioning costs there would be a program running on the cloud which would keep checking if all the seats in the office floor are weakened for a specified amount of time and the sensors in the chair would interact with the sensor in the lights and air-conditioning systems and turn them off another application of a smart chair would be to find the we concede in an auditorium locating a particular seat in an appreciably large auditorium can be a daunting task particularly when the hall is only partially full and people are standing knowledge of vacant seats will be of immense help to audiences who do not have designated seats knowledge of seat occupancy will also provide event organisers with data about seat occupation and attendance patterns over time another funny you note you can also put the IOT device under your boss's chair so that you get to know if your boss is in the cabin or not and when he's not around you can happily take a nap so let's go ahead and build our own IOT based marcher I'll be working with the Raspberry Pi since had to build a Smasher the sense had features an eight cross eight RGB LED matrix a mini joystick and sensors gyroscope accelerometer magnetometer temperature sensor humidity sensor and barometric pressure and this is the Python code which would help us to find out if the chair is empty or not let's go to VNC viewer and understand this code properly so this is the code motion or py let's understand this so what we are doing is we are importing the sense hat package and we would need the sense hat package so that we can work with the sense hat on top of the Raspberry Pi we're also importing the time package so that we can put the Raspberry Pi to sleep after importing these two packages you are writing the entire code inside this class which you name to be sensor detection and inside this class we are reading the values from the sense hat and storing those values in the sense variable now what we'll do is we'll keep on reading the values from the accelerometer and store it into the acceleration object now from this object we'll take the values of x axis y axis and z axis and store it into X Y and Zed variables respectively now these three variables would represent the values of XY and z axis and after that we'll round the value of x to its zero a decimal place similarly well down the value of y to it zero a decimal place and we'll round the value of said to its first decimal place and after that we'll print the values of x y&z after printing the values of x y&z we'll put the raspberry pi to sleep for two seconds so what we're doing this will print the values of x y&z and then the raspberry pi will sleep and after sleeping if the value of Z is greater than or equal to zero you'll get a message saying that the chain is empty or on the other hand if the value of said is less than zero then we'll get a message saying of the chair is not empty that is if the chair is empty and that would mean that the said axis is positive but what happens when someone comes and sits on the chair is the chair tilts back and because of the inclination the z-axis has negative value now and thus we get the message chair is not empty so let's go ahead and run this command in our terminal we can run the code or with this command so we will say Python motion dart py and the code dog will start working so what we see over here is these are the values of XY and Z and after printing the values of x y&z we get a message saying that the chair is empty now if I'd want to run the same code on my phone I would require an ssh client so one such ssh client available for both Android and iOS phones as a terminus app so I'll go ahead and download the terminus app for my android phone after downloading this I'll go ahead and execute this code on the phone so now as you can see I have run the motion dot py code on my phone so I get the x y and z axis values so along with those axis values I also get a message which tells me the chair is empty so now my friend is going to come and sit on the chair so as my friend sits on the chair we see that there is a change in the value of the z-axis and also the message has changed now we see that the chair is not empty so thus we have implemented the concept of smart chair with the help of the terminus upon of phones so this brings us to the end of this video so we started off by understanding what exactly is IOT and then we look at the evolution of internet following which we looked at the IOT architecture and then we look at the different IOT development boards after which we configured our Raspberry Pi and understood the motion dot P UI code with which we found out of the chair is empty or not so hoping that you liked the video thank you you

11 Comments

  1. edureka! said:

    Got a question on the topic? Please share it in the comment section below and our experts will answer it for you. For Edureka IoT Course curriculum, Visit our Website: http://bit.ly/2Qlej4v

    May 23, 2019
    Reply
  2. Pravin Chafale said:

    I want to operate the Hot furnaces from mobile. By using iot how can i do for that. Plss tell about tgus

    May 23, 2019
    Reply
  3. Praveen kumar said:

    Good

    May 23, 2019
    Reply
  4. sh1mz 9 said:

    How Can I make my own microcontroller like Arduino?? Is it worth to design by ourselves rather than buying it ..??

    May 23, 2019
    Reply
  5. Tanim Hasan said:

    do i need to install vnc server on raspberry pi to remote in ???

    May 23, 2019
    Reply
  6. KARTHICKRAJA M said:

    In 11m 35 sec onwards Awesome
    I was so impressed
    monitor.py

    May 23, 2019
    Reply
  7. Rajesh Parjapat said:

    What are the prerequisite to learn iot, do we need to learn Python language first to learn iot concept.
    Pl suggest

    May 23, 2019
    Reply
  8. KARTHICKRAJA M said:

    Awesome
    Pls post this type of video
    You are Created Interest on IoT

    When I was studying programming I feel very easy but I am not getting chance to working my programs

    What was x,y values?

    Pls hire VFX,2D or Animator Person to explain this concept

    Then I will understand and remember in better way

    May 23, 2019
    Reply
  9. Himanshu Singh said:

    which is better for iot? arduino or raspberry pi

    May 23, 2019
    Reply
  10. Sumama Nadeem said:

    diff b/w iot and ai?

    May 23, 2019
    Reply
  11. Harish Venkatesh said:

    What is big data?

    May 23, 2019
    Reply

Leave a Reply

Your email address will not be published. Required fields are marked *