Result Alert System With E-mail and sms

Project Report ’10


Communication has an undeniable role on molding our lifestyle. Modern world of ours revolves around communication facilities that render information transfer fast, reliable and trustworthy. Our quest for faster means of communication provided us with the now unavoidable technology for communication of modern times – E-mail and sms. Within a short span of time E-mail and sms has become an indispensable part of communication of common man. Most of the information that is needed to be relied fastly and efficiently is now conveyed through this media. Irrespective of the distance between the users the information is delivered swiftly and securely. This most attractive feature of this technology paved way to the implementation of E-mail and sms for important data transfers. In this project E-mail and sms technology is implemented for the fast and reliable procurement of exam results. Now also even after the publication of exam result by the university/board, the candidates have to wait a long time to get their result details. This problem is tried to be solved through this system which uses E-mail and sms to provide exam results to the needed candidates. The candidates who have registered for exam will have to provide their E-mail Id and mobile number for contact. After the exam result has been published from the university these candidates can call the result center and give their exam registration number. Now their exam result will be automatically provided at their mail box. In addition to this their exam result status will be sent as a message to the provided mobile phone number.

Result Alert System With E-mail and sms

Project Report ’10


The microprocessor is a clock driven semiconductor device consisting of electronic logic circuits .By microprocessor is meant the general purpose microprocessors such as Intel’s x86 family. These microprocessors contain no RAM; no RAM no I/O ports on the chip itself. The microprocessors is capable of performing various computing functions And making decisions to change the sequence of program execution. The microprocessor is in many ways similar to CPU but includes all the logic circuitry including the control unit, on one chip. The microprocessor is divided mainly into three segments they are Arithmetic Logic Unit (ALU), Register Array and Control Unit. Arithmetic Logic Unit –This is the area of the microprocessor where various computing functions are performed on data. The ALU performs such arithmetic operations as additions and subtractions, and such logic functions as AND, OR, and exclusive OR. Register Array – This area of microprocessors consists of various registers .These registers are primarily used to store data temporarily during the execution of a program and are accessible to the user through instructions. Control unit – The control unit provides the necessary timing and control signals to all the operations in the microcomputer. It controls the flow of data between the microprocessor and memory and peripherals. A microcontroller has a CPU in addition to a fixed amount of RAM, ROM I/O ports and a timer all on a single chip . The fixed amount of on chip ROM, RAM and number of I/O ports in microcontrollers make them ideal for many applications in which cost and space are critical.

Result Alert System With E-mail and sms

Project Report ’10

Criteria for choosing a microcontroller: 1. The first and foremost criteria is that it must meet the task at hand efficiently and cost effectively. In analyzing the need for microcontroller-based project, first see whether an 8-bit, 16-bit or 32-bit microcontroller can best handle the computing the needs of the task most effectively. Other considerations are: • • • • • • Speed. Packaging. Power consumptions. The amount of RAM and ROM on chip. The number of I/O pins and timer on the chip. Cost per unit

2. The second criteria in choosing a microcontroller are how easy it is to develop product around it. 3. The third criterion is its ready availability in needed quantities both now and in future.

Using voltage 4.5. ideal standby. Six sleep modes. Four-Eight MHz speed Availability. • • • • • • Twenty three programmable input output pins. Low cost. power slave. (ADC noise production. Forty pin programmable I/O lines.5v . and external –standby). power down.5v. that are specified below: • • • Power on reset External and internal interrupt sources. .Result Alert System With E-mail and sms Project Report ’10 WHY WE CHOOSE AVR MICROCONTRLLER? Here in this project we used AVR (Advanced Virtual RISC)microcontroller due to its some special features.

Result Alert System With E-mail and sms Project Report ’10 BLOCK DIAGRAM .

APR9600 This is the speaker IC which provides instructions to the caller. MICROCONTROLLER The microcontroller ATMEGA8535 is used in our project to interface details with GSM modem and computer. DTMF DECODER . The instructions to be conveyed are stored in the memory of this IC prior to application.Result Alert System With E-mail and sms Project Report ’10 BLOCK DIAGRAM DESCRIPTION The block diagram of ‘Result Alert System with E-mail and sms’system is shown in figure. After the call is established the controller triggers it to prompt the caller to dial their register number. 5V to the circuits. A mobile phone is employed at the result publishing center whereas any type of telephone system can be used by the caller. POWER SUPPLY It provides required power. It connects the DTMF and speaker IC’s and also it provides control of the whole system. This speaker feeds the voice responses from the speaker IC to the mouthpiece of the telephone at the result center. TELEPHONE SYSTEMS The entire ‘result alert system with E-mail and sms’ consist of two telephone systems – one at user end and another at the result publishing center. SPEAKER There is a provision in the APR9600 to interface with a speaker.

GSM MODEM The GSM MODEM is used to send data to the mobile of the candidate.Result Alert System With E-mail and sms Project Report ’10 This block decodes the key strokes corresponding to the register number entered by the caller. According to the received frequencies the number is decodedand fed to the microcontroller. PC This computer stores the entire database of all the registered candidates. . MAX232 Max 232 is used to interface the Microcontroller to the computer and GSM modem. It also transmits the result status to controller for messaging purposes. A high level programming language is used to configure the system automatically to send the result details to the mail Id provided for each candidate. It makes the CMOS logic of microcontroller compatiable with the RS-232 standard of computer and GSM modem. Each digit in the keypad has two specific frequencies associated with it.

Result Alert System With E-mail and sms Project Report ’10 HARDWARE SECTION .

Hence. which in a 40-pin DIP package has the same pin out as an 8051 microcontroller. The polarity of the /RESET line was opposite (8051's having an active-high RESET. It was known as a uRISC (Micro RISC). When the technology was sold to Atmel. The AVR is a Harvard architecture machine with programs and data stored separately. but other than that. Atmel says that the name AVR is not an acronym and does not stand for anything in particular. but it has also been rumored to stand for the initials chip's designers: Alf and Vegard [RISC]. including the external multiplexed address and data bus. Typical Harvard type machines store their programs in permanent or semipermanent memory and data in volatile memory. The original AVR MCU was developed at a local ASIC house in Trondheim Norway. a subsidiary of Atmel founded by the two architects. while the AVR has an active-low /RESET). Among the first of the AVR line was the AT90S8515. the internal architecture was further developed by Alf and Vegard at Atmel Norway. the pin out was identical. they are ideal for embedded . The acronym AVR has been reported to stand for Advanced Virtual RISC.Result Alert System With E-mail and sms Project Report ’10 AVR MICROCONTROLLER BRIEF HISTORY It is believed the AVR basic architecture was conceived by two students at the Norwegian Institute of Technology (NTH) Alf-Egil Bogen and Vegard Wollan. where the two founders of Atmel Norway were working as students.

