SlideShare a Scribd company logo
1 of 3
Download to read offline
ISSN: 2278 – 1323
                                         International Journal of Advanced Research in Computer Engineering & Technology
                                                                                              Volume 1, Issue 5, July 2012



            PIC CONTROLLER BASED PROCESS
              CONTROL SYSTEM USING GSM
                                                 Ritesh Gupta , Mukti Awad


Abstract: Devices with microcontroller are widely used in            the data from all machine through RS 485 communication
industrial field. We use network interface for connecting more       and can be sent to the mobile through GSM modem. Where
than one device for parallel control. Here we present a design       the mobile is an administrator. All the process can be
of PIC controller based embedded RS 485 interface. In this           control by local user or mobile user.
design the RS 485 module can be converted into network
interface to obtain connectivity with the device. The design
mainly consists of process control unit, RS485 communication
module and GSM communication module. In the design the                                    II-SYSTEM DESIGN
data can be transmitted from industrial device to process
control unit and also data can be transmitted on mobile              The main purpose of the design is to make traditional
through GSM modem, when administrator requests for data.             monitoring and controlling system have the capabilities of
All the machines are authenticated by the administrator,             remote monitoring or data transmission by introducing Rs
using a password; administrator can control all the process of       485bus and SPI. In the design, structured modular design
machines.                                                            method is adopted and the system is mainly composed of
                                                                     SPI, Controlling Unit, GSM module and RS 485
Keywords- PIC microcontroller, SPI, RS 485 interface bus,            interfacing bus, as shown in Fig. 1.
GSM modem, RS 232.

                    I-INTRODUCTION

With the development of network technology and
communication technology, the need that industrial control
can be completed via network or wireless n/w has become
a trend. In traditional industrial control system or data
acquisition system, the structure that one host connects
multiple serial devices through multiport serial cards is
adopted. The task of host is to communicate with each
industrial device, process data and interact between the
operator and host computer. This structure is feasible in the
case of fewer devices, lower transmission rate. But when a
host needs to connect more serial devices at the same time
with higher transmission rate and the data processing is
more complex, the system performance is poor. In addition,
these serial devices connect .The same host may be
geographically far and this will increase the length of
wiring and drop communication quality. So a solution need
be found to realize the communication between industrial
control devices and RS 485 bus. As the embedded system
itself has the performance of network and human-mobile
interaction, it is possible that the embedded system replaces
the previous control method. So our project is based on the
design of PIC controller based embedded RS 485 interface
is presented .In the design the RS 485 module can be                                 FIG. 1 SYSTEM STRUCTURE
converted into n/w interface. In our project
we are control the process of the three machines like ADC            SPI communication is the interface between control
machine,       RPM       measurement      and     temperature        processing unit and Master unit. Its work is to receive data
measurement. Each machine is connected to the                        form RS 485 unit and then transmit them to the
microcontroller itself. All devices are connected through            microcontroller PIC 16F877A.
bus topology. Assign one device is main unit and main unit
                                                                      Processor control module is the core part of the design, in
is connected to the PIC controller (Process unit) through
                                                                     which the PIC chip PIC16F877A is used to complete the
SPI interface. With the process control unit which collect

                                                                                                                              79
                                                All Rights Reserved © 2012 IJARCET
ISSN: 2278 – 1323
                                          International Journal of Advanced Research in Computer Engineering & Technology
                                                                                               Volume 1, Issue 5, July 2012

complex operations and receive a lot of data from RS 485               B. RS 485Interface bus
as a slave. In the module, data link between SPI port and               In the RS 485 interfacing bus, the collect data from all
RS 485 interface bus is established, SPI data stream format            machines are sent to mater unit and collect the data from
is specified, the transmission rate between serial data                control unit then sent to the all machines. The RS 485
stream and data packets is controlled and data packet is               interfacing bus is performing the all process according to
received from master unit and sent to the GSM modem                    the Control unit Command.
through RS 232 communication.

     The MAX485 is low-power transceivers for RS-485                         Max
and RS-422 communication. The IC contains one driver                                                                            Tx
and one receiver. The driver slew rates of the MAX485 is                     485
                                                                                                                                Rx
not limited, allowing them to transmit up to 2.5Mbps.
These transceivers draw between 120μA and 500μA of                                     Rx TX
supply current when unloaded or fully loaded with disabled
                                                                                         ADC            RPM           Temp
drivers.
                                                                                         M/C            M/C           M/C
     In the GSM module, it received data form control unit
through RS 232 and sent to Mobile user through wireless
                                                                                                        m/c
communication.
 The mobile user is an administrator; it received or sent the                          FIG.3.RS 485 BUS INTERFACE
data to all machines by the uniqe ID of machines.
                                                                                        IV. SOFTWARE DESIGN
        III.COMUNICATION MODULE DESIGN
                                                                       A. PIC.C Transplanting
A. SPI Interface                                                       For the transplanting of Embedded C code, its main task is
  SPI interface is used to realize synchronous serial data             to re-write the codes which are associated with the
transmission between Control unit and master unit (all                 processor and compiler [3], the codes include the
machine through RS 485 BUS) all devices by way of Half-                following: redefinition of compiler-related data type,
duplex communication. Its data transfer rate is up to several          interrupt-switching code, stack, the initialization functions
Mbps. SPI interface works in master-slave mode and it                  for task stack, task-switching function and so on. The
includes four signals: SCLK, MOSI, MISO, and / SS. SCLK                transplanting is completed in the following environments:
is the common clock in the entire SPI bus, MOSI is the                 the compiler tool is PIC 16F877A for PIC microcontroller.
master output, slave input, MISO is the host input, slave              All the code is design for project we are used MPLAB IDE
output and / SS is used to mark slave., slave input, MISO is           Tools V8.70. The coding is design in Embedded C code is
the host input, slave output and / SS is used to mark slave.           Compiling by PIC.C compiler.
In two devices which communicate with each other via SPI
bus, the slave is low level and host is high level in / SS pin.        B. Data Transmission
    The interface circuit of PIC16F877A and master unit                 In order to transmit the data from RS 485 to SPI serial, two
