Dear viewer, these subtitles were generated by a machine via the service Trint and therefore are (very) buggy. If you are capable, please help us to create good quality subtitles: https://c3subtitles.de/talk/1166 Thanks!
I think most of you have heard of
the Internet of Things.
Unsurprisingly, it's made of things
which connect to the internet.
But how do you
get the internet to your thing?
Kilometers away from Wi-Fi?
Let's give a warm welcome to
two beers and pair
who we're going to connect the dots for
us.
You know, welcome and thanks for coming
on a few of us day,
so I feel I just arrived to work out as
a 35 kg chaos
communication congress.
We want to show you today
how you can build your own
devices, like you said,
using Adreno or some
other chip building blocks
to build your own center and connect to
the internet.
We have one example which
when I start like,
let's assume you have a final
sensor. I don't want to measure the fine
dust level in Leipzig.
You can deploy them at,
you know, all the points where you
want to know lightning as a highway
for some living area.
What we need next is some internet
based internet at the moment is probably
here at the Chaos Communication Congress
thinks there's a knock
and yellow.
The question is how do you connect your
sandals with the internet
since they don't want to dig holes and
draw Wales metro dwellers?
And that's
where we use Laura
and Laura as
a wireless radio technology
that's designed for low
power usage.
It has great converted range
over several kilometers.
Even with this low
with low power usage,
it is cost efficient.
So you basically buy the
chip and then you could
you don't have any additional cost, as
was GSM,
and the data rate is pretty low.
But well,
we only need a few bytes every few
minutes, so that's totally fine.
What we actually did was a project
with a student
from Hamburg.
He had a small scissors
and he wanted to collect these find us
data, and we created a sensor
about a sensor for him.
We connected his low cost
Nova fitness, find ourselves
with some and some other sensors
with a radio module.
This one was actually from Lammas t0
several of the market that you can use.
It's a module where you have the
radio transceiver and a microcontroller
on it.
We connected us with a battery supply
and gave it to him so he can collect his
data.
And there's actually another product
that I want to talk to us a little bit.
It's a lot of contact info product,
but they also collect often
or find data all
over Germany, all over the world, but
mainly with
was Wi-Fi based
boxes.
And we want to push the idea of a better
business with Laura in future.
Maybe because then you don't
need your local by fire and everything.
So.
Yeah,
after
so I
want to start with a thought.
Well, basically only two things still
connected devices first need to Lora
communication, which is a pure
radio transmission,
which is when you know the ozone layer
model on the physical layer
and then you need some
kind of wide area network infrastructure,
which will be explained by pair later.
That covers AWS, mostly all of the outer
layers from data linked to
yes, they are maybe a little bit of the
presentation today as well.
So let's start with the lower
transmission.
It's
yeah, it's a little bit.
Well, you know, it has some parameters,
so you can use the frequencies, at least
in Europe.
It's a six, eight, five kilohertz
tolerance band.
So we cover the free
and its eight megahertz band
where you can deploy your own
devices when you
keep was relations of the you.
You also limited by you to like
for the data, but TV
for transmission, power
and the bandwidth can vary between one
hundred twenty five kilohertz, a narrow
band to 500 kilohertz.
And then you have a special factor
that's, you know, kind of special flora
that you don't find in any other
technology that is spreading faster.
And when you see it, the
other point. But if you see it's a graph
where you have the time from the bottom
to the top and the frequency
from left to right, then you can see that
Laura Van or Laura is
working with Trump's.
So it modulates the frequency over time,
and that's how it somehow
encodes ones and zeros over the air.
For the exact details, you can
see the talk from
two years ago. Yes, from midnight.
He ticked into this
because the technology is proprietary by
sometimes, so you can't find any open
documentations.
But the talk is kind of like kind
of like a documentation of what?
So there
was a bentworth center, a suspending
factor.
You can,
you know, you can have pretty much
influence on the link budget.
So the live budget can go up to 151
DBM, which means that you can
add the free field or how it's
advertised.
You can get up to 15 kilometers
in Texas when you're in the city
or normal environments like here from
wall to hall.
You can get like three to five kilometers
or indoor, maybe one kilometer.
So it's highly depending on where you
are.
Data rates are
from very low, like 32 two bytes
per seconds,
but are up to
one of our one kilobytes per second.
And maybe one thing tells us.
But in fact, also it's been four to seven
years where you have the higher data
rates. So when a signal takes,
let's say, 20 seconds on spreading factor
seven at
twenty milliseconds on the same effect
seven, it will take twice
as much on four to eight and then it
doubles to speed 11:55.
So that's basically the parameters you
have and
how to use those parameters and
how to, you know, set up your
radio and how to set up the gateways that
receives all your messages.
So there's a wide
variation of parameters that can
modify the lorawan later.
And yeah, when
you built a LoRaWAN compatible device,
it will just talk with the network, that
Power explains.
So
does it actually work? Yeah, we
we are building sensors since
over two years, we also built our own
LoRaWAN stack on hardware using
the amnesty module.
We
yeah. And if you have any
questions also about a lot of details,
since we don't have a Q&A after this
talk, you can also come to our assembly
and our will hand over to pair who can
explain also what area network works.
Thanks.
So now you know about Lora and
how it works and why it's pretty useful,
but it's only just you have a few
bytes which are thrown into the air and
the rest is up to you.
Granted, it throws them pretty far and
was only a very few energy
used. So it's good for IoT
devices, but you have to do everything
else yourself.
Like where does the data get?
How do I know it's from my device?
And luckily, there is something
called LoRaWAN, which does all
these things for you already.
You?
Well, you have to your
devices.
Look a bit like razorblades in this
graphic. I think those are your
devices in the field. You have data
there. You want to have somewhere else
that somebody else is alert.
They're on the right, the application.
So that's why you want your data on
how do you get it over there?
Well, urban, it's two more
parts to the to the network.
You can see these rectangle
parts. They are the gateways, which are
the pieces of hardware, which do the
wireless communication with your device.
And they are controlled by something
called a network server, which is the
most intelligent part of the system.
And they get the data to
your application server.
This graphic I used from the
Six Network, it's so handy for
explaining, but we'll take it along with
this to talk.
So to get an idea,
we'll just
build a small device just now because
that's easier than explaining it like
just from from from
far away. So what do we need for parts
a device, a gateway and
network precursor of an application?
So we started with
that. Let the fun part because that's
what you want to do.
That's the idea.
Put it out there, and now we have to
connect it. You can
be. You can get one device
for pretty cheap, actually.
You can use it. How do you know which you
can put a cheap? You have seen the
modules for LoRaWAN.
It'll to be short and somehow
connect. That all together is about 10 to
20 years if you know where to look
in the next part of gateways.
Those are a bit more complicated
because they are,
they're a bit expensive.
There are many different varieties,
but if you're lucky, there's already on
around. Like at the talk, at
the Congress, there are some I've
checked. So and the networks
are well, it's pretty much done already.
And there's something called the service
network, which is free and open and
with the Shiite community
and drafting as well.
You application whatever you want to do,
we'll look into the full parts
a little more detail now.
Oops. Sorry.
So what do we build as a device
we could use to find ourselves?
Or we could something really useful
for something like this Congress, which
is well and the alarm button you press
when you
when you get well, when you see some side
or at the Congress.
So what's in there?
Actually, not much.
There's the Arduino.
There is the module and some
power supply while.
Of course, the button to trigger the
button.
With this project, the button costs about
twice as much as everything I put inside.
But that's okay, because the buttons also
the case I used for this.
So you can see my lovely solving skills
there.
If you look at the portfolio, you
probably thought, Well, there's something
missing over there. Don't we need an
antenna? Yeah, right?
But I skipped over all the cables I used,
and if you see that
tiny little wire on the left,
that's actually the antenna I used to
communicate over radio.
Of course, there's much room for
improvement. You could get a better in
China and do
get more range, but this actually works
quite well. I've tried it.
So what do we have?
We have the thing I call the cyber
alarm. I build this.
This is complete and no
wires, as you can see.
It's of course, programed while it's
original. So how does it work?
You get the idea in a library.
You start from the example and that the
parts you need and then you're down
again.
I walked along about this to
this project. I think, yeah, it was worth
the GPS tracker, so to be as
much more complicated than just having a
button. But if you do that, you
have a good a good many on
how to do all the thing.
So the gateways, the magic parts,
they are actually pretty dumb devices.
They just pick it for one to just collect
every lorawan packet that is out there in
the air and they pass it onto the network
server.
And when that episode, I told them to put
something, send something out.
They do that.
They there are some great variety
of what kind of gateways
exist. I put.
Well, the upper and the lower end.
I would guess this is the industrial
standard called calling costs about
4.0, if you put it all together, but
has to as a detection
systems, mobile internet and
everything, you would want
to just put up your gateway if you you're
a little short on the money.
Well, you can use a Raspberry Pi
in this module.
This all together, that's for about 150
years. You could get that.
We actually have one of those in.
Office for Development Process Under
works quite well.
So if you put it up on your on your local
hackerspace, you have coverage for
quite a few kilometers if you have a good
antenna.
So the next thing is the networks of, as
I told you, that one is done, but that is
the most complex
part. And while it does everything
for you, actually, there's this free
network, so you can just go there and
register your device.
It's a bit like Skyfall, but for
IoT and not for for Wi-Fi,
you just go there. You say
that your account is there.
Well, this is my application, in my
case, cyber alarm
and this is my device.
I want to request it and it handles
the session when you log on adult
encryption that even handles
the decoding of the data because
you get just a few bytes of there,
but you can insert a
piece of JavaScript which will decode
them and send you adjacent to wherever.
That said, let's just take a quick look.
Well, this is device registration.
The most important part is there's the
three columns of numbers.
The first one is the device area,
which is just the address of this thing.
It's like a Mac address for life.
The second references which application
I use and the third one, you
probably don't want to show it because
that is the secret you used for
putting up the recession
and doing the encryption.
But this is no real data.
You cannot use that for anything, but
device doesn't really exist,
so
you still need to reach your application.
So that is
quite easy because
the things network does everything
for you anyway.
There is a protocol which is the easiest
to use. It's called security, which is
lightweight iMessage protocol for
IoT, actually.
And if you use Python,
you of course that because it's Python.
There are other ways to connect your
thing. You can put up
HDP as to press or you can.
And something like if
if this, then that network.
But we just did
it, and it's actually that show that I
will show you the whole script.
This would work.
It's just important.
Put up your handler.
Well, I didn't put my killer, but you
probably would. And this would
actually work at my
script, which I'm running is a bit
a bit longer, but we'll try if it works.
Yes, it did work.
So what happened
with the Texas?
So what happened then there
is this tip. You've seen it, it just
turns out the message there are gateways
for the network at the Congress,
and as I told you, this is
some kind of open network networking
community. If you put out more
10 gateways, anyone
can use them and you can
use them networks and their gateways.
So anomaly how well
they that are spread.
Yet in and
Hamburg, we have about seven
or eight, I guess some of us
virus, but we have a basic coverage.
If you want to do that.
I have one like a kilometer away from
from where I live and it works.
And I think not only has zero,
I checked like Toby checked like
two hours to go there about for an hour,
but that for some reason, all of the
mess, I don't know what.
So.
Yeah, it didn't fair, so that's good.
You can also see all the alarms triggered
on that URL,
and if you want, you can put your own
button. The code is on GitHub.
You will need access fire,
so you had to have to contact us.
Then I can register your thing and then
you can also trigger the same
cyber alarm I have and that we can hook
it up to do whatever.
If you want teachers, that's pretty easy.
We are all down the hall.
It's a deep cyber assembly.
Just come
along, talk to us. We are
happy to talk to you.
Long about Lamon.
You can catch us around here after
the talk if you want.
Also, while there are some units we can
reach Earth, you can see us on Twitter.
My deck doesn't work yet, but I'm glad
the first day I'm starting to do
that.
Yeah, so we have two minutes left, so
maybe you can have one or two questions
from what the timing is.
So the First Order actually thought,
but I don't know if the microphones are
right. Yeah.
Maybe one one thing to the last link.
So that's some
menu on how you can set up your own
private LoRaWAN network.
But if you connect your gateway to your
local network, then of course, it's not
connected with a public network and as
they are working on this as well.
Else for free to ask us anything.
So thanks so much, let's have a big round
of applause
for us, the.
So we have time for one question.
And first, I'm going to go to
our signal angel to see if the internet
has any questions.
It looks like the internet does have a
question.
No, the internet does not have a
question. That's very strange.
So if anyone in the audience has a
question, we have a microphone over
there. We have a microphone over there,
and whoever gets there first gets to ask
their questions.
Run by a war
three
that was running out. Someone is running
to the microphone with
the
microphone to my left.
Is it bi directional?
So can you send messages back to your
button if you programed it, if it by
directional? Yes, that is correct.
No, I skipped that part.
You can have messages sent
from your server to the device, but
it's of course, limited your device needs
to listen.
And the only way I ever used it is
when your device uploads a message,
then the network has a chance to
send a downlink.
Well, there are other methods like
you can have a prominent listening
device, but I've never seen it in the
open.
That's windows. It's called a mode b ABC
mode, and they are a little
bit different. So on see mode, the device
listens all the time and demoed
the device.
Talk to the network server to
tell the network server when it's alive.
OK, yeah. Ten seconds.
One thing I forgot Laura is not
open. It's proprietary about the
LoRaWAN is pretty open, but suspect you
can read it and build it yourself if you
want to use it. Whatever way you like,
Tobias.
Thank you so much.
Let's have a final round of applause.
Thanks, Michael this year.