Partly due to the relative speed difference between SRAM and flash.Result Alert System With E-mail and sms Project Report ’10 systems in the field. . unlike all other AVRs. the AVR core in the FPSLIC can run at up to 50MHz. advanced PWM etc. since the program memory is protected from voltage spikes and other harsh environmental factors that might corrupt the program. The FPSLIC uses SRAM for the AVR program code. o AVR core on-die with an FPGA. mega AVRs 4-256 kB program memory 28-100-pin package Extended instruction set (Multiply instructions and instructions for Extensive peripheral set Application specific AVRs megaAVRs with special features not found on the other members of the FPSLIC (Field Programmable System Level Integrated Circuit). an • o o o handling larger program memories) o • o AVR family. such as LCD controller. Three Basic Families AVRs are generally classified into three broad groups: • o o o Tiny AVRs 1-8 kB program memory 8-20-pin package Limited peripheral set . USB controller.

Lower powered operation usually requires a reduced clock speed. with some devices reaching 20 MHz. The AVR family of processors were designed with the efficient execution of compiled C code in mind and has several built-in pointers for the task. the AVR can achieve up to 1MIPS per MHz. Since many operations on the AVR are single cycle. AVR CPU Core .Result Alert System With E-mail and sms Project Report ’10 Program Execution Atmel's AVRs have a single level pipeline design. removing the need for external clocks or resonator circuitry. MCU Speed The AVR line can normally support clock speeds from 0-16 MHz. Most instructions take just one or two clock cycles. This means the next machine instruction is fetched as the current one is executing. All AVRs feature an on-chip oscillator. making AVRs relatively fast among the eight-bit microcontrollers.

perform calculations. .Result Alert System With E-mail and sms Project Report ’10 The main function of the CPU core is to ensure correct program execution. control peripherals. The CPU must therefore be able to access memories. and handle interrupts.

the next instruction is pre-fetched from the program memory. Instructions in the program memory are executed with a single level pipelining. able to directly address the whole address space.Result Alert System With E-mail and sms Project Report ’10 Architectural Overview In order to maximize performance and parallelism. Six of the 32 registers can be used as three 16-bit indirect address register pointers for Data Space addressing – enabling efficient address calculations. two operands are output from the Register File. After an arithmetic operation.During interrupts and subroutine calls. and .The fast-access Register File contains 32 x 8-bit general purpose working registers with a single clock cycle access time. The program memory is In-System Re-Programmable Flash memory. Most AVR instructions have a single 16-bit word format. One of the these address pointers can also be used as an address pointer for look up tables in Flash program memory. the Status Register is updated to reflect information about the result of the operation. In a typical ALU operation.or 32bit instruction. the return address Program Counter (PC) is stored on the Stack. and the result is stored back in the Register File – in one clock cycle. the Boot Program section and the Application Program section. Program Flash memory space is divided in two sections. This conceptacles instructions to be executed in every clock cycle. The SPM instruction that writes into the Application Flash memory section must reside in the Boot Program section. Single register operations can also be executed in the ALU. Every program memory address contains a 16. The ALU supports arithmetic and logic operations between registers or between a constant and a register. This allows single-cycle Arithmetic Logic Unit (ALU)operation. While one instruction is being executed . the AVR uses a Harvard architecture– with separate memories and buses for program and data. The Stack is effectively allocated in the general data SRAM. Program flow is provided by conditional and unconditional jump and call instructions. the operation is executed. Both sections have dedicated Lock bits for write and read/write protection.

Some implementations of the architecture also provide a powerful multiplier supporting both signed/unsigned multiplication and fractional format. All user programs must initialize the SP in the reset routine (before subroutines or interrupts are executed). Within a single clock cycle. The data SRAM can easily be accessed through the five different addressing modes supported in the AVR architecture. The memory spaces in the AVR architecture are all linear and regular memory maps. logical. The I/O memory space contains 64 addresses for CPU peripheral functions as Control Registers. All interrupts are assigned individual enable bits which must be written logic one together with the Global Interrupt Enable bit in the Status Register . and bit-functions. ALU – Arithmetic Logic Unit The high-performance AVR ALU operates in direct connection with all the 32 general purpose working registers. and other I/O functions. A flexible interrupt module has its control registers in the I/O space with an additional Global Interrupt Enable bit in the Status Register. The lower the Interrupt Vector address. The interrupts have priority in accordance with their Interrupt Vector position. These interrupts and the separate Reset Vector each have a separate Program Vector in the program memory space. the higher the priority. The ALU operations are divided into three main categories – arithmetic. SPI. Reset and Interrupt Handling The AVR provides several different interrupt sources. All interrupts have a separate Interrupt Vector in the Interrupt Vector table. The Stack Pointer SP is read/write accessible in the I/O space.Result Alert System With E-mail and sms Project Report ’10 consequently the Stack size is only limited by the total SRAM size and the usage of the SRAM. arithmetic operations between general purpose registers or between a register and an immediate are executed.

Result Alert System With E-mail and sms Project Report ’10 in order to enable the interrupt. the interrupt execution response time is increased by four clock cycles. the higher the priority level is. the Program Counter is pushed onto the Stack. In addition. and this jump takes three clock cycles. the Data Memory and the Program Memory space. The Vector is normally a jump to the interrupt routine. the Stack Pointer is incremented by two. and the I-bit in SREG is set. The lower the address. A return from an interrupt handling routine takes four clock cycles. interrupts may be automatically disabled when Boot Lock bits BLB02 or BLB12 are programmed. the ATmega8535 features an EEPROM Memory for data storage. . All three memory spaces are linear and regular. by default. During this four clock cycle period. the Program Vector address for the actual interrupt handling routine is executed. Depending on the Program Counter value. Interrupt Response Time The interrupt execution response for all the enabled AVR interrupts is four clock cycles minimum. the Program Counter (two bytes) is popped back from the Stack. The lowest addresses in the program memory space are. RESET has the highest priority. After four clock cycles. This increase comes in addition to the start-up time from the selected sleep mode. If an interrupt occurs during execution of a multi-cycle instruction. this instruction is completed before the interrupt is served. defined as the Reset and Interrupt Vectors. and next isINT0 – the External Interrupt Request 0. AVR AT MEGA8535 MEMORIES The AVR architecture has two main memory spaces. If an interrupt occurs when the MCU is in sleep mode. This feature improves software security. During these four clock cycles. The list also determines the priority levels of the different interrupts.

