Continue to Site

Welcome to EDAboard.com

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.

8x8 led matrix scrolling message display

Status
Not open for further replies.

mateen

Newbie level 1
Joined
Feb 18, 2013
Messages
1
Helped
0
Reputation
0
Reaction score
0
Trophy points
1,281
Location
karachi
Activity points
1,287
hi
i m working on 8x8 led dotmatrix and i have to make it 10 character display unit

i m using 74hc4094, uln2803 , atmega32 controller & want to generate my code in assembly

can any one help me and give a sample code or some hint for sending data serially to 4094 ????

thanx in advance
 

Hi
You should use three outputs of micro. Data, Clock, Strobe
Set clock to zero
Wait
Set data (zero or one)
Wait
Set clock to one
Repeat above pseudo code eight times then Set strobe to one


I had the following C code with inline assembly from 10 years ago when I was a student. I used 4094 to extend PC parallel port.
You need to call ON() or OFF() eight times then call latch.
For example, If you want to turn all output on call ON() eight times.
If you want to turn all output off call OFF() eight times.

void ON()
{
asm{mov al,3; mov dx,888; out dx,al}
asm{mov al,0; mov dx,888; out dx,al}

}
void OFF()
{
asm{mov al,1; mov dx,888; out dx,al}
delay ();
asm{mov al,0; mov dx,888; out dx,al}
delay ();
}
void LATCH()
{
asm{mov al,4; mov dx,888; out dx,al}
asm{mov al,0; mov dx,888; out dx,al}
}
 
  • Like
Reactions: mateen

    mateen

    Points: 2
    Helpful Answer Positive Rating
Status
Not open for further replies.

Part and Inventory Search

Welcome to EDABoard.com

Sponsor

Back
Top