shown in Fig. 2. Through the SPI interface, the maximum                system tasks are established in PIC.C. One is to receive
transfer rate achieves 2Mbps which meets the majority of               front-end data through SPI interface and the other is to
applications. Master unit reads input data at rising edge of           transmit data to RS 485.
SCLK and reads output data at falling edge of SCLK; the
00 pattern of PIC16F877A is selected. So the data                      1) SPI receiving task: For the case that the data are transmit
outputted from master unit.                                            to GSM modem, the data which have been arrived at SPI
                                                                       port are stored into SPI sending buffer and packaged
                                                                       according to format and then are sent to the PIC controller
                                                                       and then convert to the GSM modem then transmitted to
           PIC16F877A                       Master Unit                mobile User.
                P.18
                           SCLK
                                            Controller
                                                                        2) RS 485 receiving task: In the RS 485 task, in order to
                P.23    MISO       MOSI                                receive the data from master unit in the system, the data are
                                                                       distributed to Rs485 bus. All machines are received data
                 P.24                                                  from bus then according to massage the machine check the
                        MOSI       MISO
                                                                       own address if address is same the receive massage and
                                                                       perform task otherwise ignore the massage.
  FIG. 2 SPI INTERFACE BETWEEN PIC16F877A AND MASTER
                          UNIT
                                                                                         V-SYSTEMS TESTING


                                                                                                                                  80
                                                  All Rights Reserved © 2012 IJARCET
ISSN: 2278 – 1323
                                              International Journal of Advanced Research in Computer Engineering & Technology
                                                                                                   Volume 1, Issue 5, July 2012

After the software and hardware designs have been
completed, the ultimate generated codes are compiled and
downloaded in microcontroller for testing. The codes
include hardware system startup code, In the testing, GSM
modem is connected to PIC controller through RS 232.RS
485interface bus unit and controller unit are connected by
SPI.After connecting all hardware then taken some reading,
and identify show that the Communications from both sides
are successful, and also form that administrator control all
the devices through mobile easily.

                      VI-CONCLUSION

 In order to transmit the data from an existing device with
SPI interface to network, an embedded Ethernet interface
based on PIC controller is designed. On the basis of
hardware platform, Embedded C (PIC.C) is transplanted
into the microcontroller PIC16F877A and the SPI serial
data and RS 485 data packets can be converted to each
other by software programming.
       For traditional serial devices, the design provides an
effective implementation to connect RS 485 and SPI serial
interface with GSM. After the design an administrator can
control all the industrial devices with the help of mobile.
This design can be used widely in control system in
industry.

                        REFERENCES
  [1]    CHEN Guo-ju, “Design of a monitoring system based on ARM
         and Etherne applied to AC motors,” Journal of Nanjing
         Institute of Technology (Natural Science Edition), Magn.
         China, vol.7 (2), pp.46- 51, Jun. 2009.
  [2]    YU Cheng-bo, LIU Jie, and TAO Hong-yan, “Reseach on
         remoto monitor technology of equipment,” Information and
         Control, Magn. China, vol.31 (3), pp.236-240, June 2002.
  [3]     LIU Hong-li, “The Research and Experiment of the Embedded
         System μC /OS-II on PC,” Journal of Shanghai University of a
         Electric Powe, Magn. China, vo l.5 (7), pp.275-     248, June
         2009.
  [4]     ZHANG Shi, DONG Jianwei, SHE Lihuang, “Design and
         development of ECG monitor’s software system,” Computer
         Engineering, Magn. China Vol 033(9), pp277-279, May 2009.
  [5]    Zhao Ruimei, Wang Mei “Design of ARM-based Embedded
         Ethernet Interface” Computer Engineering and Technology
         (ICCET), 2010 2nd International conference on vol.4, pp.268 -
         270.
  [6]    Tao Lin ,Hai Zhao ,Jiyong Wang ,Guangjie Han and Jindong
         Wang ,”An Embedded Web Server for Equipment ”,School of
         Information Science & Engineering, Northeastern University,
         Shenyang, Liaoning, China.




                                                                                                                            81
                                                      All Rights Reserved © 2012 IJARCET

More Related Content

What's hot

[Advantech] Modbus protocol training (ModbusTCP, ModbusRTU)
[Advantech] Modbus protocol training (ModbusTCP, ModbusRTU)[Advantech] Modbus protocol training (ModbusTCP, ModbusRTU)
[Advantech] Modbus protocol training (ModbusTCP, ModbusRTU)Ming-Hung Hseih
 
Security Enhancement in Networked Embedded System
Security Enhancement in Networked Embedded System Security Enhancement in Networked Embedded System
Security Enhancement in Networked Embedded System IJECEIAES
 
Serial Data Communication
Serial Data CommunicationSerial Data Communication
Serial Data CommunicationDesty Rahayu
 
IJCER (www.ijceronline.com) International Journal of computational Engineerin...
IJCER (www.ijceronline.com) International Journal of computational Engineerin...IJCER (www.ijceronline.com) International Journal of computational Engineerin...
IJCER (www.ijceronline.com) International Journal of computational Engineerin...ijceronline
 
Hart communication protocol
Hart communication protocolHart communication protocol
Hart communication protocolNishtha Shreya
 
High speed customized serial protocol for IP integration on FPGA based SOC ap...
High speed customized serial protocol for IP integration on FPGA based SOC ap...High speed customized serial protocol for IP integration on FPGA based SOC ap...
High speed customized serial protocol for IP integration on FPGA based SOC ap...IJMER
 
Mobile robotic platform to gathering real time sensory data in wireless perso...
Mobile robotic platform to gathering real time sensory data in wireless perso...Mobile robotic platform to gathering real time sensory data in wireless perso...
Mobile robotic platform to gathering real time sensory data in wireless perso...Alexander Decker
 
Voip
VoipVoip
VoipPTCL
 
Embedded real time-systems communication
Embedded real time-systems communicationEmbedded real time-systems communication
Embedded real time-systems communicationVijay Kumar
 
Hart - Highway Addressable Remote Transducer Protocol
Hart - Highway Addressable Remote Transducer ProtocolHart - Highway Addressable Remote Transducer Protocol
Hart - Highway Addressable Remote Transducer ProtocolVasanthan Ravichandran
 
Automation Networking By Shivam Singh
Automation Networking By Shivam SinghAutomation Networking By Shivam Singh
Automation Networking By Shivam SinghShivam Singh
 
Serial Communication & Embedded System Interface
Serial Communication & Embedded System InterfaceSerial Communication & Embedded System Interface
Serial Communication & Embedded System InterfaceKUET
 
IRJET- Patient Health Monitoring System using Can Protocol
IRJET- Patient Health Monitoring System using Can ProtocolIRJET- Patient Health Monitoring System using Can Protocol
IRJET- Patient Health Monitoring System using Can ProtocolIRJET Journal
 
Hart protocol physical and data link layer implementation project
Hart protocol physical and   data link layer implementation projectHart protocol physical and   data link layer implementation project
Hart protocol physical and data link layer implementation projectMohan Patel
 
Honeywell Experion HS
Honeywell Experion HSHoneywell Experion HS
Honeywell Experion HSShivam Singh
 
BASICS OF FIELDBUS
BASICS OF FIELDBUSBASICS OF FIELDBUS
BASICS OF FIELDBUSShivam Singh
 

What's hot (20)

