Difference between revisions of "CSC270 Lab 3 2016"

From dftwiki3
Jump to: navigation, search
(Light-Emitting Diodes (LED))
(Transistor as Inverter)
 
(16 intermediate revisions by the same user not shown)
Line 1: Line 1:
 
--[[User:Thiebaut|D. Thiebaut]] ([[User talk:Thiebaut|talk]]) 14:43, 9 February 2016 (EST)
 
--[[User:Thiebaut|D. Thiebaut]] ([[User talk:Thiebaut|talk]]) 14:43, 9 February 2016 (EST)
 
----
 
----
<center>
+
<br />
=Electronics, Diodes, and Transistors=
+
<br />
</center>
+
<center><font size=5>Electronics, Diodes, and Transistors</font></center>
 
+
<br />
 +
<br />
 +
<bluebox>
 +
This lab will introduce you to electricity and electronic components, such as the resistor, the diode, and the transistor.  Make sure you demonstrate the different circuits you wire up.
 +
</bluebox>
 +
<br />
 +
__TOC__
 
<br />
 
<br />
 
==Part 1: Ohm's Law==
 
==Part 1: Ohm's Law==
Line 24: Line 30:
 
* In your lab report, indicate the 3 voltages measured: V, V1, and V2.
 
* In your lab report, indicate the 3 voltages measured: V, V1, and V2.
 
<br />
 
<br />
 +
==Creating Your Own Input Switch==
 +
<br />
 +
* Implement the circuit below, and connect its output to a Logic Indicator.  Use  a switch from one of the drawers on the North wall of the room.  There are 2 drawers, one labeled "Switches" and one labeled "Push Buttons".  Switches are better, although a push button would do as well.
 +
* Verify that you can generate a 0 and a 1 with your switch.
 +
{|
 +
|
 +
[[Image:inputSwitch.png|250px]]
 +
|
 +
[[Image:SwitchAndWires.jpg|350px]]
 +
|}
 +
 +
 +
<br />
 +
 
==Light-Emitting Diodes (LED)==
 
==Light-Emitting Diodes (LED)==
 
<br />
 
<br />
 
* Implement the circuit below, which uses an LED.  The diagram on the right indicates how to find the polarity of the LED.
 
* Implement the circuit below, which uses an LED.  The diagram on the right indicates how to find the polarity of the LED.
 +
* Connect the input of the circuit (left line) to a Logic Switch.  Connect one of the Logic Indicators on the Kit to the same Logic Switch.
 +
* Comment on your circuit.  Is it working the way you want?  Why or why not?
 
<br />
 
<br />
 
{|
 
{|
Line 37: Line 59:
 
|}
 
|}
 
<br />
 
<br />
 +
* Fix the circuit by adding the appropriate gate.
 +
<br />
 +
 +
==Transistor as Inverter==
 +
<br />
 +
* Implement the circuit below, using a 2N5772 transistor.  The pin labeling of the 2N5772 is given in the diagram, to the right.
 +
* Connect the inputs of the AND gate to a Logic Switch.  Connect the output of the transistor (Collector) to a Logic Indicator.
 +
* Connect the output of the AND gate to a Logic Indicator.
 +
* Verify that the transistor '''inverses''' the signal it receives.
 +
<br />
 +
{|
 +
|
 +
[[Image:TransistorInverter.png|350px]]
 +
|
 +
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
 +
|
 +
[[Image:2N5772.png|250px]]
 +
|}
 +
<br />
 +
 +
==Mystery Gate==
 +
<br />
 +
* Implement the TTL (transistor-transistor logic) gate below.
 +
* Connect the inputs (on the left) to two Logic Switches, and the output to a Logic Indicator.
 +
* Generate its truth table
 +
* Identify the gate.
 +
<br />
 +
[[Image:TTLGate.png|400px|center]]
 +
<br /><br />
 +
<br />
 +
<br />
 +
<br />
 +
<br />
 +
<br />
 +
<br />
 +
<br />
 +
[[Category:CSC270]][[Category:Labs]]

Latest revision as of 15:06, 11 February 2016

--D. Thiebaut (talk) 14:43, 9 February 2016 (EST)




Electronics, Diodes, and Transistors



This lab will introduce you to electricity and electronic components, such as the resistor, the diode, and the transistor. Make sure you demonstrate the different circuits you wire up.



Part 1: Ohm's Law


  • For this part, you will implement the circuit below on the breadboard and you will measure V1 and V2 (see more information about the voltmeter below). Verify that V1 + V2 = 5 V and that V1/R1 = V2/R2.


CSC270ResistorsSeries.png


  • You may not be able to find a 4 KOhm resistor, but most likely a 3.9 KOhm one. (See chart below, taken from ecee.colorado.edu/~mcclurel.


ResistorChartByValue.png


Measuring Voltages with the Agilent 34401A Voltmeter


AgilentVoltmeter.png


  • Press the DC V button, and plug a black probe (rubber banana plug) into the LO connector (refer to diagram above), and a red probe (rubber banana plug) into the HI connector.
  • Press the Auto/Man button to put the meter into Automatic range measurements.
  • In your lab report, indicate the 3 voltages measured: V, V1, and V2.


Creating Your Own Input Switch


  • Implement the circuit below, and connect its output to a Logic Indicator. Use a switch from one of the drawers on the North wall of the room. There are 2 drawers, one labeled "Switches" and one labeled "Push Buttons". Switches are better, although a push button would do as well.
  • Verify that you can generate a 0 and a 1 with your switch.

InputSwitch.png

SwitchAndWires.jpg



Light-Emitting Diodes (LED)


  • Implement the circuit below, which uses an LED. The diagram on the right indicates how to find the polarity of the LED.
  • Connect the input of the circuit (left line) to a Logic Switch. Connect one of the Logic Indicators on the Kit to the same Logic Switch.
  • Comment on your circuit. Is it working the way you want? Why or why not?


LEDIndicator.png

 

LEDPolarity.jpg


  • Fix the circuit by adding the appropriate gate.


Transistor as Inverter


  • Implement the circuit below, using a 2N5772 transistor. The pin labeling of the 2N5772 is given in the diagram, to the right.
  • Connect the inputs of the AND gate to a Logic Switch. Connect the output of the transistor (Collector) to a Logic Indicator.
  • Connect the output of the AND gate to a Logic Indicator.
  • Verify that the transistor inverses the signal it receives.


TransistorInverter.png

         

2N5772.png


Mystery Gate


  • Implement the TTL (transistor-transistor logic) gate below.
  • Connect the inputs (on the left) to two Logic Switches, and the output to a Logic Indicator.
  • Generate its truth table
  • Identify the gate.


TTLGate.png