IIOT class17

Enovate Skill E-Learning
14 Jul 202435:52

Summary

TLDRThis video script covers an IoT-focused class discussing the transition from Bluetooth to Wi-Fi modules for remote device control using Arduino and the RemoteXY cloud service. The instructor guides students through setting up a mobile app, configuring hardware interfaces, and uploading code to Arduino for controlling appliances. The class also addresses an upcoming quiz based on the material covered in the live sessions, which are available on YouTube for review.

Takeaways

  • πŸ“… The class originally scheduled for 5:30 was rescheduled, and the topic discussed was the use of hardware, specifically Arduino plus a Wi-Fi module, for IoT applications.
  • 🌐 The transition was made from using a Bluetooth module with the remote XY to a Wi-Fi module to connect with the internet for remote control capabilities.
  • πŸ› οΈ A mobile app was designed for controlling appliances via the designed interface with different pin options for various appliances.
  • πŸ”š The last class will be followed by a quiz, which is mandatory for all participants, and the schedule for the quiz will be updated according to the participants' convenience.
  • πŸŽ₯ It is recommended that participants watch the previous class recordings available on the YouTube channel for better preparation.
  • πŸ”§ The setup process for the Wi-Fi module involves selecting the correct module in the app, configuring the hardware interface, and setting the board rate.
  • πŸ“‘ Connecting the Wi-Fi module to the internet requires entering the credentials of the available Wi-Fi network, such as the SSID and password.
  • πŸ’» Arduino software is used to upload the program to the Arduino board with the Wi-Fi module, following a process of verifying and then uploading the code.
  • πŸ”„ The process involves troubleshooting steps, such as reconnecting the hardware and ensuring the COM port is correctly identified in the device manager.
  • πŸ”† Demonstration of controlling an LED using the mobile app through IoT, showcasing the capability of remote control over the internet.
  • πŸ“ The class also covered how to send sensor data to the cloud using the Arduino board, Wi-Fi module, and Thingspeak cloud service, with an example using a DHT1 sensor.

Q & A

  • What was the main topic discussed in the class?

    -The main topic discussed in the class was the use of hardware, specifically Arduino with a Wi-Fi module, and how to connect it to the internet using IoT for controlling appliances.

  • Why was there an inconvenience for the participants?

    -The inconvenience was due to the class being rescheduled from the originally scheduled time of 5:30 to a later time.

  • What is the significance of the cloud in the context of the class?

    -The cloud is significant as it is used with the remote XY to connect the hardware to the internet, allowing for remote control of appliances using IoT.

  • What was the previous module used with the remote XY before the Wi-Fi module?

    -The previous module used with the remote XY was a Bluetooth module.

  • What is the purpose of the mobile app designed in the class?

    -The mobile app is designed to control appliances remotely using the internet, with features like selecting pins for control and switches for different pin numbers.

  • What is the final class activity mentioned in the script?

    -The final class activity mentioned is a quiz that will be based on the content of the classes uploaded on the YouTube channel.

  • How can the participants prepare for the quiz?

    -Participants can prepare for the quiz by watching all the previous class recordings available on the YouTube channel.

  • What is the process for connecting the Arduino with the Wi-Fi module to the internet?

    -The process involves configuring the setup by selecting the Wi-Fi module, setting the hardware interface, board rate, Wi-Fi name, password, and Cloud Server token in the mobile app, and then applying the setup.

  • What is the role of the Cloud Server token in the setup?

    -The Cloud Server token is used to establish a connection between the Wi-Fi module and the Cloud Server, enabling the module to send and receive data over the internet.

  • How can the participants check the status of their hardware connection to the internet?

    -Participants can check the status of their hardware connection to the internet by going to the Cloud Server in the mobile app and viewing the connected devices.

Outlines

00:00

πŸ˜€ Introduction to IoT Class and Rescheduling

The instructor begins by apologizing for the inconvenience caused by the rescheduling of the class, originally planned for 5:30. The session's focus is on the hardware setup for an IoT project, specifically using an Arduino with a Wi-Fi module and the cloud service 'Remote XY'. The importance of connecting to the internet via Wi-Fi instead of Bluetooth is highlighted. The instructor also mentions the design of a mobile app for controlling appliances and informs participants about the last class, an upcoming quiz, and the importance of watching the class recordings available on YouTube.

05:01

πŸ”Œ Setting Up Wi-Fi Module and Cloud Server

This paragraph details the process of setting up the Wi-Fi module for the IoT project. The instructor explains how to connect the Wi-Fi module to the internet by providing the credentials of a Wi-Fi network. The setup involves selecting the Wi-Fi module type, configuring the hardware interface, and setting the board rate. The Cloud Server setup is also discussed, including the creation and selection of a token for the connection. The paragraph concludes with instructions on how to get the source code and upload it to the Arduino software.