[Advantech] Modbus protocol training (ModbusTCP, ModbusRTU)
[Advantech] Modbus protocol training (ModbusTCP, ModbusRTU)[Advantech] Modbus protocol training (ModbusTCP, ModbusRTU)
[Advantech] Modbus protocol training (ModbusTCP, ModbusRTU)
 
Security Enhancement in Networked Embedded System
Security Enhancement in Networked Embedded System Security Enhancement in Networked Embedded System
Security Enhancement in Networked Embedded System
 
Serial Data Communication
Serial Data CommunicationSerial Data Communication
Serial Data Communication
 
IJCER (www.ijceronline.com) International Journal of computational Engineerin...
IJCER (www.ijceronline.com) International Journal of computational Engineerin...IJCER (www.ijceronline.com) International Journal of computational Engineerin...
IJCER (www.ijceronline.com) International Journal of computational Engineerin...
 
Hart communication protocol
Hart communication protocolHart communication protocol
Hart communication protocol
 
High speed customized serial protocol for IP integration on FPGA based SOC ap...
High speed customized serial protocol for IP integration on FPGA based SOC ap...High speed customized serial protocol for IP integration on FPGA based SOC ap...
High speed customized serial protocol for IP integration on FPGA based SOC ap...
 
Communication Protocols
Communication ProtocolsCommunication Protocols
Communication Protocols
 
Mobile robotic platform to gathering real time sensory data in wireless perso...
Mobile robotic platform to gathering real time sensory data in wireless perso...Mobile robotic platform to gathering real time sensory data in wireless perso...
Mobile robotic platform to gathering real time sensory data in wireless perso...
 
Voip
VoipVoip
Voip
 
Embedded real time-systems communication
Embedded real time-systems communicationEmbedded real time-systems communication
Embedded real time-systems communication
 
Hart - Highway Addressable Remote Transducer Protocol
Hart - Highway Addressable Remote Transducer ProtocolHart - Highway Addressable Remote Transducer Protocol
Hart - Highway Addressable Remote Transducer Protocol
 
Automation Networking By Shivam Singh
Automation Networking By Shivam SinghAutomation Networking By Shivam Singh
Automation Networking By Shivam Singh
 
Serial Communication & Embedded System Interface
Serial Communication & Embedded System InterfaceSerial Communication & Embedded System Interface
Serial Communication & Embedded System Interface
 
IRJET- Patient Health Monitoring System using Can Protocol
IRJET- Patient Health Monitoring System using Can ProtocolIRJET- Patient Health Monitoring System using Can Protocol
IRJET- Patient Health Monitoring System using Can Protocol
 
Hart protocol physical and data link layer implementation project
Hart protocol physical and   data link layer implementation projectHart protocol physical and   data link layer implementation project
Hart protocol physical and data link layer implementation project
 
Honeywell Experion HS
Honeywell Experion HSHoneywell Experion HS
Honeywell Experion HS
 
A010240110
A010240110A010240110
A010240110
 
G05134851
G05134851G05134851
G05134851
 
BASICS OF FIELDBUS
BASICS OF FIELDBUSBASICS OF FIELDBUS
BASICS OF FIELDBUS
 
E044081720
E044081720E044081720
E044081720
 

Viewers also liked

Max485ds
Max485dsMax485ds
Max485ds____
 
Pwbs331 reliable RS485 network solution
Pwbs331 reliable RS485 network solutionPwbs331 reliable RS485 network solution
Pwbs331 reliable RS485 network solutionEddie Gao
 
Rs485 schematics
Rs485 schematicsRs485 schematics
Rs485 schematicscabecavil
 
8251
82518251
8251Aisu
 
Rs232 485 fundamental
Rs232 485 fundamentalRs232 485 fundamental
Rs232 485 fundamentalrounak077
 
Microcontroller 8051 and its interfacing
Microcontroller 8051 and its interfacingMicrocontroller 8051 and its interfacing
Microcontroller 8051 and its interfacingAnkur Mahajan
 

Viewers also liked (7)

Max485ds
Max485dsMax485ds
Max485ds
 
Data transcoder
Data transcoderData transcoder
Data transcoder
 
Pwbs331 reliable RS485 network solution
Pwbs331 reliable RS485 network solutionPwbs331 reliable RS485 network solution
Pwbs331 reliable RS485 network solution
 
Rs485 schematics
Rs485 schematicsRs485 schematics
Rs485 schematics
 
8251
82518251
8251
 
Rs232 485 fundamental
Rs232 485 fundamentalRs232 485 fundamental
Rs232 485 fundamental
 
Microcontroller 8051 and its interfacing
Microcontroller 8051 and its interfacingMicrocontroller 8051 and its interfacing
Microcontroller 8051 and its interfacing
 

Similar to 79 81

IRJET-Design of ARM Based Data Acquisition and Control System for Engine Asse...
IRJET-Design of ARM Based Data Acquisition and Control System for Engine Asse...IRJET-Design of ARM Based Data Acquisition and Control System for Engine Asse...
IRJET-Design of ARM Based Data Acquisition and Control System for Engine Asse...IRJET Journal
 
Office Security System
Office Security SystemOffice Security System
Office Security SystemIJMER
 
SOCIAL NETWORK FOR SMART DEVICES USING EMBEDDED ETHERNET
SOCIAL NETWORK FOR SMART DEVICES USING EMBEDDED ETHERNETSOCIAL NETWORK FOR SMART DEVICES USING EMBEDDED ETHERNET
SOCIAL NETWORK FOR SMART DEVICES USING EMBEDDED ETHERNETcseij
 
Pc to pc optical fibre communication mini project
Pc to pc optical fibre communication mini projectPc to pc optical fibre communication mini project
Pc to pc optical fibre communication mini projectPadmakar Mangrule
 
Case Study At91RM9200 Data Hub Controller
Case Study At91RM9200 Data Hub ControllerCase Study At91RM9200 Data Hub Controller
Case Study At91RM9200 Data Hub ControllerPromwad
 
WISE-523x & WISE-224x-EN.pdf
WISE-523x & WISE-224x-EN.pdfWISE-523x & WISE-224x-EN.pdf
WISE-523x & WISE-224x-EN.pdfilangoboopalan2
 
Real-Time Monitoring and Control System for Industry
Real-Time Monitoring and Control System for IndustryReal-Time Monitoring and Control System for Industry
Real-Time Monitoring and Control System for Industryijsrd.com
 
Solar panel monitoring solution using IoT-Faststream Technologies
Solar panel monitoring solution using IoT-Faststream TechnologiesSolar panel monitoring solution using IoT-Faststream Technologies
Solar panel monitoring solution using IoT-Faststream TechnologiesSudipta Maity
 
IRJET- Climate Monitoring System and Transmission of Data without Internet
IRJET- Climate Monitoring System and Transmission of Data without InternetIRJET- Climate Monitoring System and Transmission of Data without Internet
IRJET- Climate Monitoring System and Transmission of Data without InternetIRJET Journal
 
