All About Circuits Forum  

Go Back   All About Circuits Forum > Electronics Forums > Homework Help

Notices

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.

Reply   Post New Thread
 
Thread Tools Display Modes
  #1  
Old 10-28-2009, 05:06 PM
>Chris<'s Avatar
>Chris< >Chris< is offline
Junior Member
 
Join Date: Oct 2008
Location: Montreal, Canada
Posts: 17
Default 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!
Reply With Quote
  #2  
Old 10-28-2009, 05:30 PM
beenthere's Avatar
beenthere beenthere is offline
Senior Member
 
Join Date: Apr 2004
Location: Missouri, USA (GMT -6)
Posts: 15,815
Blog Entries: 10
Default

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.
Reply With Quote
Reply   Post New Thread

Tags
, , , ,


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
Binary to BCD Converter for Car project bluebrakes The Projects Forum 4 10-19-2009 12:50 PM
PIC16f877- 16 bit hex to bcd converter amitesh Embedded Systems and Microcontrollers 1 03-01-2009 02:02 PM
10 bit binary to adc using a converter azngeek General Electronics Chat 2 09-24-2008 11:14 AM
How To Convert Binary Code To Bcd And Vise Versa? transgalactic Homework Help 6 05-08-2008 04:38 PM

Thread Tools
Display Modes

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 Jump


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


User-posted content, unless source quoted, is licensed under a Creative Commons Public Domain License.
Powered by vBulletin
Copyright ©2000 - 2014, vBulletin Solutions, Inc.