10:04

πŸ“± Mobile App and Wi-Fi Module Integration

The instructor demonstrates how to integrate the mobile app with the Wi-Fi module for remote control of IoT devices. This includes configuring the mobile hotspot, opening the Remote XY app, and selecting the Cloud Server option to connect to the internet. The process of checking the Wi-Fi connection and the Cloud Server for device connectivity is also covered. The paragraph emphasizes the ability to control appliances remotely using the mobile app, regardless of the physical distance from the Arduino board.

15:05

πŸ’‘ Controlling an LED with IoT Mobile App

The paragraph showcases a practical demonstration of controlling an LED using the IoT mobile app. The setup involves connecting the LED to the Arduino board and using the mobile app to turn it on and off. The instructor explains how this setup can be expanded to include various sensors and appliances, such as a relay module for AC control. The focus is on the simplicity of the process and the ability to control devices over the internet without writing any code.

20:07

🌐 Sending Sensor Data to the Cloud

The instructor discusses the process of sending sensor data to the cloud using the Arduino board and a Wi-Fi module. The focus is on using the 'ThingSpeak' cloud service for data logging. The paragraph includes steps for logging into the cloud service, selecting the appropriate channels, and uploading a code snippet to the Arduino for data transmission. The process involves configuring API keys, Wi-Fi credentials, and sensor pins within the code.

25:09

πŸ” Troubleshooting and Verifying Data Upload

This paragraph addresses potential issues that may arise during the data upload process to the cloud. The instructor talks about troubleshooting steps, such as checking internet connectivity and verifying the code. The importance of reducing delays in data transmission is highlighted, and the paragraph concludes with the successful upload of the code and the anticipation of viewing the data on the cloud platform.

30:09

πŸ“Š Checking Data on the Cloud and Class Summary

The instructor guides the participants on how to check the uploaded data on the cloud platform. The paragraph discusses the process of verifying the data visibility and making adjustments to the code to ensure proper data transmission. The instructor also summarizes the class, mentioning the use of a Wi-Fi module and the upcoming discussion of the NodeMCU in the next class. The paragraph concludes with an overview of the quiz format and the source of its questions.

35:11

πŸ“ Finalizing the Quiz and Closing Remarks

The final paragraph focuses on the upcoming quiz, which will consist of 20 multiple-choice questions based on the content of the live-broadcasted videos on the YouTube channel. The instructor emphasizes the importance of watching the videos to prepare for the quiz and provides the quiz duration and the number of questions. The paragraph concludes with an invitation for participants to ask any further questions regarding the quiz.

Mindmap

Keywords

πŸ’‘Arduino

Arduino is an open-source electronics platform based on easy-to-use hardware and software. It is widely used for building various interactive projects. In the video, Arduino is the core hardware that participants are using to control appliances via the internet of things (IoT), as mentioned when discussing the 'Arduino plus Wi-Fi module' setup.

πŸ’‘Wi-Fi Module

A Wi-Fi module is a device that allows microcontrollers to connect to Wi-Fi networks, enabling remote communication and control. In the context of the video, the Wi-Fi module is essential for connecting the Arduino to the internet, facilitating IoT applications as discussed under the topic of 'using a Wi-Fi module with a remote XY'.

πŸ’‘Remote XY

Remote XY is a cloud service that allows users to control their devices remotely via a mobile app. The video mentions using Remote XY with a cloud service to manage IoT devices, emphasizing the transition from Bluetooth to Wi-Fi for enhanced connectivity.

πŸ’‘IoT (Internet of Things)

IoT refers to the network of physical devices, vehicles, and other items embedded with sensors and software that enable them to connect and exchange data. The video's main theme revolves around using IoT to control appliances remotely, as indicated by the discussion on 'control any appliance using IoT'.

πŸ’‘Mobile App

A mobile app is a software application designed to run on mobile devices. In the video, the mobile app is designed for controlling appliances through the IoT network, as seen in the description of the app's interface and functionality.

πŸ’‘Bluetooth Module

A Bluetooth module is a device that allows short-range wireless communication between electronic devices. The script contrasts the use of a Bluetooth module with the Wi-Fi module, indicating a shift in technology for connecting the Arduino to the Remote XY cloud service.

πŸ’‘Cloud Server

A cloud server refers to a virtual machine that is available over the internet, often used for data storage and processing. The video discusses the importance of the cloud server in connecting IoT devices to the internet, as seen in the instructions for selecting the 'Cloud Server' in the mobile app.

πŸ’‘SSID

SSID stands for Service Set Identifier, which is the name given to a Wi-Fi network. The video script provides an example of connecting a Wi-Fi module to a network by specifying the SSID, such as 'innovation lab' as the Wi-Fi name.

πŸ’‘API Key

