IoT4Girls is a Romanian workshop for high school girls held by Codette and TechLounge. The main theme of this practical course is Internet of Things (IoT); in this repository you will find part of the materials used in this scope.
Arduino Library for interfacing multiple Olimex RGB 8x8 Matrices. Provider link: https://www.olimex.com/Products/MSP430/Booster/MOD-LED8x8/
Download the files and include the header "led_matrix.h" in your source file; optionally, if you want to use a font, you can include "font.h". For those of you who are new to programming, you should know that you can use any programming interface you want, including the Arduino IDE.
The matrices can be chained directly, as can be seen in the image below, where there are 3 chained matrices:
A working example of an Internet of Things application is in the "olimex.ino" file. If you are using the Arduino IDE, be sure to move all source and header files in a folder named "olimex" before compiling. The application uses the Arduino web server to control what gets displayed on the Olimex matrix chain. For this example you also require an Arduino Ethernet shield.
You have to provide the matrix constructor with the number of matrices you have phisically chained; in our example, we have used the NUMBER_OF_MATRIX macro.
The matrix / Arduino pin correspondance can be viewed in the table below. The latch pin can be changed as you wish.
Matrix Pins | Arduino Pins |
---|---|
GND | GND |
GND | GND |
DATA | 11 |
LATCH | 8 |
SCK | 13 |
VCC | VCC |