Beruflich Dokumente
Kultur Dokumente
Step
2.
Wiring
Wire
everything
per
this
schematic:
Back oft he R G B LED M at r i x
C onnect13 Pi ns f r om LED M at r i xt oI OI O Looki ng att he C abl ef r om t he t op vi ew ( w hi l ei ti s pl ugged i nt ot he M at r i x) ,w i r et he pi ns not ed t ot he r espect i ve pi ns on t he I OI O boar d( ex.t he t op l ef t pi n/ wi r e on t he cabl e goes t oI OI O boar d pi n 23)
5VD C f or Pow er
If this is a permanent installation, you can cut off the other end of the included LED matrix cable and solder directly to the pins on the IOIO.
Before mounting in the picture frame, check that everything is wired correctly. Supply 5V power to the IOIO board and 5V power to the LED matrix. Also plug in the Bluetooth dongle to the IOIO board. Bluetooth pair the IOIO to your Android phone, the pairing code is: 4545. Then, install one of the apps in step 5 on your Android Phone and run it. If all is well, then youll see the LED Matrix light up per the app.
Step
3.
Mounting
Cut
the
Black
Foam
Core
board
to
the
size
of
your
picture
frame
and
then
cut
a
center
rectangle
in
the
middle
of
the
foam
core
board
to
fit
the
LED
matrix.
Mount
the
LED
matrix
in
Black
Foam
Core
board.
You
can
secure
the
back
of
it
with
duct
tape.
Front of the LED Matrix Now cover the front of the matrix and foam core board with the black t-shirt. This is needed for the effect of the 2-way mirror. If there is any white exposed the mirror effect will be ruined.
Secure
the
t-shirt
using
duct
tape
or
some
other
adhesive.
Use
a
glass
cutter
to
cut
the
two-way
mirror
to
the
size
of
the
picture
frame.
Secure
the
two-way
mirror
in
the
picture
frame
with
glue
or
two
sided
tape.
Assuming you have covered the LED matrix correctly with the black t-shirt and there is no white showing, it will look like a mirror when turned off.
Just for reference, if the LED matrix is not covered in black fabric the mirror effect will be lost and it will look like this.
IOIO 8-Ball Magic 8-Ball fortune teller. Displays the answers to your questions on the LED matrix.
IOIO Verbage to LED Matrix Displays random words on the LED matrix
IOIO Camera to LED Matrix Streams a small portion of the camera frame to the LED matrix. This one is not really that useful as the portion of the camera video displayed is very small and is really more of a proof of concept that the IOIO LED matrix can also do video.
Step
6
(Optional):
Add
your
own
graphics
&
modify
the
source
code
The
source
code
for
each
of
the
apps
is
posted
here:
http://bit.ly/JsoE4X
If
you
can
code
in
Android
(essentially
Java),
feel
free
to
modify
the
apps
per
your
own
needs
using
your
own
graphics.
Youll
find
the
graphics
in
the
/res/raw
folder
in
the
Android
projects.
The
bitmap
graphics
must
be
saved
in
the
RGB565
BMP
format.
Adobe
Photoshop
claims
to
be
able
to
save
in
RBG565
format,
but
unfortunately
those
files
were
not
compatible
so
as
a
work
around,
edit
the
graphic
as
youd
like
in
Photoshop,
or
your
favorite
photo
editor.
The
file
must
be
saved
as
32
pixels
wide
and
16
pixels
high.
Then
for
Windows
users,
install
a
free
program
called
Paint.net
and
also
the
RGB565
plug-in
(http://bit.ly/LOuTBW)
for
Paint.net.
Then
import
your
file
into
Paint.net
and
save
in
the
RGB565
format,
your
file
will
then
have
an
.rgb565
extension
which
you
can
then
copy
into
the
/res/raw
folder
and
then
use
in
your
modified
code.
Follow
these
instructions:
http://bit.ly/IUbBKE
to
setup
your
Eclipse
development
environment.
Then
youll
need
to
import
the
IOIO
libraries
into
your
Eclipse
environment
that
are
in
the
custom
firmware
download
(http://bit.ly/K2w9gm).
Ytai,
the
creator
of
IOIO,
was
kind
enough
to
write
a
custom
library
to
interface
IOIO
with
this
particular
hardware
LED
matrix
but
you
can
only
get
this
library
in
the
custom
firmware
download
(http://bit.ly/K2w9gm)
so
be
sure
and
not
skip
this
step,
otherwise
your
source
will
not
compile.