Dear viewer, these subtitles were generated by a machine via the service YouTube and therefore are (very) buggy. If you are capable, please help us to create good quality subtitles: https://c3subtitles.de/talk/2680 Thanks!
[Music]
yes so welcome again to the CC camp and
I had the pleasure being invited here um
from the whole Camp organization also
for my company because we donated uh the
two sensors on
the on your batch I don't want to touch
that now with the camera and I want tell
in the first part a little bit about the
sensors how they are working and what it
is all about with this Ms things what's
in the batch and then second part show a
few examples how you can really with
command line get micropython code
running getting an LED onof blinking and
then also touch the measurements from
Those
sensors the first sensor is the BMI 270
this is an inertial the I stands for
inertial sensor so doing gravity things
so that's a big sensor oh now I forgot
to bring the wide part of that sensor
that I could show later where you locate
them so this is the big one with 2 and
1/2 by 3
mm and it says the inertial thing for
3x's and also gyro so the rotation
things you can it can measure how fast
it's
rotating and that's also quite useful
for doing inertial navigation things
like that uh All Those sensors are now
widely used in a lot of things uh in
your mobile phones also in all those
wearable devices which are around in
your wristwatch that you get monitored
all the time if you do the right things
um they have a lot of in uh coding
already inside that chip so it's not
only the hardware for detecting things
like that uh but also a microcontroller
and the microcontroller itself can do
step counting can recognize if you do
whatever with your hand so in this sens
it's still
hardcoded uh that you get some
information it also can has a freeall
detection so if it's dropping it can
issue an interrupt to your micr
controller but everything also the step
counting is done internally that your
host CPU doesn't need that much power
things like that uh the hearables have
it uh for just tapping on it for
switching on off whatever I'm not using
any of these devices so it's pure theory
for
me and there's a lot of possibilities
and so all those possibil possibilities
you also can now play around with your
batch so you can tap on it whatever and
you have to read the data sheet and see
how it's getting mapped into Python and
maybe bother the firware guys for or
give me this or that support right now
you see only the measurements for the
Angles and the rotation speeds but there
is more options and this just must be
ported into the F in Python then then a
lot of fun stuff can be done but even if
the basics set up it's great
and so right now it's working for some
game things for drones all the varable
things and the second sensor which is in
it's a very new and decent BMP 51 the P
stands for pressure so this is only
doing the barometric pressure air
pressure you always can detect pressure
sensors typically that are all metal CT
and have a small hole this one even has
two holes very new and there so so that
the pressure the air can get in and out
so whenever see something with a gap so
something must get in and out uh with
the sensor four years ago for the cardio
batch it is also metal cap thing but now
there was the whole for the um
environmental sensors it also did
pressure and humidity but also this gas
sensing the B6 that you can sniff gases
in2 alcohol tests or whatever so that's
a bit
smaller 2x2 mm yeah
so it's very hard to find on the card
and this is also being used to since the
pressure measurement right now to does
the slide any me mention oh yeah um it
has a very high Precision so it's
measured in Pascal with the pressure
typically we do hectopascal then it
,3 hectopascal or mini bar which is the
standard pressure at sea level with
great weather conditions and whatever um
this one has a resolution of less around
about half a pascal and this is uh if
you just lift it up uh you get
resolutions absolute resolutions in the
range of 50 cm unless you really can try
to show that afterwards with the cable
oh that part is difficult with the
camera we'll see no that's easy with the
camera that you really can measure in
centimeters or few C M how you're
lifting that so this is now used uh for
example also in Mobile phones and other
variable devices that you can measure in
which floor in a building you're located
you can do that without any GPS whatever
and this is horribly precise uh that you
if you're going up stairs you can even
that one do stair step counting stair
counting but you play around with that
uh just reading out uh and you will see
if you drive up the lift and leave first
floor second floor TR tremendous
different numbers and you that way it's
easy to have the flaw level for then um
rescuing people when it's not C where
you are when you can't see things
anymore it's in United States they are
just planning that uh there will be
requirements or maybe that it's already
law that you have to have devices where
you can track people and know in which
flaw it is if in case of fire and other
accidents and you can read out the thing
at a very high speed at least with I
think 480 HZ maybe even more also there
data sheet tells a lot more so this is a
pressure sensor but it also provides for
example a
temperature um so because the physics of
that pressure sensor must be calibrated
a bit you so if the temperature is
higher they they have to know the
temperature and just make sure the
measurement of the pressure is always
very precise and yeah since you can
detect movements you can use it in a lot
of of indoor and outdoor and whatever
applications and getting better every oh
that was back and now there's a small
movie hope hope this is
working no oh that's going
back I want to start the movie
please to
show how oh that's the PDF that's wrong
we need the browser
the here is the first example a little
bit how the acceleration sensor is
working internally get a rough idea what
it's useful can you hear anything so
that the detect a vehicle impact as well
as the smallest movements of a
smartphone or
wearables the acceleration sensor
consists of of a signal processing chip
and a micromechanical comb like
structure these Combs form a capacitor
and the distance between the micro
structures determines its
capacity the blue part of this structure
is
movable depending on acceleration or
deceleration they change their position
relative to each other the resulting
change in capacitance is detected by the
integrated Electronics converted into a
measured value and output into a voltage
[Music]
signal so there a little bit animation
how the that acceleration sensor Works
internally having that structure made of
silicon which is like a spring and can
move when
you shift it around then it's pulled
down by gravity or if you accelerate and
throw away your mobile phone these
things will shake and and then you can
detect
um what was moved you have that's in all
three dimensions uh the Z Dimension
looks a little bit different but can be
measured and you get the measurements
that's quite nice yes this was only one
dimension this is only example for one
dimension then you have the turn for the
second dimension for why don't ask me
about the second dimension it's a little
bit different but the physics is more L
the
same so it's this pressure Sense on this
a small
animation
here there are two chips in this housing
a circuit for Signal processing and the
sensor
itself the micromechanical sensor chip
is furnished with a pressure sensitive
membrane electrical resistors on the
membrane are connected together to form
a wheat Stone
Bridge
changes in pressure cause the membrane
to change shape an electrical voltage
proportionate to the amount of
distortion is created at the
resistors the change in voltage is the
result of the ambient pressure in analog
sensors the typical signal voltage
generated is between 0 and 5
[Music]
volts I'm not sure if I can just
Z
in analog sensors the typical signal
volt
sisters the actually that's not exactly
what your sensor is doing so the
membrane thing is the same it's a very
very thin slice of silicon it's moving
up and down depending where the pressure
from the hes more or less air is coming
in but for the first time in our sensor
um history this sensor what you got now
is not with res resistors anymore and
but it's a capacitive um sensor where so
you have that silicon plane and another
conducting plane so it's a capacity and
if you press down the capacity will
change and you're measuring the change
in
capacity the one of Advantage is that
you need less current so it's more power
efficient and also the resolution and
the noise level of the signal is quite
much better than the generation before
so but just seeing there's a membrane
it's somehow getting pressed down and up
that's all the principle of all those
pressure sensors and before you had some
resistors and Peto resistive things and
now we're doing that capacitive
qu and yeah All Those sensors uh which
BOS is doing both for the consumer
electronics and also for the automotive
um they're all produced in hling so
south of stot that's the only doing
those Technologies uh
those as6 which do the software and
analog measurement things then they are
done somewhere in the world so that's
regular technique for doing any chips
but how the sensors are working with
moving parts and this mems micromechanic
sensor things that's very specific what
is for a few other companies also doing
and they are coming
from uh uh that FB in Ro Ling BOS
recently built up a new FB in Tron so
this oh there I think that's a second
slide on that yeah in rling we're
producing um things on 15 cm or 20 cm
modules um waers so 20 cm R about that I
have one in the tent if you come to the
tent I also can show show how 20 C wafer
looks like um Inon they recently built
up a new FB running at 30 cm so it's
only 10 cm small but it's two size uh
the area so you get more chips out of a
single W which you're processing and
those process things run for weeks you
have to Edge them you have to cover them
you have to keep them at dedicated
temperature so it's a lot of steps
getting any chip or also the MS even M
takes sometimes a little bit more and
right now in rling they're building a
new FB for getting even more production
because we can't produce as much chips
and sensors as uh the market is asking
for
horrible yeah and this is just the
portfolio what we also do in sensor Tech
that's not not only the acceleration
and Gyro sensor we have the gas sensors
which you maybe got four years ago the
be the environmental sensor where you
can try to detect um volatile organic
components alcohol other things not Co
O2 directly but other other gases uh
with the pressure things which which you
now got and there are also other things
you can use since it's moving somehow
you can use it as a micros speaker you
can move the same technology for
microphones things like and they are
magnets so that's a lot of the third
measurement think now we have the 6
degrees of freedom for three times
acceleration has gyro um this is enough
for having the orientation in room then
I know exactly where you're pointing to
but I don't have an absolute orientation
if I'm looking North and South with an
extra 3x's of an magnet Compass I have
the full control and measurement where
it's going
to and this is tou the picture again you
always have this mechanical thing the
mems uh which does physical effects and
then you have to have a second chip uh
where you do the analog measurements and
things like that and those things are
getting smaller and smaller and now we
we stack multiple of the sensors and
multiple of the chips in a whole sensor
Which is less than a millimeter in
height that as much many of these things
can get in a mobile phone because mobile
phones are getting so much smaller every
year yeah the numbers of you may want to
remember the chip is less than a
millimeter height um which is huge
because then the final sensor sometimes
should be only 0.6 or 0.5 mm so after
all the processing from the lower part a
lot of silicate is getting removed that
it's thin enough to fit in the
requirements for the mobile phones
things like that and yeah and but since
it's larger Wafers of that size 20 cm
you have plenty of them if they're so
small and just I think a last number so
on this uh acceleration
sensor if you think uh having the same
structure in a football stadium
um then the gap between this moving part
and the lower part uh if it's the whole
field of the football stadium it's
around about 10
cm above the lawn above the grass and
it's only uh the moving part itself it's
only 1 1 cm thin silicon structure which
is then shaking around things as it's
incredibly small and working inly BL ah
at ment um if you want to look talk at
Bosch um talk talk to
me so even right now it's a little bit
difficult
uh it's really I'm now at BOS only for
10 years and only for a single project
not doing sensors actually but it's
really acute camera company and BOS
sensor Tech is
uh s how do you say independent company
we are gmbh in Germany
and but we belong to Bosch AE because
everything comes from the automotive FB
but we are quite independent of what's
going on in the automotive Market
because yeah the customers are different
the speed is
different uh the requirement for the
chips are way different compared to the
automotive chips so here it's all about
size power uh power supply whatever and
every new um mobile phone generation
needs new sensors and in uh automobile
industry it's you have a lot of power
you have a lot of space and you also can
dissipate heat not a topic for modern
sensors um but they have to last for 25
and more years so it's very very
difficult different but this technology
is identical sometime sometimes they are
used more as the
same want
yeah I appreciate being there and as at
least one guide was even has the
opportunity coming to the next Camp
maybe no need to be me so that was just
that getting in touch somewhere is I
brought a box with also small um cards
and info cards where you can get we have
a community portal uh where you can get
in direct contact with other developers
and also with our developers inside B
sensor de themselves and asking them
question if you have ideas and things
about these sensors on any anything else
which is on public market some of the
sensors are made specific for uh single
uh customer they say we need that that
requirement and make the compass like
this and but a lot of the sensors uh you
can get as a single chip and from all
the small companies doing like Seed
Studio other fruit whatever way can play
around with the single device because
they're also small you don't want to
handle that as a nonprofessional
typically so in the small 2x2 2x2 mm and
smaller things with a ball grid array Ah
that's for the slides any questions
about mems and things otherwise I would
hurry into just showing a little few
lines of python and how to do
that um just one question what
controller oh sorry uh what chip do you
use inside this chip I mean what core uh
some the question was so for the
controllers inside Those sensors which
course will we
use um if it was Arc whatever um some of
them are dedicated IPS we're using
internally for very low power very small
very code whatever um right now it's
nothing which is on a regular Market
it's the old ones have a 16bit CPU the
new ones have a 32bit CPU where the only
registers are 32bit typically there is
not running a lot of code even if
they're doing AI now these days for
detecting easy easier better detecting
for Gest just movement Styles whatever
that you can say you're not moving
equally on both like things like that
you should go to your autopad or
whatever
um this is all in very very few
kilobytes of
code there are plans uh just BOS joined
uh the risk 5 consultion whatever
improving that but right now except for
uh doing lap stuff and playing around
for Next Generation things I've not seen
any risk five but it's very small things
and since Those sensors are running even
if your uh mobile phone for example are
your herble and whatever the small
variable devices which have a small
battery anyway um they must be as power
efficient as possible that's the main
part so it's not no one will program
there are few of the sensors even on
public market you can up upload your own
firmware and do things directly on that
chip which is that very efficient and
then you only signal the host CPU or
something happened or I have measurement
data for you in a wider scale things
like
that
okay so
let's I I have to
rescale I want to show a little bit the
USB cable is still missing
where's my USP
cable yep so now the idea is can you
see the can they see the video signal
from the camera that the batch is
running
here okay uh that's the contrast is not
perfect but it's fine if you can see it
it's good so if you want to program that
thing just use your USB cable plug it in
while it's running
and I'm a command line guy so you can
have this wonderful IDE and whatever and
Depends a little bit on your operating
systems but getting the first steps and
also understanding a little bit how it's
going
on you can use many uh your any terminal
program of your
choice uh on Linux on my thing
that number one
but oh there was gabbage in front of the
command line
so and if you do that it's just
connecting nothing happens um you still
see the logo
running and if I press contrl + C I get
a python command
line and how do and then you can do
everything you know uh what you can do
in Python you just start use it at the
desktop calculator whatever who had
never used python so far
so a few ones okay and so P python is an
interesting language I can't tell
anything about that
but what you and for how to use it the
most important line is this one
um and it will give a lot of output how
to use this console thing and the only
important line of the whole thing for me
at least oh there's more stuff on the
top which I didn't
notice pin machine so this is a how to
you control lowlevel things a single pin
if you have a eval border playing around
with that thing not sure how valuable
that that part is for the patch I didn't
even notice it there's even a small
example how you can do basic Wi-Fi
configuration on your own that's python
it's all a few lines of code and you can
connect to your Wi-Fi or you make your
own Wi-Fi access point and run a web
thing just looking up in the internet
for micro python there's so many
important things the only thing which I
now want to show uh for the command line
demo thing um the control emote which we
will use in a second and what's
unfortunately not working what I'm very
used to is in a normal CH I could press
control L and it would clear the screen
you can have my typing in the top here
it's not
working so and
now you have to get started somewhere
somehow one possibility is just looking
in the docs for the um on the web page
uh flower. garden.
docs and oh I should have had
that let's
see
[Music]
dos uh doesn't work
now so there you get explanation of
several modules and if you ever Ed
python a little bit so you can do just
to some arithmetic thing oops dot so
this is now floating Point thing and if
it doesn't know about Pi but if I import
a modu import a module
moth and then I can do
math. PI and it even knows M so there
are modules which you can import and
then you have that F function and things
are the same is true now also for LEDs
you only have to do import LEDs you will
find the LEDs things and now we have a
lot of functions for
LEDs and that's also because it's a lot
just fun playing around and now you will
notice in the display that uh
the uh the batch will show that you're
in rapple mode this is the communication
mode between that terminal
thing I'm not exactly sure what it means
you could stop it with pressing the left
button or leaving here but we don't want
to do that now and what why I like doing
that on a command line not in an editor
is so this is now I have a lot of lets
whatever and I can press
top and uh the python system will tell
me how to complete things so now we can
see for example there is something which
is let's whatever oh it's just set on
press top then we get a lot of set RGB
that let's start with the set on
GB and it says it's a function and you
always can do help in Pon it's quite
nice oh yeah the problem in micro Pyon
it's very small and all the help things
um
they have to be somewhere in memory now
really have to go to uh
FL
[Music]
Bo
[Music]
and going for programming somewhere
API let's and if you get that
description it does not tell us that you
have to do import let's module first but
it's a module and this is how python
works and then it will tell for example
Set Let's uh this needs four parameters
alog together it's uh the index of the
LED
uh from 0 to 39 is 40 LEDs in the round
circle and then values for RG and B and
right now let's see the first led number
zero is this one it's green or greenish
or
whatever and if I now go back and say
set RGB I have to give the LED number
the first one and and say
n then show go
off is this possible that you can see
that I'm not
sure and you can do things like just
make the red green and blue Channel all
three LEDs on then it should
be nothing ah and nothing happens you
cannot see anything and looking back on
the documentation the important thing is
you have to call update so you can do a
lot of set this led first one the second
one and and only if you
call update was the documentation is
saying but of it's not working that way
because it's update from the last module
and if I do that now it should be
white can you see that thing no that's
so it's a very it's about this led which
is now white let's do the same thing
again so with only make it full red
green and blue with do
off and now I have at least cursor
functions in history so this quite easy
now playing around should be
red okay at least I can see it and you
can see it too on that way you can
experiment a little bit how it's working
and you have to do the update thing
again and looking at the either at the
docs again what's available or just
doing let's start what is available what
can I set you will notice also now I
have to specify for every single LED
what you want to do but there also set
all RGB at once so I can do
set oops
all RB at once
and and now I have to only remove the
index and say okay make all the ls to
full
White
and again nothing happens because we
need to
update and now everything is white and
black and so you can play around with
that one and that's the easy way how we
can get to that uh launcher
font launch launch maybe like
that and I prepared a few small examples
so now this is I really if I use Python
figure about module do or what's
available and how do I do gpio and how
do the hardware is working and now if
this is all working then you can do
things like so this import LEDs time is
giving me a time function where I can do
time. sleep and then in Python you
always have to indent if you have y Loop
so this is an infinite Loop while
everything and now this is uh counting
up from 0 to 39 so it's 40 steps from 0
to 39 and it's just
doing um a single led the LED number one
is getting all white it updates things
it's all black and now I could copy that
line by line the problem is if I now
copy that and might do cut and paste
then if it's getting longer I really
want to have that in an editor and
if is that so intelligent that it's
working not
sure
and now you can see how the white LED is
running around maybe depending on how
how where is ah it's now in the upper
left corner okay I can see too
great I'm a bit surprised that this is
now working because cutting and pasting
the indentation thing typically is not
working with the micropython things and
this is what the control e in the help
is for that's a cut and paste mode and
so typically you should press contr e
then you can just put all the things
from your editor paste it
in press contrl D what it says here and
it just runs your program and then you
can have longer things and paste things
or Define a first function define a
second function if I would to do that in
a function now you could do that not not
sure if I'm get that
F I'm not a python guy so but it could
work like this
hopefully maybe let's
try
at least there was no error it's not
complaining and now I can call
F and yeah it's running again so things
like that so you can start very small on
the command line explore how the things
are working if you know a little bit
better you can do things like that
here now for my full example
so very
for terminal tool of your choice
and an editor um the second option
because yeah typically you don't have
the terminal thing installed and you can
only can do the python command line and
you want to do a little bit more there's
a command called MP remote micro python
remote very likely you don't have that
installed not installed yet but you can
just do pip
install so for for my system it's pip
three so the python inst python command
will
oh and there a new release so we do that
later but that way you get the MP remote
and the MP remote is quite useful in a
lot of methods but that's sufficient for
what I'm doing it automatically will
detect where your controller is
connected to with the my terminal thing
I had to specify that on my own and now
nothing happened here on my terminal and
U let's go back to that
one yeah
works and here
since it's done I have to press contrl C
to stop what's running on the Micron and
still now I have the desktop calculator
yeah and it's exactly the same as the
terminal I can press CR e go in that
paste mode get to my editor
again just cut and paste everything
on using a different example now
that's it's all all the same
[Music]
now it's doing just a color circle it's
not RGB anymore but there's other color
options use saturation value where you
get a position in the color circle from
0 to
360° and you can do the saturation if
it's a little bit of red or going to
from between white and black and how
intense it is just uh take get the color
and make it full brght right and you can
run around now circling all LEDs are the
same so what it's doing is I set all HSV
just sets it update it wait a little bit
and that's running now things like
that I can stop that again so if you do
don't specify any the important
information
oops always in the very top if you call
that if you want to get out of that MP
remote you just have to press contrl X
I'm pick on my command line in the wrong
directory where is the right directory
this
one and so next step and so terminal is
nice if you say like me I'm using that
terminal thing for a lot of
things oh thank you
ah but now it's more the command line
again got Rod nods quite
aesthetic
ah and you get a little bit of help oops
and the help is only dash dash help
there's no men page nothing I didn't
look up in the internet so it claims
that you by default it's connecting and
you can other things which are quite
helpful they can access the file system
and things like that and you also can do
run your file for example I have a third
example for some Led things you just
push the python code and run it and now
it's just doing some color circling it's
a little bit change of the first script
of of the second script so it's
uploading that running that if I press
contrl C the connection is stopped but
you see it's still because that uh 3.
python is also just a simple infinite
Loop counting up and just
doing now not all the um LEDs the same
but uh oops I'm just uh preparing the
color for every LED on its own and the
first led getting color value or color
circle degree zero and the next one is
getting 9° further if you calculate that
it's just making sure that uh the 40 um
the 40 LEDs run all around the color
circle so now the color circle is
turning around
so it's very small for Loop you do that
all so now you have 40 LED set at once
before you do the update and say okay
now change the color of all 40ies do
that once and make a little sleep that's
what's running right
now so that way it's quite easy you can
edit your files a little bit so keep for
example the editor like
this doing that example and have a
shorter path than I have
uh so the very classical thing in Unix
so now we have a sh of prompt and now I
have lot and then I can do run my script
things like that that's quite nice uh
the MP remote also can be help helpful
for playing around with
your uh batch in general so that's for
the python things for now that's doing a
little bit the other important commands
you can list what on your these are the
file systems and you will notice it has
a flash file system it has a SD file
system I have no idea what console is
all about didn't CH and now if you try
to look into the
flash it will complain with under for me
not understandable error
messages oh and I just noticed the magic
colon is showing up we'll have that in a
minute um because you always have to
start it with a slush don't ask me
and the real command which I didn't
notice before is really not so this is
working now you can look at the flash of
your thing and uh you will see there's
the nick. Json and so this nick. Json
unfortunately you cannot do an LS on a
file but only in a directory so but you
see there is a file and forget about the
file sizes everything is size zero in
that MP remote output seems to be a very
interesting tool but there is a thing
and uh help
again somewhere we also see there's a
copy command which is used like
this and if I now try to just copy that
Nick
thing so MP remote
copy here to that
thing it's not working and part of the
trick is shown in the ls output because
the
LS
which was working prepended a colon and
uh if you look at the internet thing you
realize you really have to do the remote
names are always with a codon since this
is for the ls magically it prepend it
and thinks about that for the copy it
must know what's the remote side on your
batch what not so you can copy the Nick
file
from notebook copying it here and now I
have a Nick file now you can edit that
Nick file with your favorite editor
and you then you can copy it back and
say copy that
Nick file which is laying around
here either to some name or you Al here
you're allowed to just say put it in the
flashh directory after you change your
Nick so this is the easiest way I've
found so far using the EMP remote copy
the Nick file here you then you don't
have to go in the system menu with the
buttons and click around and do the
mounting and
unmounting which does not work always
for meos notebooks not sure if this is
working you have to figure out but it's
just python things and the serial
protocol hopefully that's working so I
like that very much and then if you're
looking in the
system H time
fly
just we can't do that any all there is
you can look in the CIS
directory and you can look all in CIS
director you will find an apps directory
apps yay when in apps there all what I
now installed or what came with the most
recent thing and now you can look in one
of the apps directories for example and
get either for the Nick or how is
it and typically in such an application
is always only showing up as two files
this is just an uh config let's just
copy it very quick Copy
copy that one to my local
directory and
copy the second one to my Lo will
copy and now we got
that so it's not very large
and
so it's just the description where it
says this is the application name which
you find in the menu this is going in
the menu music or apps or whatever if
you look at those examples um then it's
the entry how it's called and how it's
getting started things so that way it's
very easy now just have creating a new
directory there m cut or whatever you
can create a new
directory um put in and the in file is
just the python code
this you have to look at the
documentation I re typically learn these
things all from just getting an example
either from the GitHub so you can
download it all from the Internet or you
can directly access it now from the
patch and since now we're running very
much out of time um that way you can
collect that thing my plan was always
I at least want to show how to access
the sensor things because accessing
sensor is very very easy um so I go just
MP remote again on the
command and I've prepared something for
that so the the only thing we need for
the sensors is that input State thing
I've just looked into one of the demo
applications hint cook card from too oh
from too many
arguments from
STM oh I dropped that off of sorry the
MP
remote uh I want to press control maybe
I pressed contrl X so let's import that
module again from the big St 3M module I
only want to have the subm module init
State and then I can do for example run
from in state there's a method gather
there you have to go we can look at
what's
in input state DOT whatever oh the only
thing which it provides here so it's
doing for thing and now I got a object G
and with G do whatever can look what's
available and U Get rid of everything
else and we notice there's
ah getting something with our
temperature so
any
questions and then for the the rest is
hidden in IMU this is the inertial
measurement unit in
IMU it's again an object so we can do
dot what does the object provide it
provides acceleration data oops and here
you get now values for the
acceleration now it's laying a little
bit flat uh so you can if I do it flat
just uh no matter what the camera is
showing oh and I always get the same
because I have to do the measurement uh
gather new data and if I do that you
will notice now in Z Direction it's the
0.81 whatever roundabout that's the
gravity in meter over um second squared
and for X and Y it's more or less zero
and if I put that
up um so that way you get
the acceleration data and also here you
can read out the pressure thing this is
now in Pascal and very last
example now this is just reading out the
pressure
and um doing that in a loop and bringing
the values and if I try to run that in
the right tunel here so it's quit that
again then I can do a run pressure
one and here you get the temperature the
43 whatever degrees that's the second
temperature value which is not working
right now for for that firmware and the
pressure I subtracted just some random
number for what was the pressure two
days ago and now so this is in
hectopascal it's noise of less than a
hectopascal and then I transform it with
something which is obviously not complet
corrected in round about centim now if I
just move up you will notice the second
last column moved from a three 38 to
already 36 so we have quite some if I
drop it on
the I get weird signal from the side
which I don't understand
it and now you can do let's claim the
floor is C 40 cenm
High meters oh that's in meters still
and it's 41.1 so calibration for the
right one is not working perfectly and a
kind soul and our bch the plan was Now
using that where first line without any
more deos I
can stop yeah stop that also with a left
button then we're getting out of this
reppel whatever
mode and a guy just took the time where
while I have flushing more batches going
to the music and he hacked exactly that
application with
oton whatever don't know what typically
you have to press that left thing oh
let's do see see maybe scale down sound
a little bit I have no idea what now
happened
headphone if
it so there might be audio in your thing
and yeah and now and now it's measuring
the pressure and keeps that as CR oh now
I'm I'm limited by uh the F so while I
press on the button it's using that
information uh for getting the free
frequency of the feeing and the lower I
go that's this so now the base plade is
a bit lower because I went below the
table and there was a change of a few
lines in that simple code uh he replaced
just the frequency with reading out
pressure sensor scaling it a little bit
just reasonable values and they can play
around so now you have all the tools
reading out things playing around
hacking with sensors with LEDs and have
fun with a batch
thank you har
Kik thank you har
Kik this was the last talk
here so have plenty of time for
questions or we can move to the batch
tent and whatever yeah um you can move
uh to the to the m infot tent or to the
M Coffee tent um we would ask you to um
collect some of the chairs and stack
them up there
somewhere um so the next party can uh
have a free area here oh there would be
more cool that would be nice of you and
Har brought some swag uh with him from
bos maybe can just move it in front
on oh okay so some bags uh I think four
pencils ball pens it's not that common
anymore and small car
and stickers very important stickers if
you like them and cards how you get in
contact with the community or get
directly in contact with me and I will
guide you also can forward specific
questions to the sensors to the
developers okay thank you for your time
and enjoy the last few hours of the
camp thank
[Music]
you