IRJET- Implementation of Intelligent and Safe Smart City Concept using IoT Ap...
IRJET- Implementation of Intelligent and Safe Smart City Concept using IoT Ap...IRJET- Implementation of Intelligent and Safe Smart City Concept using IoT Ap...
IRJET- Implementation of Intelligent and Safe Smart City Concept using IoT Ap...IRJET Journal
 
Global System for Mobile Communication Based Smart Home Security System
Global System for Mobile Communication Based Smart Home Security SystemGlobal System for Mobile Communication Based Smart Home Security System
Global System for Mobile Communication Based Smart Home Security SystemIJERA Editor
 
Secure Data Transmission
Secure Data TransmissionSecure Data Transmission
Secure Data Transmissionbjp4642
 
gui based device controller using matlab Major presentation
gui based device controller using matlab Major presentationgui based device controller using matlab Major presentation
gui based device controller using matlab Major presentationPalak Sinha
 
JVL QuickStep Integrated Stepper Motor MIS34 up to 9 Nm
JVL QuickStep Integrated Stepper Motor MIS34 up to 9 NmJVL QuickStep Integrated Stepper Motor MIS34 up to 9 Nm
JVL QuickStep Integrated Stepper Motor MIS34 up to 9 NmElectromate
 
Network Based Data Acquisition and Logging System using PIC Microcontroller
Network Based Data Acquisition and Logging System using PIC MicrocontrollerNetwork Based Data Acquisition and Logging System using PIC Microcontroller
Network Based Data Acquisition and Logging System using PIC MicrocontrollerCSCJournals
 

Similar to 79 81 (20)

Ff24977979
Ff24977979Ff24977979
Ff24977979
 
IRJET-Design of ARM Based Data Acquisition and Control System for Engine Asse...
IRJET-Design of ARM Based Data Acquisition and Control System for Engine Asse...IRJET-Design of ARM Based Data Acquisition and Control System for Engine Asse...
IRJET-Design of ARM Based Data Acquisition and Control System for Engine Asse...
 
Office Security System
Office Security SystemOffice Security System
Office Security System
 
G3602050055
G3602050055G3602050055
G3602050055
 
SOCIAL NETWORK FOR SMART DEVICES USING EMBEDDED ETHERNET
SOCIAL NETWORK FOR SMART DEVICES USING EMBEDDED ETHERNETSOCIAL NETWORK FOR SMART DEVICES USING EMBEDDED ETHERNET
SOCIAL NETWORK FOR SMART DEVICES USING EMBEDDED ETHERNET
 
Ah4301185187
Ah4301185187Ah4301185187
Ah4301185187
 
Pc to pc optical fibre communication mini project
Pc to pc optical fibre communication mini projectPc to pc optical fibre communication mini project
Pc to pc optical fibre communication mini project
 
Case Study At91RM9200 Data Hub Controller
Case Study At91RM9200 Data Hub ControllerCase Study At91RM9200 Data Hub Controller
Case Study At91RM9200 Data Hub Controller
 
Pradeep_Embedded
Pradeep_EmbeddedPradeep_Embedded
Pradeep_Embedded
 
WISE-523x & WISE-224x-EN.pdf
WISE-523x & WISE-224x-EN.pdfWISE-523x & WISE-224x-EN.pdf
WISE-523x & WISE-224x-EN.pdf
 
Real-Time Monitoring and Control System for Industry
Real-Time Monitoring and Control System for IndustryReal-Time Monitoring and Control System for Industry
Real-Time Monitoring and Control System for Industry
 
Solar panel monitoring solution using IoT-Faststream Technologies
Solar panel monitoring solution using IoT-Faststream TechnologiesSolar panel monitoring solution using IoT-Faststream Technologies
Solar panel monitoring solution using IoT-Faststream Technologies
 
IRJET- Climate Monitoring System and Transmission of Data without Internet
IRJET- Climate Monitoring System and Transmission of Data without InternetIRJET- Climate Monitoring System and Transmission of Data without Internet
IRJET- Climate Monitoring System and Transmission of Data without Internet
 
IRJET- Implementation of Intelligent and Safe Smart City Concept using IoT Ap...
IRJET- Implementation of Intelligent and Safe Smart City Concept using IoT Ap...IRJET- Implementation of Intelligent and Safe Smart City Concept using IoT Ap...
IRJET- Implementation of Intelligent and Safe Smart City Concept using IoT Ap...
 
Dp31778783
Dp31778783Dp31778783
Dp31778783
 
Global System for Mobile Communication Based Smart Home Security System
Global System for Mobile Communication Based Smart Home Security SystemGlobal System for Mobile Communication Based Smart Home Security System
Global System for Mobile Communication Based Smart Home Security System
 
Secure Data Transmission
Secure Data TransmissionSecure Data Transmission
Secure Data Transmission
 
gui based device controller using matlab Major presentation
gui based device controller using matlab Major presentationgui based device controller using matlab Major presentation
gui based device controller using matlab Major presentation
 
JVL QuickStep Integrated Stepper Motor MIS34 up to 9 Nm
JVL QuickStep Integrated Stepper Motor MIS34 up to 9 NmJVL QuickStep Integrated Stepper Motor MIS34 up to 9 Nm
JVL QuickStep Integrated Stepper Motor MIS34 up to 9 Nm
 
Network Based Data Acquisition and Logging System using PIC Microcontroller
Network Based Data Acquisition and Logging System using PIC MicrocontrollerNetwork Based Data Acquisition and Logging System using PIC Microcontroller
Network Based Data Acquisition and Logging System using PIC Microcontroller
 

More from Editor IJARCET

Electrically small antennas: The art of miniaturization
Electrically small antennas: The art of miniaturizationElectrically small antennas: The art of miniaturization
Electrically small antennas: The art of miniaturizationEditor IJARCET
 
Volume 2-issue-6-2205-2207
Volume 2-issue-6-2205-2207Volume 2-issue-6-2205-2207
Volume 2-issue-6-2205-2207Editor IJARCET
 
Volume 2-issue-6-2195-2199
Volume 2-issue-6-2195-2199Volume 2-issue-6-2195-2199
Volume 2-issue-6-2195-2199Editor IJARCET
 
Volume 2-issue-6-2200-2204
Volume 2-issue-6-2200-2204Volume 2-issue-6-2200-2204
Volume 2-issue-6-2200-2204Editor IJARCET
 
Volume 2-issue-6-2190-2194
Volume 2-issue-6-2190-2194Volume 2-issue-6-2190-2194
Volume 2-issue-6-2190-2194Editor IJARCET
 
Volume 2-issue-6-2186-2189
Volume 2-issue-6-2186-2189Volume 2-issue-6-2186-2189
Volume 2-issue-6-2186-2189Editor IJARCET
 
