Preview

Electronics

Good Essays
Open Document
Open Document
541 Words
Grammar
Grammar
Plagiarism
Plagiarism
Writing
Writing
Score
Score
Electronics
We were assigned with the task of designing and building a digital clock that displays the time in Binary. First a power supply that outputs a 60Hz square wave is fed into the circuit. We used 74160 decade counters in the project. A 74160 divided the clock down to 6Hz, and then a truncated 74160 divided it down to a 1Hz wave that would be the input for the clock. This clock will display in military time. The 1HZ is equal to one second and is fed into the first 74160. There are six 74160 counters and one J/K Flip-Flop to count and display the time in 4 bit blocks. One nibble for the ones column of seconds, One nibble for the tens column for seconds and so on, except the hours which has only 2 bits. The outputs are hooked to LEDs. It the LED is on it represents a 1 and if it is off it represents a 0. The first counter displaying time shows the seconds and is not truncated. The next counter is truncated at 6 so that it once it reaches 59 seconds it will clear and output to the next chip’s clock and show one minute. The seconds minutes and hours are all arranged this way. We used 7420 NAND chips for truncating purposes, and 7404 inverters when needed as the 74160s are active low. All unused inputs are tied to high, and loads tied to ground. Once the time reaches the tens column for hours it is fed into a J/K Flip-flop because it is only needed to count to 2. Once the time reaches 23:59:59 the next pulse is decoded and causes the circuit to clear back to 0. This clock is also equipped with an alarm. With a super bright LED to display the alarm. 7485 comparators were used to detect when the alarm time is reached. The alarm is set with DIP switches corresponding to each bit. A SPDT switch is in place to set the alarm to on. An LED indicates when the time set on the alarm is reached regardless if the alarm is set to on. When the alarm time is reached the outputs of counters and the outputs of the DIP switches are equal and the A=B outputs all go