registers R26 to R31 feature the indirect addressing pointer registers. Indirect with Pre-decrement. The direct addressing reaches the entire data space. and the next 512 locations address the internal data SRAM. The Indirect with Displacement mode reaches 63 address locations from the base address given by the Y. In the Register File. Since all AVR instructions are 16 or 32 bits wide. and Indirect with Post-increment. The Flash memory has an endurance of at least 10. 64 I/O Registers. the address registers X. and the internal data SRAM. and the 512 bytes of internal data SRAM in the ATmega8535 are all accessible through all these addressing modes. Y. and Z are decremented or incremented.or Z-register. the Flash is organized as 4K x 16. Indirect with Displacement.Result Alert System With E-mail and sms Project Report ’10 In-System Reprogrammable Flash Program Memory The ATmega8535 contains 8K bytes On-chip In-System Reprogrammable Flash memory for program storage. Boot Program section and Application Program section. the I/O Memory. Data Memory Access Times This section describes the general access timing concepts for internal memory access. thus addressing the 4K program memory locations. When using register indirect addressing modes with automatic pre-decrement and post increment. Indirect.000 write/erase cycles. The 32 general purpose working registers. EEPROM Data Memory . the Flash Program memory space is divided into two sections. For software security. The 608 Data Memory locations address the Register File. The five different addressing modes for the data memory cover: Direct. SRAM Data Memory. The first 96 locations address the Register File and I/O Memory. The ATmega8535 Program Counter (PC) is 12 bits wide.

I/O Registers within the address range 0x00 .000 write/erase cycles. The I/O locations are accessed by the IN and OUT instructions. When addressing I/O Registers as data space using LD and ST instructions. . The CBI and SBI instructions work with registers 0x00 to 0x1F only. In these registers. I/O Memory The I/O space definition of the ATmega8535 is shown in page 299. thus clearing the flag. reserved bits should be written to zero if accessed. The access between the EEPROM and the CPU is described in the following. Some of the status flags are cleared by writing a logical one to them. Refer to the instruction set section for more details. in which single bytes can be read and written. 0x20 must be added to these addresses. and the EEPROM Control Register. specifying the EEPROM Address Registers. writing a one back into any flag read as set. The EEPROM has an endurance of at least 100. All ATmega8535 I/Os and peripherals are placed in the I/O space. the I/O addresses 0x00 . Note that the CBIand SBI instructions will operate on all bits in the I/O Register. Reserved I/O memory addresses should never be written.Result Alert System With E-mail and sms Project Report ’10 The ATmega8535 contains 512 bytes of data EEPROM memory. For compatibility with future devices. transferring data between the 32 general purpose working registers and the I/O space. the EEPROM Data Register.0x3F must be used. It is organized as a separate data space. When using the I/O specific commands IN and OUT. the value of single bits can be checked by using the SBIS and SBIC instructions.0x1F are directly bitaccessible using the SBI and CBI instructions.

SPI port. and six software selectable power saving modes. by a conventional nonvolatile memory . the crystal/resonator Oscillator is running while the rest of the device is sleeping. both the main Oscillator and the asynchronous timer continue to run. This allows very fast startup combined with low-power consumption. a byte oriented Two-wire Serial Interface. the AT mega 8535 achieves throughputs approaching 1MIPS per MHz . The Power-down mode saves the register contents but freezes the Oscillator. disabling all other chip functions until the next interrupt or Hardware Reset.Result Alert System With E-mail and sms Project Report ’10 AT mega 8535 The AT mega8535 is a low power CMOS 8. The ADC Noise Reduction mode stops the CPU and all I/O modules except asynchronous timer and ADC. The ATmega8535 provides the following features: 8K bytes of In-System Programmable Flash with Read-While-Write capabilities. a programmable Watchdog Timer with Internal Oscillator. 10-bit ADC with optional differential input stage with programmable gain in TQFP package. All 32 registers are directly connected to the Arithmetic Logic Unit (ALU). allowing two independent registers to be accessed in one single instruction executed in one clock cycle. 32general purpose I/O lines. and interrupt system to continue functioning. The device is manufactured using Atmel’s high density nonvolatile memory technology. Timer/Counters. The resulting architecture is more code efficient while achieving through puts up to ten times faster than conventional CISC microcontrollers. a serial programmable USART. 512 bytes SRAM. In Extended Standby mode. to minimize switching noise during ADC conversions. In Powersave mode. an 8-channel.bit microcontroller based on the AVR enhanced RISC architecture. three flexible Timer/Counters with compare modes. The AVR core combines a rich instruction set with 32 general purpose working registers. 32 general purpose working registers. an SPI serial port. internal and external interrupts. The On-chip ISP Flash allows the program memory to be reprogrammed In-System through an SPI serial interface. allowing the user to maintain a timer base while the rest of the device is sleeping. In Standby mode. 512 bytes EEPROM. By executing instructions in a single clock cycle. the asynchronous timer continues to run. The Idle mode stops the CPU while allowing the SRAM.

the Atmel ATmega8535is a powerful microcontroller that provides a highly flexible and cost effective solution to many embedded control applications. . Software in the Boot Flash section will continue to run while the Application Flash section is updated. providing true Read-While-Write operation. By combining an 8-bit RISC CPU with In-System Self-Programmable Flash on a monolithic chip. or by an On-chip Boot program running on the AVR core.Result Alert System With E-mail and sms Project Report ’10 programmer. The boot program can use any interface to download the application program in the Application Flash memory.

58 MHz Time Base • Single 5 Volt Power Supply • Dial Tone Suppression Applications • Telephone switch equipment • Remote data entry • Paging systems • Personal computers • Credit card systems .Result Alert System With E-mail and sms Project Report ’10 M-8870 DECODER Features • Low Power Consumption • Adjustable Acquisition and Release Times • Central Office Quality and Performance • Power-down and Inhibit Modes (-02 only) • Inexpensive 3.

Its filter section uses switched capacitor technology for both the high and low group filters and for dial tone rejection.Result Alert System With E-mail and sms Project Report ’10 DESCRIPTION The M-8870 is a full DTMF Receiver that integrates both bandsplit filter and decoder functions into a single 18-pin DIP or SOIC package. The M-8870-02 can also inhibit the decoding of fourth column digits BLOCK DIAGRAM FUNCTIONAL DESCRIPTION .579545 MHz color burst crystal. clock generator. Minimal external components required include a low-cost 3. drops consumption to less than 0. The M-8870-02 provides a “power-down” option which. and a timing capacitor. Its decoder uses digital counting techniques to detect and decode all 16 DTMF tone pairs into a 4-bit code. Manufactured using power consumption (35 mW max) CMOS process technology.5 mW. and latched tri-state interface bus. when enabled. External component count is minimized by provision of an on-chip differential input amplifier. the M-8870 offers low and precise data handling. a timing resistor.

