Showing posts sorted by relevance for query matrix. Sort by date Show all posts
Showing posts sorted by relevance for query matrix. Sort by date Show all posts

Sunday, November 5, 2023

Scrolling text on Dot-Matrix Using PIC controller & MikroC Pro



Scrolling text on Dot-Matrix Using PIC controller & MikroC Pro

Scrolling text on Dot-Matrix Using PIC controller & MikroC Pro

 Dot Matrix is the combination of LEDs in Matrix form in different sizes. Dot Matrix LED display use to display any type of text on it, but on 7 segment we can display digits only. We can see the Dot Matrix Display in marketing for advertising and in other different application to display some text.

Related Topic: 

So here we are sharing the scrolling text on dot matrix. MikroC Pro for PIC is use for coding and compilation and Proteus 8.15 is use for simulation for circuit testing.

Dot-Matrix concept:

Dot Matrix PINOUT

Working of dot matrix:

Here we are using common cathode dot matrix, it means the Anodes of the LEDs are common with columns and cathode with rows as you can see in above 1st diagram.

If we want to ON top left dot, then we will do column 1 high and row 1 low. Here if we will scan columns and row 1 low all others row at high then top row of the matrix will glow one by one from left to right. Wise versa if we scan rows and select to high one column then selected column dots glow one by one.

Interesting this is that if we increase the scanning speed and cross the human eye flickering sensitivity then we see a line of row or column.

Circuit diagram:

Circuit designed in Proteus8.15

Scrolling text on Dot-Matrix Using PIC controller & MikroC Pro

MikroC Pro for PIC Coding:

/// Dot Matrix 5x7 using PIC ///
/// by Elektronics Garage    ///
/// Date: 4 Nov 2023         ///

//Dot_Matrix size
unsigned int columns = 10;
unsigned int rows = 7;
unsigned int loop=0;
unsigned int col=0;
unsigned int row=0;
int int i,j;
unsigned int col_num[] = {0x01,0x02,0x04,0x08,0x10,0x01, 0x02, 0x04, 0x08, 0x10};
unsigned int row_A[] = {0x01, 0x76, 0x76, 0x76,0x01,0xFF,0xFF,0xFF,0xFF,0xFF};
unsigned int row_B[] = {0x00, 0x36, 0x36, 0x36,0x49,0xFF,0xFF,0xFF,0xFF,0xFF};

void main() {
TRISB=0x00;
TRISD=0x00;
PORTB=0x00;
PORTD=0x00;

col=columns-1; 

while(1) {

for (j=0;j<300 delay_us="" else="" for="" i="" if="" j="" loop="" portb="col_num[col-i];" portd="row_A[row];" row="loop;">col-1){loop=0;}
}
}

Read More

Friday, February 14, 2020

Dot Matrix Graphic Display using PIC controller

As'salam o alaikm
Dot matrix is an array of LEDs (group of LEDs) which use to display Graphic or text by different combination of ON LEDs.
Programming of dot matrix is very tricky let start to make a Program for “E” Text Graphic to display like as under.Programming of dot matrix is very tricky let start to make a Program for “E” Text Graphic to display like as under. 

Pin Out 7x5 Matrix: 
  


Dot matrix consist on 7 rows and 5 columns, So scan columns by logic 1 and apply logic 0 to that row where desire LED exists to ON.
For “E” text Graphic:
1.       Column 1=high all other Columns =0, & all rows = low to display 1st line.
2.       Column 2=high all other columns =0, & R1, R4 and R7 low and all other high.
3.       Same as rows logic for Column 3 and 4
4.       Column 5=high all other low & in rows R1 and R7 low all other rows remain high to display Complete text graphic “E”

Anode of LEDs Connected with Columns and cathode connected with rows so positive logic is for columns and negative logic for rows.

"E" Display on 7x5 Dot matrix:

7x5 Dot matrix Circuit:


MikroC Programming Code:


Read More

Saturday, June 27, 2020

PIC Microcontroller Programming & Practical with MikroC books



Read More

Friday, April 9, 2021

PICSimLab Arduino & Controller simulator Free Download

 


Hi here is I am after long time with one more and some thing new that is an Electronics software my means Arduino and Controller Simulator to simulate your Arduino Projects or Controller Projects codes with any hardware but look like real hardware my means PICSimLab Arduino and Controller simulator. 

I vary clearly telling that its very easy to use for Arduino or controller learning point of view for beginners as well professional. because PICSimLab have lots of extra things like.

Resister, Capacitors, Indusctor, Motors (Servo, DC, Stepper), pot meter, LED array, dot matrix, LCDs, UART terminal, serial com port and lot of list as


here is Download link it free Download install and enjoy

Next we will discus how to perform practicals through PICSimLab




Read More

Important Artical

Popular Articals

Total Page views in This Month

© 2019-20 Electronics Garage. Designed by Uzma 0101 & Distributed by elektronicsgarage1.blogspot.com