You are on page 1of 15

MODULE 3A:

Words and Texts in


MATRIX LED

In this module, students will learn:


 What is a Matrix LED
 The concept of Matrix LED
 How to display text in your Microcontroller
Recall: microcontroller parts
• This microcontroller is described as half the size of a credit
card and has an ARM Cortex-M0 processor, accelerometer
and magnetometer sensors, Bluetooth and USB
connectivity, a display consisting of 25 LEDs, two
programmable buttons, and can be powered by either USB
or an external battery pack.

Mio Jr. M3A 2


Recall: microcontroller parts
• This microcontroller have 25 pins.

Mio Jr. M3A 3


Recall: microcontroller parts
• Main Parts of this microcontroller

Mio Jr. M3A 4


Recall: microcontroller parts
• This is the main part of your Mio Jr. This is the
microcontroller. It also have a 5x5 matrix LED (25 LEDs)
that is use to display letters, numbers, and even face
expressions.

Mio Jr. M3A 5


matrix led COncept
• The Matrix LED is a 5x5 Matrix LED that has 25 LEDs. It
is called Matrix because it is constructed in a x-y pattern.
You can also program this in makecode.microbit.org.

Mio Jr. M3A 6


matrix led COncept
• It is called Matrix because it is constructed in a x-y pattern. This
is what the Matrix LED looks like inside. If I want to turn on the
1st circle (LED) then the 1st 5V and 1st GND must be open, If I
want to turn on the 1st and 3rd circle (LED) then the 1st 5V, 1st
GND and 3rd GND must be open
5V
1
5V
2

5V
3

1 2 3

GND GND GND

Mio Jr. M3A 7


programming blocks
Programming Function

Run your program repeatedly

Display your desire word to


your
Matrix LED

Mio Jr. M3A 8


Exercise # 1
Instruction: Input “Hello” in your
Microcontroller’s Matrix LED.
1. Go to makecode.microbit.org
2. Click New project
3. Follow the code blocks stated

Mio Jr. M3A 9


Recall: Makecode
After you code click save then put the download
file into your microcontroller’s folder.

Click this
Find where you
download it then copy
and paste your hex file
to the Matrixbit (G:)

Mio Jr. M3A 10


Exercise # 1
Result !

The “Hello!” word will scroll individually

Mio Jr. M3A 11


activity # 1
Instruction: Introduce yourself by displaying “My
name is Kenneth”. Add delay in every word.

1. Input “My” and add 1 sec delay


2. Input “name” and add 1 sec delay
3. Input “is” and add 1 sec delay
4. Input “(your name)” and add 1 sec delay

Mio Jr. M3A 12


activity # 1
Solutions:

Note: Solutions may vary

Mio Jr. M3A 13


Knowledge extension
Electronic highway signs have large LED Matrix that can display
large text, numbers, and sign. Some of them consist different color
text. Those large LED Matrix are use to make people see it even in
miles.

Mio Jr. M3A 14


GET EXCITED FOR THE NEXT
ONE!

In this module, students will learn:


 How to create symbols and expressions in the Matrix
LED
 How to display symbols and expressions in the Matrix
Mio Jr. M3A
LED 15

You might also like