it raises the EarlySteering flag (ESt). providing excellent dial tone rejection. The comparator outputs provide full-rail logic swings at the frequencies of the incoming tones. Any subsequent loss of signal condition will cause ESt to fall. The filter also incorporates notches at 350 and 440 Hz. When the detector recognizeshe simultaneous presence of two valid tones (known as signal condition). Decoder The M-8870 decoder uses a digital counting technique to determine the frequencies of the limited tones and to verify that they correspond to standard DTMF frequencies. Each filter output is followed by a single-order switched capacitor section that smooths the signals prior to limiting. A complex averaging algorithm is used to protect against tone simulation by extraneous signals (such as voice) while tolerating small frequency variations. Signal limiting is performed by highgain comparators provided with hysteresis to prevent detection of unwanted low-level signals and noise. Filter The low and high group tones are separated by applying the dual-tone signal to the inputs of two 6th order switched capacitor bandpass filters with bandwidths that correspond to the bands enclosing the low and high group tones.Result Alert System With E-mail and sms Project Report ’10 M-8870 operating functions include a bandsplit filter that separates the high and low tones of the received pair. The algorithm ensures an optimum combinationof immunity to talkoff and tolerance to interfering signals (third tones) and noise. Steering Circuit . and a digital decoder that verifies both the frequency and duration of the received tones before passing the resulting 4-bit code to the output bus.

Input Configuration . VC reaches the threshold (VTSt) of the steering logic to register the tone pair.GT continues to drive high as long as ESt remains high.allows the designer to tailor performance to meet awide variety of system requirements . Basic Steering Circuit . the receiver checks for a valid signal duration (referred to as character. Provided that signal condition is maintained (ESt remains high) for the validation period (tGTF). the delayed steering output flag (StD) goes high. This capability. Finally. At this point. thus latching its corresponding 4-bit code into the output latch. The contents of the output latch are made available on the 4-bit output bus by raising the threestate control input (OE) to a logic high. Thus.recognition-condition). after a short delay to allow the output latch to settle. the receiver will tolerate signal interruptions (dropouts) too short to be considered a valid pause. This check is performed by an external RC time constant driven by ESt. The steering circuit works in reverse to validate the interdigit pause between signals. the GT output is activated and drives VC to VDD. together with the ability to select the steering time constants externally. signaling that a received tone pair has been registered. A logic high on ESt causes VC to rise as the capacitor discharges. as well as rejecting signals too short to be considered valid.Result Alert System With E-mail and sms Project Report ’10 Before a decoded tone pair is registered.

Result Alert System With E-mail and sms Project Report ’10 The input arrangement of the M-8870 provides a differential input operational amplifier as well as a bias source (VREF) to bias the inputs at mid-rail. DTMF Clock Circuit The internal clock circuit is completed with the addition of a standard 3. The Differential Input Configuration bellow permits gain adjustment with the feedback resistor R5. a single crystalcan be used to connect a series of M-8870s by couplingthe oscillator output of each M-8870 through a 30pF capacitor to the oscillator input of the next M-8870. In a single-ended configuration.Ended Input Configuration on page 3 with the op-amp connected for unity gain and VREF biasing the input at 1/2VDD. the input pins are connected as shown in the Single . . The crystal can be connected to a single M-8870.579545 MHz television color burst crystal. Provision is made for connection of a feedback resistor to the op-amp output (GS) for gain adjustment.

Result Alert System With E-mail and sms Project Report ’10 TONE DECODING .

In serial access mode. sound can be recorded in 256 sections.1 kHz. a sampling rate as high as 8. 4 or 8 sections. sound can be recorded in 2. Recorded sound is retained even after power supply is removed from the module.0 kHz can be achieved.2 kHz that gives a sound record/replay bandwidth of 20Hz to 2. The IC can be controlled simply using push button . In parallel access mode.Result Alert System With E-mail and sms Project Report ’10 APR 9600 APR9600 is a low-cost high performance sound record/replay IC incorporating flash analogue storage technique. The IC can operate in one of two modes: serial mode and parallel mode. Sampling rate for a 60 second recording period is 4. This shortens the total length of sound recording to 32 seconds. The replayed sound exhibits high quality with a low noise level. by changing an oscillation resistor. Total sound recording time can be varied from 32 seconds to 60 seconds by changing the value of a single resistor. However.

To record. the current drops to 1 mA.2 kHz. current consumption is 25 mA. The APR9600 has a 28 pin DIP package. When actual recording begins the device responds with a single beep (if the BE pin is high to enable the beep tone) at the speaker outputs to indicate that it has started recording.Result Alert System With E-mail and sms Project Report ’10 keys. the device is ready to record or play back. in any of the enabled message segments. The APR9600 experimental board is an assembled PCB board consisting of an APR9600 IC. The message trigger pins are labeled /M1_Message . The board measures 80mm by 55mm./M8_Option on pins 1-9 (excluding pin 7) for message segments 1-8 respectively. an electret microphone. You initiate recording by applying a low level on the message trigger pin that represents the message segment you intend to use. In idle mode. support components and necessary switches to allow users to explore all functions of the APR9600 chip. Recording continues as long as the message pin stays low. During recording and replaying. FUNCTIONAL BLOCK DIAGRAM OF APR9600 Functional Description of Recording On power up. /CE must be set low to enable the device and /RE must be set low to enable recording. Supply voltage is between 4. It is also possible to control the IC using external digital circuitry such as microcontrollers and computers. . The rising edge of the same message trigger pin during record stops the recording operation (indicated with a single beep).5V. The oscillation resistor is chosen so that the total recording period is 60 seconds with a sampling rate of 4.5V to 6.

/Strobe. the selected message is played back repeatedly as long as the trigger pin stays low. To playback. Counting pulses on this pin enables the host processor to accurately determine how much recording time has been used. playback of the current message stops immediately (indicated by one beep) and playback of the new message segment begins. and /M7_END pins are included to simplify handshaking between the microprocessor and the APR9600 The /Busy pin when low indicates to the host processor that the device is busy and that no commands can be currently accepted. of a duration equal to 8. If a different message trigger pin pulses during playback. . the device is ready to record or playback.Result Alert System With E-mail and sms Project Report ’10 Functional Description of Playback On power up. /CE must be set low to enable the device and /RE must be set high to disable recording & enable playback. If a high to low edge occurs on the same message trigger pin during playback. When this pin is high the device is ready to accept and execute commands from the host. and how much recording time remains. If a message trigger pin is held low. Playback will continue until the end of the message is reached. in any of the enabled message segments. When controlling messages the microprocessor essentially toggles pins as described in the message management sections describe previously. The APR9600 has a total of eighty memory segments. You initiate playback by applying a high to low edge on the message trigger pin that representing the message segment you intend to playback. A delay equal to 8.400 cycles of the sample clock will be encountered before the device starts playing the new message. The /Strobe pin pulses low each time a memory segments is used. Microprocessor Controlled Message Management The A P R 9 6 0 0 device incorporates several features designed to help simplify microprocessor controlled message management. will be inserted during looping as an indicator to the user of the transition between the end and the beginning of the message. playback of the current message stops immediately. A period of silence. The /Busy.400 cycles of the sampling clock.

