Welcome to our site! EDAboard.com is an international Electronics Discussion Forum focused on EDA software, circuits, schematics, books, theory, papers, asic, pld, 8051, DSP, Network, RF, Analog Design, PCB, Service Manuals... and a whole lot more! To participate you need to register. Registration is free. Click here to register now.
1. Use raster scanning method, see application circuit of NC6B595 shift register. **broken link removed**
You will able to display binary data by shift to column register, then enable row driver. This scanning process must fast 30Hz (use timer interrupt to scan)
2. Convert bitmap file to raw binary, then you can show it by put to display buffer.
see interrupt relate doc in "ebook upload/download" for interrupt details.
-write code to config timer int. for 30Hz (~30mS.)
-write interrupt service routine to ...
- turn off ROW driver.
- increase ROW. (0-N, then overflow to 0)
- shift COL data at Nth bit of buffer to COL shift register.
- turn on ROW driver.
the LED dot matrix will scan row by row
automatically.
There're some different in C code written The interrupt service routine for each Compiler.
Here is C code for KE*IL C-Compiler (MCS-51 family).
Just an example :!:
// Timer0 Interrupt Service Routine
void timer0int_isr(void) interrupt 1 using 1 //USE REGISTERS BANK 1
{
TIMER0STOP;
TH0=HiTCONST;
TL0=LoTCONST;
TIMER0RUN;
// Do scan one row here
//...
//...
}
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.