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.

How can I go from 7 segment back to bcd?

Status
Not open for further replies.

royalsdan

Newbie level 3
Joined
Jun 15, 2009
Messages
4
Helped
0
Reputation
0
Reaction score
0
Trophy points
1,281
Activity points
1,309
7-segment to bcd

How can I go from 7 segment back to bcd? Maybe I am missing somethign but all the chips I find only go the other way. Very new at this!
 

picaxe 18x 7 segment display

It can be done in one-hundred-and-one ways ..

For example, if you use el-cheapo microcontroller (PICAXE, PIC, or whichever you like), you can define 7 pins as inputs and 4 pins as outputs ..

Or, if you use an EPROM, it can be burned in such a way that 7-segment code is delivered to the address inputs and the 4-lower order outputs carry the translated BCD number. All what you need to program is 10 memory locations ..
So, if address inputs A0-t0-A5 "see" 1s and A6 sees "0" - that's equivalent to 7-segment "0" (a, b, c, d, e, f =ON, g=Off) - the relevant memory location has to be burned with 00h ..

and so on ..

Rgds,
IanP
 

Status
Not open for further replies.

Part and Inventory Search

Welcome to EDABoard.com

Sponsor

Back
Top