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.

please help me on 7 segment display

Status
Not open for further replies.

amo isaac

Newbie level 3
Joined
Sep 4, 2009
Messages
4
Helped
0
Reputation
0
Reaction score
0
Trophy points
1,281
Location
Ghana
Activity points
1,309
hi,
i am designing a 7 segment display with keypad. the pressed key is to be displayed on 4 seven segment displays with the values shifting from left to right. i have written the software (ASM) to the point where the key pressed is returned into a variable i have named KEY but i'm having problems on how to shift the units to tens, tens to hundreds and hundreds to thousands....

can any one please help me with the code in ASM
 

what microcontroller r u using?
but ant way it's easy, said you arrived to a point where it recognizes the key stroked.
store the value before displaying it.
when anther key is stroked you display the already stored value to next seven segment and the new value to the first display.
you will need in all 4 bytes in memory,any uc can hadle it.
now if it's avr i could help you i've been working on avr forlast 5 years
 

hi tanx for the reply.
i'm using a pic 16f877a. i have allocated four memories, namely ;
units, tens, thund and thou. when the key is found, i first save it in a temporily storage named temp. after that i try moving to the units but it also moves to the rest displays.
 

i think the problem is in the hardware connection if all your displays are displaying the same number.
it seems you connected them in parallel.
their are two ways for connecting multy seven segments to ucontroller
the first way is mutiplexing them but it's hard to start with as a biginner but it saves pins.
try first with two displays first connect each one to a port this way they r separate this way you control each display by it's port.
any way i never worked on pic i could help you with pseudo code, it will guide you how to think.
just send me you schematic and i'll figure out the problem and solution.
my advise to you is try the avr ucontrollers they are cheeper and faster and a much easier architecture
 

Status
Not open for further replies.

Similar threads

Part and Inventory Search

Welcome to EDABoard.com

Sponsor

Back
Top