An API key is a code passed in by computer programs calling an API, which is used to identify the calling program for security purposes. The video mentions using an API key when discussing the process of sending data from the hardware to the cloud, indicating its role in secure data transmission.

πŸ’‘Quiz

A quiz is a form of assessment consisting of a series of questions to determine the knowledge or understanding of a subject. The video script mentions a compulsory quiz that participants must prepare for, which will be based on the content of the classes uploaded on the YouTube channel.

Highlights

Introduction of the session with an apology for the inconvenience caused by the rescheduling of the class.

Discussion on the use of Arduino plus Wi-Fi module for the class, a shift from the previously used Bluetooth module.

Explanation of connecting hardware with the internet using a Wi-Fi module instead of Bluetooth for remote XY.

Mobile app design for controlling appliances through IoT, with the option to select different pins for control.

Announcement of the last class and the schedule for an upcoming quiz, emphasizing the importance of watching previous recordings for preparation.

Demonstration of how to select the Wi-Fi module and configure settings for hardware interface and board rate.

Instructions on how to input Wi-Fi credentials for the module to connect to the internet.

Guidance on selecting a Cloud Server token for IoT connectivity and the process of creating a new token.

Overview of the process to copy and paste the generated source code into the Arduino software.

Step-by-step guide on verifying and uploading the code to the Arduino board using the correct port.

Troubleshoot steps for device recognition and port visibility issues in the Arduino software.

Procedure to connect the Arduino board with Wi-Fi and the mobile app to control appliances remotely.

Illustration of checking device connectivity on the cloud platform and the mobile app interface.

Discussion on the potential for IoT applications, including connecting various sensors and appliances for remote control.

Introduction to writing custom code for IoT applications, contrasting it with the no-code approach demonstrated earlier.

Explanation of using the Thingspeak Cloud for sending sensor data from the hardware to the cloud.

Demonstration of uploading code to the cloud for data logging and the process of checking data reception.

Conclusion of the class with a summary of the quiz process, emphasizing the importance of understanding the material from the YouTube videos.

Transcripts

play00:11

good evening to all the participant

play00:13

first of all uh sorry for inconvenience

play00:15

today you faced because the class was

play00:17

scheduled at 5:30 but that was

play00:20

rescheduled so now today we are going to

play00:22

talk about very important topic that is

play00:25

the hardware that we are going to use it

play00:26

over here that we have discussed earlier

play00:29

so we are going use ardino plus Wi-Fi

play00:31

module and over there what we are going

play00:34

to use we are going to use that cloud

play00:37

that is remote XY and with that cloud

play00:40

important thing is that how we are going

play00:43

to connect with the internet so we have

play00:45

used early a Bluetooth module with the

play00:47

remote XY now we are going to use that

play00:51

WiFi module with a remote XY so that we

play00:54

are going to use it over here and using

play00:57

Wi-Fi module how we can connect with the

play01:00

internet that things that we are going

play01:01

to discuss and we are going to perform

play01:03

practical to control any appliance using

play01:07

iot so first of all we have designed the

play01:10

mobile app like this so app

play01:13

design so like

play01:16

this so tomorrow will be your last class

play01:19

so in the tomorrow there will be one

play01:21

class so that schedule we will update

play01:24

you and after that there will be a quiz

play01:26

so quiz we can reschedule uh in any

play01:29

coming day is so as per your convenience

play01:31

that we can reschedule it so that you

play01:33

can give that quiz properly after

play01:36

preparations so you have to watch all

play01:38

the previous class recording that is

play01:40

available on the YouTube

play01:42

channel okay so now this one is the

play01:45

button that we have discussed so what we

play01:47

are going to do we are going to select

play01:49

the PIN for controlling Appliance on the

play01:53

ardino and then this one is a switch

play01:56

over there we are going to control

play01:57

appliance using different pin like 30

play02:00

number pin so this one is for 12 number

play02:04

pin and this one is for 30 number pin

play02:06

then after that I'm going to increase or

play02:08

decrease size that also we can do it

play02:10

over

play02:13

here so assignment is not a compulsory

play02:16

but quiz is

play02:18

compulsory so assignment

play02:21

is not a compulsory but quiz everyone

play02:24

has to give it so kindly prepare the

play02:27

quiz and all the quiz related question

play02:30

that we are going to take it from the

play02:32

classes that is uploaded on the

play02:34

YouTube so that was live class we have

play02:37

done on the YouTube channel that link

play02:39

already I shared in the group that you

play02:41

can find it over

play02:43

there now uh quiz will be in the next

play02:47

week that we will update you when you

play02:49

don't have any kind of classes schedule

play02:51

at the time we are going to take the

play02:53

quiz so you will get a Time proper time

play02:56

might be that can be one week time so

play02:58