Signal Storage The APR 9 6 0 0 samples incoming voice signals and stores the instantaneous voltage samples in non-volatile FLASH memory cells. Each memory cell can support voltage ranges from 0 to 256 levels. During playback the stored signals are retrieved from memory.Result Alert System With E-mail and sms Project Report ’10 The /M7_END pin is used as an indicator that the device has stopped its current record or playback operation. These 256 discrete voltage levels are the equivalent of 8-bit (28=256) binary encoded values. During recording a low going pulse indicates that all memory has been used. and then amplified before being fed to an external speaker . smoothed to form a continuous signal. During playback a low pulse indicates that the last message has played.

Relays with calibrated operating characteristics and sometimes multiple operating coils are used to protect electrical circuits from overload or faults. and a set. Basic design and operation A simple electromagnetic relay is an adaptation of an electromagnet. or where several circuits must be controlled by one signal. which provides a low reluctance path for magnetic flux. an iron yoke. of contacts. a movable iron armature. two in the relay pictured. It consists of a coil of wire surrounding a soft iron core. but other operating principles are also used. Many relays use an electromagnet to operate a switching mechanism.Result Alert System With E-mail and sms Project Report ’10 RELAY A relay is an electrically operated switch. instead using a semiconductor device to perform switching. or sets. A type of relay that can handle the high power required to directly drive an electric motor is called a contactor. The armature is hinged to the yoke and . Relays find applications where it is necessary to control a circuit by a low-power signal. Solidstate relays control power circuits with no moving parts.

If the set of contacts was closed when the relay was de-energized. the armature is returned by a force. and vice versa if the contacts were open. When an electric current is passed through the coil. then the movement opens the contacts and breaks the connection. this is to reduce arcing. This ensures continuity of the circuit between the moving contacts on the armature. Most relays are manufactured to operate quickly. When the current to the coil is switched off. Other relays may have more or fewer sets of contacts depending on their function. and the consequent movement of the movable contact or contacts either makes or breaks a connection with a fixed contact. the resulting magnetic field attracts the armature. In a low voltage application. but gravity is also used commonly in industrial motor starters. It is held in place by a spring so that when the relay is de-energized there is an air gap in the magnetic circuit. In a high voltage or high current application. . this is to reduce noise. In this condition. and the circuit track on the printed circuit board (PCB) via the yoke. The relay in the picture also has a wire connecting the armature to the yoke. one of the two sets of contacts and the other set is open. approximately half as strong as the magnetic force. to its relaxed position. Usually this force is provided by a spring. which is soldered to the PCB.Result Alert System With E-mail and sms Project Report ’10 mechanically linked to a moving contact or contacts.

may absorb the surge. By analogy with functions of the original electromagnetic device. which increases the minimum pull on the armature during the AC cycle. . which would otherwise generate a voltage spike dangerous to circuit components.Result Alert System With E-mail and sms Project Report ’10 When the coil is energized with direct current a diode is often placed across the coil. Alternatively a contact protection network. To achieve electrical isolation an optocoupler can be used which is a light-emitting diode (LED) coupled with a photo transistor. to dissipate the energy from the collapsing magnetic field at deactivation. If the coil is designed to be energized with alternating current (AC). a small copper ring can be crimped to the end of the solenoid. consisting of a capacitor and resistor in series. a solid-state relay is made with a thyristor or other solid-state switching device. Some automotive relays already include a diode inside the relay case. This "shading ring" creates a small out-of-phase current.

It provides 2-channel RS232C port and requires external 10uF capacitors. . A MAX232 chip has long been using in many uC boards. The MAX232 converts from RS232 voltage levels to TTL voltage levels.Result Alert System With E-mail and sms Project Report ’10 MAX 232 Since RS232 is not compatible with today’s microprocessors and microcontrollers we need a line driver to convert the RS232’Ss signals to TTL voltage levels that will be acceptable to the today’s microprocessor pins. One example of such a converter is MAX232 from Maxim corporation .

data for GSM .Its ubiquity enables international roaming arrangements between mobile phone operators. GSM is used by over 3 billion people across more than 212 countries and territories .estimates that 80% of the global mobile market uses the standard. and thus GSM is considered a second generation(2G) mobile phone system.Result Alert System With E-mail and sms Project Report ’10 GSM MODEM GSM (Global system for mobile communications)is the most popular standard for mobile telephone systems in the world .its promoting industry trade organization of mobile phone carriers and manufactures . Enhanced Data Rates Evolution(GSM EDGE) is a 3G version of the protocol.GSM differs from its predecessor technologies in that both signaling and speech channels are digital. The GSM association . providing subscribers the use of their phones in many parts o the world. This also facilitates the wide –spread implementation of communications applications into the system .

Result Alert System With E-mail and sms Project Report ’10 Antenna connector Signal LED Power LED 9 pin D Type Female Power DC 9-24V • • • • • SIM Interface Weight : 3V : 250gram Storage Temperature: -25-+70Degree C Operating Temperature : 0-55Degree C Dimensions : 120mm (Width) : 80 mm (Depth) :38mm(Height) .

Data.SMS Remote Control by AT Commands Maximum output power:2 W for GSM 900 & 1 W for GSM 1800 Real Time Clock Flashing LED to indicate Network connection Serial RS232c compatible port for connectivity GSM antenna with Magnetic Mount and 2 M cable 9-24 VDC Power supply .Dual band 900/1800Mhz Internet.Result Alert System With E-mail and sms Project Report ’10 DELIVERABLES • • • • Universal AC/DC Adapter PC Communication Cable Magnetic Mount GSM Antenna with 2M Cable WSM PC DEMO SOFTWARE ON A CD TYPICAL APPLICATIONS • • • • • • Automatic Meter Reading GSM pay Phones Fleet/Traffic Management Security Systems Mobile/Fixed Internet Connectivity Remote Data Logging and Reporting PRODUCT FEATURES • • • • • • • • • GSM & GPRS class2.

which gives a stable output of 5volt from the voltage regulator IC 7805. We use a regulated power supply. The pin configuration is shown in the figure below: . The entire circuit uses the +5 volt power supply.Result Alert System With E-mail and sms Project Report ’10 POWER SUPPLY The power supply circuit is shown in the figure.

it's 50Hz. Finally. depending on the requirements of the load.Result Alert System With E-mail and sms Project Report ’10 A power supply is a device or system that supplies electrical or other types of energy to an output load or group of loads. both for full wave rectification or a single diode yielding a half wave (pulsating) output. a linear regulator may be used to reduce the ripple sometimes also allowing for adjustment of the output to the desired but lower voltage. usually a lower voltage. Here the output of the rectifier is filtered by using 220microfared capacitor. Then a capacitor smooths out part of the pulses giving a type of DC voltage. This filtered dc is given to the regulated IC 7805(pin 1 and 2).or the UK. . If it is used to produce DC a rectifier circuit is employed either as a single chip. Because of a fullwave rectification they occur at twice the mains frequency (in USA it's 60 Hz doubled to 120 Hz . The smaller pulses remaining are known as ripple. More elaborate configurations rectify the AC voltage at first to pulsating DC. The output of the regulator (pin 3 and 2) supplies 5 volt continuously to the entire circuit. A simple AC powered linear power supply usually uses a transformer to convert the voltage from the outlet (mains) to a different. doubled to 100Hz). an array of diodes sometimes called a diode bridge or Bridge Rectifier.

