7 segments display difficult problem

  • Thread starter Thread starter hitham
  • Start date Start date
Click For Summary

Discussion Overview

The discussion revolves around designing a combinational logic circuit for a 7-segment display that shows the last two digits of a passport number. Participants explore the use of AND, OR, and NOR gates to achieve this without employing decoders, and they seek guidance on creating truth tables and Karnaugh maps for the logic design.

Discussion Character

  • Homework-related
  • Technical explanation
  • Mathematical reasoning

Main Points Raised

  • One participant expresses confusion about how to proceed after creating a truth table for the 7-segment display design.
  • Another participant suggests drawing Karnaugh maps from the truth table to derive equations for the outputs that can be implemented with the specified gates.
  • A participant questions which segment the Karnaugh map corresponds to and emphasizes the need for separate maps for each segment of the display.
  • There is a discussion about whether the 7-segment displays are common anode or common cathode, noting that this affects how the segments are driven.
  • One participant inquires about simulating the circuit in Multisim, specifically how to determine the type of display and calculate resistor values for the power supply.
  • Another participant provides information on modeling the displays as LEDs and calculating series current limiting resistors based on voltage drops.

Areas of Agreement / Disagreement

The discussion contains multiple viewpoints on how to approach the design and simulation of the circuit, with no consensus reached on the best method or solution. Participants are exploring different aspects of the problem without a definitive agreement.

Contextual Notes

Participants have not resolved the specifics of the circuit design, including the assumptions about the type of 7-segment display and the calculations for resistors and power supply. There are also unresolved steps in deriving the equations from the Karnaugh maps.

hitham
Messages
3
Reaction score
0
hi there ...

I got a question about the 7 segments display .. I need help please because I am lost now ..

the question is asking to design a combinational logic circuit using AND , OR and NOR gates for two outputs that will display the last two digits of my passport number . (note if the last two digits are same choose the next higher digits ,,

this was the question ..

I made the truth table because it's very easy ,, but then what should I do .. the problem is in the question they asked us to use the AND , OR and NOR gates only so how am I going to use it without using any decoder ,, also how to design the circuit so I can enter 4 digits number and display the last two digits ?

seriously I am confused right now because I am in the 1st sem year 1 and I need any help in that ..

thanks guys
 
Last edited by a moderator:
Physics news on Phys.org
hitham said:
hi there ...

I got a question about the 7 segments display .. I need help please because I am lost now ..

the question is asking to design a combinational logic circuit using AND , OR and NOR gates for two outputs that will display the last two digits of my passport number . (note if the last two digits are same choose the next higher digits ,,

this was the question ..

I made the truth table because it's very easy ,, but then what should I do .. the problem is in the question they asked us to use the AND , OR and NOR gates only so how am I going to use it without using any decoder ,, also how to design the circuit so I can enter 4 digits number and display the last two digits ?

seriously I am confused right now because I am in the 1st sem year 1 and I need any help in that ..

thanks guys

Welcome to the PF. Show us your truth table. Do you know how to draw a Karnaugh Maps from the truth table? That is the next step, and that will give you equations for your outputs that you can implement with the gates you mentioned.
 
88888
thanks berkeman



I attached the truth table and karnugh map for the segment a .. but how to group it to find the equation ,,
 

Attachments

hitham said:
88888
thanks berkeman

I attached the truth table and karnugh map for the segment a .. but how to group it to find the equation ,,

I'm not sure which segment your K-map is for... which one is it? You need one for every segment that you are going to drive with your logic.

Also, are your 7-segment displays common anode (CA) or common cathode (CC). It makes a difference in how you drive each segment -- with either a logic high or a logic low.

After you draw your K-maps for each segment, you use grouping to come up with the simplest sum of products for each output term:

http://en.wikipedia.org/wiki/Karnaugh_map

Then you use AND-OR logic (with NOR gates used for any inversions of terms that you need as inputs) to make each sum of products output term to drive the segments.
 
thanks a lot for ur information but I got two question ..

when u want to simulate the circuit in multism how to get the common cathode or either the common anode ,, I mean how to calucalte the resistor and power supply ,.,

as well what is the difference between common cathode and common anode when connect the circuit ?


thanks again
 
hitham said:
thanks a lot for ur information but I got two question ..

when u want to simulate the circuit in multism how to get the common cathode or either the common anode ,, I mean how to calucalte the resistor and power supply ,.,

as well what is the difference between common cathode and common anode when connect the circuit ?


thanks again

You model them as LEDs, which they are. You calculate the series current limiting resistors' value by assuming about a 2V drop across the LED, and dropping the rest of the voltage across the resistor (assuming your drive gate or transistor has negligible voltage drop).

This page: http://www.hobbyprojects.com/components/7_segment_displays.html
shows some info about a CA 7-segment display, and discusses the CC option.
 

Similar threads

  • · Replies 14 ·
Replies
14
Views
5K
  • · Replies 23 ·
Replies
23
Views
3K
  • · Replies 7 ·
Replies
7
Views
8K
  • · Replies 2 ·
Replies
2
Views
4K
  • · Replies 11 ·
Replies
11
Views
4K
  • · Replies 6 ·
Replies
6
Views
3K
  • · Replies 1 ·
Replies
1
Views
7K
  • · Replies 13 ·
Replies
13
Views
3K
Replies
16
Views
3K
  • · Replies 9 ·
Replies
9
Views
13K