{[ promptMessage ]}

Bookmark it

{[ promptMessage ]}

lab five - -To operate the buzzer you need to solder the...

Info icon This preview shows page 1. Sign up to view the full content.

View Full Document Right Arrow Icon
UNIVERSITY OF CONNECTICUT Fall 2011 ECE 3411: Microprocessor Application Laboratory Lab 5 Oct. 10 th , 2011, Due to Oct 17th lab. 1 Lab 5: LCD Real-time Desk Clock (Combined Timer, Interrupt, LCD) 1. Objectives Further interface the embedded microcontroller resources with peripherals 2. Related lectures and labs (Lectures 2, 4, and Labs 2, 4) 3. Reading: AVR datasheet Chapter 15, Timer/Counter2 Buzzer Datasheet 4. Lab assignments: 1) A display of current hours, minutes, and seconds, and AM/PM (example 5:25:59 PM) on the LCD. You can set the initial time when you program your board, and from there the clock should operate on its own and reflect real time. You will need to use one of the available 16-bit timers on the Atmel microprocessor for your clock to function. 2) Make a sound using buzzer
Image of page 1
This is the end of the preview. Sign up to access the rest of the document.

Unformatted text preview: -To operate the buzzer you need to solder the relevant buzzer circuit components (1 buzzer, two 1k resistors and a NPN transistor, see schematic). -Next, you should review the buzzer datasheet to learn how to properly operate this piezoelectric element. -Buzzer requires pulsed signals. If you apply simple bias the transistor and turn on the buzzer, it does not work and may actually damage the buzzer. Rather, you need to apply a time varying signal to the gate of NPN transistor. 3) Clock alarm setting. Once you understand how to use a buzzer, then you can make a program: real time desk clock with alarm function. The time at which the alarm will sound is something you can set in code before you download your program to the microcontroller....
View Full Document

{[ snackBarMessage ]}

What students are saying

  • Left Quote Icon

    As a current student on this bumpy collegiate pathway, I stumbled upon Course Hero, where I can find study resources for nearly all my courses, get online help from tutors 24/7, and even share my old projects, papers, and lecture notes with other students.

    Student Picture

    Kiran Temple University Fox School of Business ‘17, Course Hero Intern

  • Left Quote Icon

    I cannot even describe how much Course Hero helped me this summer. It’s truly become something I can always rely on and help me. In the end, I was not only able to survive summer classes, but I was able to thrive thanks to Course Hero.

    Student Picture

    Dana University of Pennsylvania ‘17, Course Hero Intern

  • Left Quote Icon

    The ability to access any university’s resources through Course Hero proved invaluable in my case. I was behind on Tulane coursework and actually used UCLA’s materials to help me move forward and get everything together on time.

    Student Picture

    Jill Tulane University ‘16, Course Hero Intern