All About Circuits Forum 5-bit binary to BCD code converter
 Register Blogs FAQ Members List Today's Posts Search Today's Posts Mark Forums Read

 Homework Help Stuck on a textbook question or coursework? Cramming for a test and need help understanding something? Post your questions and attempts here and let others help.

#1
10-28-2009, 05:06 PM
 >Chris< Junior Member Join Date: Oct 2008 Location: Montreal, Canada Posts: 17
5-bit binary to BCD code converter

Hello everyone,
I have to build a 5-bit binary to BCD converter for one of my classes. The question is as follows:
Quote:
 Design a binary to BCD code converter to convert a 5-bit binary number to its BCD code, where the most significant bit simply represents the dot (decimal) on the Seven Segment LED display. Display the BCD coded number on the 7 segment LED display and only display the BCD code for binary inputs (00000) to (10011), this means all other input combinations should not display anything on the LED display.
So as far as I understand it, it would be the easiest way to design the circuit to go from 0 to 9 and then the dot turns on and 0 to 9 repeats again. But i don't get how I can make the dot turn on at state 10. Can someone help me with that? And would that actually the most efficient way to build this circuit?
Oh and btw we can only use basic gates!

Thank you!
#2
10-28-2009, 05:30 PM
 beenthere Senior Member Join Date: Apr 2004 Location: Missouri, USA (GMT -6) Posts: 15,815 Blog Entries: 10

Do you understand the differences between binary values and binary coded decimal? The task is to convert from binary to BCD. A small example - 01011b = 11d, 10001b = 17d

Arranging to
Quote:
 design the circuit to go from 0 to 9 and then the dot turns
will not do a number base conversion.
__________________
First comes the hardware, then the software.

 Tags 5bit, bcd, binary, code, converter

 Related Site Pages Section Title Worksheet Digital display circuits Worksheet Encoders and decoders Worksheet Digital codes Worksheet Binary math Worksheet Numeration systems Textbook 7-segment display : Digital Integrated Circuits Textbook Don't care cells in the Karnaugh map : Karnaugh Mapping Textbook Introduction : Karnaugh Mapping Textbook Decimal versus binary numeration : Numeration Systems Textbook Octal and hexadecimal numeration : Numeration Systems

 Similar Threads Thread Thread Starter Forum Replies Last Post bluebrakes The Projects Forum 4 10-19-2009 12:50 PM amitesh Embedded Systems and Microcontrollers 1 03-01-2009 02:02 PM azngeek General Electronics Chat 2 09-24-2008 11:14 AM transgalactic Homework Help 6 05-08-2008 04:38 PM

 Thread Tools Display Modes Linear Mode

 Posting Rules You may not post new threads You may not post replies You may not post attachments You may not edit your posts BB code is On Smilies are On [IMG] code is On HTML code is Off Forum Rules
 Forum Jump User Control Panel Private Messages Subscriptions Who's Online Search Forums Forums Home Electronics Forums     General Electronics Chat     The Projects Forum     Homework Help     Electronics Resources Software, Microcomputing, and Communications Forums     Programmer's Corner     Embedded Systems and Microcontrollers     Computing and Networks     Radio and Communications Circuits and Projects     The Completed Projects Collection Abstract Forums     Math     Physics     General Science All About Circuits Commmunity Forums     Off-Topic     The Flea Market     Feedback and Suggestions

All times are GMT. The time now is 09:58 PM.