In Addition to my last blog how we can blink an led on the Photon:
Using SAP HCP, integration service to blink the lights on your Photon IoT device
We enhance this Sceanrio to display a message on a (two) LED matrix modul(es) (8×8).
Step 1: Wire the Photon
To wire our 2 modules we need the followig “Jumper” wires:
- 1 x male to female (m-f)
- 9 x male to male (m-m)
To connect the photon wit the matrix we we use the following pins from the photon:
- 3V3
- GND
- A1
- A2
- A3
Step 2: Wire the LED matrix module
Now we can (connect) plug the 2 led matrix modules on an breadboard:
And now it´s time to wire led matrix #1. The marix has the following inputs:
VCC-GND-DIN-CS-CLK
We wire now like this:
MATRIX | VCC | GND | DIN | CS | CLK |
PHOTON | 3V3 | GND | A2 | A1 | A0 |
Matrix:
Photon:
To connect the 2nd matrix we´re using now one different pin, the DOUT pin from matrix #1 at the topside.
The Mapping is the following
MATRIX 1 | VCC | GND | DOUT | CS | CLK |
MATRIX 2 | VCC | GND | DIN | CS | CLK |
The complete wiring should now looks like this:
In the nex blog post i will show u how we use some coding an SAP HANA Cloud Platform, integration service to post an display our message.
cheers,
fabian
Nice — and colorful! Thanks for walking us through the matrix!
I need time to try this!