might in the next Saturday we can take

play03:00

the

play03:04

quiz so now over there what we are going

play03:08

to do we are going to configure setup so

play03:11

we have to click on the

play03:14

Bluetooth so I will update all the

play03:17

detail related to quiz in the end of the

play03:24

session questions that we will update

play03:26

you so be

play03:28

patient

play03:31

so we have to click selection Bluetooth

play03:35

and we have to select over here Cloud

play03:36

Server this one we are doing it using

play03:38

iot earlier we have used Bluetooth

play03:41

module now we are going to use iot over

play03:44

there internet of things that how we are

play03:47

going to control it over there so now

play03:50

what next we are going to do it over

play03:51

here select it that Cloud Server

play03:55

connections then module we have to

play03:56

select Wi-Fi module like this ardino Uno

play03:59

Plus

play04:00

Wi-Fi module that we are going to select

play04:02

it over there so after doing these

play04:05

selections what next we have to do all

play04:08

the setup is complete apply it and then

play04:12

after that we are going to find these

play04:14

options over there so go to the setting

play04:18

now next option is go to the setting in

play04:21

the setting what we are going to do it

play04:22

over

play04:23

here we are going

play04:26

to select uh this one this one is

play04:28

Hardware interface

play04:30

so that is connected on the zero and one

play04:32

pin that Wi-Fi module and board rate we

play04:35

have to change it that is 115 to 0 0 so

play04:39

this one is my board rate that we are

play04:41

going to select

play04:43

it then after that but next we have to

play04:46

do it over here we are going to select

play04:48

this one SS ID so this one we are going

play04:52

to select it so SSID what it

play04:58

means so the mobile hotspot or with the

play05:01

any available Network you have to

play05:03

connect your Wi-Fi module so that that

play05:05

can be get connected with the internet

play05:07

so that you have to do it for doing that

play05:10

what is required you have to give the

play05:12

credential of your available Wi-Fi name

play05:15

so my Wi-Fi name is innovation lab that

play05:18

is mobile hotspot and the password is

play05:20

nil right now if you want to set up any

play05:23

password that also you can set up it so

play05:25

like I'm just going to set up my

play05:27

password also

play05:30

so that any other person cannot connect

play05:32

with my uh Wi-Fi then this one is the

play05:35

Cloud Server that is the token that we

play05:37

can select it so there is many tokens

play05:39

over there you can create new one also

play05:42

that also we have discussed in the

play05:43

previous class how we can create a token

play05:46

now I'm going to select this token when

play05:48

we are going to do it first time you

play05:50

have to create that token like this then

play05:54

after that you have to select the token

play05:57

and all the setup is complete again

play06:00

repeating all the step first of all we

play06:02

have to go to the configurations we have

play06:04

to click on the Cloud Server or

play06:06

Bluetooth we have to select over here

play06:08

Cloud Server then we have to select

play06:10

module that ISO Wi-Fi module that is ESP

play06:14

826

play06:16

module and then we can apply it that

play06:19

setup we have already done then ardino

play06:22

then Wi-Fi module then setting in the

play06:25

setting we have to go with hardware

play06:27

setup serial interface board rate Wi-Fi

play06:31

name password and Cloud Server like this

play06:35

that you can see over here then after

play06:38

that we are going to uh see over here

play06:42

get the source

play06:45

code like this so get the source code

play06:48

over

play06:50

here now you can see your code is

play06:52

generated like earlier we have done it

play06:54

so this one code we have to copy it and

play06:57

that we have to paste it in the ardino

play06:58

software I'm going to open Ardo software

play07:01

and we are going to copy this code

play07:04

also so copy this code like this right

play07:09

click copy and then after that this code

play07:13

we are going to paste it in the ardino

play07:16

software and after pasting the code what

play07:18

next we have to do we have to connect

play07:22

that ardino plus Wii module with the

play07:24

computer and we have to upload the

play07:26

program in that ardino plus WiFi module

play07:30

so that process we have to follow it so

play07:33

now let's the Ardo software that is

play07:36

being

play07:39

opened so this one is my ardino software

play07:41

over there I'm going to open

play07:45

new and delete previous code and in the

play07:49

ardino software we are going to paste

play07:52

the code on the uh whatever code we have

play07:55

copied it from the software like this

play07:58

then what we have to do we have to

play08:00

verify the code from this button you can

play08:03

verify it so code will be get verified

play08:06

because we have done nothing change over

play08:08

there everything is same to same that we

play08:10

have pasted it over

play08:13

there after that what next you have to

play08:16

do verification is going on wait for the

play08:19

moment done then go to the tool from the

play08:22

tool we have to select the port now Port

play08:24

is not

play08:26

visible so for that what we have to do

play08:29

for the port selections we have to

play08:31

connect that ardino Uno plus WiFi module