Volume 2-issue-6-2177-2185
Volume 2-issue-6-2177-2185Volume 2-issue-6-2177-2185
Volume 2-issue-6-2177-2185Editor IJARCET
 
Volume 2-issue-6-2173-2176
Volume 2-issue-6-2173-2176Volume 2-issue-6-2173-2176
Volume 2-issue-6-2173-2176Editor IJARCET
 
Volume 2-issue-6-2165-2172
Volume 2-issue-6-2165-2172Volume 2-issue-6-2165-2172
Volume 2-issue-6-2165-2172Editor IJARCET
 
Volume 2-issue-6-2159-2164
Volume 2-issue-6-2159-2164Volume 2-issue-6-2159-2164
Volume 2-issue-6-2159-2164Editor IJARCET
 
Volume 2-issue-6-2155-2158
Volume 2-issue-6-2155-2158Volume 2-issue-6-2155-2158
Volume 2-issue-6-2155-2158Editor IJARCET
 
Volume 2-issue-6-2148-2154
Volume 2-issue-6-2148-2154Volume 2-issue-6-2148-2154
Volume 2-issue-6-2148-2154Editor IJARCET
 
Volume 2-issue-6-2143-2147
Volume 2-issue-6-2143-2147Volume 2-issue-6-2143-2147
Volume 2-issue-6-2143-2147Editor IJARCET
 
Volume 2-issue-6-2119-2124
Volume 2-issue-6-2119-2124Volume 2-issue-6-2119-2124
Volume 2-issue-6-2119-2124Editor IJARCET
 
Volume 2-issue-6-2139-2142
Volume 2-issue-6-2139-2142Volume 2-issue-6-2139-2142
Volume 2-issue-6-2139-2142Editor IJARCET
 
Volume 2-issue-6-2130-2138
Volume 2-issue-6-2130-2138Volume 2-issue-6-2130-2138
Volume 2-issue-6-2130-2138Editor IJARCET
 
Volume 2-issue-6-2125-2129
Volume 2-issue-6-2125-2129Volume 2-issue-6-2125-2129
Volume 2-issue-6-2125-2129Editor IJARCET
 
Volume 2-issue-6-2114-2118
Volume 2-issue-6-2114-2118Volume 2-issue-6-2114-2118
Volume 2-issue-6-2114-2118Editor IJARCET
 
Volume 2-issue-6-2108-2113
Volume 2-issue-6-2108-2113Volume 2-issue-6-2108-2113
Volume 2-issue-6-2108-2113Editor IJARCET
 
Volume 2-issue-6-2102-2107
Volume 2-issue-6-2102-2107Volume 2-issue-6-2102-2107
Volume 2-issue-6-2102-2107Editor IJARCET
 

More from Editor IJARCET (20)

Electrically small antennas: The art of miniaturization
Electrically small antennas: The art of miniaturizationElectrically small antennas: The art of miniaturization
Electrically small antennas: The art of miniaturization
 
Volume 2-issue-6-2205-2207
Volume 2-issue-6-2205-2207Volume 2-issue-6-2205-2207
Volume 2-issue-6-2205-2207
 
Volume 2-issue-6-2195-2199
Volume 2-issue-6-2195-2199Volume 2-issue-6-2195-2199
Volume 2-issue-6-2195-2199
 
Volume 2-issue-6-2200-2204
Volume 2-issue-6-2200-2204Volume 2-issue-6-2200-2204
Volume 2-issue-6-2200-2204
 
Volume 2-issue-6-2190-2194
Volume 2-issue-6-2190-2194Volume 2-issue-6-2190-2194
Volume 2-issue-6-2190-2194
 
Volume 2-issue-6-2186-2189
Volume 2-issue-6-2186-2189Volume 2-issue-6-2186-2189
Volume 2-issue-6-2186-2189
 
Volume 2-issue-6-2177-2185
Volume 2-issue-6-2177-2185Volume 2-issue-6-2177-2185
Volume 2-issue-6-2177-2185
 
Volume 2-issue-6-2173-2176
Volume 2-issue-6-2173-2176Volume 2-issue-6-2173-2176
Volume 2-issue-6-2173-2176
 
Volume 2-issue-6-2165-2172
Volume 2-issue-6-2165-2172Volume 2-issue-6-2165-2172
Volume 2-issue-6-2165-2172
 
Volume 2-issue-6-2159-2164
Volume 2-issue-6-2159-2164Volume 2-issue-6-2159-2164
Volume 2-issue-6-2159-2164
 
Volume 2-issue-6-2155-2158
Volume 2-issue-6-2155-2158Volume 2-issue-6-2155-2158
Volume 2-issue-6-2155-2158
 
Volume 2-issue-6-2148-2154
Volume 2-issue-6-2148-2154Volume 2-issue-6-2148-2154
Volume 2-issue-6-2148-2154
 
Volume 2-issue-6-2143-2147
Volume 2-issue-6-2143-2147Volume 2-issue-6-2143-2147
Volume 2-issue-6-2143-2147
 
Volume 2-issue-6-2119-2124
Volume 2-issue-6-2119-2124Volume 2-issue-6-2119-2124
Volume 2-issue-6-2119-2124
 
Volume 2-issue-6-2139-2142
Volume 2-issue-6-2139-2142Volume 2-issue-6-2139-2142
Volume 2-issue-6-2139-2142
 
Volume 2-issue-6-2130-2138
Volume 2-issue-6-2130-2138Volume 2-issue-6-2130-2138
Volume 2-issue-6-2130-2138
 
Volume 2-issue-6-2125-2129
Volume 2-issue-6-2125-2129Volume 2-issue-6-2125-2129
Volume 2-issue-6-2125-2129
 
Volume 2-issue-6-2114-2118
Volume 2-issue-6-2114-2118Volume 2-issue-6-2114-2118
Volume 2-issue-6-2114-2118
 
Volume 2-issue-6-2108-2113
Volume 2-issue-6-2108-2113Volume 2-issue-6-2108-2113
Volume 2-issue-6-2108-2113
 
Volume 2-issue-6-2102-2107
Volume 2-issue-6-2102-2107Volume 2-issue-6-2102-2107
Volume 2-issue-6-2102-2107
 

Recently uploaded

A DAY IN THE LIFE OF A SALESMAN / WOMAN
A DAY IN THE LIFE OF A  SALESMAN / WOMANA DAY IN THE LIFE OF A  SALESMAN / WOMAN
A DAY IN THE LIFE OF A SALESMAN / WOMANIlamathiKannappan
 
Vip Dewas Call Girls #9907093804 Contact Number Escorts Service Dewas
Vip Dewas Call Girls #9907093804 Contact Number Escorts Service DewasVip Dewas Call Girls #9907093804 Contact Number Escorts Service Dewas
Vip Dewas Call Girls #9907093804 Contact Number Escorts Service Dewasmakika9823
 
