PIC Microcontroller Based Economical Mobile Device

3 downloads 0 Views 252KB Size Report
http://www.shoky.com.tw/en/PDF/SIM300.pdf · http://forum.allaboutcircuits.com/showthread.php?t=51237 · http://www.edaboard.com/thread205346.html.
ISSN: 2393-994X Karpagam Journal of Engineering Research (KJER) Vol: 2, 2, Special Issue on IEEE Sponsored International Conference on Intelligent Systems and Control (ISCO'15)

PIC Microcontroller Based Economical Mobile Device Karthikprabu.B1,Divya.N 2,Saranya.P 3 1 2, 3

Assistant Professor, Department of EIE, Nandha Engineering College, Erode. Assistant professor, Department of EIE, Karpagam College of Engineering, Coimbatore.

Abstract In the communication field data transfer and handling plays an important role with time as a reference. In the server side based on the time a data transfer from a node may collide with a data send from another node to the server. This causes some data losses. To overcome this problem and also to add some security and privacy for the individual data. The introduced concept called encryption and routing for multi-level data receiving from nodes to server and from the server the data can be handled by the authorized person thus a mass storage device can be controlled by the memory less device. For the data communication wireless protocol, the wireless protocol used in the project is GSM technology the PDA’s device used for data creating and data handling. The PDA is designed by using embedded technologies. The tool used for compile the coding using ‘MICROCHIP – MPLAB (IDE)’ Version 7.4 by using this software compilation of the program have been carried out and for fusing the program in IC TOPWIN software has been utilized along with the kit side by side the hardware circuit board also created; by placing the programmed microcontroller IC on the board which can complete the task what we expected along with AT commands and GSM modem wireless PDA has been implemented in the real time process. Index Terms – T9 Keypad, MPLAB IDE, Topwin, VB

1. Introduction Along with the current competitive world, the communication play an important role to have a less cost data handling device to cover over a wide space area i.e to increase many nodal points by using the available communication network called GSM technology which gives an alternative solution for bio-telemetry concept and also to have a secured data communications.

2. Proposed system In the proposed system a memory less device has been used to synchronize with a mass storage server. Due to less memory and it have fast usage and developing the device with less cost components which create the chance of low cost mobile device with wireless synchronization of server from which data can be handled in two mutual ways such as client to server and server back to client model. In the PDA device there is a main drawback is 1. Memory handling during down load and upload due to limited usage of Memory hence large amount of data cannot be handled in the PDA device in the communication field data transfer and handling plays an important role with time as a reference. 2. In the server side based on the time a data transfer from a node may collide with a data send from another node to the server. This causes some data losses. 3. Hence for effective mass memory synchronization wired Synchronization of PDA is needed with PC.

61

ISSN: 2393-994X Karpagam Journal of Engineering Research (KJER) Vol: 2, 2, Special Issue on IEEE Sponsored International Conference on Intelligent Systems and Control (ISCO'15)

Figure 1. Wireless PDA Concept

2.1 Wireless PDA – Switch Concept The concept of switch from the fig 2 is when the switch is in off state high voltage pass through the PIC microcontroller hence form the microcontroller the value ‘1’ is fetched; when the switch is pressed it create a low resistance path is created hence the value ‘0’ is fetched from the microcontroller.

Figure 2. Basic Switch Diagram

2.2 Wireless PDA – T9 Keypad Optimization In T9 keypad from fig 3, 4×3 matrix keypad format is used which normally like a mobile phone keypad hence in PIC16F877 only 7 ports for the operation have been utilized; initially all the switch nodal points are in high position in which if a keypad is pressed which make that particular nodal point alone will be connected to ground position which make the controller to fetch the data.

62

ISSN: 2393-994X Karpagam Journal of Engineering Research (KJER) Vol: 2, 2, Special Issue on IEEE Sponsored International Conference on Intelligent Systems and Control (ISCO'15)

Figure 3. T9 Keypad Switch Concept In GSM technology AT commands are used to configure the modem from the PDA device to the modem and also from the modem to the server; here are the some of the AT commands used for the modem configuration such as follows:• AT+CSQ (Signal Quality) This command determines the received signal strength indication () and the channel bit error rate () with or without a SIM card inserted. • AT+CNMA(New Message Acknowledgement) This command allows reception of a new message routed directly to the TE to be acknowledged., In TEXT mode, only positive acknowledgement to the network (RP-ACK) is possible. Acknowledgement with +CNMA is possible only if the +CSMS parameter is set to 1 • AT+CMGF (Preferred Message Format) The message formats supported are text mode and PDU mode. In PDU mode, a complete SMS Message including all header information is given as a binary string (in hexadecimal format) • AT+CNMI (New Message Indication) This command selects the procedure for message reception from the network. • AT+CMGR (Read Message) This command allows the application to read stored messages. The messages are read from the memory selected by the +CPMS command. • AT+CMGL (List Message) This command allows the application to read stored messages, by indicating the type of the message to read.The messages are read from the memory selected by the +CPMS command. • AT+CMGS(Send Message) The field is the address of the terminal to which the message is sent. To send the message, simply type, character (ASCII 26). The text can contain all existing characters except and (ASCII 27). This command can be aborted using the character when entering text. In PDU mode, only hexadecimal characters are used (‘0’…’9’,’A’…’F’). • AT+CMGW(Write Message to Memory) This command stores a message in memory (either SMS-SUBMIT or SMS-DELIVERs). The memory location is returned (no choice possible as with phonebooks +CPBW). Text or PDU is entered as described for the Send Message +CMGS command.

63

ISSN: 2393-994X Karpagam Journal of Engineering Research (KJER) Vol: 2, 2, Special Issue on IEEE Sponsored International Conference on Intelligent Systems and Control (ISCO'15) • AT+ CMSS (Send Message from Storage) This command sends a message stored at location value . • AT+CSMP (Set Text Mode Parameters) This command selects a value for , , and . • AT+CMGD (Delete Message) This command deletes one or several messages from preferred message storage (“BM” SMS CB ‘RAM storage’, “SM” SMSPP storage ‘SIM storage’ or “SR” SMS Status-Report storage). • AT+CSCA (Service Centre Address +CSCA) This command indicates the service centre to which the message must be sent. The product has no default value for this address. If the application tries to send a message without having indicated the service centre address, an error will be generated. Therefore, the application must indicate the SC address when initializing the SMS. This address is then permanently valid. The application may change it if necessary.

Figure 4. GSM standards From the above GSM standards diagram fig 5 the basic working and connection procedure of Data Terminal Equipment side to Data Communication Equipment side and Vice versa have been observed

3. Hardware result

64

ISSN: 2393-994X Karpagam Journal of Engineering Research (KJER) Vol: 2, 2, Special Issue on IEEE Sponsored International Conference on Intelligent Systems and Control (ISCO'15)

Figure 5. Message transmitter PDA side From the message transmitting side the above snapshot fig 6 depicts the PDA device with a commercial GSM network displaying AUT in the PDA device. By using the ‘0’ button the message has been transmitted with the help of the modem.

Figure 6. Message receiving Server side The figure 7 determines the VB window for graphical user interface which the message has been received by the server side which has been showing in the flash message as ‘message received’ the message AUT has been received from the sender side to the server side. The GUI window should be still be developed by showing the number also.

4. Software result

Figure 7. Simulation coding output – 1 with memory usage gauge

65

ISSN: 2393-994X Karpagam Journal of Engineering Research (KJER) Vol: 2, 2, Special Issue on IEEE Sponsored International Conference on Intelligent Systems and Control (ISCO'15)

Figure 8. Simulation coding output – 2 The Figure 8&9 diagram determine the memory consumption of the coding in which in program RAM occupies 94 bytes (i.e 25.6% of memory usage) and RAM memory use 1793 words (i.e 21.9% of memory usage).

5. Conclusion and future enhancement 1.

2.

3. 4. 5.

Hence the project has been concluded by designing a PDA device by designing a T9 keypad by interfacing it with PIC 16F877 microcontroller by simulating the coding using MPLAB IDE V 7.6 and using the TOPWIN software the coding has been fused and it has been implemented in the hardware The designed PDA device has been interfaced properly with a modem using GSM technology to transfer the data in text mode format from the PDA device to the server and back from server to PDA for the fulfillment of the project also with mobile communication featured For text handling in the PC and for GUI creation VB platform have been utilized The future challenge is to implement multiple device to a single modem to make the communication so cheaper and easy In future have the idea of using multimedia usage by using FPGA or ARM processors instead of microcontroller

References [1] Development of a Low-Cost GSM SMS-Based Humidity Remote Monitoring and Control system for Industrial Applications, Dr.B.Ramamurthy, S.Bhargavi, Dr.R.ShashiKumar, International Journal of Advanced Computer Science and Applications, Vol. 1, No. 4, October 2010 [2] Secure Protocol for Short Message Service, Shubat S. Ahmeda and Ashraf M. Ali Edwila, World Academy of Science, Engineering and Technology 49, 2009 [3] Design and Implementation of a Wireless Remote Data Acquisition System for Mobile Applications, Jean Paul Talledo Vilela, Jose Carlos Miranda, 2005 IEEE [4] Design and development of the student PDA system based on the Windows Mobile application platform, Xing Xu; Ren-wang Li; YunZhao; Xin-liWu;Fac. of Mech. Eng. & Autom., Zhejiang Sci-Tech Univ., Hangzhou, China, Computer Application and

66

ISSN: 2393-994X Karpagam Journal of Engineering Research (KJER) Vol: 2, 2, Special Issue on IEEE Sponsored International Conference on Intelligent Systems and Control (ISCO'15) System Modeling (ICCASM), 2010 International Conference on, 22-24 Oct. 2010 [5] AT Commands for GSM/GPRS Wireless Modems Reference Guide [6] Realizing SMS Using PC's Serial Port, Jingjing Wang , Computer Science and Engineering, 2009. WCSE '09. Second International Workshop [7] Xapian, Xapian, Open Source Search Engine Library. Project Homepage, available at http://www.xapian.org, 2008. Websites: http://www.microchip.com/ http://www.beyondlogic.org http://www.ctv.es/pckits/home.html http://www.aimglobal.org/ http://ww1.microchip.com/downloads/en/devicedoc/39582b.pdf http://www.shoky.com.tw/en/PDF/SIM300.pdf http://forum.allaboutcircuits.com/showthread.php?t=51237 http://www.edaboard.com/thread205346.html

67

Suggest Documents