play08:36

with this setup whatever setup we are

play08:38

having so we have to connect it over

play08:40

there so I'm going to connect my

play08:42

Hardware so be with

play08:52

me so ardino Wi-Fi board that I'm going

play08:56

to connect it with my computer

play09:02

now that is connected so you are going

play09:04

to hear some sound over there so after

play09:07

that again you have to check it out in

play09:08

the tool and you will able to see your

play09:10

com Port now my com Port is showing over

play09:13

here so it's saying that device not

play09:15

recognize okay let me check it

play09:18

out go to the device manager if you want

play09:20

to check it out if there is any error in

play09:22

the device manager or in the port

play09:26

connections so there is no port let me

play09:30

connect it again disconnect it connect

play09:33

it

play09:41

again not recognize yet change the

play09:50

port so it is connecting comport is

play09:53

visible now you can see com 98 is there

play09:57

so what we have to do after doing this

play09:59

we have to upload this code and select

play10:01

the com Port that is

play10:04

com98 we have selected it then after

play10:08

that we have to upload using this button

play10:10

that is the same setup that we have done

play10:12

it

play10:13

earlier might be that ort is not visible

play10:16

okay that is

play10:18

okay then upload it wait for the moment

play10:22

and the code is

play10:24

uploading after uploading the code we

play10:27

have to done uploading over here so what

play10:30

next we have to do over there we have to

play10:33

connect that ardino board with the Wi-Fi

play10:38

so what I have done over here I'm just

play10:39

going to show you in the video that you

play10:41

can see

play10:45

it so now you can see over here in the

play10:48

video the hardware that we are using it

play10:50

so what we have done we have uploaded

play10:52

the code in the hardware so after

play10:54

uploading code what next we have to

play10:57

do so there is some uh my USB is little

play11:00

bit loose so now after uploading the

play11:03

code what next we have to do we have to

play11:05

go to that setup of Wi-Fi that how Wi-Fi

play11:11

is being get connected so power is on

play11:13

right now so my port is little bit lose

play11:15

let me use another Port another side

play11:19

one that is working fine so

play11:23

now what next we have to do after doing

play11:26

this we have to go to the mobile app and

play11:29

we have to turn on the mobile hotspot so

play11:32

that I'm going to do it so you can see

play11:34

over here in the mobile phone I'm just

play11:35

going to share my Mobile screen so that

play11:38

you can see that how that is working so

play11:41

that I'm going to check it

play11:53

out okay okay okay okay

play12:06

wait for a moment my USB is little bit

play12:08

loose let me use another

play12:13

one so then after that we have to open

play12:15

the same mobile app and also one more

play12:18

thing we have to check it out on the

play12:19

cloud

play12:20

also so in Cloud also we can see how

play12:23

many devices are connected over there

play12:36

okay now we are going to check it out

play12:39

the device is connected with my uh

play12:42

computer so we have to go to that uh

play12:44

remote XY and you can see over here go

play12:48

to your project my token so in the my

play12:50

token you will able to see how many

play12:52

devices are connected now you can see

play12:55

this one was the token that we have

play12:57

selected that is connected now

play12:59

so what next step we have to do we have

play13:01

to go to the mobile app so that is

play13:04

mobile app in the remote X XY that we

play13:06

are using it so I'm going to move over

play13:10

here with the remote

play13:12

XY uh remote XY I'm going to use it over

play13:17

here go to the remote

play13:23

XY and I'm just going to share first of

play13:26

all the Mobile screen

play13:34

recording in

play13:41

progress okay so I'm going to share the

play13:44

screen

play14:01

okay so now you can see Mobile screen

play14:04

over there and over there we have to

play14:07

check it out the Wi-Fi device so over

play14:09

there two devices connected with my

play14:12

Wi-Fi so two devices are connected over

play14:15

here with my Hotspot one is my mobile

play14:17

phone and another is unknown device that

play14:19

is my Wi-Fi module that is connected

play14:21

with this one so then after that we have

play14:24

to open remote XY app this one app we

play14:27

are going to open it so when we are

play14:29

going to open it first time it will be

play14:31

look like this we have to click on the

play14:34

plus button or you can use that QR code

play14:36

also that is available over there in

play14:38

that uh remote XY app that also we can

play14:40

use it but I'm going to click on the

play14:43

plus button previously we have used

play14:45

Bluetooth now we are going to use cloud

play14:48

internet we have to select the last

play14:52

option Cloud Server and this token

play14:55

number already we have given device

play14:56

token that is bbbb there is a detail

play14:59

name that you can see on the web portal

play15:01

so now after that we have to connect it

play15:04

so now after doing this the connection

play15:06

so you will able to see whatever mobile

play15:09

app we have designed that is visible now

play15:12

that mobile app is connected using iot

