KS0369 EASY plug 4-Digit LED Display: Difference between revisions
Keyestudio (talk | contribs) |
Keyestudio (talk | contribs) |
||
Line 56: | Line 56: | ||
==Extension Experiment 1== | ==Extension Experiment 1== | ||
<br> | <br> | ||
<span style=color:brown>'''Time Counting'''</span><br> | <span style=color:brown><big>'''Time Counting'''</big></span><br> | ||
<br> | <br> | ||
Line 62: | Line 62: | ||
Connect the EASY Plug 4-digit LED display module to control board using an RJ11 cable. | Connect the EASY Plug 4-digit LED display module to control board using an RJ11 cable. | ||
<br>[[File:KS0369.jpg|600px|frameless|thumb]]<br> | <br>[[File:KS0369.jpg|600px|frameless|thumb]]<br> | ||
<br> | <br> | ||
'''Test Code'''<br> | '''Test Code'''<br> | ||
Below is an example code. | Below is an example code. | ||
<br>[[File:ks0397 9.2.png| | <br>[[File:ks0397 9.2.png|600px|frameless|thumb]]<br> | ||
<br> | <br> | ||
Line 76: | Line 75: | ||
<br> | <br> | ||
==Extension Experiment 2 == | ==Extension Experiment 2 == | ||
<br> | <br> |
Revision as of 15:50, 8 May 2019
Introduction
This is a 4-digit 0.36’’ Common Anode LED display module, a 12-pin display module with score points.
The driver chip used in the matrices is TM1637, using only two signal cables to make the microcontroller control the 4-digit LED display.
The four pins of LED display are GND、VCC、DIO、CLK. (GND is ground, VCC is for power supply, DIO is data IO pin, CLK is clock signal pin.)
The module pins are extended into Registered jack, so you can easily connect it to EASY Plug control board using a RJ11 cable.
Note: this module should be used together with EASY plug control board.
Parameters
- Operating Voltage: DC5V
- Operating Temperature Range: -40~+85℃
- Property: ROHS
Technical Details
- Dimensions: 50mm*23mm*18mm
- Weight: 9g
Connect It Up
Connect the EASY Plug 4-Digit LED display to control board using an RJ11 cable. Then connect the control board to your PC with a USB cable.
Upload the Code
Below is an example code. Open or drag below code to Mixly Blocks and upload.
What You Should See
After uploading the code, you should see the 4-digit LED display show the number jumping.
On the left side, show 555; after one second, show 0125 on the right side; after one second, show 125; then after one second, the display brightness is 1, becoming rather darker. One second later, the display brightness is 7, becoming rather brighter.
After one second again, show the 12:89; then one second later, do not show the colon. After one second, the LED display is off; and one second later, start to repeat the display again.
Troubleshooting:
- Compiling Fails ?
This happens sometimes, the most likely case is a library file not added. You should be sure all the libraries under the KS_EasyPulg are added to the libraries directory of Arduino-1.8.5. Shown below.
- Program Not Uploading?
This happens sometimes, the most likely case is a confused Board and serial port, you should firstly select your proper board and port.
Extension Experiment 1
Time Counting
Hookup Guide
Connect the EASY Plug 4-digit LED display module to control board using an RJ11 cable.
Test Code
Below is an example code.
The 4-digit LED display starts to show the time counting. Seconds on the right, minutes on the left, and return to zero after 60 minutes.
Extension Experiment 2
Counting And Reset
Hookup Guide
Connect the EASY Plug 4-digit LED display module and button module to control board using RJ11 cables.
Test Code
Below is an example code.
What You Should See
The 4-digit LED display starts to show the time counting. If press the button, it will reset the counting.
Resources
Download the Arduino Code and PDF:
https://drive.google.com/open?id=1AsW8WlfUYXutJUT63TDkNHNR6HXda2kh
Download the Mixly Code and PDF:
https://drive.google.com/open?id=19buzwUHGIUwiGc79KastfpHPTD84689Z