Result Alert System With E-mail and sms Project Report ’10 CIRCUIT DIAGRAM .

Result Alert System With E-mail and sms Project Report ’10 .

Result Alert System With E-mail and sms Project Report ’10 COMPONENTS REQUIRED Microcontroller AT MEGA 8535 Speaker IC APR9600 DTMF decoder CMD 8870 MAX232 Relay Speaker GSM modem Computer Crystal oscillator Resistors Capacitors LEDs .

A common power supply is used to provide the required 5V to the microcontroller and other ICs. name of the candidate. marks obtained in each subject. At the result center the receiving mobile is configured in auto-answer mode. Microcontroller AVR 8535 . This triggers the microcontroller to send a message indicating ‘PASS’ to the mobile number of the candidate through the GSM modem. Once the call is connected the caller has to press a specific key – 8 in this case.Result Alert System With E-mail and sms Project Report ’10 CIRCUIT DESCRIPTION The circuit diagram for ‘Result Alert System with E-mail and sms’ is shown in figure. The availability of BCD output corresponding to the entered register number is indicated by a logic 1 at the STD pin of DTMF decoder. If it is found greater than 50% . The character transmitted by the microcontroller is made available at the serial port of the computer. All the communication between the microcontroller-computer and microcontroller-GSM modem is through MAX232 IC. At the same time the total marks is analyzed. The caller who desires to know their exam result will have to call the result center. As the caller dials their register number each keystroke will be decoded by DTMF decoder producing corresponding BCD numbers. The computer reads it and locates the needed register number and the details associated with it from the database stored in it. This interface is needed to make the signaling levels compatible with each device. total marks and the Email Id of the candidate. The functioning of this circuit arrangement begins as soon as the call is established. The computer operation is under the control of a high level program loaded in it. All these details are forwarded to the mail Id provided for the register number located. 230V main supply drives the computer system and GSM modem. When the depression of key 8 is registered the microcontroller triggers the speaker IC APR9600. it contains the stored message that instructs the caller to dial their regioster number. This enables the microcontroller to read the register number and send a character corresponding to that to the computer. the computer signals the microcontroller that the candidate has passed. This database consist of register number.

A two-contact relay is used to overcome this difficulty. This enables the communication with two devices effectively. enabling only one device to be connected for two way communication. At first computer is connected to the Txd and Rxd pins through relay. After the computer sends data to microcontroller a logic 1 is produced at pin PD3 connected to the relay. For AVR 8535 only two pins are available for serial communication. This closes the transistor circuit of the relay thus powering the solenoid.Result Alert System With E-mail and sms Project Report ’10 operates on CMOS logic whereas RS232 standard defines the signaling levels of computer and GSM modem. So the signals transferred between these devices working on different logic is made compatible by MAX232.. The resulting magnetic field due to the emf produced in the solenoid pulls down the contact of the relay closing the transmission path to the GSM modem. Similarly a relay is provided for communication between microcontrollercomputer and microcontroller-GSM modem. .one for transmission and another for reception. But here we have to transmit data from microcontroller to computer and GSM modem at various times.

PANELISATION: Here the schematic transformed in to the working positive/negative films. For the PTH boards. plate and etch after pressing the inner layers. This is called penalization.Result Alert System With E-mail and sms Project Report ’10 PCB FABRICATION Printed circuit boards. The double sided plate through – hole (PTH) boards are made by the print plate and etch method. print and etch. process control. or PCBs. The circuit is repeated conveniently to accommodate economically as many circuits as possible in a panel. The inner layers are printed and etch while the outer layers are produced by print. the next operation is drilling. . plate and etch. The production of multi layer boards uses both the methods. The single sided PCBs are usually made using the print and etch method. telecommunications and instrumentation. form the core of electronic equipment domestic and industrial. which can be operated in every sequence of subsequent steps in the PCB process. MANUFATCURING: The manufacturing process consists of two methods. Some of the areas where PCBs are intensively used are computers. SOFTWARE: The software used in our project to obtain the schematic layout is MICROSIM. and print.

the image available in the form of a film is transferred on to the out side by photo printing using a dry film printing process. . leaving the board soldered and leveled. SOLDERMASK: 12bath. giving a wall finish with less or no smear or epoxy. ETCHING: Once a multiplayer board is drilled and electro less copper deposited.Result Alert System With E-mail and sms Project Report ’10 DRILLING: PCB drilling is a state of the art operation. The etching machines are attached to an automatic dosing equipment. Thus the double sided plated through whole printed circuit board is manufactured and is now ready for the components to be soldered. hot air is blown on both sides of the board through air knives in the machines. required for void free through hole plating. The holes drilled in the board are treated both mechanically and chemically before depositing the copper by the electro less copper platting process. which analyses and controls etchants concentrations. The boards are then electrolyticaly plated on to the circuit pattern with copper and tin. The tin-plated deposit serves an etch resist when copper in the unwanted area is removed by the conveyorised spray etching machines with chemical etchants. Very small holes are drilled with high speed CNC drilling machines. PLATING: The heart of the PCB manufacturing process. This is one of the common finishes given to the boards.

yet it may not have of out desired size and shape. ii. But with the use of ICs and crowding of the components on the board. etch and drill the holes. paint the pattern on a copper-clad board. iii. The fabrication of PCB includes the following steps i. We can make the printed circuit board of our desire in our laboratory. A number of methods are available for making PCB. PCBs of some particular circuits are readily available in the market. This method is suitable where there is no need for precision and quantity required in only one or two pieces. Preparing the PCB pattern Transferring the pattern in the PCB Developing the PCB . Finishing touches.Result Alert System With E-mail and sms Project Report ’10 PROCEDURE: The first step in making electronic equipment is PCB manufacturing. this method become unsuitable as one have a very steady hand in drawing the lines of required thickness with paint and brush. Another method is to make silk screen stencil by a photographic process. The simplest method is drawing the pattern on a copper clad board with enchant resistant ink or paint.

Result Alert System With E-mail and sms Project Report ’10 PCB LAYOUT .

Result Alert System With E-mail and sms Project Report ’10 COMPONENTS LAYOUT .

Result Alert System With E-mail and sms Project Report ’10 SOFTWARE SECTION .

