Olimex Support Forum

DUINO => ARDUINO => Topic started by: Xeyow on March 30, 2015, 12:00:23 AM

Title: MOD-LED8X8 pins
Post by: Xeyow on March 30, 2015, 12:00:23 AM
Hello guys. I got this matrix from a friend: https://www.olimex.com/Products/MSP430/Booster/MOD-LED8x8/ (https://www.olimex.com/Products/MSP430/Booster/MOD-LED8x8/) And i don`t know how to use it. On the RGB one i found some examples + libraries, these ones: https://github.com/OLIMEX/DUINO/tree/master/AVR/MOD-LED8x8RGB (https://github.com/OLIMEX/DUINO/tree/master/AVR/MOD-LED8x8RGB)

I uploaded the winking face example, but i don`t know how to connect the LATCH, SCK and DATA pins to the arduino? These libraries, and the functions inside them, can help me. But i don`t know how to wire it up to the arduino.

Can you please explain me how can i run that example (winking face) with my MOD-LED8X8? TY
Title: Re: MOD-LED8X8 pins
Post by: LubOlimex on March 30, 2015, 10:17:30 AM
Hello Alexx,

Please check here:

https://olimex.wordpress.com/2013/06/21/new-product-mod-led8x8rgb-stackable-rgb-led-matrix/ (https://olimex.wordpress.com/2013/06/21/new-product-mod-led8x8rgb-stackable-rgb-led-matrix/)

and the video:

https://www.youtube.com/watch?v=EImDHxnk6Pw (https://www.youtube.com/watch?v=EImDHxnk6Pw)

Best regards,
Lub/OLIMEX
Title: Re: MOD-LED8X8 pins
Post by: Xeyow on March 30, 2015, 11:08:39 AM
I am using an Arduino,not olimexino. I also found that link, and it doesn't tell me how to connect the latch, data and sck from the matrix to the arduino.
Title: Re: MOD-LED8X8 pins
Post by: Xeyow on March 30, 2015, 07:06:42 PM
well???
Title: Re: MOD-LED8X8 pins
Post by: JohnS on March 30, 2015, 07:10:22 PM
Compare your board against the one in the Olimex post.  Work it out :)

John
Title: Re: MOD-LED8X8 pins
Post by: Xeyow on March 30, 2015, 10:06:07 PM
you gotta be kiddin me....
Title: Re: MOD-LED8X8 pins
Post by: Xeyow on March 30, 2015, 10:16:06 PM
There`s no chance. this matrix is not made for arduino. I think the pins on arduino are 11 12 13. I tried all 6 combinations, and none works. It`s useless... I can`t make it work with the libraries: font.h and lcd8x8rgb.h.
Title: Re: MOD-LED8X8 pins
Post by: LubOlimex on April 01, 2015, 11:28:39 AM
Hello Xeyow,

The hardware connections are:

EXT_IN  ARDUINO UNO
GND     -
GND     GND
DATA    D11
LATCH   D10  (the pin you have chosen)         
SCK     D13
VCC     +5V

You would need to edit the default demo also since it was made for Arduino Leonardo board, not for UNO. Find lcd8x8rgb.h and change the pin line "const char chipSelectPin = 13;" and chose another pin different from pin 13 (since pin 13 in the Arduino UNO is SCK). For example set it to pin 10. It would look like "const char chipSelectPin = 10;"

I would also delete some of your multiple entries on the subject around the forum.

Regards,
Lub/OLIMEX