Professional Documents
Culture Documents
GPS (Global Positioning System) is increasingly being used for a wide range of applications. It provides reliablepositioning, navigation, and timing services to worldwide users on a continuous basis in all weather, day and night,anywhere on or near the Earth. GPS is made up of three segments: Space, Control and User. GPS has become awidely used aid to navigation worldwide, and a useful tool for mapmaking, land surveying, commerce, scientificuses, tracking and surveillance, and hobbies such as geocaching and way marking. None of the present GPS systemssatisfy the requirements for the safety of civilian navigation in the sea as the maritime boundary of a country cannotbe marked. This project deals on the versatility and the usefulness of a GPS device in the sea. The main objective of the paper isto help the fishermen not to navigate beyond other countrys border. If a fisherman navigates beyond the countrysborder, an alarm is generated indicating that the fisherman has crossed the border. Additionally, a GSM transmitterinterface will send a message to base station located on the shore indicating that a vessel has crossed the border. Thus guards in the shore can assist and provide additional help to those fishermen if needed.Keeping in mind about lives of Indian fishermen, this device has been created to help them not to move beyondIndia. On the whole, it is an attempt to build a suitable device for the fishermen at a reasonably low cost.
INTRODUCTION
GPS based border alert system aims in keeping an end for the killings of the fishermen were seen quite common in the boundary coastal areas which has become quite common these days. The reason for this is they were crossing the territory or boundary. This happening due to lack of awareness where their boundary is located and the cost of this mistake is their life. And we cannot provide any sign board in the mid of the sea to solve this problem. The only solution which we provide for this problem is enabling the boats with a GPS device. GPS based border alert system gives a best solution for this problem, whenever the fisherman was about to reach the boundary he can have a voice based alert in his native language itself. So that he can go back from that point onwards. The GPS is the acronym for Global positioning system. This GPS receiver is capable of identifying the location in which it was present in the form of latitude and longitudes. This information is very useful and can be processed for alerting the boat drivers. The GPS gives the data received from the satellites. For this information the GPS communicates with at least three satellites in the space.
1.1
Objective
The reason for this is they were crossing the territory or boundary. The incidents of harassment of Indian fisherman by the Lankan personnel had kept increasing. In the month of September 2012 there were reports that Sri Lankan navy had attacked the team of Indian fisherman near kodiakarai coast. Earlier to this month another 28 fisherman from tamilnadu were detained. There have been more than 1752 instances of Indian fisherman disappearing near palk-straits, the petitioner said that around 500 fisherman have been killed and 3000 of themselves permanently disabled by the act of Lankan navy
Page 2
Page 3
CHAPTER 2
LITERATURE SERVEY
In this modern and fast runningworld everything is going to be digitized to be easily understandable and also to give exact calculation. Considering this idea we started a worked named Using GPS GSM Technologies Indication Of Digital Fuel, which shows the exact amount of fuel remaining in the fuel gauge as compared to the previously used gauge meter in which a needle moves to give a rough estimate of the fuel left. Most of the petrol bunks today have manipulated the pumps such that it displays the amount as entered but the quantity of fuel filled in the customers tank is much lesser than the displayed value. Therefore the pumps are tampered for the benefit of the petrol bunks owner. This results in huge profits for the petrol bunks but at the same time the customers are cheated. All most all the vehicles consist of analog meters hence it is not possible to precisely know the amount of fuel currently in the vehicle and also it is not possible to cross check the quantity of fuel filled in the petrol bunk. In this work we focuses on creating a digital display of the exact amount of fuel contained in the vehicles tank and also helps in cross checking the quantity of fuel filled at the petrol bunk. Finally once the fuel is filled at a bunk the device also sends an SMS to the vehicle owner indicating the amount of fuel filled in the tank and totalfilled. And also we can find the exact location of the vehicles.
Page 4
Power Supply
GPS
MCU
LED Indicator
ALCD Driver
ALCD
Buzzer
Motor
Relay
GSM Modem
Page 5
WORKING PRINCIPLE:
The functioning of the device is achieved by employing a micro controller. The micro controller forms the controlling unit of the project. The micro controller is interfaced with a GPS receiver so that it can receive the information about the location in which the boat is present. The controller compares the location of the boat with the territory location. Whenever the boat was approaching the boundary it alerts the driver. To alert the driver it is interfaced with a voice circuitry which designed with a voice based IC to produce a voice alert to the fisher man. It is also interfaced with few LED indicators to alert the boat driver. Here we are using GSM which the owner on the receiver side uses to get the status of the boat. Whenever the boat crosses a certain limit, the message is sent to the owner via microcontroller. Knowing this the owner can inform fisherman on the boat to return to the sea shore.
HARDWARE REQUIREMENT
1. Regulated Power Supply. 2. Global Positioning System (GPS Receiver). 3. GLCD display with driver. 4. MCU 5. LED indicators. 6. Voice based circuit
SOFTWARE REQUIREMENT
1. Embedded C 2. Kiel Compiler
Page 6
CHAPTER 4: HARDWARE
J1
16X2 LCD
E3 ANTENNA +12V
R5 10K 2 GND
1 2 3 4 5 6 7 8 9 1 0 1 1 1 2 1 3 1 4 1 5 1 6
V S S V C C V E E R S R / W E D B 0 D B 1 D B 2 D B 3 D B 4 D B 5 D B 6 D B 7 D B 8 L E D + L E D -
BUZZER
GND INPUT
3
GSM
RX TX
U1 LS7
NC
5 3 4
12+ GND
1 2 RELAY SPDT
39 38 37 36 35 34 33 32 1 2 3 4 5 6 7 8
21 22 23 24 25 26 27 28 10 11 12 13 14 15 16 17
LS7 5 3 4
12+ GND
1 2 RELAY SPDT
LS7
INPUT
5 3 4
P1.0/T2 P3.0/RXD P1.1/T2-EX P3.1/TXD P1.2 P3.2/INT0 P1.3 P3.3/INT1 P1.4 P3.4/T0 P1.5 P3.5/T1 P1.6 P3.6/WR P1.7 P3.7/RD
NC
12+ GND
1 2
NC GND
RELAY SPDT
MOTOR
POWER SUPPLY
U2 1 VIN 7805 C5 VOUT 3 0 .1 M FD C E R A M IC
30 ALE/PROG 29 PSEN
+12V
RX
TX
GPS
GND
T1
D6 BRIDGE
1000MFD/35V
12 012 --1amps
GND
Page 7
8-bit ALU, Accumulator and 8-bit Registers; hence it is an 8-bit microcontroller 8-bit data bus It can access 8 bits of data in one operation 16-bit address bus It can access 216 memory locations 64 KB (65536 locations) each of RAM and ROM On-chip RAM 128 bytes (data memory) On-chip ROM 4 Kbyte (program memory) Four byte bi-directional input/output port UART (serial port) Two 16-bit Counter/timers Two-level interrupt priority Power saving mode (on some derivatives)
Page 8
ARCHITECTURE
Page 9
Page 10
A liquid crystal display (LCD) is a flat panel display, electronic visual display, or video display that uses the light modulating properties of liquid crystals (LCs). LCs do not emit light directly. They are used in a wide range of applications, including computer
monitors, television, instrument panels, aircraft cockpit displays, signage, etc. They are common in consumer devices such as video players, gaming devices, clocks, watches, calculators, and telephones. LCDs have replaced cathode ray tube (CRT) displays in most applications. They are available in a wider range of screen sizes than CRT and plasma displays, and since they do not use phosphors, they cannot suffer image burn-in. LCDs are, however, susceptible to image persistence. LCDs are more energy efficient and offer safer disposal than CRTs. Its low electrical power consumption enables it to be used in batterypowered electronic equipment. It is an electronically modulated optical device made up of any number of segments filled with liquid crystals and arrayed in front of a light source (backlight) or reflector to produce images in color or monochrome. The most flexible ones use an array of small pixels. The earliest discovery leading to the development of LCD technology, the discovery of liquid crystals, dates from 1888. By 2008, worldwide sales of televisions with LCD screens had surpassed the sale of CRT units.
Page 11
Page 12
Relay
A relay is an electrically operated switch. . Current flowing through the coil of the relay creates a magnetic field which attracts a lever and changes the switch contacts. The coil current can be on or off so relays have two switch positions and most have double
throw (changeover) switch itch contacts as shown in the diagram. Relays allow one circuit to switch a second circuit which can be completely separate from the first. For example a low voltage battery circuit can use a relay to switch a 230V AC mains circuit. There is no electrical connection inside the relay between the two circuits, the link is magnetic and mechanical. The coil of a relay passes a relatively large current, typically 30mA for a 12V relay, but it can be as much as 100mA for relays designed to operate from lower vol voltages. Most ICs (chips) cannot provide this current and a transistor is usually used to amplify the small IC current to the larger value required for the relay coil. The maximum output current for the popular 555 timer IC is 200mA so these devices can supply relay coils directly without amplification.
Page 13
The relay's switch connections are usually labeled COM, NC and NO:
COM = Common, always connect to this, it is the moving part of the switch. NC = Normally Closed, COM is connected to this when the relay coil is off. NO = Normally Open, COM is connected to this when the relay coil is on. Connect to COM and NO if you want the switched circuit to be on when the relay coil is on. Connect to COM and NC if you want the switched circuit to be on when the relay coil is off.
Page 14
Choosing a relayYou need to consider several features when choosing a relay: 1. Physical size and pin arrangement If you are choosing a relay for an existing PCB you will need to ensure that its dimensions and pin arrangement are suitable. You should find this information in the supplier's catalogue. 2. Coil voltage The relay's coil voltage rating and resistance must suit the circuit powering the relay coil. Many relays have a coil rated for a 12V supply but 5V and 24V relays are also readily available. Some relays operate perfectly well with a supply voltage which is a little lower than their rated value. 3. Coil resistance The circuit must be able to supply the current required by the relay coil. You can use Ohm's law to calculate the current: supply voltage coil resistance passes a current of
30mA. This is OK for a 555 timer IC (maximum output current 200mA), but it is too much for most ICs and they will require a transistor to amplify the current. 5. Switch ratings (voltage and current) The relay's switch contacts must be suitable for the circuit they are to control. You will need to check the voltage and current ratings. Note that the voltage rating is usually higher for AC, for example: "5A at 24V DC or 125V AC". 6. Switch contact arrangement (SPDT, DPDT etc) Most relays are SPDT or DPDT which are often described as "single pole changeover" (SPCO) or "double pole changeover" (DPCO). For further information please see the page on switches.
Page 15
Reed relays Reed relays consist of a coil surrounding a reed switch. Reed switches are normally operated with a magnet, but in a reed relay current flows through the coil to create a magnetic field and close the reed switch. Reed relays generally have higher coil resistances than standard relays (1000 for example) and a wide range of supply voltages (9-20V for example). They are capable Reed Relay
of switching much more rapidly than standard relays, up to several hundred times per second; but they can only switch low currents (500mA maximum for example). The reed relay shown in the photograph will plug into a standard 14-pin DIL socket ('IC holder'). For further information about reed switches please see the page on switches.
Page 16
RELAY OPERATION All relays operate using the same basic principle. Our example will use a commonly used 4 -pin relay. Relays have two circuits: A control circuit (shown in GREEN) and a load circuit(shown in RED). The control circuit has a small control coil while the load circuit has aswitch. The coil controls the operation of the switch.
RELAY ENERGIZED (ON) Current flowing through the control circuit coil (pins 1 and 3) creates a small magnetic field which causes the switch to close, pins 2 and 4. The switch, which is part of the load circuit, is used to control an electrical circuit that may connect to it. Current now flows through pins 2 and 4 shown in RED, when the relay in energized.
Page 17
RELAY DE-ENERGIZED (OFF) When current stops flowing through the control circuit, pins 1 and 3, the relay becomes deenergized. Without the magnetic field, the switch opens and current is prevented from Flowing through pins 2 and 4. The relay is now OFF.
Page 18
RELAY DESIGN ID
Relays are either Normally Open or Normally Closed. Notice the position of the switches in the two relays shown below. Normally open relays have a switch that remains open until energized (ON) while normally closed relays are closed until energized. Relays are always shown in the de-energized position (no current flowing through the control circuit - OFF). Normally open relays are the most common in vehicles; however either can be use in automotive applications.
RELAY OPERATION When no voltage is applied to pin 1, there is no current flow through the coil. No current means no magnetic field is developed, and the switch is open. When voltage is supplied to pin 1, current flow though the coil creates the magnetic field needed to close the switch allowing continuity between pins 2 and 4
Page 19
Relays can switch AC and DC, transistors can only switch DC. Relays can switch higher voltages than standard transistors. Relays are often a better choice for switching large currents (> 5A). Relays can switch many contacts at once.
Disadvantages of relays:
Relays are bulkier than transistors for switching small currents. Relays cannot switch rapidly (except reed relays), transistors can switch many times per second. Relays use more power due to the current flowing through their coil. Relays require more current than many ICs can provide, so a low power transistor may be needed to switch the current for the relay's coil.
MAX232..
MAX232 chip
Page 20
RS232 Line Type & Logic Level Data Transmission (Rx/Tx) Logic 0
-3 V to -15 V 5 V
Control Signals (RTS/CTS/DTR/DSR) Logic 0 Control Signals (RTS/CTS/DTR/DSR) Logic 1 +3 V to +15 V 0 V -3 V to -15 V 5 V
Page 22
RxD
MAX232
8051 has two pins used for transferring and receiving data serially TxD and RxD are part of the port 3 group pin 11 (P3.1) is assigned to TxD pin 10 (P3.0) is designated as converts from RS232 voltage levels to TTL voltage levels uses a +5 V power source MAX232 has two sets of line drivers for transferring and receiving data line drivers used for TxD are called T1 and T2 line drivers for RxD are designated as R1 and R2
GSM
GSM (Global System for Mobile) / GPRS (General Packet Radio Service) TTL Modem is SIM900 Quad-band GSM / GPRS device, works on frequencies 850 MHZ, 900 MHZ, 1800MHZ and 1900 MHZ. It is very compact in size and easy to use as plug in GSM Modem. TheModem is designed with 3V3 and 5V DC TTL interfacing circuitry, which allows User to directlyinterface with 5V Microcontrollers (PIC, AVR, Arduino, 8051, etc.) as well as 3V3Microcontrollers (ARM, ARM Cortex XX, etc.). The baud rate can be configurable from 9600-115200 bps through AT (Attention) commands. This GSM/GPRS TTL Modem has internalTCP/IP stack to enable User to connect with internet through GPRS feature. It is suitable for SMSas well as DATA transfer application in mobile phone to mobile phone interface. DEPT OF INSTRUMENTATION TECHNOLOGY, RYMEC BELLARY
Page 23
Page 24
GPS BASED BORDER ALERT SYSTEM FOR FISHERMEN SIMCom SIM900A GSM Module:
This is actual SIM900 GSM module which is manufactured by SIMCom. Designed for global market, SIM900 is a quad-band GSM/GPRS engine that works on frequencies GSM 850MHz, EGSM 900MHz, DCS 1800MHz and PCS 1900MHz.SIM900 features GPRS multislot class 10/ class 8 (optional) and supports the GPRS coding schemes CS-1, CS-2, CS-3 and CS-4. With a tiny configuration of 24mm x 24mm x 3mm, SIM900 can meet almost all the space
MAX232 IC: The MAX232 is an integrated circuit that converts signals from an RS-232 serial port to signals suitable for use in TTL compatible digital logic circuits, so that devices works on TTL logic can share the data with devices connected through Serial port (DB9 Connector).
Serial port / DB9 connector: User just needs to attach RS232 cable here so that it can be connected to devices which has Serial port / DB9 Connector.
Page 25
Power On/Off and GSM On Switch: Power On/Off switch is type of push-on push-off DPDT switch which is used for onlyMake power supply on/off provided through AC/DC Socket indicated by Power LED. GSM on Switch is type of Push on DPST tactile switch which is used for only to make GSM module On indicated by Module On/Off LED while initiating with Network indicated by Network Indication LED.
Page 26
GPS:
The Global Positioning System (GPS) is a space-based satellite navigation system that provides location and time information in all weather conditions, anywhere on or near the Earth where there is an unobstructed line of sight to four or more GPS satellites. DEPT OF INSTRUMENTATION TECHNOLOGY, RYMEC BELLARY
Page 27
Page 28
Applications:
While originally a military project, GPS is considered a dual-use technology, meaning it has significant military and civilian applications. GPS has become a widely deployed and useful tool for commerce, scientific uses, tracking, and surveillance. GPS's accurate time facilitates everyday activities such as banking, mobile phone operations, and even the control of power grids by allowing well synchronized hand-off switching.
Page 29
BUZZER:
A basic model of electric buzzer usually consists of simple circuit components such as resistors, a capacitor and 555 timers IC or an integrated circuit with a range of timer and multi-vibrator vibrator functions. It works the same manner as an electric bell but without without the bell. As what its name suggests, electro-mechanical electro mechanical buzzer produces sound electronically. DEPT OF INSTRUMENTATION TECHNOLOGY, RYMEC BELLARY
Page 30
CHAPTER 5:
SOFTWARE
5.1 Introduction
The C programming language is perhaps the most popular programming language for programming embedded systems. (Earlier Embedded Systems/Embedded Systems Introduction Which Programming Languages Will This Book Use? we mentioned other popular programming languages). Most C programmers are spoiled because they program in environments where not only is there a standard library implementation, but there are frequently a number of other libraries available for use. The cold fact is, that in embedded systems, there rarely are many of the libraries that programmers have grown used to, but occasionally an embedded system might not have a complete standard library, if there is a standard library at all. Few embedded systems have capability for dynamic linking, so if standard library functions are to be available at all, they often need to be directly linked into the executable. Oftentimes, because of space concerns, it is not possible to link in an entire library file, and programmers are often forced to "brew their own" standard c library implementations if they want to use them at all. While some libraries are bulky and not well suited for use on microcontrollers, many development systems still include the standard libraries which are the most common for C programmers. C remains a very popular language for micro-controller developers due to the code efficiency and reduced overhead and development time. C offers low-level control and is considered more readable than assembly. Many free C compilers are available for a wide variety of development platforms. The compilers are part of an IDEs with ICD support, breakpoints, single-stepping and an assembly window. The performance of C compilers has improved considerably in recent years, and they are claimed to be more or less as good as assembly, depending on who you ask. Most tools now offer options for customizing the compiler optimization. Additionally, using C increases portability, since C code can be compiled for different types of processors.
Page 32
computer (typically in the form of a microcontroller, a microprocessor or digital signal processor chip) and which is used by individuals who are, in the main, unaware that the system is computer-based. In embedded C this can be done using specific inbuilt instructions. Embedded C is Controller or target specific. Embedded C allows direct communication with memory.
Keil U Vision IDE Keil Software is used provide you with software development tools for 8051
based microcontrollers. With the Keil tools, you can generate embedded applications for virtually every 8051 derivative
PROGRAM
/*@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@ @@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@*/ #include"Variable.h" #include<intrins.h>
void main(void) { staticunsignedchar ucSThreadSState = INIT_LCD; while(1) { switch(ucSThreadSState) { case INIT_LCD: SCONF = 0x02; SEL_GSM_GPS = 0; MOTAR = 1; BUZZER = 0; LCD_INIT(); Prep_lcd_Write_Data("Border Alert Ind",LINE1_ADDR, " For Fisher Men ", LINE2_ADDR); MSDelay(200); ucSThreadSState = SERIEL_INIT; break; DEPT OF INSTRUMENTATION TECHNOLOGY, RYMEC BELLARY
Page 33
//Delete
//Delete
//Delete
//Delete
//Delete
Page 34
void MSDelay(unsignedint delay) { unsignedint i,j; for(i=0;i<delay;i++) for(j=0;j<1000;j++); } void MSDelay_lcd(unsignedint delay) { unsignedint i; for(i=0;i<delay;i++); }
Page 35
Page 37
//This finction used to send the data or string to seriely till null presence void TxdCommandToModem(unsignedchar *s) { while(*s!=NULL_00) { SBUF = *s; MSDelay(1); s++; } MSDelay(50); } void ClearRecdCharArray(void) //void TxdCommandToModem(unsigned char *s) { unsignedchar loop; for(loop=0; loop<=MAX_RECD_CHAR; loop++) recd_char[loop] = 0x20; }
bit mystr_recdchar_ncmp(unsignedchar *chkString, unsignedchar StrLength) { unsignedchar uChar1,uChar2=0x00; while((uChar2+StrLength)<MAX_RECD_CHAR) { uChar1=0x00; while(uChar1<StrLength) { if(recd_char[uChar2+uChar1]!=*(chkString+uChar1)) break; uChar1++; } if(uChar1==StrLength) { StringPos = (uChar1+uChar2) - StrLength; return(1); } uChar2++; } return(0); }
void serial(void) interrupt 4 { unsignedchar temp_char; if(TI) { TI = 0; } else if(RI) { temp_char = SBUF; RI = 0; //$GPGGA,124138.001,1257.8899,N,07732.0803,E,1,09,0.9,913.8,M,85.2,M,,0000*7A$0D if((temp_char>='A'&& temp_char<='Z') || (temp_char>='0'&& temp_char<='9') || (temp_char=='"') || (temp_char==',') || (temp_char=='.') || (temp_char=='*')|| (temp_char=='+') || (temp_char=='$')) { recd_char[recd_count++] = temp_char; if(recd_count >=MAX_RECD_CHAR) recd_count = 0; } } }
Page 39
if(gubGPGSA) { REN = 0; gubGPGGA = mystr_recdchar_ncmp("GPGGA",5); if(gubGPGGA) { memset(ucDisplay1,BLANK_SPACE,MAX_DISP_CHAR); memset(ucDisplay2,BLANK_SPACE,MAX_DISP_CHAR); //////////////////////// Latitude ////////////////////
//$GPGGA,124138.001,1257.8899,N,07732.0803,E,1,09,0.9,913.8,M,85.2,M,,0000*7A$0D Latitude[0] = recd_char[StringPos+22]; Latitude[1] = recd_char[StringPos+23]; Latitude[2] = recd_char[StringPos+24]; Latitude[3] = recd_char[StringPos+25]; Latitude[4] = NULL_00; uliLong = atol(&Latitude[0]); uliLong = uliLong * CONVERT_SEC_MILISEC; n=5; while(uliLong) { k=uliLong%10; uliLong=uliLong/10; output[n--]= k + ASCII_NUM_ZER0; } DEPT OF INSTRUMENTATION TECHNOLOGY, RYMEC BELLARY
Page 40
//$GPGGA,124138.001,1257.8899,N,07732.0803,E,1,09,0.9,913.8,M,85.2,M,,0000*7A$0D Langitude[0] = recd_char[StringPos+35]; Langitude[1] = recd_char[StringPos+36]; Langitude[2] = recd_char[StringPos+37]; Langitude[3] = recd_char[StringPos+38]; Langitude[4] = NULL_00; uliLong = atol(&Langitude[0]); uliLong = uliLong * CONVERT_SEC_MILISEC; n=5; memset(output,ASCII_NUM_ZER0,6); while(uliLong) { k=uliLong%10; uliLong=uliLong/10; output[n--]= k + ASCII_NUM_ZER0; } ucDisplay2[0] = recd_char[StringPos+30]; ucDisplay2[1] = recd_char[StringPos+31]; ucDisplay1[2] = 0x20; ucDisplay2[3] = recd_char[StringPos+32]; ucDisplay2[4] = recd_char[StringPos+33]; ucDisplay1[5] = 0x20; ucDisplay2[6] = output[0]; ucDisplay2[7] = output[1]; ucDisplay2[8] = '.'; ucDisplay2[9] = output[2]; ucDisplay2[10] = output[3]; ucDisplay2[11] = recd_char[StringPos+40]; // E or W ucDisplay2[13] = '-'; ucDisplay2[14] = recd_char[StringPos+44]; //Number of cells Present ucDisplay2[15] = recd_char[StringPos+45]; if(ucDisplay2[15]==',') DEPT OF INSTRUMENTATION TECHNOLOGY, RYMEC BELLARY
Page 41
Page 42
FLOW CHART
Page 44
EXPECTED RESULT:
This project enables authority people on the sea shore to stop the boat, sends the message to the owner and starts the buzzer in the boat whenever he crosses a fixed latitude and longitude (not to cross location).
Page 45
ADVANTAGES
1. 2. It saves the life of the fisher man who are unaware about the territorial border. It avoids the conflicts between the countries because of crossing the border by the
fisherman. 3. 4. It can also be used for other vehicles for location purpose. It does not require any manual operation.
CHAPTER 9:
APPLICATIONS
1. This project helps to get exact location of the boat and by using Google earth we Can trace the boat. 2. Using the locations the boat owner can call the fisherman and tell him not to cross further or return back. 3. This project makes use of a buzzer and it starts the buzzer whenever the limit is reached.
Page 46
Page 47
THE
8051<MUHAMMADAL
MAZZIDI,JANICE
GILLISPIE
MAZZIDI><2002EDITION> THE 8051 MICRO CONTROLLER<KENNETH JAYALA><1996 EDITION> THE8051<MICROCONTROLLER<>AND EMBEDDED SYSTEMS<MAZZIDI AND ROLIN D MCKINLAY><2007 EDITION>
Page 48