You May Also Find These Documents Helpful

  • Satisfactory Essays

    Components Used: i)AT90S8535 Micro controller ii)LED‟S iii)Ground Code: #include int timeCount = 0; interrupt[TIM0_OVF] void timer0_ovf_isr(void) { TCNT0 = 6; if(++timeCount == 1000) { PORTA =PORTA ^ 0x01; timeCount = 0; } } void main(void) { DDRA = 0x01; PORTA = 0x01; TCCR0 = 0x02; TIMSK = 0x01; #asm("sei"); while(1); } Description: A variable timecount is initialized to 0. In the main function the LSB of PORTA is chosen for output and it is set to 1. Then the TIMER COUNTER CONTROL REGISTER (TCCR0) is initialized in such a way that divide by 8 (CK/8)clock source is selected again the “timer interrupt mask is set to enable the timer0 counter. “#asm” is a assembly language instruction „sei‟ stands for set enable interrupts to enable all the interrupts. Finaly ainfinite while loop.Then the function with keword interrupt is created.This function will be called automatically when the timer0 overflow interrupt takes place. This function returns nothing, since it is not called by any function and you cant pass any thing to function for the same reason .The timer0 is initialized to 6 in this function .As we have chosen ck/8 system as mentioned above and the clock frequency is 4 Mhz that‟s why 4/8 Mhz so 500 Khz(0.5 Mhz) will be the effective frequency so for one tick of counter 1/0.5 micro sec are required(1/freq.= time) that equals to 2 micro secondes. A timer can…

    • 742 Words
    • 3 Pages
    Satisfactory Essays
  • Satisfactory Essays

    1. Design a module named timesTen. The module should accept an Integer argument. When this module is called, it should display the product of its argument multiplied by 10…

    • 765 Words
    • 5 Pages
    Satisfactory Essays
  • Satisfactory Essays

    Quiz Comp Archi

    • 438 Words
    • 3 Pages

    4) Please describe how the clock works in the digital circuit and what are main concerns on the clock design (performance, power).…

    • 438 Words
    • 3 Pages
    Satisfactory Essays
  • Powerful Essays

    Assignment Homework

    • 1073 Words
    • 5 Pages

    | 2 | NESTED LOOPS | | 35 | 805 | 5 (0)| 00:00:01 |…

    • 1073 Words
    • 5 Pages
    Powerful Essays
  • Satisfactory Essays

    Output and 3n 2n 1n

    • 1607 Words
    • 25 Pages

    7. Interpret a datasheet for the Quartus 74148 encoder and complete the following timing diagram. (5 points)…

    • 1607 Words
    • 25 Pages
    Satisfactory Essays
  • Good Essays

    Nothing

    • 1097 Words
    • 5 Pages

    HW-4 (Base conversion ) Date:__________, Name___________________________________ Please do not use any calculator in doing your homework. You need Scantron 882E. Please use a pencil to mark the answers. Make sure your Scantron is clean , flat, and not folded when you submit. MULTIPLE CHOICE. Choose the one alternative that best completes the statement or answers the question. Solve the problem. 1) Write (in the same base) the counting numbers just before and just after 3246 seven. A) 3245seven, 3247 seven C) 3254seven, 3250 seven 2) List the first 10 counting numbers in base 2. A) 0, 1, 10, 11, 100, 101, 110, 111, 1000, 1001 B) 0, 1, 2, 10, 11, 100, 101, 110, 111, 1000 C) 1, 10, 11, 100, 110, 1000, 1001, 1010, 1100, 10000 D) 1, 10, 11, 100, 101, 110, 111, 1000, 1001, 1010 3) Write (in the same base) the counting numbers just before and just after 13 eight. A) 10eight, 12 eight B) Aeight, Ceight C) 12eight, 15 eight D) 12eight, 14 eight 4) Determine the number of distinct symbols needed in base 7. A) 7 B) 9 C) 8 5) List the first 10 counting numbers in base 16. A) 1, 2, 3, 4, 5, 6, 7, 8, 9, 10 C) 1, 2, 3, 4, 5, 6, 7, 8, 9, A, B B) 3245seven, 3250 seven D) 165 seven, 166seven 2)…

    • 1097 Words
    • 5 Pages
    Good Essays
  • Good Essays

    Futronics

    • 912 Words
    • 4 Pages

    To offset the changing trends of fierce competition, flattened sales, and decreased profits the following analysis will provide the Corporate Cost Reduction Team members with the needed resources and recommendations to make an informed decision in the corporate overhead reduction program. Outsourcing is a hot topic in corporate America. Companies have begun to look at outsourcing of non-core materials and services to achieve substantial cost reductions while turning these low performing assets into a competitive advantage. Within this analysis a comparison of cost savings, lead and delivery times, product selection, facility space and labor cost will be examine as to assessing the “make or buy decision while supporting the Senior Management’s, May 2002 mandate. The objective is to reduce the short and long-term cost of office supplies for Futronics, Inc. The question or decision to be made is whether to do so via in-sourcing, outsourcing, or a hybrid combination.…

    • 912 Words
    • 4 Pages
    Good Essays
  • Powerful Essays

    Summary: Case Analysis

    • 2180 Words
    • 9 Pages

    This is a sample of a morning work assignment Mark was given upon arrival to the classroom. After completing the sheet, students glue them into their Math Journals and justify their answer for a problem of their choice. The work shows an analog clock that is displaying 8:00 on its face. The question asks, “what time is shown?” Mark answered “8:00.”…

    • 2180 Words
    • 9 Pages
    Powerful Essays
  • Good Essays

    Scitronics

    • 675 Words
    • 3 Pages

    COMPONENT PERCENTAGES INCOME STATEMENT (each item is expressed as a percentage of net sales revenue)…

    • 675 Words
    • 3 Pages
    Good Essays
  • Satisfactory Essays

    I challenge you to set your watch to 5 minutes past your current time and set the second alarm for 15 minutes past the current time.…

    • 508 Words
    • 3 Pages
    Satisfactory Essays
  • Good Essays

    Computer Hardware

    • 692 Words
    • 3 Pages

    6.) When troubleshooting a motherboard, you discover the network port no longer work. What is the best and least expensive solution to this problem? If this solution does not work, which solution should you try next?…

    • 692 Words
    • 3 Pages
    Good Essays
  • Satisfactory Essays

    Functions and Macros

    • 3580 Words
    • 15 Pages

    | Multiplies the values in a particular field of records that match the criteria in a database…

    • 3580 Words
    • 15 Pages
    Satisfactory Essays
  • Good Essays

    For binary subtraction, we use 2’s complement to keep things simple. For instance, to perform the operation six (0110) minus five (0101), we first obtain the 2’s complement of five and then add it to six:…

    • 845 Words
    • 4 Pages
    Good Essays
  • Powerful Essays

    * The minimum count that this circuit can count down to is 00; the maximum count is 99.…

    • 3471 Words
    • 14 Pages
    Powerful Essays
  • Satisfactory Essays

    the watch runs slower than the actual time by 9 minutes. Therefore, when the actual time is 2:00 pm on 10 January 2009, the time shown on the watch should be 1:51 pm on 10 January 2009.…

    • 22215 Words
    • 89 Pages
    Satisfactory Essays

Related Topics