CHAPTER 1 INTRODUCTION
1.1
GENERAL DESCRIPTION
Research analysts are predicting that the wireless technology will eventually
become more widespread than the various wired solution. The wireless communication is an ideal solution for the home network. This increase in demand of getting wireless can be seen not only in the field of communication but also in the transfer of information and data. The cell phones which are the best examples of wireless data and voice transfer can be used in many other purposes that can replace the traditional system. One simple way of using this wireless communication is to use a simple cell phone for sending messages. Here we use a simple GSM based module. The GSM module used to receive the messages and the LCD to display them. And the mobile phone is being used for sending messages .As it is a wireless transmission, the system has very less error and maintenance. With greater efficiency we can display the messages at various places like public transport, bank and colleges .we can use this displaying system at distant area where the wire or man power cannot go easily. The notices can be displayed on the digital display in any manner according to ones interest. The message is being sent through the mobile phone and it is received by the GSM module and displayed on the LCD. In this way we can save the work as required for regular notice board. It is a complete wireless setup. No distance barrier will be there and hence provides full flexibility from anywhere within seconds. Wireless communication has announced its arrival on big stage and the world is going mobile. We want to control everything and without moving an inch. This remote control of appliances is possible through Embedded Systems. The use of to the user to operate the display board
DEPARTMENT OF ECE
JCET, LAKKIDI
Embedded System in Communication has given rise to many interesting applications that ensures comfort and safety to human life. The main aim of this project will be to design a SMS driven automatic display board which can replace the currently used programmable electronic display. It is proposed to design receiver cum display board which can be programmed from an authorized mobile phone. The message to be displayed is sent through a SMS from an authorized transmitter. The microcontroller receives the SMS, validates the sending Mobile Identification Number (MIN) and displays the desired information. Started off as an instantaneous News display unit, we have improved upon it and tried to take advantage of the computing capabilities of microcontroller. Looking into current trend of information transfer in the campus, it is seen that important notice take time to be displayed in the notice boards. This latency is not expected in most of the cases and must be avoided. It is proposed to implement this project at the institute level. It is proposed to place display boards in major access points. The GSM based display board can be used as an add-on to these display boards and make it truly wireless. The display board programs itself with the help of the incoming SMS with proper validation. Such a system proves to be helpful for immediate information transfer. The system required for the purpose is nothing but a Microcontroller based SMS box. The main components of the kit include microcontroller, GSM modem. These components are integrated with the display board and thus incorporate the wireless features. The GSM modem receives the SMS. The AT commands are serially transferred to the modem through MAX232. In return the modem transmits the stored message through the COM port. The microcontroller validates the SMS and then displays the message in the LCD display board. Various time division multiplexing techniques have been suggested to make the display boards functionally efficient. In the prototype model, LCD display is used for simulation purpose. While implementation this can be replaced by actually display boards.
DEPARTMENT OF ECE
JCET, LAKKIDI
The data will be displayed only after entering unique pass key .In addition to that address matching is done and data can be receive only by the dedicated receiver , and this data is displayed on LCD. The main focus of the thesis is on displaying information to a dedicated LCD by the any part of world using GSM network, which facilitate to control any message board globally from any location. The project mainly focuses on transmission of textual data through air interface by the use of GSM through asynchronous serial communication .The data will be processed by the microcontroller on both ends. The data will be displayed on LCD only after entering unique pass key. In addition to that address matching is done and data can be received only by the dedicated receiver.
1.2
EXISTING SYSTEM
The big shops and shopping centres are using the digital moving displays now.
In Railway station and bus stands everything that is ticket information, platform number etc is displaying in digital moving display. But in these displays if they wants to change the message or style they have to go there and connect the display to PC or laptop. These displays are programmable displays which need to be reprogrammed each time a new notice comes .The process of reprogramming includes burning the microcontroller again and again This makes it inefficient for immediate information transfer, and thus the display board loses its importance. Suppose the same message if the person wants to display in main centres of the cities means he have to go there with laptop and change the message by connecting into PC. From the past many years we have been observing that the notices in colleges, companies, offices, etc. is usually being displayed on a large board having number of notices clustered onto it and hence creates a lot of confusion.
DEPARTMENT OF ECE
JCET, LAKKIDI
DEPARTMENT OF ECE
JCET, LAKKIDI
DEPARTMENT OF ECE
JCET, LAKKIDI
used in all types of industries, from electrical distribution systems, to food processing, to facility security alarms.
DEPARTMENT OF ECE
JCET, LAKKIDI
Provider Company. This system not only reduces the labour cost but also increase meter reading accuracy and save huge amount of time.
DEPARTMENT OF ECE
JCET, LAKKIDI
Small instruction set to learn RISC architecture Built in oscillator with selectable speeds Easy entry level, in circuit programming plus in circuit debugging PIC Kit units available from Microchip.com for less than $50 Inexpensive microcontrollers Wide range of interfaces including I2C, SPI, USB, USART, A/D, programmable Comparators, PWM, LIN, CAN, PSP, and Ethernet
DEPARTMENT OF ECE
JCET, LAKKIDI
DEPARTMENT OF ECE
JCET, LAKKIDI
10
DEPARTMENT OF ECE
JCET, LAKKIDI
11
DEPARTMENT OF ECE
JCET, LAKKIDI
12
GSM is a standard set developed by the European Telecommunications Standards Institute (ETSI) to describe protocols for second generation (2G) digital cellular networks used by mobile phones. The GSM standard was developed as a replacement for first generation (1G) analog cellular networks, and originally described a digital, circuit switched network optimized for full duplex voice telephony. This was expanded over time to include data communications, first by circuit switched transport, then packet data transport via GPRS (General Packet Radio Services) and EDGE (Enhanced Data rates for GSM Evolution or EGPRS).Further improvements were made when the 3GPP developed third generation (3G) UMTS standards followed by fourth generation (4G) LTE Advanced standards."GSM" is a trademark owned by the GSM Association.
The Base Station Subsystem (the base stations and their controllers). The Network and Switching Subsystem (the part of the network most similar to a fixed network). This is sometimes also just called the core network. The GPRS Core Network (the optional part which allows packet based Internet connections). The Operations support system (OSS) for maintenance of the network.
DEPARTMENT OF ECE
JCET, LAKKIDI
13
they are typically used in urban areas. Pico cells are small cells whose coverage diameter is a few dozen meters; they are mainly used indoors. Femto cells are cells designed for use in residential or small business environments and connect to the service providers network via a broadband internet connection. Umbrella cells are used to cover shadowed regions of smaller cells and fill in gaps in coverage between those cells. Cell horizontal radius varies depending on antenna height, antenna gain and propagation conditions from a couple of hundred meters to several tens of kilometers. The longest distance the GSM specification supports in practical use is 35 kilometers (22 mi). There are also several implementations of the concept of an extended cell where the cell radius could be double or even more, depending on the antenna system, the type of terrain and the timing advance. Indoor coverage is also supported by GSM and may be achieved by using an indoor Pico cell base station, or an indoor repeater with distributed indoor antennas fed through power splitters, to deliver the radio signals from an antenna outdoors to the separate indoor distributed antenna system. These are typically deployed when a lot of call capacity is needed indoors; for example, in shopping centres or airports. However, this is not a prerequisite, since indoor coverage is also provided by in-building penetration of the radio signals from any nearby cell.
DEPARTMENT OF ECE
JCET, LAKKIDI
14
into timeslots for individual phones to use. This allows eight full-rate or sixteen half-rate speech channels per radio frequency. These eight radio timeslots (or eight burst periods) are grouped into a TDMA frame. Half rate channels use alternate frames in the same timeslot. The channel data rate for all 8 channels is270.833 Kbit/s, and the frame duration is 4.615 ms. The transmission power in the handset is limited to a maximum of 2 watts in GSM 850/900 and 1 watt in GSM 1800/1900.
DEPARTMENT OF ECE
JCET, LAKKIDI
15
Ultra small size (22x22x3 mm), lightweight (3.2 g) and easy to integrate Low power consumption R&TTE type approval plus CE, GCF, FCC, PTCRB, IC Full RS232 on CMOS level with flow control (RX, TX, CTS, RTS, CTS, DTR, DSR, DCD, RI) Embedded TCP/IP Stack UDP/IP Stack , Embedded FTP and SMTP Client High performance on low price
DEPARTMENT OF ECE
JCET, LAKKIDI
16
E-GSM 900/1800 MHz and GSM 1800/1900 with GSM Phase 2 / 2+ Output Power Class 4 (2W) at GSM 850/900 MHz and Class 1 (1W) at GSM 1800/1900 MHz Control via AT commands (ITU, GSM, GPRS and manufacturer supplementary) Supply Voltage range: 3.22 V - 4.2 V, nominal: 3.8 V Power consumption: Idle mode: <1.8 mA, speech mode: 200 mA (average) Dimensions (mm): 3 x 20 x 20 and weight (g): 3.2 (including shielding)
3.2.8.1 Interfaces
Power supply nominal 3,8 V 10 general purposes I/O ports and serial bi-directional bus on CMOS 2,8 V External SIM Analogue audio for microphone, speaker and hands free set plus digital voice interface RS232 on CMOS 2,8 V (One RS232 (2,8V) with flow control (RX, TX, CTS, RTS, CTS, DTR, DSR, DCD, RI), baud rate 300 - 115.200 bps, autobauding 1200 - 57.600 bps
3.2.8.2 Audio
Telephony and emergency calls (Half Rate (HR), Full Rate (FR), Enhanced Full Rate (EFR)) Echo cancellation and noise reduction DTMF Handset operations and basic hands free operation
DEPARTMENT OF ECE
JCET, LAKKIDI
17
3.2.8.3 SMS
SMS Mobile Originated (MO), Mobile Terminated (MT) and Cell Broadcast (CB - DRX)
Circuit Switched Data (CSD) up to 14.4 kbps Fax Group 3 Packed Data (GPRS class B, class 10) up to 115 kbps
DEPARTMENT OF ECE
JCET, LAKKIDI
18
DEPARTMENT OF ECE
JCET, LAKKIDI
19
4.1 INTRODUCTION
Wireless communication has announced its arrival on big stage and the world is going mobile. We want to control everything and without moving an inch. This remote control of appliances is possible through Embedded Systems. The use of Embedded System in Communication has given rise to many interesting applications that ensures comfort and safety to humans. The main aim of this project will be to design a SMS driven automatic display board which can replace the currently used programmable electronic display. It is proposed to design receiver cum display board which can be programmed from an authorized mobile phone. The message to be displayed is sent through a SMS from an authorized transmitter. The microcontroller receives the SMS, validates the sending Mobile Identification Number (MIN) and displays the desired information. Started off as an instantaneous News display unit, we have improved upon it and tried to take advantage of computing capability of microcontroller. Looking into current trend of information transfer in the campus, it is seen that important notice take time to be displayed in the notice boards. This latency is not expected in most of the cases and must be avoided. It is proposed to implement this project at the institute level. It is proposed to place display boards in major access points. The electronics displays which are currently used are programmable displays which need to be reprogrammed each time. This makes it inefficient for immediate information transfer, and thus the display board loses its importance. The GSM based display board can be used as an add-on to these display boards and make it truly wireless. The display board programs itself with the help of the incoming SMS with proper validation. The
DEPARTMENT OF ECE
JCET, LAKKIDI
20
valid senders may include the Director, Deans and Registrars. The centralized system can be placed as the Computer Centre for access by any other valid users with authentications. SMS from these users is treated to be valid and is displayed. Such a system proves to be helpful for immediate information transfer. The main components of this kit include PIC 16F877A microcontroller, GSM module, 20X4 character LCD display, serial interface max 232 and an alarm .The GSM GS module receives the SMS. It decodes the SMS instructions to the microcontroller .Commands are serially transferred by microcontroller to the module. In return the module transmits the stored message .The microcontroller validates the SMS and then displays s the message in the LCD display board. The alarm beeps when a new SMS is displayed; thereby deleting the previously displayed SMS.
SMS CENTRE
DEPARTMENT OF ECE
JCET, LAKKIDI
21
DEPARTMENT OF ECE
JCET, LAKKIDI
22
Out of 40 pins 7 pins used for its own function and remaining 33 pins for I/O functions. There are five I/O ports such as A, B, C, D, E
4.3.3 LCD
A liquid crystal display (LCD) is an electro-optical amplitude modulator realized as a thin, flat display device made up of any number of colour or
DEPARTMENT OF ECE
JCET, LAKKIDI
23
monochrome pixels arrayed in front of a light source or reflector. It is often utilized in battery-powered electronic devices because it uses very small amounts of electric power. Each pixel of an LCD typically consists of a layer of molecules aligned between two transparent electrodes, and two polarizing filters, the axes of transmission of which are (in most of the cases) perpendicular to each other. With no liquid crystal between the polarizing filters, light passing through the first filter would be blocked by the second (crossed) polarizer.
In recent years the LCD is finding widespread use replacing LEDs (sevensegment LEDs or other multisegment LEDs). This is due to the following reasons:
The declining prices of LCDs. The ability to display numbers, characters, and graphics. This is in contrast to LEDs, which are limited to numbers and a few characters. Incorporation of a refreshing controller into the LCD, thereby relieving the CPU of the task of refreshing the LCD. In contrast, the LED must be refreshed by the CPU (or in some other way) to keep displaying the data. Ease of programming for characters and graphics.
The LCD display used in this project consists of 4 rows .Each row consists of maximum 20 characters. So using this display only maximum of 40 characters can be
DEPARTMENT OF ECE
JCET, LAKKIDI
24
displayed (but in practice, it should be replaced by a large multiline, multicolour commercial display unit.)
Pin No 1 2 3 4
Name
Function
USE
Ground +ve Supply Contrast Register Set 5v Volts Regulated DC This is used to set the contrast1 Register select signal
0:Instruction register (when writing) Busy flag & address counter (When reading) 1:Data register (when writing &
DEPARTMENT OF ECE
JCET, LAKKIDI
25
reading)
R/W
Read / Write
Read/write
select
signal
0 for writing , 1 for reading 6 E Enable Operation signal 7 8 9 10 11 12 13 14 15 D0 D1 D2 D3 D4 D5 D6 D7 A Data Bit 0 Data Bit 1 Data Bit 2 Data Bit 3 Data Bit 4 Data Bit 5 Data Bit 6 Data Bit 7 +4.2 light 16 K Power supply for Back Positive supply for back light if available (data read/write) enable
In some LCD's you might not find the 15 and 16 pin so dont worry. Here is how you must wire them up.
DEPARTMENT OF ECE
JCET, LAKKIDI
26
STEP 3: Interface Now connect pins RS ,RW ,E ,D0 - D7 to pins on the micro controller Lets suppose I connect Data bus on port A and the RS , RW , E on port B . (you can save pins by using LCD in Nibble Mode (4 data pins ) and permanently grounding the RW line ( always in write mode ) . Now well see how to go from simple switching it on to graphics on the LCD. An Intelligent LCD Need Only a few Commands And data to function Command Set for the LCD.
DEPARTMENT OF ECE
JCET, LAKKIDI
27
4.3.5 Alarm
An alarm device or system of alarm devices gives an audible, visual or other form of alarm signal about a problem or condition. Here the alarm beeps when a new SMS is displayed. A buzzer or beeper is a signaling device, usually electronic.
DEPARTMENT OF ECE
JCET, LAKKIDI
28
The "78xx" series (7805, 7812, etc.) regulate positive voltages while the "79xx" series (7905, 7912, etc.) regulate negative voltages. Often, the last two digits of the device number are the output voltage; eg, a 7805 is a +5 V regulator, while a 7915 is a -15 V regulator. The 78xx series ICs can supply up to 1.5 Amperes depending on the model. some Features are listed below.
Output Current up to 1A Output Voltages of 5, 6, 8, 9, 10, 12, 15, 18, 24 Thermal Overload Protection Short Circuit Protection Output Transistor Safe Operating Area Protection
When you have a requirement for a project of say 12V, or even 5V if it's a digital project, then these are the types you use. 7805 or 7812 are the types. There are of course negative voltage regulators with the numbers 79XX which are substantially the same as those discussed here excepting they are negative. We will not consider them further. Assume your project calls for a basic fixed 12V D.C. to operate. Looking back to our earlier tutorial we apply all the same principles. Look at the original schematic. In a typical linear power supply, AC line voltage is first down-converted to a smaller peak voltage using a transformer which is then rectified using a full wave
DEPARTMENT OF ECE
JCET, LAKKIDI
29
bridge rectifier circuit. A capacitor filter is then used to smoothen the obtained sinusoidal signal. The residual periodic variation or ripple in this filtered signal is eliminated using an active regulator.
To obtain a DC power supply with both positive and negative output voltages, a center-tapped transformer is used, where a third wire is attached to the middle of the secondary winding and it is taken as the common ground point. Then voltages from the opposite ends of the winding will be positive or negative with respect to this point.
DEPARTMENT OF ECE
JCET, LAKKIDI
30
DEPARTMENT OF ECE
JCET, LAKKIDI
31
For the first capacitor, the negative leg goes to ground and the positive leg goes to pin 16. For the second capacitor, the negative leg goes to 5 volts and the positive leg goes to pin 2. For the third capacitor, the negative leg goes to pin 3 and the positive leg goes to pin 1. For the fourth capacitor, the negative leg goes to pin 5 and the positive leg goes to pin 4. For the fifth capacitor, the negative leg goes to pin 6 and the positive leg goes to ground. The MAX232 includes 2 receivers and 2 transmitters so two serial ports can be used with a single chip. We will only use one transmitter for this project. The only connection that must be made to the 2051 is one jumper from pin 3 of the 2051 to pin 11 of the MAX232.
DEPARTMENT OF ECE
JCET, LAKKIDI
32
DEPARTMENT OF ECE
JCET, LAKKIDI
33
1000F
100F
DEPARTMENT OF ECE
JCET, LAKKIDI
34
4.6.1.1 Transformer
Transformer converts 230V AC to 12V DC. The minimum input required by LM 7805 is given by Vin = Vreg + drop out voltage across LM7805 IC = 5V + 2V = 7V Drop across bridge rectifier= 1.4V Minimum secondary voltage= 7+1.4V = 8.4V Unregulated voltage =12V Turn ratio of transformer N1: N2 = V1: V2 N1: N2 = 230: 12 = 20: 1 VA rating of transformer is 12.
4.6.1.2 Rectifier
Here bridge rectifier is used, because of better efficiency and regulation. PIV across each diode is Vm. Ripples at the output can be reduced by using a capacitor filter.
4.5.1.3 Diode
PIV = Vm2
DEPARTMENT OF ECE
JCET, LAKKIDI
35
4.6.1.5 Regulator
IC LM 7805 regulator regulates output voltage to 5v Input Range = -8V to 35V Drop Out Voltage = -2V Output Rating = -5V
DEPARTMENT OF ECE
JCET, LAKKIDI
36
5.1 ADVANTAGES
No need to reprogram each time. Messages can be sent as and when required. Displays messages at notice boards situated at different locations through a single SMS. Ensures immediate transfer of information. Saves a lot of time. Easy to construct and install. High efficiency. Low error probability. In colleges, the management can simply send urgent notices via SMS to the electronic notice board to display the notice. Facilitates to control any message board globally from any location.
5.2 APPLICATIONS
Educational Institutions and Organizations: Currently we rely on putting up papers on notice boards to inform people of events. This method can be discarded by using wireless notice boards to display information in real time. Crime Prevention: Display boards put up on roads will display tips on public security, accident prevention, information on criminals on the run. The board will help flash messages such as vehicle thefts as and when they occur. Managing Traffic: In metropolitan cities we frequently come across traffic jams. One way to avoid this would be inform people beforehand to take alternate routes. A wireless notice board serves well for this purpose.
DEPARTMENT OF ECE
JCET, LAKKIDI
37
Advertisement: In shopping malls we get to hear the offers on various products from time to time. Instead we continuously display the information regarding the products and related offers on electronic display boards.
Railway Station: Instead of announcing the delay in arrival of trains we can display the information.
DEPARTMENT OF ECE
JCET, LAKKIDI
38
DEPARTMENT OF ECE
JCET, LAKKIDI
39
CHAPTER 7 CONCLUSION
SMS BASED NOTICE BOARD circuit has been designed carefully. By introducing the concept of wireless technology in the field of communication, we can make our communication more efficient and faster. We can display the messages with less errors and maintenance. This model can be used very efficiently in establishments like chain restaurants wherein the order and special discounts can be displayed at all branches simultaneously, in colleges wherein students and staff can be informed simultaneously in no time. It can be set up at public transport places, like railways, bus station, airport and also at roadside for traffic control and in emergency situations. It is cost efficient system that is very easy to handle, a single person can handle all the work with just a message. The display board programs itself with the help of the incoming SMS with proper validation. Such a system proves to be helpful for immediate information transfer. The messages are displayed on the system using high speed techniques.
DEPARTMENT OF ECE
JCET, LAKKIDI
40
REFERENCES
Artificial Intelligence Elain Rich & Kevin Knight, Tata Mc Graw Hill, 2nd Edition. Clark and R. Harun, Assessment of kalman-_lter channel estimators for an HF radio link," IEE Proceedings, vol. 133, pp. 513{521, Oct 1986. 4. Introduction to Robotics P.J.Mc Kerrow, Addisson Wesley, USA, 1991 Bernard Sklar, Digital Communications: Fundamentals and Applications, Prentice Hall, 2001.
Wireless Accident Information System Using GSM and GPS by R. Rathinakumar and D. Manivannan School of Computing, Sastra University, Thanjavur.
Programming and Customizing the PIC microcontroller by Myke PredkoThird Edition Michel Mouly and Marie-Bernadette Pautet: GSM System for Mobile Communications, published by the authors 1992, ISBN 2-9507190-0-7 Friedhelm Hillebrand (editor): GSM and UMTS, the creation of Global Mobile Communication, Wiley 2001 Embedded C Programming and the Microchip PIC Richard H. Barnett, Sarah Cox, Larry O'Cull Embedded C Programming And the Atmel AVR Richard H. Barnett, Larry D. O'Cull, Sarah A. Cox, Sarah Alison Cox Wireless Communications: Principles and Practice - Rappaport Pic Microcontroller: An Introduction to Software and Hardware Interfacing Han-Way Huang
DEPARTMENT OF ECE
JCET, LAKKIDI