Name: | | | Date: | | | Grade: | |
Instructions:
* Complete Part 1, then Part 2 sections of the Lab 1.1. Then, complete this Lab Report by filling in all details. Use information you gained during your experimentation to complete the answers. * Be sure to submit your lab report before the deadline.
-------------------------------------------------
Part 1- Binary-to-Decimal Number Conversion
Theory:
1. Enter the decimal, hexadecimal, and BCD numbers for each of the following binary numbers. Binary | Hexadecimal | BCD | Decimal | 0000 | 0 | 0000 | 0 | 0001 | 1 | 0001 | 1 | 0010 | 2 | 0010 | 2 | 0011 | 3 | 0011 | 3 | 0100 | 4 | 0100 | 4 | 0101 | 5 | 0101 | 5 | 0110 | 6 | 0110 | 6 | 0111 | 7 | 0111 | 7 | 1000 | 8 | 1000 | 8 | 1001 | 9 | 1001 | 9 | 1010 | A | Invalid | 10 | 1011 | B | Invalid | 11 | 1100 | C | Invalid | 12 | 1101 | D | Invalid | 13 | 1110 | E | Invalid | 14 | 1111 | F | Invalid | 15 | 2. Explain major differences between binary and BCD numeric representations.
Ans 2:
BCD each digit of a decimal number is coded as a 4 bit binary number between 0 and 9. This is not used too often as it is difficult to do calculations in BCD as opposed to binary, and it is not efficient – uses more bits than a binary coded number would.
In Binary the number is converted to base 2, binary code.
Planning: 1. Provide a list of places that you can obtain the datasheets for the following components: * SN74LS47 Binary to BCD Decoder http://www.onsemi.com/pub_link/Collateral/SN74LS47-D.PDF * MAN72 Seven Segment Display http://web.ece.ucdavis.edu/~bbaas/180a/Datasheets/man72a.pdf * 4116R 1-331 330 ohm Resistor Pack http://www.digchip.com/datasheets/parts/datasheet/1896/4116R-1-331-pdf.php Preparation: 2. Why is it important to follow ESD safety procedures when handling electronic components? What are some of the main considerations?
Ans2
These precautions protect sensitive electronic components
Extremely fast response time Low clamping and operating voltage
Capacity of handle high peak ESD current
Ability to remain undamaged by repetitive ESD strikes
Minimize size
Minimal reverse leakage current
Wiring Procedure: 3. Complete the wiring diagram. Refer to Lab 1.1 Figure 1-4 and image 1 & 2 of the ET1220.U1.Lab.Images PowerPoint. Use MS Paint to complete the wiring diagram.
Test Procedure: 4. Record the observed values from Lab 1.1 Table 1-1. Indicate which segments are illuminated for each input setting. Inputs | Output | | BinaryData Lines | BCD Number | Seven Segment Display | | | | | | 3 | 2 | 1 | 0 | | | | 0 | 0 | 0 | 0 | 0000 | | | 0 | 0 | 0 | 1 | 0001 | | | 0 | 0 | 1 | 0 | 0010 | | | 0 | 0 | 1 | 1 | 0011 | | | 0 | 1 | 0 | 0 | 0100 | | | 0 | 1 | 0 | 1 | 0101 | | | 0 | 1 | 1 | 0 | 0110 | | | 0 | 1 | 1 | 1 | 0111 | | | 1 | 0 | 0 | 0 | 1000 | | | 1 | 0 | 0 | 1 | 1001 | | | 1 | 0 | 1 | 0 | Invalid | | | 1 | 0 | 1 | 1 | Invalid | | | 1 | 1 | 0 | 0 | Invalid | | | 1 | 1 | 0 | 1 | Invalid | | | 1 | 1 | 1 | 0 | Invalid | | | 1 | 1 | 1 | 1 | Invalid | | |
Troubleshooting: 5. For each trouble investigated, record your observations from Lab 1.1 Table 1-2. Trouble | Trouble | Observations | 1 | LED for the C segment is open. Break the connection to pin C of the 7-segment display (remove the wire). | Accept 2 All output will be wrong | 2 | An input to the 7447 is open. Break the connection to the input A pin of the 7447 (remove the wire). | Odd numbers will not display | 3 | 1000 ohm resistor is open. (Remove the 1kΩ resistor). | Output will be blank |
6. Assume that the switches are set to a binary 1000 value, but the display shows a zero. What are three possible causes for this error?
Ans6: 1. The input D pin of the 7447 is open . 2. LED for the f segment is open. 3. Power supply to switch is open .
-------------------------------------------------
Part 2- Binary-Number Addition and Two’s Complement Subtraction
Theory:
9. Provide the results for the half-adder truth table.
| A0 | + | B0 | S1S0 | | 0 | + | 0 | 00 | | 0 | + | 1 | 01 | | 1 | + | 0 | 01 | | 1 | + | 1 | 10 | | | | | | 10. Provide the results for the full-adder truth table.
| A0 | + | B0 | + | Cin | CoutS | | 0 | + | 0 | + | 0 | 00 | | 1 | + | 0 | + | 0 | 01 | | 0 | + | 1 | + | 0 | 01 | | 0 | + | 0 | + | 1 | 01 | | 1 | + | 1 | + | 0 | 10 | | 1 | + | 0 | + | 1 | 10 | | 0 | + | 1 | + | 1 | 10 | | 1 | + | 1 | + | 1 | 11 |
Planning: 11. Provide a list of places (links) where you can obtain the datasheets for the following components: * 74LS08 Quad AND Gate http://www.cs.smith.edu/~thiebaut/270/datasheets/sn74ls08rev5.pdf * 74LS32 Quad OR Gate http://www.cs.smith.edu/~thiebaut/270/datasheets/sn74ls32rev5.pdf * 74LC86 Quad XOR Gate https://courses.cs.washington.edu/courses/cse477/99au/assignments/lab2/74ls86.pdf Preparation: 12. What are several important things you should consider before wiring your circuit?
Answer :
1. Make sure that the power supply is switch off 2. Test the wire 3. Test your ICs 4. Draw the rough sketch with ICs PIN number before actual connection to avoid any confusion while wiring circuit on breadboard
Wiring Procedure: 13. Complete the adder wiring diagram. Refer to Lab 1.1 Figure 1-12 and image 10 of the ET1220.U1.Lab.Images PowerPoint. Use MS Paint to complete the wiring diagram.
Test Procedure: 14. Record the observed values from Lab 1.1 Table 1-3. Switch | | Switch | | | | 4 | 3 | Decimal Value of B | 2 | 1 | Decimal Value of A | | | B1 | B0 | | A1 | A0 | | CalculatedSum | 7-SegmentDisplay | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 1 | 0 | 2 | 2 | 2 | 0 | 0 | 0 | 1 | 1 | 3 | 3 | 3 | 0 | 1 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 1 | 1 | 0 | 1 | 1 | 2 | 2 | 0 | 1 | 1 | 1 | 0 | 2 | 3 | 3 | 0 | 1 | 1 | 1 | 1 | 3 | 4 | 4 | 1 | 0 | 2 | 0 | 0 | 0 | 2 | 2 | 1 | 0 | 2 | 0 | 1 | 1 | 3 | 3 | 1 | 0 | 2 | 1 | 0 | 2 | 4 | 4 | 1 | 0 | 2 | 1 | 1 | 3 | 5 | 5 | 1 | 1 | 3 | 0 | 0 | 0 | 3 | 3 | 1 | 1 | 3 | 0 | 1 | 1 | 4 | 4 | 1 | 1 | 3 | 1 | 0 | 2 | 5 | 5 | 1 | 1 | 3 | 1 | 1 | 3 | 6 | 6 |