play15:16

using internet so if my mobile is placed

play15:21

100 kilm away or 2,000 km away but that

play15:25

is connected with the internet and my

play15:27

ardino board is placed uh in another end

play15:31

so we will able to control ardino using

play15:34

the mobile app using internet very

play15:37

simple way without any code uh we have

play15:40

written it over here that will work fine

play15:43

now I'm going to connect LED over there

play15:45

in the hardware and I'm going to show

play15:48

that how it will work so be with me I'm

play15:50

going to uh connect LED over

play15:57

there

play16:27

e e

play17:07

so now what we are going to do I'm just

play17:09

going to connect One LED on the pin

play17:11

number uh 13 and uh ground or 12 that

play17:14

you can take it and you will be able to

play17:17

control those pins using uh your

play17:21

board okay now I'm just going to show

play17:24

you on the hardware that how it will

play17:26

look like

play17:35

now let me share camera

play17:38

also so over there you can see the LED

play17:41

is

play17:42

connected so LED we have connected over

play17:46

there now in this led what we are going

play17:49

to do it I'm going to turn it on using

play17:52

my

play17:53

button so like this button I'm going to

play17:55

make it on so LED is turning on and

play17:58

turning or like earlier we have done on

play18:00

the Bluetooth also so this one we are

play18:02

doing using iot using internet using a

play18:06

remote location we can make it on and

play18:08

off so after this led what next we can

play18:11

do it we can connect over here that iot

play18:14

application iot mean any uh sensor you

play18:17

can connect it based on that you can

play18:19

control the appliance and you can

play18:21

control appliance using this mobile app

play18:24

and like you can connect relay module

play18:26

also over there and then after that you

play18:28

can AC Appliance also so all the setup

play18:31

is same just you have to connect using

play18:33

that Wi-Fi module the module we are

play18:36

using it here that is Ardo Uno plus

play18:38

Wi-Fi module this one module we are

play18:40

using it over here if we are going to

play18:43

connect pin number on the 12 because we

play18:45

have connected uh program over here for

play18:48

two pins two buttons so this button will

play18:50

work that post button you can see in the

play18:53

Mobile screen with the help of that you

play18:55

can make it on and off on 12 number pin

play18:59

and 30 number pin also you can control

play19:01

it using this button so multiple pins

play19:04

you can connect it over there and based

play19:05

on that you can control your Appliance

play19:09

okay so now coming back over here so

play19:11

whatever setup we have done it that we

play19:12

have done it on the cloud so now coming

play19:15

back to computer

play19:20

screen okay so over here also you can

play19:23

see the setup we have done and you can

play19:26

see on the cloud that cloud is connected

play19:28

now

play19:29

so this one is very simple approach with

play19:32

the help of that you can connect with

play19:34

the internet easily so that is one setup

play19:37

then after that what next we can do it

play19:39

if we want to write your own customized

play19:42

code this one tool is for without

play19:44

writing any single line code

play19:47

automatically so if you want to send

play19:50

data to another cloud like earlier we

play19:51

have used that things SP Cloud In This

play19:54

Cloud if you want to send the data you

play19:56

have to write your customized code over

play19:58

over there so that code you have to

play20:00

upload it on the hardware and after that

play20:03

you have to send data to This Cloud so

play20:06

for that I'm just going to use over here

play20:08

code first of all let me login In This

play20:11

Cloud and after doing login so all the

play20:15

setup we have discussed in a previous

play20:16

class today we will directly upload the

play20:19

code in this

play20:20

cloud and we will send data to the cloud

play20:24

so for that I'm going to open Simple uh

play20:27

project for dst1 think

play20:29

speak so ear we have tried in the Sim

play20:33

simulation using W in the W that was not

play20:36

working so I'm going to use Simple ESP

play20:39

8266 Wi-Fi module and That Thing One

play20:42

sensor we can mount it over there that

play20:44

is

play20:45

dst1 sensor that also we can use it over

play20:49

there so using that sensor dst1 what can

play20:52

be done over there we will able to send

play20:54

data of temperature and humidity from

play20:57

the hardware to this This Cloud so let

play21:00

it get open this one is taking a lot of

play21:04

time okay so this one is a simple code

play21:07

that we are going to use it for DST

play21:10

sensor so over there we are going to use

play21:12

these are the different sensor pin like

play21:14

soil moer sensor you can use it and

play21:17

different sensor data you can send it

play21:19

this one is API key and dstd sensor we

play21:21

can use it this one is a standard code

play21:23

you can get it on the internet also that

play21:25

code easily available so this one key

play21:28

are going to change it so let me open

play21:30

that

play21:37

key things

play21:45

speak okay now you can see uh we have

play21:48

made one channel this

play21:50

iot earlier in the previous class so

play21:53

