►
From YouTube: OpenBCI Primer (2015 Spring NuPIC Hackathon)
Description
Conor Russomano, cofounder and CEO of OpenBCI, describes how his device works for NuPIC hackers.
A
C
D
E
C
Thanks
guys
for
all
taking
the
time
and
watching
the
debug,
the
system
line,
so
this
is
open
bc
is,
are
really
cool
logo,
so
open
bc.
I
was
started
by
me
and
my
business
partner,
Joel
Barbie,
so
Joel
was
my
physical
computing
teacher
at
Parsons,
and
so
I
learned
how
to
use
in
Arduino
and
I
learned
introductory
electronics
and
a
lot
of
the
code
that
I've
learned
was
working
with
him.
He
had
started
his
stint
in
to
open
source
hardware
with
the
pulse
sensor,
which
you
can
see
on
the
upper
right.
C
It's
an
optical
heart
rate,
monitor
for
arduino,
and
then
he
was
contacted
by
somebody
on
an
SBIR
garba
grant
and
the
DARPA
grant
was
to
create
low-cost
EG
for
non-traditional
users,
and
then
he
knew
that
I
had
spent
my
whole
year.
My
whole
time
in
my
master's
program,
doing
EEG
related
art
projects,
so
he
reached
out
to
me
and
he
was
like
you
want
to
work
with
me
on
this
night.
Absolutely
so
then,
after
about
three
months,
we
took
our
first
prototype
to
maker
faire
and
everyone
at
maker
faire
I
was
like.
D
C
So,
like
essentially
figure
out
what
pieces
you
want
and
then
stick
them
together,
and
so
Arduino
did
a
really
amazing
up
who
hears
worked
with
Arduino
before
so.
For
those
of
you
that
don't
know,
Arduino
is
a
electronics
prototyping
tool.
Essentially,
so
it's
really
great
for
beginners,
because
you
can
look.
B
G
C
In
a
push
button-
and
you
can
write
a
few
lines
of
code
to
push
the
button
to
make
the
LED
turn
on
and
off,
but
then
a
lot
of
experience
electrical
engineers
actually
use
it
as
their
initial
prototyping
tools,
so
they'll
build
shields
for
the
Arduino
that
do
very
powerful
things.
For
instance
our
first
open
bc.
C
I
board
was
an
arduino
shield
and
then
we
took
the
components
that
we're
working
and
the
ones
that
we
wanted
and
we
manufacture
our
own
pc,
be
based
on
the
shield
combined
with
the
arduino
and
the
great
thing
about
our
do.
We
know
is
that
it's
programmable,
so
you
can
apply
code
to
the
microcontroller
and
have
everything
to
be
everything
operating
on
hardware
and
never
actually
doing
anything
on
the
computer.
So
we
wanted
to
combine
all
of
these
aspects
with
biosensing,
as
you
can
see
so.
C
Late
December
of
2013
or
December
of
2013,
and
we
were-
we
were
successfully
funded,
we
more
than
doubled
our
goal,
which
was
awesome.
We
weren't
sure
if
we
were
going
to
hit
it,
but
it
turns
out
there
are
a
lot
of
people
that
are
interested
in
doing
the
same
thing
that
we
were
doing,
and
this
is
the
work
that
you
see.
C
In
my
hand,
this
is
a
diagram
of
the
various
components,
so
there
are
8
x,
0
potential
inputs,
so
there
are
eight
channels
that
you
can
listen
to
EEG,
ECG
or
EMG,
so
any
electrical
potential
coming
out
of
your
body,
there's
a
high-powered
analog
to
digital
converter.
So
this
is
24
bit
resolution
very
sampling
rates,
so
the
theoretical
sampling
rate
is
up
to
16
kilohertz,
but
for
eg
you
don't
really
need
more
than
250
muscle.
C
You
generally
want
a
little
bit
higher,
so
maybe
a
thousand
kilohertz
or
500
kilohertz
or
500
Hertz
rather
or
one
kilohertz.
There's
an
accelerometer
there's
the
the
same,
microprocessor
that
the
Arduino
hands,
which
is
the
atmega328p,
and
then
we
have
a
different
variation
of
the
board,
which
is
a
32-bit,
pic32
microprocessor
and
there's
wireless
communication
and
a
local
SD
card.
So.
C
Big
one
of
the
big
issues
about
sending
EEG
data
over
the
air
is
that
you
run
into
a
bottleneck,
a
data
bottleneck
in
your
wireless
communication
most
of
the
time,
and
so
we
put
the
local
SD
card
there
so
that
you
could
write
high-resolution
data
at
high
sample
rates,
the
SD
card
and
end
down
sample
to
get
it
over
the
air.
In
that
way,
you
can
visualize
your
data
live,
and
you
can
also
have
all
of
that
data
for
post-processing
at
a
much
higher
sample
rate.
C
C
So
here's
a
little
demo,
so
your
brain
is
like
an
ocean
of
electricity
and
when
you're
working
with
eg
you're
standing
on
the
beach,
essentially
in
your
washing
waves
crash
on
the
beach
and
you're
trying
to
make
inferences
about
what's
going
on
inside
of
the
ocean
and
so
obviously
the
more
the
more
beaches
that
you
can
stand
on.
At
the
same
time,
the
better
inferences
you
can
make,
but
ultimately
you're
watching
waves
crash
on
the
shore
and
see
what
you
have
to
do
is
you
have
to
look
for
outliers.
C
C
Time
you'll
see
a
steady
voltage
as
the
battery
starts
to
lose
life.
The
voltage
will
gradually
drop
with
EEG
your
it's
very
similar
to
touching
the
multimeter
to
both
ends
of
a
battery
except
you're,
touching
into
on
your
head
and
then
the
minus
side,
your
reference
and
that's
usually
a
place.
That's
electrically
neutral,
like
your
earlobe
or
your
pass
code,
which
is
the
bone
behind
your
ear
and
then
what
you'll
see
is
a
variable
voltage
over
time.
So
you'll
see
this
this
fluctuation.
Is
this
waveform?
That's
a
raw
EEG
waiting
on
the
bottom.
C
So
this
is
an
example
of
way
of
addition.
You
see
a
plus
B
equals
C
with
eg.
What
we're
trying
to
do
is
we're
trying
to
look
at
the
raw
wave
and
we're
trying
to
extract
frequencies
from
that
raw
way.
So
when
you
hear
the
term
brainwave,
I'm
sure,
we've
all
heard
the
term
brainwave,
but
what
it's
literally
referring
to
is
reverently
prevalent
frequencies
or
predetermined
bins
of
frequencies
that
we're
extracting
from
a
raw
signal.
C
D
C
The
back
of
the
head,
you
see
that
the
high
opacity
saddam
know
it's
there
and
it's
because
your
visual
cortex
introduces
very
strong
alpha
when
you
close
your
eyes.
So
here's
a
better
insulation.
This
is
our
newer,
a
newer
version.
We're
doing
so
here
you
see,
channel
2
is
connected
to
my
forehead
and
I'm,
going
to
demo
this
in
a
second
actually,
whatever
I'll
just
devil
this
in
a
second.
C
C
B
C
Of
different
projects
that
people
have
started
implementing
so
on,
the
upper
left
is
a
motor
cortex
classification.
So
a
PhD
student
in
France
is
trying
to
classify
motor
cortex
signals
and
then
them
to
just
a
simple
game
where
he
basically
has
a
binary
input.
He
can
have
a
character
jump
up
over
like
like
almost
like
Mario.
He
just
has
to
avoid
the
gaps
and
his
character
constantly
runs
word.
He
has
to
jump
over
them
here.
We
have
five
different
people
plugged
into
the
same
open
bc.
C
I
Borg
controlling
a
floating
shark
flowing
through
a
room,
and
this
is
a
diagram
of
how
it
works.
So
what
we
do
is
we
have
kind
of
a
commander
who
is
dictating
to
the
rest
of
his
team,
which
action
the
shark
needs
to
perform
and
by
closing
your
eyes
introduce
an
alpha.
So
each
person's
alpha
is
mapped
to
a
different
trigger
of
the
sharp,
and
so
the
commander
will
say
forward
and
then
the
forward
I
will
close
his
eyes.
C
His
brain
wave
will
produce
the
alpha
and
move
forward
and
then
they
rotate
through
their
respective
jobs.
Well,
there's
other
ways
of
doing
this.
With
a
single
user,
so
one
technique
is
called
SSB
EP,
which
is
a
steady-state
visual
evoked
potential.
So
if
you
look
at
flashing
frequencies
of
light,
your
visual
cortex
will
actually
start
mimicking
those
frequencies,
and
so
you
can
have
a
screen
or
blinking
LEDs
at
different
frequencies
and
you
can
have
each
frequency
math
to
do
a
different
controller
output.
So
if
you
look
at
you
know,
it
hurts
that's
map
to
left.
C
C
Controlling
3d
printed
prosthetics
with
EMG
signals
from
the
hand
and
then
3d,
printing
electrodes,
so
there's
a
lot
of
new
materials
out
now:
conductive
materials,
conductive
spla,
so
we're
looking
at
3d
printing,
the
entire
TG
headset.
So
these
are
different
prototypes
that
we've
been
working
on,
and
here
I'll
turn
this
on.
C
So
the
ultra
cortex
has
a
twitter
account
by
the
way
you
guys
well,
follow
it
and
we're
probably
going
to
launch
a
Kickstarter
campaign
later
this
summer
to
print
and
distribute
ug
headsets
that
work
with
the
open
bc.
I
board
we're
also
looking
at
3d
printing
everything
every
component
of
the
headset,
so
working
with
printing
companies
like
blocks
away,
who
are
looking
at
metallic
ink,
in
addition
to
new
types
of
filaments
to
print
electrodes
and
components,
and
then
just
have
the
actual
EG
hardware,
the
amplifier
just
plug
into
the
back
here.
C
So
why
do
we
do
it?
For
people
like
you,
and
actually
you
know
we're
big
fans
of
what
you
meant
is
doing,
because
everything
that
we
do
is
open
source
and
it's
very
community
driven.
So
since
we're
an
open
source
company,
we
basically
live
or
die
depending
on
how
well
our
community
supports
what
we
do
and
at
the
same
time
we
believe
that,
as
we
move
forward
as
a
species
as
humanity,
we
need
to
make
sure
that
the
technology
that
we
build
that's
going
to
be
most
instrumental
in
the
future
of
who
we
are.
C
D
C
C
D
C
D
F
C
I'm
also
going
to
remove
it
from
the
bias,
so
the
bias
is
a
ground
establishing
a
common
ground
between
the
board
in
my
body
and
in
doing
so
the
bias
is
kind
of
a
souped-up
ground.
So
what
it
does
is
it
senses,
common-mode
noise
on
all
the
channels
and
then
takes
that
common
mode,
noise,
waveform
inverts
it
and
then
send
it
back
into
your
body
to
create
destructive
interference
for
that
signal.
C
I'm
not
going
to
I'm
not
going
to
force
you
guys
to
send
me
just
to
do
that
again,
but
essentially
what
I'll
do
is
go
back
to
the
demonstration
here.
I
wanted
it
end
with
us
live,
but
if
you
guys
want
to
stick
around
and
watch
it
afterwards,
I
think
there's
just
a
lot
of
moving
pieces
right
now.
So
this
is
what
I
was
going
to
demo
to
you,
which
is
the
exact
setup
here,
is
heartbeat
in
channel
4
boom
boom.
C
Your
occipital
lobe
is
very
big,
and
so
what
happens
is
as
you
close
your
eyes,
and
your
visual
cortex
is
not
processing,
tons
of
patterns
and
decoding
and
looking
at
and
observing
things
in
the
environment.
As
a
result,
the
like,
when
your
eyes,
are
open.
Your
visual
cortex
basically
looks
like
static.
It
looks
like
noise
because
everything
is
doing
it's
doing
its
responsibilities,
but
then,
when
you
open
or
when
you
close
your
eyes,
your
neurons,
don't
really
they
don't
know
what
to
do.
They're
kind
of
just
like.
C
Oh
we're
chilling
now
we're
in
chill
mode
and
as
a
result,
they
kind
of
start.
They
don't
stop
firing,
they
still
need
to
fire,
and
so
they
end
up
finding
each
other
they
define
requiring
in
synchronization,
and
it
starts
producing
this.
This
alpha
frequency
and
so
different
regions
or
other
regions
of
your
brain
behaves.
Similarly,
so
if
you
relax
every
muscle
in
your
body,
your
motor
cortex
will
begin
to
produce
a
new
frequency
and
so
one
motor
court.
C
C
C
I
think
it's
going
to
be
understanding,
brain
activity
in
the
context
of
environmental
stimuli
and
looking
at
diagnosis
for
medical
medical
billet
for
diseases,
and
things
like
that.
So
a
combining
you
GE,
with
neurostimulation
like
transcranial
direct
current
stimulation
for
closed-loop
systems,
well
yeah,
so
I'm
bummed
that
I
couldn't
get
the
device
working
on
this
whole
thing,
but.
E
D
E
C
To
a
certain
degree,
so
it
won't
be
as
strong
of
a
signal
but
I.
Imagine
like
imagined
movements
will
activate
the
same
regions
of
the
motor
cortex
is
actual
movements
and
I.
Think
that's
I'm
not
I'm
not
a
neuroscientist,
but
I
think
that
that
is
true
that
you
will
get
those
regions
of
the
brain
will
be
will
be
active
right.
E
C
Hypothetically
hypothetically
but,
like
you
know
a
construct
like
that,
something
that's
so
specific
is
very
difficult
to
detect
with
EEG.
So,
for
instance,
like
person,
riding
bike
would
be
almost
impossible
to
pick
up
with
EEG,
whereas
eyes
open
versus
eyes,
closed
is
possible
or
alertness
versus
mind,
wandering
states
so
kind
of
more
I,
guess
you
could
say,
emotions
or
higher
level
mental
states,
as
opposed
to
very
granular
patterns
like
that
are
very
difficult
to
kind
of
like
going
back
to
the
ocean
analogy.
G
C
C
Are
a
lot
of
theirs,
so
red
bull
is
actually
doing
a
really
interesting,
really
interesting
project
right
now
and
it's
called
Project
endurance
and
so
they've
actually
been
rigging
athletes
up
to
EG,
EMG,
ECG
and
all
of
these
sensors
and
then
trying
to
map
optimize
athlete's
performance,
both
physically
and
psychologically,
using
like
neurofeedback
techniques.
So
I
would
look
into
that
project.
It's
really
cool
budget
yep.
C
H
D
E
H
D
C
Be
doing
this
already
with
EEG,
so
there
are
companies
like
software
companies
that
are
developing
proprietary
software
for
emotion,
emotional
detection,
and
they
were,
you,
know,
I
think
it
was
a
company
in
Israel.
I
was
out
there
for
brain
tech.
That
was
doing
this
and
running
people
through
ad
campaigns
for
the
election,
like
the
recent
election
in
Israel,
and
they
were
getting.
They
were
classifying
emotional
states
and
emotional
responses
to
different
political
ads,
so
it
is
happening
and
I
do
think
it's
possible.
It's
not
easy,
though.
Even.
H
C
So
I
mean
the
EEG
zeg
you
know
like
if
you
have
a
high
sample
rate
and
you're
in
a
good
environment
with
low
noise.
If
you
can
build
a
Faraday
cage
to
prevent
alternating
current
and
light
from
influencing
signor
you'll
get
a
good
signal.
If
you
have
a
high
sample
rate
and
good
luck
and
good
connection
and
I
think
like
open
b/ci
is
overpowered
for
a
lot
of
the
applications
that
it's
being
used
for.
F
D
F
B
G
B
Of
sort
of
at
what
point
they
really
want
to
sort
of
push
their
soldiers
to
the
limit.
At
what
point
can
we
say?
Okay,
these
soldiers
can
make,
or
these
pilots
can
make
really
good
decisions
without,
like
their
sleep
factor,
fatigue,
effectiveness,
I,
think
the
bulk
of
why
they
funded
where
it's
going
into
yeah.
C
Yeah
I
know
that,
like
with
tDCS,
that's
a
big
one
is
I
think
it
was
a
study
done
with
the
drone
operators
and
they
tested.
You
know
because
tDCS
who's
familiar
with
tDCS
transcranial
direct
current
stimulation,
so
there's
a
whole
field
of
T
blank
s
which
is
transcranial
this
or
that
stimulation.
C
But
one
study
that
was
done
and
apparently
found
statistically
valid
results,
was
tDCS
used
for
like
improved
or
enhance
performance
through,
like
essentially
closed-loop
systems
to
optimize
alertness,
and
so
they
tested
tDCS
against
ritalin
nuvigil,
caffeine
and
a
control
group.
But
they
found
tDCS
to
work
more
consistently
and
for
longer
durations
of
time
than
any
of
the
drugs
which
was
pretty
crazy.
F
F
E
C
We
don't
do
any
tDCS
and
I
haven't
done
much
research,
but
I'm
kind
of
I
pay
attention
cuz,
it's
interesting
and
terrifying
at
the
same
time,
but
I
think
this
standard
like
acceptable
range
is
2
to
20,
milliamps
I.
Think,
like
the
you
know,
most
people
are
not
sending
more
than
20
milliamps
and
low
voltage
signals.