SlideShare ist ein Scribd-Unternehmen logo
1 von 3
Downloaden Sie, um offline zu lesen
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

Weitere ähnliche Inhalte

Was ist angesagt?

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 Communication
Desty 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
 
Embedded real time-systems communication
Embedded real time-systems communicationEmbedded real time-systems communication
Embedded real time-systems communication
Vijay Kumar
 
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
Mohan Patel
 

Was ist angesagt? (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
 

Andere mochten auch

Andere mochten auch (9)

347 352
347 352347 352
347 352
 
129 134
129 134129 134
129 134
 
690 698
690 698690 698
690 698
 
709 713
709 713709 713
709 713
 
Pdf5
Pdf5Pdf5
Pdf5
 
87 90
87 9087 90
87 90
 
119 128
119 128119 128
119 128
 
11 15
11 1511 15
11 15
 
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
 

Ähnlich wie 79 81

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
cseij
 
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
Padmakar Mangrule
 
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
Electromate
 

Ähnlich wie 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
 

Mehr von Editor IJARCET

Volume 2-issue-6-2205-2207
Volume 2-issue-6-2205-2207Volume 2-issue-6-2205-2207
Volume 2-issue-6-2205-2207
Editor IJARCET
 
Volume 2-issue-6-2195-2199
Volume 2-issue-6-2195-2199Volume 2-issue-6-2195-2199
Volume 2-issue-6-2195-2199
Editor IJARCET
 
Volume 2-issue-6-2200-2204
Volume 2-issue-6-2200-2204Volume 2-issue-6-2200-2204
Volume 2-issue-6-2200-2204
Editor IJARCET
 
Volume 2-issue-6-2190-2194
Volume 2-issue-6-2190-2194Volume 2-issue-6-2190-2194
Volume 2-issue-6-2190-2194
Editor IJARCET
 
Volume 2-issue-6-2186-2189
Volume 2-issue-6-2186-2189Volume 2-issue-6-2186-2189
Volume 2-issue-6-2186-2189
Editor IJARCET
 
Volume 2-issue-6-2177-2185
Volume 2-issue-6-2177-2185Volume 2-issue-6-2177-2185
Volume 2-issue-6-2177-2185
Editor IJARCET
 
Volume 2-issue-6-2173-2176
Volume 2-issue-6-2173-2176Volume 2-issue-6-2173-2176
Volume 2-issue-6-2173-2176
Editor IJARCET
 
Volume 2-issue-6-2165-2172
Volume 2-issue-6-2165-2172Volume 2-issue-6-2165-2172
Volume 2-issue-6-2165-2172
Editor IJARCET
 
Volume 2-issue-6-2159-2164
Volume 2-issue-6-2159-2164Volume 2-issue-6-2159-2164
Volume 2-issue-6-2159-2164
Editor IJARCET
 
Volume 2-issue-6-2155-2158
Volume 2-issue-6-2155-2158Volume 2-issue-6-2155-2158
Volume 2-issue-6-2155-2158
Editor IJARCET
 
Volume 2-issue-6-2148-2154
Volume 2-issue-6-2148-2154Volume 2-issue-6-2148-2154
Volume 2-issue-6-2148-2154
Editor IJARCET
 
Volume 2-issue-6-2143-2147
Volume 2-issue-6-2143-2147Volume 2-issue-6-2143-2147
Volume 2-issue-6-2143-2147
Editor IJARCET
 
Volume 2-issue-6-2119-2124
Volume 2-issue-6-2119-2124Volume 2-issue-6-2119-2124
Volume 2-issue-6-2119-2124
Editor IJARCET
 
Volume 2-issue-6-2139-2142
Volume 2-issue-6-2139-2142Volume 2-issue-6-2139-2142
Volume 2-issue-6-2139-2142
Editor IJARCET
 
Volume 2-issue-6-2130-2138
Volume 2-issue-6-2130-2138Volume 2-issue-6-2130-2138
Volume 2-issue-6-2130-2138
Editor IJARCET
 
Volume 2-issue-6-2125-2129
Volume 2-issue-6-2125-2129Volume 2-issue-6-2125-2129
Volume 2-issue-6-2125-2129
Editor IJARCET
 
Volume 2-issue-6-2114-2118
Volume 2-issue-6-2114-2118Volume 2-issue-6-2114-2118
Volume 2-issue-6-2114-2118
Editor IJARCET
 
Volume 2-issue-6-2108-2113
Volume 2-issue-6-2108-2113Volume 2-issue-6-2108-2113
Volume 2-issue-6-2108-2113
Editor IJARCET
 
Volume 2-issue-6-2102-2107
Volume 2-issue-6-2102-2107Volume 2-issue-6-2102-2107
Volume 2-issue-6-2102-2107
Editor IJARCET
 
Volume 2-issue-6-2098-2101
Volume 2-issue-6-2098-2101Volume 2-issue-6-2098-2101
Volume 2-issue-6-2098-2101
Editor IJARCET
 

Mehr von Editor IJARCET (20)

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
 
Volume 2-issue-6-2098-2101
Volume 2-issue-6-2098-2101Volume 2-issue-6-2098-2101
Volume 2-issue-6-2098-2101
 

Kürzlich hochgeladen

Mifepristone Available in Muscat +918761049707^^ €€ Buy Abortion Pills in Oman
Mifepristone Available in Muscat +918761049707^^ €€ Buy Abortion Pills in OmanMifepristone Available in Muscat +918761049707^^ €€ Buy Abortion Pills in Oman
Mifepristone Available in Muscat +918761049707^^ €€ Buy Abortion Pills in Oman
instagramfab782445
 
!~+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUD...
!~+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUD...!~+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUD...
!~+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUD...
DUBAI (+971)581248768 BUY ABORTION PILLS IN ABU dhabi...Qatar
 
Mifty kit IN Salmiya (+918133066128) Abortion pills IN Salmiyah Cytotec pills
Mifty kit IN Salmiya (+918133066128) Abortion pills IN Salmiyah Cytotec pillsMifty kit IN Salmiya (+918133066128) Abortion pills IN Salmiyah Cytotec pills
Mifty kit IN Salmiya (+918133066128) Abortion pills IN Salmiyah Cytotec pills
Abortion pills in Kuwait Cytotec pills in Kuwait
 
Quick Doctor In Kuwait +2773`7758`557 Kuwait Doha Qatar Dubai Abu Dhabi Sharj...
Quick Doctor In Kuwait +2773`7758`557 Kuwait Doha Qatar Dubai Abu Dhabi Sharj...Quick Doctor In Kuwait +2773`7758`557 Kuwait Doha Qatar Dubai Abu Dhabi Sharj...
Quick Doctor In Kuwait +2773`7758`557 Kuwait Doha Qatar Dubai Abu Dhabi Sharj...
daisycvs
 

Kürzlich hochgeladen (20)

Call 7737669865 Vadodara Call Girls Service at your Door Step Available All Time
Call 7737669865 Vadodara Call Girls Service at your Door Step Available All TimeCall 7737669865 Vadodara Call Girls Service at your Door Step Available All Time
Call 7737669865 Vadodara Call Girls Service at your Door Step Available All Time
 
Marel Q1 2024 Investor Presentation from May 8, 2024
Marel Q1 2024 Investor Presentation from May 8, 2024Marel Q1 2024 Investor Presentation from May 8, 2024
Marel Q1 2024 Investor Presentation from May 8, 2024
 
TVB_The Vietnam Believer Newsletter_May 6th, 2024_ENVol. 006.pdf
TVB_The Vietnam Believer Newsletter_May 6th, 2024_ENVol. 006.pdfTVB_The Vietnam Believer Newsletter_May 6th, 2024_ENVol. 006.pdf
TVB_The Vietnam Believer Newsletter_May 6th, 2024_ENVol. 006.pdf
 
CROSS CULTURAL NEGOTIATION BY PANMISEM NS
CROSS CULTURAL NEGOTIATION BY PANMISEM NSCROSS CULTURAL NEGOTIATION BY PANMISEM NS
CROSS CULTURAL NEGOTIATION BY PANMISEM NS
 
Dr. Admir Softic_ presentation_Green Club_ENG.pdf
Dr. Admir Softic_ presentation_Green Club_ENG.pdfDr. Admir Softic_ presentation_Green Club_ENG.pdf
Dr. Admir Softic_ presentation_Green Club_ENG.pdf
 
BeMetals Investor Presentation_May 3, 2024.pdf
BeMetals Investor Presentation_May 3, 2024.pdfBeMetals Investor Presentation_May 3, 2024.pdf
BeMetals Investor Presentation_May 3, 2024.pdf
 
HomeRoots Pitch Deck | Investor Insights | April 2024
HomeRoots Pitch Deck | Investor Insights | April 2024HomeRoots Pitch Deck | Investor Insights | April 2024
HomeRoots Pitch Deck | Investor Insights | April 2024
 
Falcon Invoice Discounting: Tailored Financial Wings
Falcon Invoice Discounting: Tailored Financial WingsFalcon Invoice Discounting: Tailored Financial Wings
Falcon Invoice Discounting: Tailored Financial Wings
 
PHX May 2024 Corporate Presentation Final
PHX May 2024 Corporate Presentation FinalPHX May 2024 Corporate Presentation Final
PHX May 2024 Corporate Presentation Final
 
joint cost.pptx COST ACCOUNTING Sixteenth Edition ...
joint cost.pptx  COST ACCOUNTING  Sixteenth Edition                          ...joint cost.pptx  COST ACCOUNTING  Sixteenth Edition                          ...
joint cost.pptx COST ACCOUNTING Sixteenth Edition ...
 
Organizational Transformation Lead with Culture
Organizational Transformation Lead with CultureOrganizational Transformation Lead with Culture
Organizational Transformation Lead with Culture
 
Katrina Personal Brand Project and portfolio 1
Katrina Personal Brand Project and portfolio 1Katrina Personal Brand Project and portfolio 1
Katrina Personal Brand Project and portfolio 1
 
Uneak White's Personal Brand Exploration Presentation
Uneak White's Personal Brand Exploration PresentationUneak White's Personal Brand Exploration Presentation
Uneak White's Personal Brand Exploration Presentation
 
Unveiling Falcon Invoice Discounting: Leading the Way as India's Premier Bill...
Unveiling Falcon Invoice Discounting: Leading the Way as India's Premier Bill...Unveiling Falcon Invoice Discounting: Leading the Way as India's Premier Bill...
Unveiling Falcon Invoice Discounting: Leading the Way as India's Premier Bill...
 
Putting the SPARK into Virtual Training.pptx
Putting the SPARK into Virtual Training.pptxPutting the SPARK into Virtual Training.pptx
Putting the SPARK into Virtual Training.pptx
 
Mifepristone Available in Muscat +918761049707^^ €€ Buy Abortion Pills in Oman
Mifepristone Available in Muscat +918761049707^^ €€ Buy Abortion Pills in OmanMifepristone Available in Muscat +918761049707^^ €€ Buy Abortion Pills in Oman
Mifepristone Available in Muscat +918761049707^^ €€ Buy Abortion Pills in Oman
 
!~+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUD...
!~+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUD...!~+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUD...
!~+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUD...
 
Mifty kit IN Salmiya (+918133066128) Abortion pills IN Salmiyah Cytotec pills
Mifty kit IN Salmiya (+918133066128) Abortion pills IN Salmiyah Cytotec pillsMifty kit IN Salmiya (+918133066128) Abortion pills IN Salmiyah Cytotec pills
Mifty kit IN Salmiya (+918133066128) Abortion pills IN Salmiyah Cytotec pills
 
Buy Verified TransferWise Accounts From Seosmmearth
Buy Verified TransferWise Accounts From SeosmmearthBuy Verified TransferWise Accounts From Seosmmearth
Buy Verified TransferWise Accounts From Seosmmearth
 
Quick Doctor In Kuwait +2773`7758`557 Kuwait Doha Qatar Dubai Abu Dhabi Sharj...
Quick Doctor In Kuwait +2773`7758`557 Kuwait Doha Qatar Dubai Abu Dhabi Sharj...Quick Doctor In Kuwait +2773`7758`557 Kuwait Doha Qatar Dubai Abu Dhabi Sharj...
Quick Doctor In Kuwait +2773`7758`557 Kuwait Doha Qatar Dubai Abu Dhabi Sharj...
 

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