Unformatted text preview:

Laboratory 9 10 Daniel Choi 904169062 Lab 2A We will start by building the following circuit We pull up the data sheets for each component on the internet and plug them in properly We will begin by setting up the D type flip flop Our first push switch will be plugged into our reset pin 1 and our second push switch will be plugged into our clock pin3 When theses push button switches are pushed own they will create a connection to ground The one plugged into the clock will start our game and the button plugged into our reset will stop our game The D pin 2 will be set to 5V We will use our function generator to generate a 1kHz square wave and this will be plugged into the first input of our AND gate The second input of out AND gate will be the output of our D type flip flop A LED will be run in parallel with the output of the D type flip flop so that we may be able to see the input signal high or low going into the AND gate The output of the AND gate will go into our decade counters The carry out of the first decade counter will go into the clock of the second one and the carry out of the second decade counter will go into the clock of the third one By doing so the first decade counter will keep track of the ones digit the second will keep track of the tens and the third the hundreds digit Three 7 segment common cathode LED displays will be connected to each decade counter to display the time The game will be played by one player taking control of the first push button and the second player taking control of the second one The objective of player one is to simply start the timer The objective of the second player is to try and react to player one s starting the timer The decade counter will start to run when player one presses his her button The timer will stop when player two presses his her button The time on the 7 segment display will show player two how fast his her reaction time is To reset this time we will add another push button and connect it to the resets of our 3 decade counters When this push button is pressed the timer will be reset so that the next player can play and see their reaction time We will be building a circuit on a board that we will solder and take home This means that we cannot take the function generator home with us We will use a 555 timer which will take the place of the function generator We set it up as following Our 555 timer will also be connected to a potentiometer which will control the frequency outputted by the 555 timer This will be cool because when we play the game we can slow down the time to actually see the time that has passed by When using a 1kHz frequency the timer runs so rapidly that sometimes it will pass 999 when one s reaction is too slow Thus we have a chance of clicking on a very low number and this will be an inaccurate reading of one s reaction time So by using the potentiometer we can quicken or slow down the timer so that anyone ranging from very quick reaction times to very slow reactions times can enjoy this game We will now take every off of our breadboard and transfer them onto our board that we can solder We will no longer use our 5V power supply but we will replace it with four 1 5V AAA batteries We will then place all of these into a plastic black box and drill holes in the appropriate areas and our game is now complete


View Full Document

UCLA PHYSICS 117 - Laboratory-9

Documents in this Course
Load more
Loading Unlocking...
Login

Join to view Laboratory-9 and access 3M+ class-specific study document.

or
We will never post anything without your permission.
Don't have an account?
Sign Up

Join to view Laboratory-9 and access 3M+ class-specific study document.

or

By creating an account you agree to our Privacy Policy and Terms Of Use

Already a member?