- #1
Fatima Hasan
- 319
- 14
Homework Statement
Homework Equations
-
The Attempt at a Solution
I tried to design the circuit to control the first 7-segment , but I didn't get the correct answer.
Could someone check where is my mistake ?
9 ?berkeman said:What is the maximum decimal number that can be displayed
Want to display a "0" .berkeman said:When the lead digit is zero, do you want to display a "0" or just leave that display off?
Okay. You see how "off" would be easier, right?Fatima Hasan said:Want to display a "0" .
ABCD d1 d2
0000 0 0
0001 0 1
etc.
1111 ? ?
b1 and c1 are always on.berkeman said:Shouldn't b2 and c2 always be on?
The first one (d1).berkeman said:So which digit is this simulation for?
I don't know what is the difference between them , we haven't covered that yet.berkeman said:Also, are you using a common-cathode or common-anode display?
You would drive the segments of a common-cathode LED display high to turn them on. The common-cathode of all of the LED segments is connected to ground:Fatima Hasan said:I don't know what is the difference between them , we haven't covered that yet.
Great! I think I would turn off the dot though...Fatima Hasan said:Got it , thanks a lot for your help.
berkeman said:Great! I think I would turn off the dot though...
I solved the question again and got different answers .berkeman said:Great! I think I would turn off the dot though...
@berkeman, did you intend something else for that last number?berkeman said:I mean what is the decimal equivilant of 0b1111 = 0xF = 0d?
I was just asking what the "?" would be. 0xF = what in decimal... The OP seems to be doing okay now, I was a bit confused early on in the thread about which digit was which.Mark44 said:@berkeman, did you intend something else for that last number?
Do they both simulate correctly? If so, the one with the fewer gates would be the preferred answer, no?Fatima Hasan said:Which method is the correct one ?
Thanks for your help .berkeman said:Do they both simulate correctly? If so, the one with the fewer gates would be the preferred answer, no?
Also, have you looked at IC schematics for the parts that do this function? That may be a good cross-check for your work. Just Google 7-segment display drive ICs or similar, and use Google Images to start looking at their schematics.
I thought that might be what you were doing, but "0d?" was confusing to me, since 0xd would be 13 (decimal), which is different from 0xF.berkeman said:I was just asking what the "?" would be. 0xF = what in decimal... The OP seems to be doing okay now, I was a bit confused early on in the thread about which digit was which.
The purpose of controlling two 7-segment displays is to display numerical or alphanumeric characters in a visual format. This can be used for various purposes such as displaying temperature, time, or any other data that needs to be shown in a digital format.
The basic components needed to control two 7-segment displays include a microcontroller, two 7-segment display modules, a breadboard, jump wires, and resistors. The microcontroller acts as the brain of the system and controls the flow of data to the 7-segment displays.
The microcontroller communicates with the 7-segment displays using a set of pins called GPIO (General Purpose Input Output) pins. These pins can be programmed to either send or receive digital signals, which are then used to control the segments of the display.
Yes, the two 7-segment displays can be controlled independently by using separate GPIO pins for each display. This allows for different data to be displayed on each display simultaneously.
Controlling two 7-segment displays has various applications in everyday life. They are commonly used in digital clocks, temperature displays, scoreboards, and even in medical equipment to display vital signs. They can also be used in educational projects to teach basic electronics and programming concepts.