john120
Banned
- Joined
- Aug 13, 2011
- Messages
- 257
- Helped
- 11
- Reputation
- 22
- Reaction score
- 10
- Trophy points
- 1,298
- Activity points
- 0
Do you wanna to use 7seg display or LED dot matrix???
Second schematic is wrong!!!
All displays show same value!!! All in parallel!!!
See this example: https://www.best-microcontroller-projects.com/led-dot-matrix-display.html , https://embedded-lab.com/blog/?p=2478 , https://embedded-lab.com/blog/?p=2661
Only Just displaying ABC ?
Not need to scroll ?
View attachment 95135
See the image above.Consider if there is any other modification,please help.!!
Learn from here
https://www.radiolocman.com/shem/schematics.html?di=105706
https://arduino.cc/en/Tutorial/RowColumnScanning
It is a simple tecquniqe (to display letter in led matrix used scanning)
write here your start code and post here if you have doubt ..
i previously created a moving display but not proffessionaly .
unsigned short Alphabets[130]={ 0x7e, 0x09, 0x09, 0x09, 0x7E, // A
0x7f, 0x49, 0x49, 0x49, 0x36, // B
0x3e, 0x41, 0x41, 0x41, 0x22,
0x7f, 0x41, 0x41,0x22, 0x1c,
0x7f, 0x49, 0x49, 0x49, 0x63,
0x7f, 0x09, 0x09, 0x09, 0x01,
0x3e, 0x41, 0x41, 0x49, 0x7a,
0x7f, 0x08, 0x08, 0x08, 0x7f,
0x00, 0x41, 0x7f, 0x41, 0x00, // I
0x20, 0x40, 0x41, 0x3f, 0x01,
0x7f, 0x08, 0x14, 0x22, 0x41,
0x7f, 0x40, 0x40, 0x40, 0x60,
0x7f, 0x02, 0x04, 0x02, 0x7f,
0x7f, 0x04, 0x08, 0x10, 0x7f,
0x3e, 0x41, 0x41, 0x41, 0x3e,
0x7f, 0x09, 0x09, 0x09, 0x06,
0x3e, 0x41, 0x51, 0x21, 0x5e,
0x7f, 0x09, 0x19, 0x29, 0x46,
0x46, 0x49, 0x49, 0x49, 0x31, // S
0x01, 0x01, 0x7f, 0x01, 0x01,
0x3f, 0x40, 0x40, 0x40, 0x3f,
0x1f, 0x20, 0x40, 0x20, 0x1f,
0x3f, 0x40, 0x30, 0x40, 0x3f,
0x63, 0x14, 0x08, 0x14, 0x63,
0x07, 0x08, 0x70, 0x08, 0x07,
0x61, 0x51, 0x49, 0x45, 0x43 // Z
};
const unsigned short characters[30]={
0x24, 0x2A, 0x7f, 0x2A, 0x12, // $
0x08, 0x14, 0x22, 0x41, 0x00, // <
0x41, 0x22, 0x14, 0x08, 0x00, // >
0x14, 0x14, 0x14, 0x14, 0x14, // =
0x36, 0x49, 0x55, 0x22, 0x50, // &
0x44, 0x3c, 0x04, 0x7c, 0x44, // PI
};
unsigned short count, column, num, repeat;
void main() {
TRISB = 0b00000000; // Set PORTB direction to be output
TRISA = 0x00; // Set PORTA direction to be output
PORTB = 0x00; // Turn OFF LEDs on PORTB
CMCON = 7 ; // Disable comparators
ADCON1 = 0x0F; // Disable Analog functions
do{
// Display 26 alphabets
for (num=0; num<26; num++) {
for (repeat=0; repeat<100; repeat++){
column = 1;
for(count = num*5;count < (num*5+6);count++){
PORTB = Alphabets[count];
PORTA = column;
Delay_ms(1);
column = column<<1;
}
}
}
// Display special characters
for (num=0; num<6; num++) {
for (repeat=0; repeat<100; repeat++){
column = 1;
for(count = num*5;count < (num*5+6);count++)
{
PORTB = characters[count];
PORTA = column;
Delay_ms(1);
column = column<<1;
}
}
}
} while(1);
}
Code C - [expand] 1 for(count = num*5;count < (num*5+6);count++)
Code C - [expand] 1 for(count = num*5;count < (num*5+5);count++)
Code C - [expand] 1 0x7e, 0x09, 0x09, 0x09, 0x7E
Code C - [expand] 1 0x7e, 0x09, 0x09, 0x09, 0x09, 0x7E
Code C - [expand] 1 0x7e, 0x09, 0x09, 0x09, 0x09, 0x09, 0x7E
Code C - [expand] 1 0x7e, 0x7e, 0x09, 0x09, 0x09, 0x09, 0x7E, 0x7e
Code C - [expand] 1 for(count = num*8;count < (num*8+8);count++)??
https://4.bp.blogspot.com/-W5s3xXFy...AAAADM/ot6j4xW8KJ4/s1600/100px-Dot_matrix.gif
look here for an example
We use cookies and similar technologies for the following purposes:
Do you accept cookies and these technologies?
We use cookies and similar technologies for the following purposes:
Do you accept cookies and these technologies?