RE Capital's Visionary Leadership under Newman Leech
RE Capital's Visionary Leadership under Newman LeechRE Capital's Visionary Leadership under Newman Leech
RE Capital's Visionary Leadership under Newman LeechNewman George Leech
 
Eni 2024 1Q Results - 24.04.24 business.
Eni 2024 1Q Results - 24.04.24 business.Eni 2024 1Q Results - 24.04.24 business.
Eni 2024 1Q Results - 24.04.24 business.Eni
 
Keppel Ltd. 1Q 2024 Business Update Presentation Slides
Keppel Ltd. 1Q 2024 Business Update  Presentation SlidesKeppel Ltd. 1Q 2024 Business Update  Presentation Slides
Keppel Ltd. 1Q 2024 Business Update Presentation SlidesKeppelCorporation
 
Catalogue ONG NUOC PPR DE NHAT .pdf
Catalogue ONG NUOC PPR DE NHAT      .pdfCatalogue ONG NUOC PPR DE NHAT      .pdf
Catalogue ONG NUOC PPR DE NHAT .pdfOrient Homes
 
Call Girls in Gomti Nagar - 7388211116 - With room Service
Call Girls in Gomti Nagar - 7388211116  - With room ServiceCall Girls in Gomti Nagar - 7388211116  - With room Service
Call Girls in Gomti Nagar - 7388211116 - With room Servicediscovermytutordmt
 
Monte Carlo simulation : Simulation using MCSM
Monte Carlo simulation : Simulation using MCSMMonte Carlo simulation : Simulation using MCSM
Monte Carlo simulation : Simulation using MCSMRavindra Nath Shukla
 
DEPED Work From Home WORKWEEK-PLAN.docx
DEPED Work From Home  WORKWEEK-PLAN.docxDEPED Work From Home  WORKWEEK-PLAN.docx
DEPED Work From Home WORKWEEK-PLAN.docxRodelinaLaud
 
Monthly Social Media Update April 2024 pptx.pptx
Monthly Social Media Update April 2024 pptx.pptxMonthly Social Media Update April 2024 pptx.pptx
Monthly Social Media Update April 2024 pptx.pptxAndy Lambert
 
Ensure the security of your HCL environment by applying the Zero Trust princi...
Ensure the security of your HCL environment by applying the Zero Trust princi...Ensure the security of your HCL environment by applying the Zero Trust princi...
Ensure the security of your HCL environment by applying the Zero Trust princi...Roland Driesen
 
Cash Payment 9602870969 Escort Service in Udaipur Call Girls
Cash Payment 9602870969 Escort Service in Udaipur Call GirlsCash Payment 9602870969 Escort Service in Udaipur Call Girls
Cash Payment 9602870969 Escort Service in Udaipur Call GirlsApsara Of India
 
Mysore Call Girls 8617370543 WhatsApp Number 24x7 Best Services
Mysore Call Girls 8617370543 WhatsApp Number 24x7 Best ServicesMysore Call Girls 8617370543 WhatsApp Number 24x7 Best Services
Mysore Call Girls 8617370543 WhatsApp Number 24x7 Best ServicesDipal Arora
 
Call Girls Navi Mumbai Just Call 9907093804 Top Class Call Girl Service Avail...
Call Girls Navi Mumbai Just Call 9907093804 Top Class Call Girl Service Avail...Call Girls Navi Mumbai Just Call 9907093804 Top Class Call Girl Service Avail...
Call Girls Navi Mumbai Just Call 9907093804 Top Class Call Girl Service Avail...Dipal Arora
 
Progress Report - Oracle Database Analyst Summit
Progress  Report - Oracle Database Analyst SummitProgress  Report - Oracle Database Analyst Summit
Progress Report - Oracle Database Analyst SummitHolger Mueller
 
0183760ssssssssssssssssssssssssssss00101011 (27).pdf
0183760ssssssssssssssssssssssssssss00101011 (27).pdf0183760ssssssssssssssssssssssssssss00101011 (27).pdf
0183760ssssssssssssssssssssssssssss00101011 (27).pdfRenandantas16
 
Tech Startup Growth Hacking 101 - Basics on Growth Marketing
Tech Startup Growth Hacking 101  - Basics on Growth MarketingTech Startup Growth Hacking 101  - Basics on Growth Marketing
Tech Startup Growth Hacking 101 - Basics on Growth MarketingShawn Pang
 
Regression analysis: Simple Linear Regression Multiple Linear Regression
Regression analysis:  Simple Linear Regression Multiple Linear RegressionRegression analysis:  Simple Linear Regression Multiple Linear Regression
Regression analysis: Simple Linear Regression Multiple Linear RegressionRavindra Nath Shukla
 
Call Girls In DLf Gurgaon ➥99902@11544 ( Best price)100% Genuine Escort In 24...
Call Girls In DLf Gurgaon ➥99902@11544 ( Best price)100% Genuine Escort In 24...Call Girls In DLf Gurgaon ➥99902@11544 ( Best price)100% Genuine Escort In 24...
Call Girls In DLf Gurgaon ➥99902@11544 ( Best price)100% Genuine Escort In 24...lizamodels9
 
Russian Faridabad Call Girls(Badarpur) : ☎ 8168257667, @4999
Russian Faridabad Call Girls(Badarpur) : ☎ 8168257667, @4999Russian Faridabad Call Girls(Badarpur) : ☎ 8168257667, @4999
Russian Faridabad Call Girls(Badarpur) : ☎ 8168257667, @4999Tina Ji
 

Recently uploaded (20)

A DAY IN THE LIFE OF A SALESMAN / WOMAN
A DAY IN THE LIFE OF A  SALESMAN / WOMANA DAY IN THE LIFE OF A  SALESMAN / WOMAN
A DAY IN THE LIFE OF A SALESMAN / WOMAN
 
Vip Dewas Call Girls #9907093804 Contact Number Escorts Service Dewas
Vip Dewas Call Girls #9907093804 Contact Number Escorts Service DewasVip Dewas Call Girls #9907093804 Contact Number Escorts Service Dewas
Vip Dewas Call Girls #9907093804 Contact Number Escorts Service Dewas
 
RE Capital's Visionary Leadership under Newman Leech
RE Capital's Visionary Leadership under Newman LeechRE Capital's Visionary Leadership under Newman Leech
RE Capital's Visionary Leadership under Newman Leech
 
Eni 2024 1Q Results - 24.04.24 business.
Eni 2024 1Q Results - 24.04.24 business.Eni 2024 1Q Results - 24.04.24 business.
Eni 2024 1Q Results - 24.04.24 business.
 