this channel we are going to add on over

play21:56

here the API key where is my API

play22:00

key API ke or right

play22:04

API this one ke we want to copy it now

play22:08

after that but next we have to do

play22:11

it we are going

play22:13

to use over here this API ke in our

play22:20

code so this API key we are going to

play22:23

change it so what else you can do it

play22:26

over here all of the setup is same

play22:32

API we have changed it and then Wi-Fi

play22:34

name is this one is inovation lab LLP

play22:37

and password is nil so password is

play22:40

nothing over here so if you want to add

play22:42

on password that also we can do it but

play22:44

without password also we can connect it

play22:47

so that is delay DST sensor analog read

play22:51

temperature API things speak and then

play22:54

after that it will start working okay so

play22:58

now what next we have to do you can

play23:00

verify this code and then we are going

play23:02

to upload it in this board ardino plus

play23:04

Wii board we are going to upload this

play23:06

code so be with me I'm just going to

play23:09

upload this code in know so it's saying

play23:13

some error over there so what is the

play23:15

error let me check it

play23:17

out okay this one is error about the

play23:19

multiple file over there I'm going to

play23:21

open this code in another ardino

play23:24

software

play23:33

so we have to

play23:36

use ardino

play23:39

software so because I'm having multiple

play23:42

software that's why that conflict is

play23:43

occurred if you are going to use

play23:45

directly in the ardo you will not face

play23:47

any issue over

play23:50

there so we are having version is right

play23:52

now I know

play23:55

1.8.10 so let me use 1.8.9

play24:01

so directly just we have to execute that

play24:03

file in ardino software will open like

play24:05

this and you can paste your code and you

play24:07

can verify your code and you can upload

play24:09

that code that code will work fine over

play24:11

there so let it get open and then after

play24:14

that we are going to send data to the

play24:19

cloud so over there I'm going to select

play24:24

it this one is my code after updating

play24:28

this API key you can verify the code in

play24:31

the verification you can get it what is

play24:34

the problem in your code so if you're

play24:36

facing any problem in the verifications

play24:39

that you can resolve it and again you

play24:41

can upload the code so your code should

play24:43

be get verify

play24:46

first verify then it's problem in the

play24:51

software so done compiling you can go to

play24:54

the

play24:55

tool Port is com 11

play24:58

select it and then upload

play25:01

it right now I have not connected any

play25:04

sensor directly upload simple check this

play25:08

one code is for multiple sensor two

play25:10

sensor three sensor we are using it over

play25:13

here done uploading so after done

play25:17

uploading what next we have to do uh we

play25:20

have to check it out that data is going

play25:22

on the cloud or note so that we are

play25:24

going to do it and we are going to uh

play25:27

remove that password so might be there

play25:29

is disconnectivity be with

play25:32

me password disable so security I'm

play25:36

going to make it

play25:39

none so might be connection got

play25:46

disconnected okay now I think that is

play25:48

working

play26:22

okay be with me I'm just going to

play26:23

connect it

play26:33

okay I'm just sharing it again might be

play26:35

my connection got disconnected so now

play26:38

let me share the screen

play26:41

again okay so this one is the cloud that

play26:43

we are using it and now you can go to

play26:46

your private view so over there your

play26:48

data should be visible whatever data you

play26:50

are sending it that should be visible

play26:52

Now location is coming over there that

play26:55

we have done earlier also now multiple

play26:58

uh visit Channel setting we can do it

play27:01

and temperature humidity and 2 three

play27:04

field also we are going to add on for

play27:07

different sensors so if there there is

play27:09

any other sensor which one is sending

play27:11

data that should also visible you can

play27:14

save

play27:16

channel so now we are going to see that

play27:19

the data is coming or not so multiple

play27:21

input we have taken it and this one is

play27:24

our code we have uploaded the code and

play27:27

we are using different sensors over

play27:29

there a note A1 temperature sensor key

play27:33

so now we have to wait for a few moment

play27:35

because there is lot of delay over

play27:37

there so after delay our data suit that

play27:40

is delay is 15

play27:43

second so that we can reduce it also and

play27:47

then you're going to find that your data

play27:49

is going on the cloud so your mobile

play27:52

should be connected with your internet

play27:53

my device is not connected yet

play27:58

yes that is connected

play28:00

now so now we have to

play28:03

see the how much data we are getting it

play28:06

over here in the Channel 27 entries that

play28:09

we have get it that is 9 day ago so no

play28:12

latest data we have received

play28:17

yet so wait for a moment

play28:30

so now we are going to check it out the

play28:34

data is coming or

play28:37

not that should be

play28:39

visible still there is no

play28:42

data entry is

play28:46

27 so let me check the internet

play28:49

connectivity is okay everything is

play28:52

okay data should go over

play28:55

there so you can reduce the delay also

