There are 8 switches: switch 0, switch 1, switch 2, switch 3, switch 4, switch 5
ID: 2079299 • Letter: T
Question
There are 8 switches: switch 0, switch 1, switch 2, switch 3, switch 4, switch 5, switch 6, and switch 7. The switches connect to a 7-segment display. If switches 4 and 0 are switched to on what will display on the 7-segment display? Which segments?
If switch 4 and 0 are on that means that the decimal value is 17 because it will be 2^0 + 2^4 = 17. How would this show on the display? I only know how to dispay numbers up until 15.
Or is the first switch act like a master switch and the decimal value is actually 9?
10K Arduino UNO alPin 12 MISO PB4) MOSI Digital Pin 11 (PB3) SCK DigitalPin 13 (PB5 SS Digital Pin 10 (PB2) Register 6 Digital Pin 7 PD7 7 RESET Digital Pin 6 6 PD65 Pin 5 Pc5 5 Analog Pin 4 PC4 4 Pin 3 PC3 3 Analog Pin 2 PC2 2 Pin 1 PC1 1 Analog 0 AREF AREF 0 K Digita Pin 2 PBO Digital Pin 8 Pin 9 PB Digital Pin 4 PD4 PD3 Digital Pin 3 RESET Digita 5 alPin PD5 CSULB Shield Register 7 74HC595 spi7SEG0 Q1 SH CP Q3 ST CP Q5 spi7SEG6 spi7SEG7 Q7 MR Q7 Register 8 74HC595 spiLEDO Q1 spiLED2 D3 SH CP Q3 ST CP spiLED7 MR Q7 270 10 K 74LS74 Breadboard Area RESET 0 MF 1 K 7-segment LED 0.1 uF 0.01 uFExplanation / Answer
In the circuit shown, the outputs of the shift register are directly connected to the 7 segment pins without routing them through a 7 segment decoder. This will not display digits on the seven segment display. Whichever switch sends logic 1, only that particular segment will be illuminated, provided 0 is sent on Q7. If switches 4 and 0 are switched on, then the segments e and a only will glow ( assuming 0 is sent on switch 7). It is not possible to display decimal 17 using a single 7 segment display. Two numbers of seven segment displays are needed and coresponding electronics is needed for displaying 17.
Related Questions
Navigate
Integrity-first tutoring: explanations and feedback only — we do not complete graded work. Learn more.