Keppel Ltd. 1Q 2024 Business Update Presentation Slides
Keppel Ltd. 1Q 2024 Business Update  Presentation SlidesKeppel Ltd. 1Q 2024 Business Update  Presentation Slides
Keppel Ltd. 1Q 2024 Business Update Presentation Slides
 
Catalogue ONG NUOC PPR DE NHAT .pdf
Catalogue ONG NUOC PPR DE NHAT      .pdfCatalogue ONG NUOC PPR DE NHAT      .pdf
Catalogue ONG NUOC PPR DE NHAT .pdf
 
Call Girls in Gomti Nagar - 7388211116 - With room Service
Call Girls in Gomti Nagar - 7388211116  - With room ServiceCall Girls in Gomti Nagar - 7388211116  - With room Service
Call Girls in Gomti Nagar - 7388211116 - With room Service
 
Monte Carlo simulation : Simulation using MCSM
Monte Carlo simulation : Simulation using MCSMMonte Carlo simulation : Simulation using MCSM
Monte Carlo simulation : Simulation using MCSM
 
DEPED Work From Home WORKWEEK-PLAN.docx
DEPED Work From Home  WORKWEEK-PLAN.docxDEPED Work From Home  WORKWEEK-PLAN.docx
DEPED Work From Home WORKWEEK-PLAN.docx
 
Monthly Social Media Update April 2024 pptx.pptx
Monthly Social Media Update April 2024 pptx.pptxMonthly Social Media Update April 2024 pptx.pptx
Monthly Social Media Update April 2024 pptx.pptx
 
Ensure the security of your HCL environment by applying the Zero Trust princi...
Ensure the security of your HCL environment by applying the Zero Trust princi...Ensure the security of your HCL environment by applying the Zero Trust princi...
Ensure the security of your HCL environment by applying the Zero Trust princi...
 
Cash Payment 9602870969 Escort Service in Udaipur Call Girls
Cash Payment 9602870969 Escort Service in Udaipur Call GirlsCash Payment 9602870969 Escort Service in Udaipur Call Girls
Cash Payment 9602870969 Escort Service in Udaipur Call Girls
 
Mysore Call Girls 8617370543 WhatsApp Number 24x7 Best Services
Mysore Call Girls 8617370543 WhatsApp Number 24x7 Best ServicesMysore Call Girls 8617370543 WhatsApp Number 24x7 Best Services
Mysore Call Girls 8617370543 WhatsApp Number 24x7 Best Services
 
Call Girls Navi Mumbai Just Call 9907093804 Top Class Call Girl Service Avail...
Call Girls Navi Mumbai Just Call 9907093804 Top Class Call Girl Service Avail...Call Girls Navi Mumbai Just Call 9907093804 Top Class Call Girl Service Avail...
Call Girls Navi Mumbai Just Call 9907093804 Top Class Call Girl Service Avail...
 
Progress Report - Oracle Database Analyst Summit
Progress  Report - Oracle Database Analyst SummitProgress  Report - Oracle Database Analyst Summit
Progress Report - Oracle Database Analyst Summit
 
0183760ssssssssssssssssssssssssssss00101011 (27).pdf
0183760ssssssssssssssssssssssssssss00101011 (27).pdf0183760ssssssssssssssssssssssssssss00101011 (27).pdf
0183760ssssssssssssssssssssssssssss00101011 (27).pdf
 
Tech Startup Growth Hacking 101 - Basics on Growth Marketing
Tech Startup Growth Hacking 101  - Basics on Growth MarketingTech Startup Growth Hacking 101  - Basics on Growth Marketing
Tech Startup Growth Hacking 101 - Basics on Growth Marketing
 
Regression analysis: Simple Linear Regression Multiple Linear Regression
Regression analysis:  Simple Linear Regression Multiple Linear RegressionRegression analysis:  Simple Linear Regression Multiple Linear Regression
Regression analysis: Simple Linear Regression Multiple Linear Regression
 
Call Girls In DLf Gurgaon ➥99902@11544 ( Best price)100% Genuine Escort In 24...
Call Girls In DLf Gurgaon ➥99902@11544 ( Best price)100% Genuine Escort In 24...Call Girls In DLf Gurgaon ➥99902@11544 ( Best price)100% Genuine Escort In 24...
Call Girls In DLf Gurgaon ➥99902@11544 ( Best price)100% Genuine Escort In 24...
 
Russian Faridabad Call Girls(Badarpur) : ☎ 8168257667, @4999
Russian Faridabad Call Girls(Badarpur) : ☎ 8168257667, @4999Russian Faridabad Call Girls(Badarpur) : ☎ 8168257667, @4999
Russian Faridabad Call Girls(Badarpur) : ☎ 8168257667, @4999
 

