Download Smart Alarm Clock

Document related concepts

Phase-locked loop wikipedia , lookup

Crossbar switch wikipedia , lookup

Surge protector wikipedia , lookup

Index of electronics articles wikipedia , lookup

CMOS wikipedia , lookup

Flip-flop (electronics) wikipedia , lookup

Time-to-digital converter wikipedia , lookup

Remote control wikipedia , lookup

Integrating ADC wikipedia , lookup

Power MOSFET wikipedia , lookup

Transistor–transistor logic wikipedia , lookup

Operational amplifier wikipedia , lookup

Two-port network wikipedia , lookup

Radio transmitter design wikipedia , lookup

Power electronics wikipedia , lookup

Electrical ballast wikipedia , lookup

Resistive opto-isolator wikipedia , lookup

Valve audio amplifier technical specification wikipedia , lookup

Schmitt trigger wikipedia , lookup

Valve RF amplifier wikipedia , lookup

Charlieplexing wikipedia , lookup

Current mirror wikipedia , lookup

Switched-mode power supply wikipedia , lookup

Immunity-aware programming wikipedia , lookup

Rectiverter wikipedia , lookup

Opto-isolator wikipedia , lookup

Transcript
Lighting Control
Another means of waking the user that the Smart Alarm Cock uses is controlled
lighting. The controlled lighting works in much the same way as the buzzer control. As
can be seen from Figure 2, when the alarm clock first reaches the preset alarm time, the
unit enters Alarm Stage zero. This corresponds to a low level lighting. If the snooze
button is pressed, the Alarm Stage is incremented by one, and after a “snooze period,” the
alarm begins to wake the user with medium level lighting. If the snooze button is pressed
again, the Alarm Stage is increments by one again. After another “snooze period,” the
alarm attempts to wake the user with a higher intensity lighting.
These three stages of the alarm make it necessary to have a lighting that has three
levels of intensity. This is accomplished by having 3 separate outputs from the PIC going
to the light. This is similar to the buzzer control, but the goal of the design is to allow the
user to plug any general lamp into the alarm clock unit. This is so that the user does not
have to purchase a separate lamp specifically for the alarm clock. There are two outlets
mounted in the alarm clock unit. These outlets are controlled by electromechanical relays
and voltage divider circuits. To minimize the number of output pins on the PIC, the same
voltage divider circuits are used for the buzzer and lighting control. The difference
comes after the divider circuits. A schematic of the Piezoelectric Buzzer and Lighting
Control is given below in Figure 20.
37