Continue to Site

Welcome to our site!

Electro Tech is an online community (with over 170,000 members) who enjoy talking about and building electronic circuits, projects and gadgets. To participate you need to register. Registration is free. Click here to register now.

  • Welcome to our site! Electro Tech is an online community (with over 170,000 members) who enjoy talking about and building electronic circuits, projects and gadgets. To participate you need to register. Registration is free. Click here to register now.

hex to octal converter with display

Status
Not open for further replies.

jhadeA9

New Member
How to make a hex to octal converter circuit?
our teacher ask to do this. can some one help me?

Hexadecimal-to-Octal Converter with Display

Input: 1-digit Hexadecimal Number represented by 16 input points
Output: 2-digit Octal Number represented by 8 output points

Logic Function

The circuit will convert the hexadecimal input into its octal equivalent. Both the input and output must be displayed using a seven-segment display. Note: For the number 6 the 'a' LED with light and for the number 9 the 'd' LED will light.
12 hours ago - 3 days left to answer.
Additional Details
can you please provide me the circuits diagram? we are required to do it in a breadboard. and i'm really bad at it.
 
Some 7-segment decoders, such as the DM9368, will generate all the characters for Hex code (0-9 and A, b, C, d, E, F).
 
Last edited:
Dunno what chips to use but Hex to Octal is very simple. Think Binary.
Bits 0-2 (which represent the numbers 0-7 for octal) are your lower octal digits.
Bits 3-5 represent the next digit in octal.

In 16 bit HEX (groups of four)
Bits
15,14,13,12/11,10,09,08/07,06,05,04/03,02,01,00

In Octal (groups of three) are simply

14,13,12/11,10,09/08,07,06/05,04.03/02.01,00
 
It's too late for the OP since he had a three day window.

But conceptually it's reasonably simple with two octal displays. You detect the value of the MSB value of the four bit hex number. If it's zero you direct the lower three bits to the first octal display. If it's one, you set the first display to "1" and route the lower three bits to the second octal display. That will display 0 through 17 for 0 through 15h.
 
Last edited:
Status
Not open for further replies.

Latest threads

New Articles From Microcontroller Tips

Back
Top