play28:57

over there right now we having delay

play28:59

over here also and upper side

play29:03

also this one is delay over here this

play29:05

one

play29:06

is 5 Second Innovation lab that is

play29:10

okay let me make this delay 3

play29:15

second this one is also 3 second then

play29:19

again we are going to upload the code

play29:37

Port got disconnected let me connect it

play29:42

again com 11 uploading

play29:47

it so after uploading the

play29:51

code we have to check it out all the

play29:53

setup

play29:55

again board rate

play30:04

wire

play30:06

DST library is

play30:09

okay uploading is going

play30:13

on here's my uploading done after that I

play30:16

will disconnect it and I will check it

play30:18

out again so over there might be have to

play30:21

face some trouble shooting but you have

play30:22

to try it again and definitely that will

play30:25

work over there so tool

play30:29

com is

play30:31

11 if there is any problem over there we

play30:34

can upload the code

play30:40

again error is there tool Port is there

play30:45

let me connect it

play30:54

again upload it

play31:09

so let me see another

play31:15

code this one is yes done is uploading

play31:18

is done over there

play31:33

so after uploading we have to move

play31:43

ahead so I'm going to open this one code

play31:47

very simple things speak code okay so

play31:50

now we have to go to uh that uh Wi-Fi

play31:54

connection that we can check it out so

play31:56

first of all let me check this code

play32:05

again so this one is another code that

play32:07

is very simple one code so this one is

play32:10

for node MCU code so whenever we are

play32:12

going to use node MC in the next class

play32:14

then we will discuss this code so this

play32:17

one is for node MCU no we are not using

play32:19

right now this code so this previous

play32:22

code we have uploaded that same code we

play32:24

are going to check it out this

play32:26

one so now this code uploading is done

play32:30

so what next we have to do we have to

play32:32

check the data data is not visible over

play32:34

there might be the Internet is slow but

play32:36

that should be work the process is same

play32:38

like

play32:39

this so I think we have to remove the

play32:43

channel multiple field is there data

play32:47

should be visible it's showing only 27

play32:49

entries 9 days ago no new data we have

play32:53

received API key we are using it this

play32:56

one you can check again all the API

play32:59

key channel number also you can see in

play33:03

the

play33:04

code so in the code we are using no

play33:10

Channel wire Library these are the

play33:13

library

play33:14

sensor that is

play33:17

okay dst1 is okay connecting to the

play33:21

wifi this one is

play33:24

okay trying to reconnect okay

play33:29

humidity this one is think speak server

play33:32

error field 1 2 3 4 5 the multiple field

play33:37

we are using it over

play33:39

here so temperature humidity should go

play33:43

data over

play33:46

there okay so

play33:49

now let me check it on the board rate if

play33:53

it is showing anything

play33:57

no line

play33:59

ending where is it new

play34:03

line

play34:05

both so it's not showing any data over

play34:12

there okay so again we are going to

play34:15

check it out all the data is correct we

play34:17

have to check it out the cloud all the

play34:19

setup is

play34:21

correct private view you can see

play34:23

it still we are not able to receive the

play34:26

data over here might be there is issue

play34:28

with the cloud and all that so anyway we

play34:30

will check it out that

play34:35

one there is some connectivity issue

play34:38

also right now I'm having little bit

play34:40

less connectivity but that will work

play34:42

fine no issue over there so in the next

play34:44

class I will show using that Wi-Fi

play34:47

module and as well as we are going to

play34:48

use node MCU also in the next class and

play34:51

I will show over there how we are going

play34:52

to updating the

play34:54

data so now we are going to Su of this

play34:56

class now we are going to discuss about

play34:59

the quiz how we are going to do it what

play35:01

are the things that we are going to use

play35:03

it over here so in the quiz there will

play35:05

be a 20 Questions those are McQ

play35:09

questions like multiple choice questions

play35:11

that you are going to get it so on the

play35:14

20 questions you have to answer all the

play35:16

20 questions so based on that you are

play35:19

going to get the quiz so all the

play35:22

questions will be based on the videos

play35:24

those are uploaded on the YouTube

play35:25

channel that we have done live broadcast

play35:27

casting so you have to watch all the

play35:29

videos out of that we are going to take

play35:31

20 questions and based on that you have

play35:33

to give quiz so 20 minute time duration

play35:36

will be for the quiz and 20 questions

play35:39

will be over there so I think all the

play35:42

doubt related to the quiz is clear to

play35:48

everyone so if there is further doubt

play35:50

regarding the quiz

Rate This
β˜…
β˜…
β˜…
β˜…
β˜…

5.0 / 5 (0 votes)

Related Tags
IoTArduinoWi-Fi ModuleHardware SetupRemote ControlMobile AppCloud ServerBluetoothQuiz PreparationEducational