named address spaces. and named registers gives the programmer direct access to features in the target processor. Embedded C is designed to bridge the performance mismatch between Standard C and the embedded hardware and application architecture. These features are common for the small. thereby significantly improving the performance of applications. The hardware I/O extension is a portability feature of Embedded C. embedded processors used in most consumer products The Embedded C specification for fixed-point. It aims to provide portability and access to common performance.increasing features of processors used in the domain of and embedded processing. The description we present here addresses the extensions from a language-design perspective. Embedded C Features The features introduced by Embedded C are fixed-point and saturated arithmetic. as opposed to the programmer or processor architecture .Embedded C supports the multiple address spaces found in most embedded systems. The Embedded C specification extends the C language to support freestanding embedded processors in exploiting the multiple address space functionality.Result Alert System With E-mail and sms Project Report ’10 INTRODUCTION TO EMBEDDED C Embedded C is a C language extension. and hardware I/O addressing. and direct access to processor and I/O registers. Its goal is to allow easy porting of device-driver code between systems. . It provides a formal mechanism for C applications to directly access (or map onto) those individual processor instructions that are designed for optimal memory access perspective. user-defined named address spaces. segmented memory spaces.

. AT+CMGS="+yyyyy" <Enter> > Your SMS text message here <Ctrl-Z> The "+yyyyy" is the receipent's mobile number. the AT command to use is AT+CMGS . Entire functioning of the GSM modem is controlled by the microcontroller through the AT commands loaded in it. Initial setup AT commands AT commands to setup and check the status of the GSM modem are listed below: AT AT+CREG? AT+CSQ Returns a "OK" to confirm that modem is working A "0.Result Alert System With E-mail and sms Project Report ’10 AT COMMANDS AT commands are used for sending sms through GSM modem. Check with your provider.1" reply confirms your modem is connected to GSM network Indicates the signal strength.99 is maximum. AT+CPIN="xxxx" To enter the PIN for your SIM ( if enabled ) Sending SMS using AT commands To test whether GSM modem can send SMS before proceeding the AT commands involved are:. AT+CMGF=1 To format SMS as a TEXT message AT+CSCA="+xxxxx" Set your SMS center's number. . To send a SMS.. 31.

Result Alert System With E-mail and sms Project Report ’10 FLOWCHART .

