Ks0139 keyestudio EASY plug I2C 8x8 LED Matrix: Difference between revisions
Keyestudio (talk | contribs) |
Keyestudio (talk | contribs) No edit summary |
||
Line 24: | Line 24: | ||
==Sample Code== | ==Sample Code== | ||
< | <br>[[File:ks0397 21.1.png|500px|frameless|thumb]]<br> | ||
<br> | |||
'''What You Should See'''<br> | |||
Upload the code successfully, it will light up a dot light on the matrix. | |||
<br>[[File:ks0397 21-1.png|500px|frameless|thumb]]<br> | |||
<br> | |||
====Extension Experiment 1==== | |||
<br> | |||
<span style=color:brown><big>'''Showing 0~5'''</big></span><br> | |||
You can upload the code below to show the number 0~5. | |||
<br>[[File:ks0397 21.2.1.png|500px|frameless|thumb]]<br> | |||
<br>[[File:ks0397 21.2.2.png|500px|frameless|thumb]]<br> | |||
<br>[[File:ks0397 21.2.3.png|500px|frameless|thumb]]<br> | |||
<br> | |||
'''What You Should See'''<br> | |||
Upload the code successfully, the matrix will show the number from 0 to 5. | |||
<br>[[File:ks0397 21-3.png|500px|frameless|thumb]]<br> | |||
<br>[[File:ks0397 21-4.png|500px|frameless|thumb]]<br> | |||
<br>[[File:ks0397 21-5.png|500px|frameless|thumb]]<br> | |||
<br> | |||
====Extension Experiment 2==== | |||
<br> | |||
<span style=color:brown><big>'''Button Controlled Heart'''</big></span><br> | |||
<br> | |||
'''Hookup Guide'''<br> | |||
Connect the EASY Plug 8x8 LED Matrix module and button module to control board using RJ11 cables. | |||
<br>[[File:8x8点阵按键.jpg|500px|frameless|thumb]]<br> | |||
<br> | |||
'''Test Code'''<br> | |||
Below is an example code.<br> | |||
<br>[[File:ks0397 21.3.1.png|500px|frameless|thumb]]<br> | |||
<br>[[File:ks0397 21.3.2.png|500px|frameless|thumb]]<br> | |||
<br> | |||
'''What You Should See'''<br> | |||
<br>[[File:ks0397 21-6.png|500px|frameless|thumb]]<br> | |||
<br> | |||
Upload the code successfully, press the button, you can control the matrix show a big heart image or a small one. It seems like a beating heart. | |||
<br>[[File:ks0397 21-7.png|500px|frameless|thumb]]<br> | |||
<br>[[File:ks0397 21-8.png|500px|frameless|thumb]]<br> | |||
<br> | |||
== Resources == | == Resources == |
Revision as of 15:48, 7 May 2019
EASY plug I2C 8x8 LED Matrix
Introduction
What's better than a single LED? Lots of LEDs! A fun way to make a small display is to use an 8x8 matrix.
This module uses HT16K33 chip to drive an 8x8 dot matrix. Just need to use the I2C communication port of microcontroller to control the dot matrix, which can save more port resources of microcontroller.
The four pin of this module is integrated into a crystal plug. All you need to do is connect the module to control board for communication using an RJ11 cable.
Note: this module should be used with EASY plug control board.
Specification
- Interface: Easy plug
- Supply voltage: 4.5V-5.5V
- Maximum display: 16*8
- Size: 56*32mm*18mm
- Weight: 14.7g
Connection Diagram
Sample Code
What You Should See
Upload the code successfully, it will light up a dot light on the matrix.
Extension Experiment 1
Showing 0~5
You can upload the code below to show the number 0~5.
What You Should See
Upload the code successfully, the matrix will show the number from 0 to 5.
Extension Experiment 2
Button Controlled Heart
Hookup Guide
Connect the EASY Plug 8x8 LED Matrix module and button module to control board using RJ11 cables.
Test Code
Below is an example code.
What You Should See
Upload the code successfully, press the button, you can control the matrix show a big heart image or a small one. It seems like a beating heart.
Resources
PDF:
https://drive.google.com/open?id=1NPtnHotb5ztewevXIGlvVul3Kmr6P3li
Download the Code:
https://drive.google.com/open?id=1cIoYUKDiiQzu_XAhz4EnBfEzkJFamHfk
Download the Library:
https://drive.google.com/open?id=17bmQlmDwRC_aGVnDdtCIM9KJJwdO9K4O
Get One Now
Official Website: http://www.keyestudio.com/ks0139.html