Welcome back guys to video number 5.4 in
this video. We're going to send the data from MCAT GSM 1400
to hologram.io Cloud. So firstly
click on the home and here you will get the statistical
before moving on you need to log
into your hologram.io dashboard and
here you will see the active devices connected ready
and the past devices click on the devices and from
there click on the activate more Sims and
you need to activate your sim
before using it. I already have activated but
let me click on that.
And you need to provide your enter Sim number and
after that you will get some sort of
different configuration like range of Sims list
of Sims and you are good to go with that. Okay, there are
different steps like data plan for you. I
need to click on again.
After putting the number you will select the data plan data usage
limits same device assigned tags that are puttery
filter V and activate and then you will be good to
go with that. I already have once him which is activated now click
on that and here you will see the statistics of
a SIM card. My sim is
activated with the teller Pakistan limited carrier session
started on March 1st. This is
the data and this is the current location and it's
showing the status that the message is coming to
the Tower and Tower Center the data to
the Hologram and hologram capture the
data and send it to the cloud and if
you click on that you will
Pay all the statistics same local Tower Global network
and internet access, okay.
so before moving on for the example just
go back to the Hologram support and
Documentation area and here you will get the documentation related
to the modems routers GPS devices development board.
And for the upper case, we have a MK GSM
1400. So we are good to go with that click
on that and you will get all the steps and
the code here so already I have a code here.
That I copied from that page, but before moving
to the code we need to.
Install the library.
Mkrgsm, okay.
mkr GSM
and this is the library which is developed by
the Arduino official team. And I already have
that Library. You guys need to install that Library. Okay. Now it's
time to come to the core. You didn't
need to modify just to modify these three things
by default is something return message
here and the topic so firstly come
to the device key from where we will get the device
key.
Select the SIM card click on the webhooks and
click on the show device key
and this is the key copy it.
and
control V and we are good to go with that
hologram message by default.
They write it here some sort of a different passage here
just like that your hologram your message
here and your topic. Okay, the Hologram
distinguish your content with respect
to the topic. If you have a multiple sensor you
want to send the data separately. Then
you need to make a separate topic for each of
content.
But right now I am
assuming that I have connected three sound system
temperature humidity and the aqi and I'm
Going to send in a one badge. So I mentioned
at the Sensei EnV topic and the
rest of things are good to go. But remember one
thing here we have our setup dot begin
and
After uploading the code when I will click on
serial monitor, the system will proceed either it will not
work. So if you want to execute the
code without the serial monitoring then just make
the comment here.
and
You are good to go with that. But I want to monitor
all the process so.
I'm going to use wait for the serial monitor Okay,
click on the upload button, but before moving on
you need to select the port and here we have a comp report,
okay?
upload
The code has been uploaded click on the serial monitor. Now
you see starting Arduino web client begin gsmxs.
It will took some seconds.
To make the connectivity and the sand the data to
the cloud.
Okay, come back here.
click on the status
and I see GSM access connecting and
here you see that this
turns into the green.
now again blue because now it's disconnected after sending the
data and as the usage
of your
and here's the message temperature toning
humidity of 400 and under
the topic. We have mentioned here
EnV stands, okay.
So you can view the data view raw and
it will show you all the data in the Raw condition
then cnv and this is a device content
here and all the stuff is available.
Now the next point is how we can send the
data to other platforms like AWS things speak and
different air. We have a different
types of routes that we will cover in the next video.
So guys see you in the next video. Have a good day. Bye.