79 81

  • 1. ISSN: 2278 – 1323 International Journal of Advanced Research in Computer Engineering & Technology Volume 1, Issue 5, July 2012 PIC CONTROLLER BASED PROCESS CONTROL SYSTEM USING GSM Ritesh Gupta , Mukti Awad Abstract: Devices with microcontroller are widely used in the data from all machine through RS 485 communication industrial field. We use network interface for connecting more and can be sent to the mobile through GSM modem. Where than one device for parallel control. Here we present a design the mobile is an administrator. All the process can be of PIC controller based embedded RS 485 interface. In this control by local user or mobile user. design the RS 485 module can be converted into network interface to obtain connectivity with the device. The design mainly consists of process control unit, RS485 communication module and GSM communication module. In the design the II-SYSTEM DESIGN data can be transmitted from industrial device to process control unit and also data can be transmitted on mobile The main purpose of the design is to make traditional through GSM modem, when administrator requests for data. monitoring and controlling system have the capabilities of All the machines are authenticated by the administrator, remote monitoring or data transmission by introducing Rs using a password; administrator can control all the process of 485bus and SPI. In the design, structured modular design machines. method is adopted and the system is mainly composed of SPI, Controlling Unit, GSM module and RS 485 Keywords- PIC microcontroller, SPI, RS 485 interface bus, interfacing bus, as shown in Fig. 1. GSM modem, RS 232. I-INTRODUCTION With the development of network technology and communication technology, the need that industrial control can be completed via network or wireless n/w has become a trend. In traditional industrial control system or data acquisition system, the structure that one host connects multiple serial devices through multiport serial cards is adopted. The task of host is to communicate with each industrial device, process data and interact between the operator and host computer. This structure is feasible in the case of fewer devices, lower transmission rate. But when a host needs to connect more serial devices at the same time with higher transmission rate and the data processing is more complex, the system performance is poor. In addition, these serial devices connect .The same host may be geographically far and this will increase the length of wiring and drop communication quality. So a solution need be found to realize the communication between industrial control devices and RS 485 bus. As the embedded system itself has the performance of network and human-mobile interaction, it is possible that the embedded system replaces the previous control method. So our project is based on the design of PIC controller based embedded RS 485 interface is presented .In the design the RS 485 module can be FIG. 1 SYSTEM STRUCTURE converted into n/w interface. In our project we are control the process of the three machines like ADC SPI communication is the interface between control machine, RPM measurement and temperature processing unit and Master unit. Its work is to receive data measurement. Each machine is connected to the form RS 485 unit and then transmit them to the microcontroller itself. All devices are connected through microcontroller PIC 16F877A. bus topology. Assign one device is main unit and main unit Processor control module is the core part of the design, in is connected to the PIC controller (Process unit) through which the PIC chip PIC16F877A is used to complete the SPI interface. With the process control unit which collect 79 All Rights Reserved © 2012 IJARCET
  • 2. ISSN: 2278 – 1323 International Journal of Advanced Research in Computer Engineering & Technology Volume 1, Issue 5, July 2012 complex operations and receive a lot of data from RS 485 B. RS 485Interface bus as a slave. In the module, data link between SPI port and In the RS 485 interfacing bus, the collect data from all RS 485 interface bus is established, SPI data stream format machines are sent to mater unit and collect the data from is specified, the transmission rate between serial data control unit then sent to the all machines. The RS 485 stream and data packets is controlled and data packet is interfacing bus is performing the all process according to received from master unit and sent to the GSM modem the Control unit Command. through RS 232 communication. The MAX485 is low-power transceivers for RS-485 Max and RS-422 communication. The IC contains one driver Tx and one receiver. The driver slew rates of the MAX485 is 485 Rx not limited, allowing them to transmit up to 2.5Mbps. These transceivers draw between 120μA and 500μA of Rx TX supply current when unloaded or fully loaded with disabled ADC RPM Temp drivers. M/C M/C M/C In the GSM module, it received data form control unit through RS 232 and sent to Mobile user through wireless m/c communication. The mobile user is an administrator; it received or sent the FIG.3.RS 485 BUS INTERFACE data to all machines by the uniqe ID of machines. IV. SOFTWARE DESIGN III.COMUNICATION MODULE DESIGN A. PIC.C Transplanting A. SPI Interface For the transplanting of Embedded C code, its main task is SPI interface is used to realize synchronous serial data to re-write the codes which are associated with the transmission between Control unit and master unit (all processor and compiler [3], the codes include the machine through RS 485 BUS) all devices by way of Half- following: redefinition of compiler-related data type, duplex communication. Its data transfer rate is up to several interrupt-switching code, stack, the initialization functions Mbps. SPI interface works in master-slave mode and it for task stack, task-switching function and so on. The includes four signals: SCLK, MOSI, MISO, and / SS. SCLK transplanting is completed in the following environments: is the common clock in the entire SPI bus, MOSI is the the compiler tool is PIC 16F877A for PIC microcontroller. master output, slave input, MISO is the host input, slave All the code is design for project we are used MPLAB IDE output and / SS is used to mark slave., slave input, MISO is Tools V8.70. The coding is design in Embedded C code is the host input, slave output and / SS is used to mark slave. Compiling by PIC.C compiler. In two devices which communicate with each other via SPI bus, the slave is low level and host is high level in / SS pin. B. Data Transmission The interface circuit of PIC16F877A and master unit In order to transmit the data from RS 485 to SPI serial, two shown in Fig. 2. Through the SPI interface, the maximum system tasks are established in PIC.C. One is to receive transfer rate achieves 2Mbps which meets the majority of front-end data through SPI interface and the other is to applications. Master unit reads input data at rising edge of transmit data to RS 485. SCLK and reads output data at falling edge of SCLK; the 00 pattern of PIC16F877A is selected. So the data 1) SPI receiving task: For the case that the data are transmit outputted from master unit. to GSM modem, the data which have been arrived at SPI port are stored into SPI sending buffer and packaged according to format and then are sent to the PIC controller and then convert to the GSM modem then transmitted to PIC16F877A Master Unit mobile User. P.18 SCLK Controller 2) RS 485 receiving task: In the RS 485 task, in order to P.23 MISO MOSI receive the data from master unit in the system, the data are distributed to Rs485 bus. All machines are received data P.24 from bus then according to massage the machine check the MOSI MISO own address if address is same the receive massage and perform task otherwise ignore the massage. FIG. 2 SPI INTERFACE BETWEEN PIC16F877A AND MASTER UNIT V-SYSTEMS TESTING 80 All Rights Reserved © 2012 IJARCET
  • 3. ISSN: 2278 – 1323 International Journal of Advanced Research in Computer Engineering & Technology Volume 1, Issue 5, July 2012 After the software and hardware designs have been completed, the ultimate generated codes are compiled and downloaded in microcontroller for testing. The codes include hardware system startup code, In the testing, GSM modem is connected to PIC controller through RS 232.RS 485interface bus unit and controller unit are connected by SPI.After connecting all hardware then taken some reading, and identify show that the Communications from both sides are successful, and also form that administrator control all the devices through mobile easily. VI-CONCLUSION In order to transmit the data from an existing device with SPI interface to network, an embedded Ethernet interface based on PIC controller is designed. On the basis of hardware platform, Embedded C (PIC.C) is transplanted into the microcontroller PIC16F877A and the SPI serial data and RS 485 data packets can be converted to each other by software programming. For traditional serial devices, the design provides an effective implementation to connect RS 485 and SPI serial interface with GSM. After the design an administrator can control all the industrial devices with the help of mobile. This design can be used widely in control system in industry. REFERENCES [1] CHEN Guo-ju, “Design of a monitoring system based on ARM and Etherne applied to AC motors,” Journal of Nanjing Institute of Technology (Natural Science Edition), Magn. China, vol.7 (2), pp.46- 51, Jun. 2009. [2] YU Cheng-bo, LIU Jie, and TAO Hong-yan, “Reseach on remoto monitor technology of equipment,” Information and Control, Magn. China, vol.31 (3), pp.236-240, June 2002. [3] LIU Hong-li, “The Research and Experiment of the Embedded System μC /OS-II on PC,” Journal of Shanghai University of a Electric Powe, Magn. China, vo l.5 (7), pp.275- 248, June 2009. [4] ZHANG Shi, DONG Jianwei, SHE Lihuang, “Design and development of ECG monitor’s software system,” Computer Engineering, Magn. China Vol 033(9), pp277-279, May 2009. [5] Zhao Ruimei, Wang Mei “Design of ARM-based Embedded Ethernet Interface” Computer Engineering and Technology (ICCET), 2010 2nd International conference on vol.4, pp.268 - 270. [6] Tao Lin ,Hai Zhao ,Jiyong Wang ,Guangjie Han and Jindong Wang ,”An Embedded Web Server for Equipment ”,School of Information Science & Engineering, Northeastern University, Shenyang, Liaoning, China. 81 All Rights Reserved © 2012 IJARCET