3 #define sound PORTC.5 unsigned int cnt.temp.flag3.b++) { for(c=0.c<1000.b<d.7 #define relay PORTD. for(b=0.Result Alert System With E-mail and sms Project Report ’10 MICROCONTROLLER PROGRAM #include <mega8.c++) {.flag1.c.flag2. void delay1(unsigned int d) { unsigned int b. bit flag.h> #include <stdio.} } } interrupt [EXT_INT0] void ext_int0_isr(void) . unsigned char tdata.h> #define bcd PINB #define led PORTD.

} if(tdata==0x03) {putchar('B'). delay1(200).} } } interrupt [TIM0_OVF] void timer0_ovf_isr(void) .flag=0. sound=1. } if(flag==1) { if(tdata==0x02) {putchar('A'). //relay=1.Result Alert System With E-mail and sms Project Report ’10 { tdata=bcd. sound=0. tdata=(tdata & 0x0f).flag=0. if(tdata==0x08) { led=1. flag=1. //relay=0. } if(tdata==0x09) { led=0.

putchar('C').Result Alert System With E-mail and sms Project Report ’10 { if(++cnt>2500) {cnt=0. putchar(13). delay1(100). putchar('G'). putchar('F'). flag3=1. } void cmgs() . putchar('M'). putchar('1'). putchar('T'). } } void cmgf() { putchar('A'). putchar('+'). putchar('=').

putchar('S'). putchar('6'). putchar('T'). putchar('0'). putchar('4'). putchar('C'). putchar('='). putchar('+'). putchar('"'). putchar('0'). putchar('M'). putchar('0'). putchar('G'). putchar(13). . putchar('5'). putchar('"'). putchar('1'). putchar('5'). putchar('7'). putchar('9'). putchar('7').Result Alert System With E-mail and sms Project Report ’10 { putchar('A').

if(flag1==1) {putchar('F'). } if(flag2==1) {putchar('P'). putchar('A'). putchar('I'). putchar('A'). } . putchar('S'). } putchar(26). putchar('L'). delay1(100).Result Alert System With E-mail and sms Project Report ’10 delay1(100). putchar(13). putchar('S').

Result Alert System With E-mail and sms

Project Report ’10

void main(void) { PORTB=0x00; DDRB=0x00; PORTC=0x00; DDRC=0x00; DDRC.5=1; sound=1;

PORTD=0x00; DDRD=0x00; DDRD.3=1; DDRD.7=1;

TCCR0=0x03; TCNT0=0x00;

TCCR1A=0x00; TCCR1B=0x00; TCNT1H=0x00; TCNT1L=0x00;


Result Alert System With E-mail and sms

Project Report ’10

ICR1L=0x00; OCR1AH=0x00; OCR1AL=0x00; OCR1BH=0x00; OCR1BL=0x00;

ASSR=0x00; TCCR2=0x00; TCNT2=0x00; OCR2=0x00;

GICR|=0x40; MCUCR=0x02; GIFR=0x40;


UCSRA=0x00; UCSRB=0x18; UCSRC=0x86; UBRRH=0x00;


Result Alert System With E-mail and sms

Project Report ’10

cmgf(); #asm("sei") while (1) { if(UCSRA & 0x80) { temp=getchar(); if(temp=='F') {flag1=1;flag2=0;temp=0x00;} if(temp=='P') {flag1=0;flag2=1;temp=0x00;} if(flag1==1 || flag2==1) {delay1(500); relay=1; delay1(500); cmgs(); delay1(500); relay=0; flag1=0; flag2=0; flag3=0; } } } }

all communication on industry standards to ensure that code based on the .NET for this purpose.NET Framework is a new computing platform that simplifies application development in the highly distributed environment of the Internet. The . The developer experience consistent across widely varying types of application. Code that targets the run time is known as managed code. To provide consistent object-oriented programming environment whether object code is stored and executed locally but Internet distributed. The Class Library. The Common Language Run Time is the foundation of the . WHY . or executed remotely. the other main component of the . codeexecution environment that minimizes software deployment and versioning conflicts.NET Framework can integrate with any other code.NET Framework. . You can think of the Run Time as the foundation of the .NET Framework has two main components: The Common Language Run Time and the .NET ? The .based application. thread management while also enforcing strict type safety and other forms of code accuracy that ensure security and robustness. object-oriented collection of reusable types that you can use to develop applications ranging from traditional command-line or graphical user interface (GUI) applications. that guarantees safe execution of code. including code created by an unknown or semitrusted third party. while code that does not target the run time is known as unmanaged code. The . providing core services such as memory management. the concept of code management is a fundamental principle of the run time.NET Framework is designed to fulfill the following.NET In this project the functioning of the computer is under the control of a program in high level language loaded in it. and Web.NET Framework. is a comprehensive. Here we use .Result Alert System With E-mail and sms Project Report ’10 INTRODUCTION TO .NET Framework Class Library. In fact.NET Framework and as an agent that manages code at execution time. that eliminates the performance problems of scripted or interpreted environments.

Other new language features include free threading and structured exception handling. C# fully integrates the . A web application can provide the user with the interface to the database.Result Alert System With E-mail and sms Project Report ’10 C#. As a result. the same database can be viewed in many different ways.NET is the next generation of the Visual Basic language from Microsoft. and overloading that make it a powerful object-oriented programming language. such as writing macros in Visual Studio and providing programmability in applications such as Microsoft Excel. RDBMS RDBMS is a type of database management system that stores data in the form of related tables. An understanding of C# can be leveraged in a variety of ways.NET applications quickly and easily. With C# you can build . and improved versioning support. . enhanced security. which together provide language interoperability. There are many types of databases. garbage collection. Access and Word. C# supports single inheritance and create Microsoft intermediate language (MSIL) as input to native code compilers. The most popular among them is the Relational Database Management System (RDBMS). Users can access the data and manipulate it.NET C#. and has become the programming language of choice for hundreds of thousands of developers over the past decade. interfaces. C# has many new and improved features such as inheritance. Relational databases are powerful because they require few assumptions about how data is related or how it will be extracted from the database.NET Framework. DATABASE SERVERS A database server is used to store data in a database. C# is comparatively easy to learn and use.NET Framework and the common language runtime. Applications made with C# are built on the services of the common language runtime and take advantage of the .

specify links between tables and imposes constraints between databases. in which each database is self-contained in a single table. Visual C++ and Visual J++ . This differs from flat-file databases. SQL statements are used to retrieve and update data in a database. The Data Definition Language (DDL) part of SQL permits database tables to be created or detected. With SQL we can query a database and have a result set returned. MS SQL Server and Sybase etc. Each tables is identified by a name (E. SQL works with database programs like MS Access. These query and update commands together form the Data Manipulation Language (DML) part of SQL. Oracle. We can also define indexes (keys). A database most often contains one or more tables. VB Script. SQL is the syntax for executing queries. A table contains record (rows) with data. SQL is an ANSI (American National Standards Institute) standards computer language for accessing and manipulating database systems. But the SQL language also includes the syntax to insert and delete records. SQL: The structured Query Language (SQL) comprises one of the fundamental building blocks of modern database architecture.g. Visual Basic. DB2. ACTIVEX DATA OBJECTS ActiveX Data Objects (ADO) is a high level interface to provide case of access to data stored in a wide variety of database sources. Informix. “Customer” or “Orders”). J Script. ADO can be used with a variety of programming languages including C#.Result Alert System With E-mail and sms Project Report ’10 An important feature of relational systems is that a single database can be spread across several tables.

Write("P") End If Dim sql1 As String = "select * from result where id = '" + usr + "'" Dim ad1 As New SqlDataAdapter(sql1.In tegrated Security=True.User Instance=True") Dim sql As String = "select * from result where id = '" + usr + "'" Dim ad As New SqlDataAdapter(sql.SqlClient Imports System.Fill(ds) Dim dt As New DataTable dt = ds.Mail Imports System.Write("F") Else SerialPort1.Tables(0) Dim dr As DataRow dr = dt.Net.Data Imports System.mdf.AttachDbFilename=D:\result\result\data\data.PortName = ComboBox1.Net Public Class form1 Dim usr As String Dim mrk As String Private Sub Button1_Click(ByVal sender As System.SerialDataReceivedEventArgs) Handles SerialPort1.Connect Timeout=30. ByVal e As System.EventArgs) Handles Button1. con) Dim ds As New DataSet ad.Result Alert System With E-mail and sms Project Report ’10 . con) Dim ds1 As New DataSet ad.Ports.Data.Click Try SerialPort1.Open() MessageBox.DataReceived usr = SerialPort1.IO.Object.ReadExisting() Dim con As New SqlConnection("Data Source=.Rows(0) If dr(7) < 150 Then SerialPort1.Show("Successfuly configured") Catch ex As Exception MessageBox.Text SerialPort1.Show("INVALID PORT NAME Try Again") End Try End Sub Private Sub SerialPort1_DataReceived(ByVal sender As System.Object.NET PROGRAM Imports System.Fill(ds1) Dim dt1 As New DataTable . ByVal e As System.\SQLEXPRESS.

Credentials = net mail.") End Try End Sub .com") mail.ToString() + "<br>" + "Digital Signal Processing: " + dr(4).Host = "smtp.Rows(0) Dim mail As New MailMessage("akhild2@gmail.IsBodyHtml = True".com" sm.Tables(0) 'DataGridView1..ToString() + "<br>" + "Programming in C: " + dr(5).ToString() + "<br>" + "Name: " + dr(2).Show("Mail sent successfully") Catch ex As Exception MessageBox.ToString() Dim sm As New SmtpClient() sm.Result Alert System With E-mail and sms Project Report ’10 dt1 = ds1.Send(mail) MessageBox.Body = "Regno: " + dr(1).Show("Error. "sreelalu7@gmail.Subject = "Mark " Try sm.Port = 587 Dim net As New NetworkCredential(" = dt Dim dr1 As DataRow dr1 = dt1.ToString() + "<br>" + "English: " + dr(3).EnableSsl = True sm. "akhil725568")".ToString() + "<br>" + "Total : " + dr(7).

This result is provided through E-mail and sms simultaneously. There is no need to call from their phone itself. Call can be made from any telephone while the result is obtained at the registered number. at anytime instantly.Result Alert System With E-mail and sms Project Report ’10 CONCLUSION Our project entitled ‘Result Alert System with E-mail and sms’ was designed to provide the registered candidates with their result details when they wish. This enables a candidate to get their exam results from anywhere. . Thus Result alert system is very efficient in obtaining result details. Entire result details can be verified from their mail at ease.

. This can be included by improving the microcontroller program. We can also enable the message to be sent to the called number.Result Alert System With E-mail and sms Project Report ’10 FUTURE EXPANSIONS ‘Result alert system with E-mail and sms’ can be further modified to accept multi-digit register numbers. Provision for including more details in the message sent by the GSM modem can also be included.

atmel.Electronicproject.Result Alert System With E-mail and sms Project Report ’10 BIBLIOGRAPHY Embedded programming in C and Atmel 8535 .howstuffworks.dallassemiconductors.

Result Alert System With E-mail and sms Project Report ’10 DATASHEETS .

Sign up to vote on this title
UsefulNot useful

Master Your Semester with Scribd & The New York Times

Special offer: Get 4 months of Scribd and The New York Times for just $1.87 per week!

Master Your Semester with a Special Offer from Scribd & The New York Times