_Binary and Gate Diagram Review - Dev

pdf

School

York University *

*We aren’t endorsed by this school

Course

255

Subject

Electrical Engineering

Date

Apr 3, 2024

Type

pdf

Pages

32

Uploaded by ChiefGalaxy1860

Report
TEJ4M0/R- Computer Engineering Binary and Logic Gate Project Project Outline The goal of this project is to build a counter circuit with a breadboard and various Integrated Circuit Chips which can be done in class (part list will be provided) or online with TinkerCAD (Autodesk’s Web Based Simulator). The counter circuit will only use electronic devices to help students focus on wiring and troubleshooting circuits. Throughout the module activities students will learn about a variety of electronic devices (resistors, LEDs, capacitors, breadboards, Boolean logic chips, 555 Timer chip, and the 7 segment display and decoder chips). Here is a note and worksheet on the different types of IC that will be used Basic Logic IC Chip Layouts 74LS08 (AND CHIP) *aka 74HC08 74LS32 (OR CHIP) *aka 74HC32
74LS04 (NOT CHIP) *aka 74HC04 74LS00 (NAND CHIP) *aka 74HC00 74LS02 (NOR CHIP) *aka 74HC02 74LS86 (XOR CHIP) *aka 74HC86 Please note: 1) All chips use pin 14 (top left) for power 2) All chips use pin 7 (bottom right) for ground
3) All the chips (except NOT) have 4 gates on the chip (*NOT has 6 gates on the chip) 4) The NOR chip is reversed (output, input, input) Complete the slideshow based on the information above, this will help with the project. https://www.octe.ca/application/files/4915/9624/1744/TEJ2O_Activity_3d_In tro_to_Logic_Chips_Exploration.pptx Weblink how to use Tinkercad with Logic Gates https://www.octe.ca/application/files/5515/9624/2225/TEJ2O_A3_-_AN D_Integrated_Circuit_on_Tinkercad.mp4 Integrated Circuits: Tinkercad Activity Step #1: Go to www.tinkercad.com – Login using your course code and nickname Step #2: Go to CIRCUITS (as indicated in screenshot below) CHIP #1 – SAMPLE CIRCUIT Your screenshots should look like this. *NOTE: This shows a value of 1 and 0 in an “AND Gate” so if it was running the LED it should be OFF
Your preview ends here
Eager to read complete document? Join bartleby learn and gain access to the full version
  • Access to all documents
  • Unlimited textbook solutions
  • 24/7 expert homework help
CHIP #1 – SAMPLE CIRCUIT Your screenshots should look like this. *NOTE: This shows a value of 1 and 0 in an “AND Gate” so if it was running the LED it should be OFF
Integrated Circuits: Tinkercad Activity Worksheet Student: _Dev___________ CHIP #1 - 74HC08 (we will also refer to it as 74LS08) Gate Type: AND_______________ Results: A B Y 0 0 0 0 1 0 1 0 0 1 1 1 To complete the circuit, take a screen shot (or use snipping tool), paste it into your software of choice and crop it accordingly. Save the image as 74LS08.png
CHIP #2 - 74HC32 (we will also refer to it as 74LS32) Gate Type: _OR______________ Results: A B Y 0 0 0 0 1 1 1 0 1 1 1 1 To complete the circuit, take a screen shot (or use snipping tool), paste it into your software of choice and crop it accordingly. Save the image as 74LS32.png
Your preview ends here
Eager to read complete document? Join bartleby learn and gain access to the full version
  • Access to all documents
  • Unlimited textbook solutions
  • 24/7 expert homework help
CHIP #3 - 74HC04 (we will also refer to it as 74LS04) *Note that this chip is different Gate Type: __NOT_____________ Results: A Y 0 1 1 0 To complete the circuit, take a screen shot (or use snipping tool), paste it into your software of choice and crop it accordingly. Save the image as 74LS04.png
CHIP #4 - 74HC00 (we will also refer to it as 74LS00) Gate Type: _NAND______________ Results: A B Y 0 0 1 0 1 1 1 0 1 1 1 0 To complete the circuit, take a screen shot (or use snipping tool), paste it into your software of choice and crop it accordingly. Save the image as 74LS00.png
CHIP #5 - 74HC02 (we will also refer to it as 74LS02) *Note that NOR is backwards Gate Type: _NOR______________ Results: A B Y 0 0 1 0 1 0 1 0 0 1 1 0 To complete the circuit, take a screen shot (or use snipping tool), paste it into your software of choice and crop it accordingly. Save the image as 74LS02.png
Your preview ends here
Eager to read complete document? Join bartleby learn and gain access to the full version
  • Access to all documents
  • Unlimited textbook solutions
  • 24/7 expert homework help
