Alarm Clock Using Embedded Micro Controller

Only available on StudyMode
  • Topic: Frequency synthesizer, Phase-locked loop, Adaptive filter
  • Pages : 34 (5124 words )
  • Download(s) : 77
  • Published : April 7, 2013
Open Document
Text Preview
ME APPLIED ELECTRONICS

II SEMESTER

AP9227-ELECTRONICS DESIGN LAB-II

CONTENTS

Ex. No.

Date

Experiment

Page No

Signature

1.

Alarm Clock using Embedded Micro Controller

2.

Model Train Controller using Embedded Micro Controller. Elevator Controller using Embedded Micro Controller.

3.

4.

Simulation of Non adaptive Digital Control System using MATLAB. Simulation of Adaptive Digital Control System using MATLAB.

5.

6.

Frequency synthesizer using PLL

7.

Design and Implementation of Multiplexer and Demultiplexer using CPLD.

8.

Design and Implementation of Encoder and Decoder using CPLD.

EINSTEIN COLLEGE OF ENGINEERING

1

ME APPLIED ELECTRONICS

II SEMESTER

AP9227-ELECTRONICS DESIGN LAB-II

Expt. No: 1

Date: ALARM CLOCK USING EMBEDDED MICROCONTROLLER

AIM: To design an alarm clock using embedded microcontroller. COMPONENT REQUIRED: 1. PIC16F877A Microcontroller Trainer Kit. 2. PC with MPLAB IDE v 8.30, PIC ISP , Win X-Talk 3. Interfacing Bus. THEORY: PIC is a family of Harvard architecture microcontrollers made by Microchip Technology, derived from the PIC1650 originally developed by General Instrument’s Microelectronics Division. The name PIC initially referred to "Peripheral Interface Controller". PICs are popular due to their low cost, wide availability, large user base, extensive collection of application notes, availability of low cost or free development tools, and serial programming (and re-programming with flash memory) capability. The 16F877A is one of the most popular PIC microcontrollers and it comes in a 40 pin DIP pin out and it has many internal peripherals. The 40 pins make it easier to use the peripherals as the functions are spread out over the pins. This makes it easier to decide what external devices to attach without worrying too much if there enough pins to do the job. One of the main advantages is that each pin is only shared between two or three functions so its easier to decide what the pin function (other devices have up to 5 functions for a pin). A disadvantage of the device is that it has no internal oscillator so we will need an external crystal of other clock source.

EINSTEIN COLLEGE OF ENGINEERING

2

ME APPLIED ELECTRONICS

II SEMESTER

AP9227-ELECTRONICS DESIGN LAB-II

PROGRAM: #include #use delay(clock=20000000) #use rs232(baud=19200, xmit=PIN_C6, rcv=PIN_C7) #use I2C(MASTER,sda=PIN_C4,scl=PIN_C3) unsigned int time[]={0x00,0x37,0x12}; unsigned int readtime[0x03]; unsigned long int hour,second,minute; int i,j; void set_rtc_time() { for (i=2;i
AP9227-ELECTRONICS DESIGN LAB-II

} } void alarm_set() { output_b(0xff); if(minute==0x37) { if((second>=0x10)&&(secondDate:

MODEL TRAIN CONTROLLER USING EMBEDDED MICROCONTROLLER AIM: To control a model train using embedded microcontroller. COMPONENT REQUIRED: 1. PIC16F877A Microcontroller Trainer Kit. 2. PC with MPLAB IDE v 8.30, PIC ISP 3. Model train interfacing board. 4. Interfacing Bus. THEORY:...
tracking img