►
Description
Speakers: Constanza Yáñez Calderón
When I was a child I dreamt a lot about creating robots that helped me in my daily life, like tidying up my bedroom. That was just a dream till I grow up and found out that there's something called home automation. So I decided to build Sasha, my cats' pet sitter, that helps me by feeding my cats when I have to get home a little bit late. Sasha changed my life and my cats are stressless because they can eat their meal at the right time.
In this talk, I will share my experience on using JavaScript to build Sasha and will walkthrough its features. Last, I'll talk about other possible use cases and the potential of home automation with JavaScript.
A
Bonjour,
hello,
I'm
so
glad
to
be
here
with
you
to
see
a
lot
of
friends
from
from
South
America,
so
hi,
my
name
is
Constanza
I'm
from
Buenos
Aires
Argentina
I
have
some
sweets
from
my
country.
If
you,
if
you
want
one
of
them,
I'm
a
front-end
developer
at
Merkel
Lutheran,
there
is
an
e-commerce
company
from
South
America
and
I'm,
a
team
member
of
Chicopee
Raimondo,
a
community
of
women.
A
Cut
three
of
the
most
popular
things
on
the
internet.
Right
in
this
presentation,
we
are
going
to
see
this
topic,
a
life
story,
a
pet
feathers,
design,
building
programming
process
of
the
pet
feeder.
But
let
me
start
with
a
life
story:
when
I
was
four
years
old,
my
family
made
me
clean
up.
My
bedroom.
Put
the
toys
away
in
boxes.
A
Do
the
dishes
sometimes
through
the
patio
by
then
I,
was
so
angry,
because
all
I
wanted
to
do
was
to
play
with
my
friends
and
toys,
so
I
used
to
have
this
dream
that
was
about
creating
robots.
That
could
help
me
in
with
these
chores.
I
had
and
then
I
grew
up
and
I
still
have
chores
and
even
more
than
before,
but
now
I
have
to
cut
away.
I
had
one
cut
because
one
of
them
passed
away
a
few
months
ago,
but
this
project
is
for
him
also
also
and
Haku.
A
So,
if
I
give
them
the
day
serving
in
the
morning,
they
eat
it
by
noon
and
when
I
got
home
at
9:00,
they're
hungry
and
as
for
multitude,
so
I
need
to
think
of
a
way
to
to
give
them
the
day
serving
the
food
in
a
smaller
servings.
Even
if
I'm
not
around
since
I
wish,
I
could
build
a
robot
25
years
have
passed
and
I
see
what
one
that
helped
me
in
my
daily
life.
A
So
I
saw
a
lot
of
example,
and
most
of
them
were
built
on
Python
and
the
structure
were
just
for
one
cut.
However,
what
I
was
what
I'd
need
was
something
that
could
feel
both
cut
at
the
same
time,
because
I
don't
have
much
space
in
my
home
because
it's
cheaper,
don't
have
two
machines,
so
these
are
the
things
I
used
to
build
Sasha
a
microcontroller
or
a
computer,
a
serie
dispenser
and
a
servo
motor.
A
There
was
an
Arduino
or
Raspberry
Pi
or
something
similar
for
some
reason.
I
thought
a
Raspberry
Pi
will
be
the
best
option.
Do
it
how
easy
to
work
with?
Is
it's
a
Burton
system?
Actually
I
use
the
Raspberry
Pi,
because
someone?
Let
me
want
the
model
3
and
I
learned
to
configure
it
from
scratch.
I
installed
installed
raspbian
and
a
parenting
operating
system
for
Raspberry
Pi
for
the
servomotor,
and
you
need
to
use
one
term
to
move
the
dispenser
blades
and
there
are
many
models
of
servo
motors.
A
You
can
get
the
one
that
turns
al
45
degrees
or
180
degrees,
or
there
are
some
that
has
a
continual
rotation.
I
decided
to
use
JavaScript
to
develop
their
feeder,
because
I'm
learning
to
program
with
this
language
and
I
wanted
to
call
something
different
of
what
I
do
every
day,
which
is
front-end
and
I
made
a
research
and
I
found
a
platform
called
johnny-five,
and
that
allows
you
to
work
in
robotic
system
with
JavaScript.
A
But
before
that
I
had
to
install
raspy
IO,
there
is
a
plug-in
that
enables
you
to
work
with
johnny-five
on
the
Raspberry
Pi
to
code.
The
configuration
is
pretty
easy.
You
just
have
to
install
it
and
require
the
model
in
your
JS
file.
Then
you
have
to
call
both
Molina
function.
That's
it
and
to
run
the
project.
I
use,
no
J's.
A
So
let's
go
to
the
big
process
as
I,
never
build
something
like
that.
Before
my
knowledge
on
the
subway
and
a
sublet
subject,
sorry
was
no
I
never
connected
wires
before,
but
there
are
some
things
there.
One
thing
I
learned
from
movies:
that
is,
that
there
are
conventions
for
connecting
cables,
and
if
you,
if
you
don't
follow
them,
you
can
make
a
mess
of
things.
So
all
I
wanted
to
do
was
not
to
burn
my
house
after
and
they
set
up
the
first
thing.
A
And
so
I
dive
into
the
world
of
servo
motors
and
try
to
make
one
work,
but
that
part
wasn't
that
easy,
as
I
was
suspecting
I
needed
to
connect
the
servo,
the
servo
motor
to
the
Raspberry
Pi
by
jumper
wires,
I
used
three
of
them,
because
servo
motor
has
three
and
the
sign.
Now
the
red
wonder
is
positive
and
the
black
one
is
the
negative
and
the
Raspberry
Pi
has
a
lot
of
pins
where
to
put
the
wires.
A
And
to
do
that,
you
need
to
connect
to
a
pulse
width,
modulation,
pin
then
I
use
the
GPIO
18
and
the
Raspberry
Pi
has
just
four
pwm
pin
so
I
connected
to
one
of
them
and
the
other
one
must
be
connected
to
a
5
volt
pin
on
a
ground
pin
during
the
process.
I
learned
that
not
all
servo
motors
are
the
same
as
I
say
before
some
of
them
turned
45
degrees,
others
180
degrees,
and
there
are
some
with
continuous
rotation.
I
used,
all
of
them
till
I
found
them
all
and
I
need.
A
A
That
part
was
very
funny,
so
it
turns
out
that
to
to
move
the
servo
motor
with
continuous,
the
with
continuous
rotation,
you
need
to
move
the
place
clockwise,
and
so
it
is
necessary
to
set
the
to
set
the
top
speed
of
the
server
blades
and
when
you
want
to
stop,
there
is
server
dot.
Cw
between
the
parentheses
is
the
the
speed.
A
So
I
set
the
feeder
to
give
them
food
twice
a
day
and
I
use
this
NPM
package
that
is
called
nhadra
you'd
just
have
to
to
just
set
the
minute
the
the
hours
I'm
got
it
I
left
the
the
the
program
running
and
thanks
to
that,
I
realized
that
the
theater
wasn't
working
properly
because
it
was
letting
out
the
food
every
hour.
My
cuts
were
were
really
happy
about
that,
but
that
was
no
was
I
was
expecting
after
spending
a
lot
of
times
trying
to
figure
out
what
was
the
problem?
A
A
and
they're
starting
mooing
loudly
I
was
so
sleepy
and
HR
I
and
tired
to
get
up
and
fill
their
bowls,
but
I
knew
that
if
I
didn't
do
that,
they
will
keep
crying,
and
that
was
the
the
point
where
I
thought
I
shall
include
a
new
feature
and
that
feature
is
send
an
email
to
the
feeder
from
the
comfort
of
my
the
bed
and
then
go
back
to
sleep.
So
I
looked
for
another
package.
A
Yes,
by
that
time,
I
was
like
this
cut
sticking.
It's
known
in
every
library,
I
found
he
like
out
the
right
one
for
the
project
to
develop
this
new
feature.
I
used.
I
found
these
packages
this
package
that
allows
you
to
set
up
the
email
configuration
it's
called
main
notifier
and
I
can't
explain
how
I
felt
the
first
time
I
mailed
and
it
work
I
think
that
I
might
have
shed
a
couple
of
Tears
literally.
A
A
A
A
Even
even
if
there
are
parts
that
include
not
coding
like
building
the
structure,
glue
in
pieces
and
etc,
because
you
can
teach
variables
conditionals
using
packages
set
it
up.
A
computer
and
I,
don't
know
much
JavaScript
and,
as
I
say
before,
I'm
Ali,
I'm
learning
and
I've
shown
to
other
people
to
my
English
teacher,
how
the
the
feeder
works
and
they
started
saying
that
they
want
to
do
things
like
that.
A
For
themselves-
and
they
think
that
is
incredible-
how,
with
a
little
bit
of
hardware,
something
that
you
may
find
in
your
home
and
a
little
bit
of
code,
you
can
make
something
new
work.
This
project
only
has
a
42
lines
of
code.
It's
really
small
and
I'm
sure
that
there
are
amazing
projects
to
rebuild
and
to
be
shown,
and
maybe
those
projects
can
inspire
other
people
to
do
things
to
facilitate
chores
or
change,
how
they
interact
with
their
homes
or
with
just
a
little
bit
of
code.
So
I
have
I
have
the
resources.