CHIP #6 - 74HC86 (we will also refer to it as 74LS86) Gate Type: _XOR______________ Results: A B Y 0 0 0 0 1 1 1 0 1 1 1 0 To complete the circuit, take a screen shot (or use snipping tool), paste it into your software of choice and crop it accordingly. Save the image as 74LS86.png
Extension: Advanced Circuit Results: A B C D Y Z 0 0 0 0 1 1 0 0 1 0 1 1 0 1 0 0 1 1 0 1 1 1 1 1 1 0 0 0 0 0 1 0 1 0 0 0 1 1 0 0 0 0 1 1 1 1 0 1
Circuit: To complete the circuit, take a screen shot (or use snipping tool), paste it into your software of choice and crop it accordingly. Save the image as ADVANCED.png
Your preview ends here
Eager to read complete document? Join bartleby learn and gain access to the full version
  • Access to all documents
  • Unlimited textbook solutions
  • 24/7 expert homework help
Advanced Circuit Review Questions: *Questions are already answered* 1. Which circuit CHIPS do I need? Ans: 3, And gate, NOT gate and Or gate. 2. How many input wires are there in total? Ans: 5 3. What is the final output (Z) if all inputs are HIGH (1)? Ans: HIGH 1 4. What is the final output (Z) if all inputs are LOW (0)? Ans: 1 HIGH 5. Can you confirm the final output (Z) if input A = 1, B = 1 and C is unknown? Ans: NO 6. Can you confirm the final output (Z) if input A = 0, B is unknown, and C is unknown? Ans: YES Building a 555 Timer Circuit – TEJ4M0 In this activity you will be building a circuit that blinks an LED using a polarized capacitor, 555 Timer Chip, and 2 Resistors (R1 = 2K Ohm and R2 = varies see table below). 555 Timer
To review reading resistor band values, you can use this online resource: https://www.digikey.ca/en/resources/conversion-calculators/conversio n-calculator-resistor-color-code-4-band Note: Default Resistor Value on TinkerCAD is 1K ohm. You can change the value using a dropdown menu after clicking on the resistor in your circuit. Link to 555 circuit working video: https://drive.google.com/file/d/1pvu8z4ZBCD3lpSKGWMPALLWJE4RU slIM/view?usp=sharing
Try the changing resistor values for R2 in your 555 Timer Circuit (Resistor #2) R2 Values 4 Band Colour Speed of Blinking
Your preview ends here
Eager to read complete document? Join bartleby learn and gain access to the full version
  • Access to all documents
  • Unlimited textbook solutions
  • 24/7 expert homework help
10K Ohm brown black orange gold Blinks very fast. Almost impossible to see blinking. 100K Ohm brown black yellow gold Blinks fast a bit less than 10k Ohm. Around 0.25 blinks per second. 510K Ohm (first one) green brown yellow gold Blinks normally around 2 blinks per second. 1M Ohm brown black green gold blinks slower than 510K Ohm around 1 blink per second. 1.5M Ohm brown green green gold Blinks the slowest out of all, around 1 blink per 1.5 seconds. Reflection Questions: 1. What do you notice about the rate of blinking as it relates to the value of R2? Ans: When R2 is decreased The rate of blinking increases. When R2 is increased the rate of blinking decreases.
2. If you tried to get your LED to blink ON every 1 second which R2 Value would be best? Ans: The best value for 1 blink per second would be setting the resistor to 1M Ohm. 3. If you tried to get your LED to blink ON every 5 seconds which R2 Value would be best? Ans: The best R2 value would be 3M Ohm. 4. If you tried to get your LED to blink ON every 10 seconds which R2 Value would be best? Ans: The best R2 value would be 5.2M Ohm. 5. Try changing the value of the Capacitor to 1uF. Notice any change? Why does this change occur? Ans: The LED connected to the circuit blinks or changes more rapidly, with shorter on and off times. This change in the capacitor value increases the frequency of the signal causing the LED to blink faster. Pinout for 555 Chip
Seven Segment Display and Decoder Chip Labelled 7 Segment Pinout for teacher Web link: Video - https://www.octe.ca/application/files/3515/9624/2309/TEJ2O_A5a_-_7_Segment_In tro_on_Tinkercad.mp4
Your preview ends here
Eager to read complete document? Join bartleby learn and gain access to the full version
  • Access to all documents
  • Unlimited textbook solutions
  • 24/7 expert homework help
https://www.octe.ca/application/files/6715/9624/2418/TEJ2O_A5b_-_7_segment_wi th_decoder_on_Tinkercad. mp4 Exploring a 7 Segment Display and Decoder Chip – TEJ4MR/O In this activity you will be exploring the 7 Segment Display. These electronic components are made up of 7 “segments” or LEDs which can be used to display digits on an Alarm clock or messages on a scrolling display. The 7 segments are labeled A through G. The two COMMON pins are #3 and #8. These pins receive power (common anode) or ground (common cathode) depending on the type of 7 segment display. As the segments are tiny LEDs you will use resistors to connect the COM pins to PWR or GND rails.
Label the other 6 segments after completing the circuit below* Exercise #1 – Wiring a COMMON CATHODE 7 Segment Display
*Notice that the Resistors are connected to GROUND (Common Cathode). In this example “A” PIN is connected to POWER so the “A” Segment is ON. Please label the segments (A through G on the 7 segment above. Reflection Questions:
Your preview ends here
Eager to read complete document? Join bartleby learn and gain access to the full version
  • Access to all documents
  • Unlimited textbook solutions
  • 24/7 expert homework help
1. Which segments (A through G) need to be ON (PWR) to produce the number ZERO? Ans: To produce the number zero, segments A, B, C, D, E and F have to be on power. 2. Which segments (A through G) need to be ON (PWR) to produce the number FIVE? Ans: To produce the number five, segments B, C, F, G and E have to be on power. 3. Which segments (A through G) need to be ON (PWR) to produce the number EIGHT? Ans: To produce the number eight, segments A, B, C, D, E, F, and G have to be on power. 4. What could the DOT PIN be used f or? Ans: The DOT pin can be used to display decimal numbers and can display custom symbols. Exercise #2 – 7 Segment and Decoder Now you will drive the 7 segment display with a decoder chip:
Your preview ends here
Eager to read complete document? Join bartleby learn and gain access to the full version
  • Access to all documents
  • Unlimited textbook solutions
  • 24/7 expert homework help
Note: While testing this chip we will give PWR to pins #16, #3 and #4 and GND to pin #8 and #5 Use the table below to record the values on 7 segment display based on the input values:
Your preview ends here
Eager to read complete document? Join bartleby learn and gain access to the full version
  • Access to all documents
  • Unlimited textbook solutions
  • 24/7 expert homework help
INPUT 4 (2 3 = 8s) INPUT 3 (2 2 = 4s) INPUT 2 (2 1 = 2s) INPUT 1 (2 0 = 1s) 7 SEGMENT OUTPUT (DECIMAL DIGIT) 0 0 0 0 0 0 0 0 1 1 0 0 1 0 2 0 0 1 1 3 0 1 0 0 4 0 1 0 1 5 0 1 1 0 6 0 1 1 1 7 1 0 0 0 8 1 0 0 1 9
Your preview ends here
Eager to read complete document? Join bartleby learn and gain access to the full version
  • Access to all documents
  • Unlimited textbook solutions
  • 24/7 expert homework help
1 0 1 0 N/A 1 0 1 1 N/A 1 1 0 0 N/A 1 1 0 1 N/A 1 1 1 0 N/A 1 1 1 1 N/A Reflection Questions: 1. What do you notice about the "DECIMAL DIGITS" after 1 0 0 1? Ans: After the binary representation of 1001(9 in decimal)l, the pattern stops as the 7 segment display can not represent a double-digit decimal number, making 1001 the max value. 2. What should be the DECIMAL VALUE for 1 1 1 1? Ans: The decimal value should be 15, but in terms of the 7 segment display the value will be 0.
Your preview ends here
Eager to read complete document? Join bartleby learn and gain access to the full version
  • Access to all documents
  • Unlimited textbook solutions
  • 24/7 expert homework help
Extension: Try to build this “COMPLEX 7 Segment Display and Decoder”
Your preview ends here
Eager to read complete document? Join bartleby learn and gain access to the full version
  • Access to all documents
  • Unlimited textbook solutions
  • 24/7 expert homework help
Link To COMPLEX 7 Segment Display and Decoder working video: https://drive.google.com/file/d/1qJlhVuQK2WXLRegyjveb6b0VL08_DDkh/vi ew?usp=sharing Counter Circuit Project Activity #6 Building a Counter Circuit – TEJ4M0/R In this activity you will be combining all the components to date and creating a counter circuit.
Your preview ends here
Eager to read complete document? Join bartleby learn and gain access to the full version
  • Access to all documents
  • Unlimited textbook solutions
  • 24/7 expert homework help
Counter Chip (7493): OPTION 1: Button Driven Counter Circuit with Reset Button · Review Activity #2 to see how a button is wired. This button will “DRIVE” the counter chip (7493) on PIN #14. · QA is connected to “INPUT 1” on CD4511, QB is connected to “INPUT 2”, QC is connected to “INPUT 3”, QD is connected to “INPUT 4”. · PIN 5 is POWER and PIN 10 is GROUND · Another button will reset counter to ZERO (both PIN 2 and 3) OPTION 2: Automated Counter Circuit using 555 Timer · Review Activity #4 to see how the 555 timer circuit is wired. This circuit will “DRIVE” the counter chip (7493) on PIN #14 (use same pin that blinks the LED in Activity #4) · Choose an appropriate value for R2 in 555 timer circuit so the blinking is roughly 1 second (accurate time counter).
Your preview ends here
Eager to read complete document? Join bartleby learn and gain access to the full version
  • Access to all documents
  • Unlimited textbook solutions
  • 24/7 expert homework help
· QA is connected to “INPUT 1” on CD4511, QB is connected to “INPUT 2”, QC is connected to “INPUT 3”, QD is connected to “INPUT 4”. · PIN 5 is POWER and PIN 10 is GROUND You can add a reset button that will reset counter to ZERO (both PIN 2 and 3) Level 4+ The challenge is to have LED’S and the 7 segment display counting from 0 to 99 synchronously
Your preview ends here
Eager to read complete document? Join bartleby learn and gain access to the full version
  • Access to all documents
  • Unlimited textbook solutions
  • 24/7 expert homework help
Counter Circuit Rubric Learning Goal: safely construct and test electronic circuits (e.g., LED circuit, flasher, timer) using a breadboard to connect discrete components and integrated circuits Level 1 Level 2 Level 3 Level 4 Counter circuit design does not incorporate all required components Counter circuit design includes most required components Counter circuit design is good with minor errors. Counter circuit design incorporates all required components and complete the task of counting (either automated with 555 or using 2 buttons) Counter Circuit Troubleshooting Log: Issues/Problem Attempted Solutions Final Solution
Your preview ends here
Eager to read complete document? Join bartleby learn and gain access to the full version
  • Access to all documents
  • Unlimited textbook solutions
  • 24/7 expert homework help
Example: 7 Segment Not Lighting up *Checked Common Ground Connections, watched teacher video a second time *Realized that I didn’t change 7 segment to “Common Cathode” Counter Circuit Project Reflection
Your preview ends here
Eager to read complete document? Join bartleby learn and gain access to the full version
  • Access to all documents
  • Unlimited textbook solutions
  • 24/7 expert homework help
What I Knew about Electronics (PRE-PROJECT) What I Want(ed) to Know (DURING) What I Learned (POST-PROJECT)
Your preview ends here
Eager to read complete document? Join bartleby learn and gain access to the full version
  • Access to all documents
  • Unlimited textbook solutions
  • 24/7 expert homework help