SlideShare a Scribd company logo
International Journal of Science and Research (IJSR), India Online ISSN: 2319-7064
Volume 2 Issue 8, August 2013
www.ijsr.net
Controller Area Network for Monitoring and
Controlling the Industrial Parameters Using
Bluetooth Communication
B. Praveen Kumar1
, B. Bhavani2
1
Osmania University, M.VS.R Engineering College, Nadergul Road, Hyderabad, India
2
Osmania University, M.VS.R Engineering College, Nadergul Road, Hyderabad, India
Abstract: Various parameters in the industries can be monitored and controlled using CAN bus network integrated with Bluetooth
Communication. Monitoring and controlling the industrial parameters involve a large amount of man power and time consumption. To
overcome the need of huge man power and time consumption this technology was developed which makes use of single person for
monitoring and controlling the entire network. This method has been implemented in order to reduce the usage of wires used for
communication purpose and also to reduce the errors relating to the data transfer. In this project sensors are used to sense the variable
industrial parameters and the CAN protocols are used for error free data transmission and data reception purpose along with Bluetooth,
pic microcontrollers are used for programming the CAN controller. The data transmission rate will be higher than other wireless
systems. This application is user friendly and it can be achieved at a very low cost.
Keywords: CAN (Controller Area Network), PIC16F877A, Bluetooth.
1.Introduction
Consider an industry of large area where the monitoring and
controlling of each section involves a big task. In previous
days for every individual task a person is employed, as in an
industry we have many tasks so to monitor and control them
the industry has to invest huge amount for man power and
apart from the above case human errors can lead to a huge
lose to the industry. It involves a large amount of man power
and time consumption. To overcome these above factors we
developed this technology which makes use of single person
for monitoring and controlling the entire network. This can
be achieved with the combination of both wired and wireless
technologies CAN bus network with the Bluetooth
technology.
CAN bus have been widely used in sensors, data acquisition,
industrial control systems, and instrument device with high
reliability, reality, and flexibility. How to integrate the CAN
bus wired technology with the Bluetooth wireless technology
is a hot research task now. This paper gives a kind of design
of CAN bus for monitoring and controlling the various
parameters, which includes CAN bus intelligent nodes,
sensors network, Bluetooth and the whole network
architecture. This technology is a cost effective one and it
can be used in various applications like industries, medical
field, automobiles, and home.
2.Experimental Setup
In our experimental setup, various sensors are connected to
the PIC16F877A which acts as a slave node. These sensors
sense the various industrial parameters like temperature, fire,
light and gas.
2.1 Transmitting Section
In the transmitting section, there are various sensors
connected to the PIC microcontroller which acts as a slave
node as shown in the below figure1. These sensors sense the
various parameters like temperature, fire, light, gas. Those
variable parameters which are sensed by the slave nodes are
sent to the master controller through can bus and can
controller using the can protocol. The master controller pic is
programmed in such a way that the parameters are sensed
periodically and transmitted.
The CAN protocol are effectively used for achieving higher
data rate. The loads can also be operated by the master
controller. If the value of any sensor is above the cutoff point
then the master controller controls that sensor to come below
the cutoff point. The master controller receives the data from
the slaves and processes that data to the PC through
Bluetooth.
In the receiving section constituting of a Bluetooth module
as shown in the figure2 which is used for collecting the data
which is sent by the master controller. The various nodes on
the transmitting section can be monitored on the receiver
side by
 
272
International Journal of Science and Research (IJSR), India Online ISSN: 2319-7064
Volume 2 Issue 8, August 2013
www.ijsr.net
 
Figure 1: Block Diagram of Transmitter Section
2.2 Receiving Section
Figure 2: Block Diagram of Receiving Section
If anything is going abnormal, the user can control the
devices at the other end. These values get updated in the
personal computer for later verification.
3.Protocol and Hardware
3.1 CAN-controller area network
CAN is one of the field bus control system type used in
networking. It is a message based protocol device. The
communication can be achieved between various devices
using CAN protocol. The CAN bus can be used to connect
the control unit, transmitting and receiving unit. In this paper
CAN bus is used in automation environment, which is
primarily due to low cost. The multi-master node CAN is
able to send and receive messages but not simultaneously.
The message consists primarily of an id which represents the
priority of the message. The data’s are transmitted serially on
to the bus. This signal pattern is encoded in NRZ form and
sensed by the nodes. Whenever the bus is free the most
dominating message will be executed first and the lower
priority will sense these and will back-off. Bit rate is up to
1MB/S are possible at network length below 40m and
decreases with increase in network distance. Since the CAN
shifts the voltage level the differential signal CANH and
CANL are used. Carrier senses multiple access protocol with
collision detection and arbitration on message priority are
two types of protocols used in CAN. Error control
mechanism such as CRC is used to ensure sensor data
integrity. Both the remote frames and the overload frames
are used for flow control mechanism.
Figure 3: CAN bus length versus bit rate
The communication speed and bus length need to be set
according to the system by the user. The CAN bus normally
consists of two wires (CAN_High and CAN_Low), and the
CAN controller is connected to those two wires via a
transceiver. The bus level is determined by a potential
difference between the CAN_High and CAN_Low wires.
There are two bus levels, dominant and recessive, and the
bus assumes either level at any given point of time. For
logically wire-AND’d buses, the dominant and the recessive
levels are recognized as a logic 0 and logic 1, respectively. A
transmit unit can send a message to receive units by
changing these bus levels. CAN nodes have the ability to
determine fault conditions and transition to different modes
based on the severity of problems.
3.2 PIC- Programmable Intelligent Computer
PIC is Harvard architecture. Data bus and address bus are
separate in Harvard architecture. Thus a greater flow of data
is possible through the central processing unit, and of course,
a greater speed of work. Separating a program from data
memory makes it further possible for instructions not to have
to be 8-bit words. It is also typical for Harvard architecture
to have fewer instructions than von-Neumann’s, and to have
instructions usually executed in one cycle. Microcontrollers
with Harvard architecture are also called “RISC
microcontrollers”.
PIC16F873A/876A devices are available only in 28-pin
packages, while PIC16F874A/877A devices are available in
40-pin and 44-pin packages. The PIC16F873A/74A have
one-half of the total on-chip memory of the
Personal
Computer
Power
Supply
Bluetooth
273
International Journal of Science and Research (IJSR), India Online ISSN: 2319-7064
Volume 2 Issue 8, August 2013
www.ijsr.net
PIC16F876A/77A. The 28-pin devices have three I/O ports,
while the 40/44-pin devices have five. The 28-pin devices
have fourteen interrupts, while the 40/44-pin devices have
fifteen. The 28-pin devices have five A/D input channels,
while the 40/44-pin devices have eight. The Parallel Slave
Port is implemented only on the 40/44-pin devices.
The PIC16F87XA devices have a 13-bit program counter
capable of addressing an 8K word x 14 bit program memory
space. The PIC16F876A/877A devices have 8K words x 14
bits of Flash program memory, while PIC16F873A/874A
devices have 4K words x 14 bits. Accessing a location above
the physically implemented address will cause wraparound.
The Reset vector is at 0000h and the interrupt vector is at
0004h.
4.Results
Below is the figure4 showing the values of different nodes
on the lcd at the master node.node-2 gives the information of
ldr and fire sensors node-3 gives the information regarding
temperature and gas sensors.
Figure 4: sensor values on lcd
The control information which is present at the CAN master
controller is sent to the personal computer using the
Bluetooth. Below is the figure5 showing the outcome of
Bluetooth on the hyperterminal. This can be stored in the
personal computer and can be used later for verification.
Figure 5: Displaying control information on hyperterminal.
5.Conclusion
In this method the integration of wired and wireless
technology is achieved by using CAN and Bluetooth. In
previous days manual monitoring and controlling was used.
The wireless technology applied also has higher data rates.
In this paper the above disadvantage has been overcome
using Controller Area Network which makes us useful in the
designing of number of CAN nodes. This paper gives the
method of accurate and reliable transmission of data without
data loss. The data from the slave nodes are transmitted to
master PIC microcontroller. The transmitting section will
send the data and receiver can check the data in the personal
computer. The efficiency of this system is much higher than
any other systems in use. This tends to be an accurate one
since the intelligent device uses both encoding and decoding
method for communication.
References
[1] Xiaohong Ren, Tianwen Wang, Chenghau Fu, Shuxiang
Jia “CAN Bus Network Design Based on Bluetooth
Technology” in Proceedings of ICECE- International
Conference on Electrical and Control Engineering, pp
560-564, 2010.
[2] Kumar.M, A. Verma, A. Srividya, “Response Time
Modeling of Controller Area Network Distributed
Computing and Networking”, pp 163-174, 2009.
[3] Rick Stoneking, Anadigics, “A Simple Controller Area
Network Node using The MCP2515 and PIC16F877A”,
Microchip Inc, pp 658-662. 2007.
[4] Zdenek Braqdac, Pertr Cach, Radimir Vrba, “Wireless
Communication in Automation Electronics Circuits and
System”, pp 659-662, 2003.
[5] Tindell, K.A Burns, A.J Wellings “Calculating
Controller area Network Message Response Times”, pp
1163-1169, 1995.
Author Profile
B. Praveen Kumar pursuing the M.E degree in
Embedded Systems and Vlsi Design from M.V.S.R
Engineering College. He received the B. Tech degree
in Electronics and Communication Engineering from
Padmasri Dr. B. V. Raju Institute of Technology in 2011.
B. Bhavani received B.E (ECE), M. Tech (Embedded
Systems) from Andhra University, JNTU-H, Andhra
Pradesh, India in 2003 and 2008 respectively.
Presently working as Assistant Professor in the Dept
of ECE, MVSR Engineering College, Osmania University, Andhra
Pradesh, India
274

More Related Content

What's hot (19)

PDF
A remote monitoring system for a three phase 10-kva switchable distribution t...
eSAT Publishing House
 
PDF
A remote monitoring system for a three phase 10-kva switchable distribution t...
eSAT Journals
 
DOC
A solution to remote detection of illegal electricity.
Praveen Kumar
 
PDF
Final paperenhancing distribution system through the use of real time etherne...
Genc Gjergjani
 
PDF
why time synchronization is important in power generation, transmission and ...
Mohd Amir
 
PDF
International Journal of Computational Engineering Research(IJCER)
ijceronline
 
PDF
Ieeepro techno solutions ieee embedded project intelligent wireless street l...
srinivasanece7
 
PDF
Ieeepro techno solutions ieee embedded project - low power wireless sensor...
srinivasanece7
 
PDF
Wireless Data Acquisition System Using ARM Cortex M-3
IOSR Journals
 
PDF
A project report on energy meter monitoring online using wireless transmissio...
Robo India
 
PDF
Simulation model of dc servo motor control
Evans Marshall
 
PDF
Automatic fire prevteing system in train and buses
Vasu Manikandan
 
PDF
Wide-Area Wireless Networks (WANS) – GSM Evolution
Don Norwood
 
DOCX
Repot on gsm based arm
Kishan Bhounsle G
 
PDF
Education set for collecting and visualizing data using sensor system based ...
IJMER
 
PDF
Cired2011 0405 final
Genc Gjergjani
 
DOCX
Wireless energy meter monitoring with automated tariff calculation
Udayalakshmi JK
 
PPTX
Automatic meter reading
chitkara university
 
PDF
IRJET- Ad-hoc Based Outdoor Positioning System
IRJET Journal
 
A remote monitoring system for a three phase 10-kva switchable distribution t...
eSAT Publishing House
 
A remote monitoring system for a three phase 10-kva switchable distribution t...
eSAT Journals
 
A solution to remote detection of illegal electricity.
Praveen Kumar
 
Final paperenhancing distribution system through the use of real time etherne...
Genc Gjergjani
 
why time synchronization is important in power generation, transmission and ...
Mohd Amir
 
International Journal of Computational Engineering Research(IJCER)
ijceronline
 
Ieeepro techno solutions ieee embedded project intelligent wireless street l...
srinivasanece7
 
Ieeepro techno solutions ieee embedded project - low power wireless sensor...
srinivasanece7
 
Wireless Data Acquisition System Using ARM Cortex M-3
IOSR Journals
 
A project report on energy meter monitoring online using wireless transmissio...
Robo India
 
Simulation model of dc servo motor control
Evans Marshall
 
Automatic fire prevteing system in train and buses
Vasu Manikandan
 
Wide-Area Wireless Networks (WANS) – GSM Evolution
Don Norwood
 
Repot on gsm based arm
Kishan Bhounsle G
 
Education set for collecting and visualizing data using sensor system based ...
IJMER
 
Cired2011 0405 final
Genc Gjergjani
 
Wireless energy meter monitoring with automated tariff calculation
Udayalakshmi JK
 
Automatic meter reading
chitkara university
 
IRJET- Ad-hoc Based Outdoor Positioning System
IRJET Journal
 

Similar to Controller Area Network for Monitoring and Controlling the Industrial Parameters Using Bluetooth Communication (20)

DOCX
Src 81
sudhakar5472
 
PDF
E010113235
IOSR Journals
 
PDF
Dl34689693
IJERA Editor
 
PDF
IRJET- CAN based Data Acquisition and Data Logging System for Vehicular Commu...
IRJET Journal
 
PDF
IRJET- Mobile Handoff using Wireless CAN Protocol: An Approach to Reduce ...
IRJET Journal
 
PPTX
unit 4 smartsensors and application.pptx
AanshuSingh3
 
PDF
A CAN BUS BASED SYSTEM FOR MONITORING AND FAULT DIAGNOSIS IN WIND TURBINE
Own preparations
 
PDF
Epma 013
Lecturer
 
DOCX
Minor projct(Broadband )
Smriti Tikoo
 
PDF
Paper id 24201457
IJRAT
 
PDF
Industrial Automation -EEE-Notesssa_scada_communications_protocols.pdf
preetibhagat18
 
PDF
F224450
inventionjournals
 
PDF
IRJET- Power Line Carrier Communication
IRJET Journal
 
PDF
Customized Monitoring and Assessment of Circuit Breaker Operations in Differe...
International Journal of Engineering Inventions www.ijeijournal.com
 
PDF
Energy efficient platform designed for sdma applications in mobile wireless ...
marwaeng
 
PDF
Dual microcontroller based gprs data transmission control system design
sudhakar5472
 
PDF
Ijarcet vol-2-issue-4-1368-1373
Editor IJARCET
 
PDF
BPSK Modulation and Demodulation with Power Line Carrier Communication and GS...
IAES-IJPEDS
 
PDF
Design And Development of A Plug-In Type Wireless Data Logger for Energy Meas...
IOSR Journals
 
PDF
Automotive Networks : A Review
IJAEMSJORNAL
 
Src 81
sudhakar5472
 
E010113235
IOSR Journals
 
Dl34689693
IJERA Editor
 
IRJET- CAN based Data Acquisition and Data Logging System for Vehicular Commu...
IRJET Journal
 
IRJET- Mobile Handoff using Wireless CAN Protocol: An Approach to Reduce ...
IRJET Journal
 
unit 4 smartsensors and application.pptx
AanshuSingh3
 
A CAN BUS BASED SYSTEM FOR MONITORING AND FAULT DIAGNOSIS IN WIND TURBINE
Own preparations
 
Epma 013
Lecturer
 
Minor projct(Broadband )
Smriti Tikoo
 
Paper id 24201457
IJRAT
 
Industrial Automation -EEE-Notesssa_scada_communications_protocols.pdf
preetibhagat18
 
IRJET- Power Line Carrier Communication
IRJET Journal
 
Customized Monitoring and Assessment of Circuit Breaker Operations in Differe...
International Journal of Engineering Inventions www.ijeijournal.com
 
Energy efficient platform designed for sdma applications in mobile wireless ...
marwaeng
 
Dual microcontroller based gprs data transmission control system design
sudhakar5472
 
Ijarcet vol-2-issue-4-1368-1373
Editor IJARCET
 
BPSK Modulation and Demodulation with Power Line Carrier Communication and GS...
IAES-IJPEDS
 
Design And Development of A Plug-In Type Wireless Data Logger for Energy Meas...
IOSR Journals
 
Automotive Networks : A Review
IJAEMSJORNAL
 
Ad

More from International Journal of Science and Research (IJSR) (20)

PDF
Innovations in the Diagnosis and Treatment of Chronic Heart Failure
International Journal of Science and Research (IJSR)
 
PDF
Design and implementation of carrier based sinusoidal pwm (bipolar) inverter
International Journal of Science and Research (IJSR)
 
PDF
Polarization effect of antireflection coating for soi material system
International Journal of Science and Research (IJSR)
 
PDF
Image resolution enhancement via multi surface fitting
International Journal of Science and Research (IJSR)
 
PDF
Ad hoc networks technical issues on radio links security & qo s
International Journal of Science and Research (IJSR)
 
PDF
Microstructure analysis of the carbon nano tubes aluminum composite with diff...
International Journal of Science and Research (IJSR)
 
PDF
Improving the life of lm13 using stainless spray ii coating for engine applic...
International Journal of Science and Research (IJSR)
 
PDF
An overview on development of aluminium metal matrix composites with hybrid r...
International Journal of Science and Research (IJSR)
 
PDF
Pesticide mineralization in water using silver nanoparticles incorporated on ...
International Journal of Science and Research (IJSR)
 
PDF
Comparative study on computers operated by eyes and brain
International Journal of Science and Research (IJSR)
 
PDF
T s eliot and the concept of literary tradition and the importance of allusions
International Journal of Science and Research (IJSR)
 
PDF
Effect of select yogasanas and pranayama practices on selected physiological ...
International Journal of Science and Research (IJSR)
 
PDF
Grid computing for load balancing strategies
International Journal of Science and Research (IJSR)
 
PDF
A new algorithm to improve the sharing of bandwidth
International Journal of Science and Research (IJSR)
 
PDF
Main physical causes of climate change and global warming a general overview
International Journal of Science and Research (IJSR)
 
PDF
Performance assessment of control loops
International Journal of Science and Research (IJSR)
 
PDF
Capital market in bangladesh an overview
International Journal of Science and Research (IJSR)
 
PDF
Faster and resourceful multi core web crawling
International Journal of Science and Research (IJSR)
 
PDF
Extended fuzzy c means clustering algorithm in segmentation of noisy images
International Journal of Science and Research (IJSR)
 
PDF
Parallel generators of pseudo random numbers with control of calculation errors
International Journal of Science and Research (IJSR)
 
Innovations in the Diagnosis and Treatment of Chronic Heart Failure
International Journal of Science and Research (IJSR)
 
Design and implementation of carrier based sinusoidal pwm (bipolar) inverter
International Journal of Science and Research (IJSR)
 
Polarization effect of antireflection coating for soi material system
International Journal of Science and Research (IJSR)
 
Image resolution enhancement via multi surface fitting
International Journal of Science and Research (IJSR)
 
Ad hoc networks technical issues on radio links security & qo s
International Journal of Science and Research (IJSR)
 
Microstructure analysis of the carbon nano tubes aluminum composite with diff...
International Journal of Science and Research (IJSR)
 
Improving the life of lm13 using stainless spray ii coating for engine applic...
International Journal of Science and Research (IJSR)
 
An overview on development of aluminium metal matrix composites with hybrid r...
International Journal of Science and Research (IJSR)
 
Pesticide mineralization in water using silver nanoparticles incorporated on ...
International Journal of Science and Research (IJSR)
 
Comparative study on computers operated by eyes and brain
International Journal of Science and Research (IJSR)
 
T s eliot and the concept of literary tradition and the importance of allusions
International Journal of Science and Research (IJSR)
 
Effect of select yogasanas and pranayama practices on selected physiological ...
International Journal of Science and Research (IJSR)
 
Grid computing for load balancing strategies
International Journal of Science and Research (IJSR)
 
A new algorithm to improve the sharing of bandwidth
International Journal of Science and Research (IJSR)
 
Main physical causes of climate change and global warming a general overview
International Journal of Science and Research (IJSR)
 
Performance assessment of control loops
International Journal of Science and Research (IJSR)
 
Capital market in bangladesh an overview
International Journal of Science and Research (IJSR)
 
Faster and resourceful multi core web crawling
International Journal of Science and Research (IJSR)
 
Extended fuzzy c means clustering algorithm in segmentation of noisy images
International Journal of Science and Research (IJSR)
 
Parallel generators of pseudo random numbers with control of calculation errors
International Journal of Science and Research (IJSR)
 
Ad

Recently uploaded (20)

PPTX
Accounting Skills Paper-I, Preparation of Vouchers
Dr. Sushil Bansode
 
PPTX
2025 Winter SWAYAM NPTEL & A Student.pptx
Utsav Yagnik
 
PDF
BÀI TẬP BỔ TRỢ THEO LESSON TIẾNG ANH - I-LEARN SMART WORLD 7 - CẢ NĂM - CÓ ĐÁ...
Nguyen Thanh Tu Collection
 
PDF
DIGESTION OF CARBOHYDRATES,PROTEINS,LIPIDS
raviralanaresh2
 
PPTX
Explorando Recursos do Summer '25: Dicas Essenciais - 02
Mauricio Alexandre Silva
 
PPTX
How to Create Rental Orders in Odoo 18 Rental
Celine George
 
PPTX
How to Manage Promotions in Odoo 18 Sales
Celine George
 
PDF
CEREBRAL PALSY: NURSING MANAGEMENT .pdf
PRADEEP ABOTHU
 
PPTX
Optimizing Cancer Screening With MCED Technologies: From Science to Practical...
i3 Health
 
PPTX
Views on Education of Indian Thinkers J.Krishnamurthy..pptx
ShrutiMahanta1
 
PPTX
How to Define Translation to Custom Module And Add a new language in Odoo 18
Celine George
 
PPTX
Growth and development and milestones, factors
BHUVANESHWARI BADIGER
 
PDF
IMP NAAC REFORMS 2024 - 10 Attributes.pdf
BHARTIWADEKAR
 
PDF
1, 2, 3… E MAIS UM CICLO CHEGA AO FIM!.pdf
Colégio Santa Teresinha
 
PPTX
LEGAL ASPECTS OF PSYCHIATRUC NURSING.pptx
PoojaSen20
 
PPTX
A PPT on Alfred Lord Tennyson's Ulysses.
Beena E S
 
PPTX
How to Manage Access Rights & User Types in Odoo 18
Celine George
 
PPTX
Gall bladder, Small intestine and Large intestine.pptx
rekhapositivity
 
PDF
community health nursing question paper 2.pdf
Prince kumar
 
PDF
ARAL_Orientation_Day-2-Sessions_ARAL-Readung ARAL-Mathematics ARAL-Sciencev2.pdf
JoelVilloso1
 
Accounting Skills Paper-I, Preparation of Vouchers
Dr. Sushil Bansode
 
2025 Winter SWAYAM NPTEL & A Student.pptx
Utsav Yagnik
 
BÀI TẬP BỔ TRỢ THEO LESSON TIẾNG ANH - I-LEARN SMART WORLD 7 - CẢ NĂM - CÓ ĐÁ...
Nguyen Thanh Tu Collection
 
DIGESTION OF CARBOHYDRATES,PROTEINS,LIPIDS
raviralanaresh2
 
Explorando Recursos do Summer '25: Dicas Essenciais - 02
Mauricio Alexandre Silva
 
How to Create Rental Orders in Odoo 18 Rental
Celine George
 
How to Manage Promotions in Odoo 18 Sales
Celine George
 
CEREBRAL PALSY: NURSING MANAGEMENT .pdf
PRADEEP ABOTHU
 
Optimizing Cancer Screening With MCED Technologies: From Science to Practical...
i3 Health
 
Views on Education of Indian Thinkers J.Krishnamurthy..pptx
ShrutiMahanta1
 
How to Define Translation to Custom Module And Add a new language in Odoo 18
Celine George
 
Growth and development and milestones, factors
BHUVANESHWARI BADIGER
 
IMP NAAC REFORMS 2024 - 10 Attributes.pdf
BHARTIWADEKAR
 
1, 2, 3… E MAIS UM CICLO CHEGA AO FIM!.pdf
Colégio Santa Teresinha
 
LEGAL ASPECTS OF PSYCHIATRUC NURSING.pptx
PoojaSen20
 
A PPT on Alfred Lord Tennyson's Ulysses.
Beena E S
 
How to Manage Access Rights & User Types in Odoo 18
Celine George
 
Gall bladder, Small intestine and Large intestine.pptx
rekhapositivity
 
community health nursing question paper 2.pdf
Prince kumar
 
ARAL_Orientation_Day-2-Sessions_ARAL-Readung ARAL-Mathematics ARAL-Sciencev2.pdf
JoelVilloso1
 

Controller Area Network for Monitoring and Controlling the Industrial Parameters Using Bluetooth Communication

  • 1. International Journal of Science and Research (IJSR), India Online ISSN: 2319-7064 Volume 2 Issue 8, August 2013 www.ijsr.net Controller Area Network for Monitoring and Controlling the Industrial Parameters Using Bluetooth Communication B. Praveen Kumar1 , B. Bhavani2 1 Osmania University, M.VS.R Engineering College, Nadergul Road, Hyderabad, India 2 Osmania University, M.VS.R Engineering College, Nadergul Road, Hyderabad, India Abstract: Various parameters in the industries can be monitored and controlled using CAN bus network integrated with Bluetooth Communication. Monitoring and controlling the industrial parameters involve a large amount of man power and time consumption. To overcome the need of huge man power and time consumption this technology was developed which makes use of single person for monitoring and controlling the entire network. This method has been implemented in order to reduce the usage of wires used for communication purpose and also to reduce the errors relating to the data transfer. In this project sensors are used to sense the variable industrial parameters and the CAN protocols are used for error free data transmission and data reception purpose along with Bluetooth, pic microcontrollers are used for programming the CAN controller. The data transmission rate will be higher than other wireless systems. This application is user friendly and it can be achieved at a very low cost. Keywords: CAN (Controller Area Network), PIC16F877A, Bluetooth. 1.Introduction Consider an industry of large area where the monitoring and controlling of each section involves a big task. In previous days for every individual task a person is employed, as in an industry we have many tasks so to monitor and control them the industry has to invest huge amount for man power and apart from the above case human errors can lead to a huge lose to the industry. It involves a large amount of man power and time consumption. To overcome these above factors we developed this technology which makes use of single person for monitoring and controlling the entire network. This can be achieved with the combination of both wired and wireless technologies CAN bus network with the Bluetooth technology. CAN bus have been widely used in sensors, data acquisition, industrial control systems, and instrument device with high reliability, reality, and flexibility. How to integrate the CAN bus wired technology with the Bluetooth wireless technology is a hot research task now. This paper gives a kind of design of CAN bus for monitoring and controlling the various parameters, which includes CAN bus intelligent nodes, sensors network, Bluetooth and the whole network architecture. This technology is a cost effective one and it can be used in various applications like industries, medical field, automobiles, and home. 2.Experimental Setup In our experimental setup, various sensors are connected to the PIC16F877A which acts as a slave node. These sensors sense the various industrial parameters like temperature, fire, light and gas. 2.1 Transmitting Section In the transmitting section, there are various sensors connected to the PIC microcontroller which acts as a slave node as shown in the below figure1. These sensors sense the various parameters like temperature, fire, light, gas. Those variable parameters which are sensed by the slave nodes are sent to the master controller through can bus and can controller using the can protocol. The master controller pic is programmed in such a way that the parameters are sensed periodically and transmitted. The CAN protocol are effectively used for achieving higher data rate. The loads can also be operated by the master controller. If the value of any sensor is above the cutoff point then the master controller controls that sensor to come below the cutoff point. The master controller receives the data from the slaves and processes that data to the PC through Bluetooth. In the receiving section constituting of a Bluetooth module as shown in the figure2 which is used for collecting the data which is sent by the master controller. The various nodes on the transmitting section can be monitored on the receiver side by   272
  • 2. International Journal of Science and Research (IJSR), India Online ISSN: 2319-7064 Volume 2 Issue 8, August 2013 www.ijsr.net   Figure 1: Block Diagram of Transmitter Section 2.2 Receiving Section Figure 2: Block Diagram of Receiving Section If anything is going abnormal, the user can control the devices at the other end. These values get updated in the personal computer for later verification. 3.Protocol and Hardware 3.1 CAN-controller area network CAN is one of the field bus control system type used in networking. It is a message based protocol device. The communication can be achieved between various devices using CAN protocol. The CAN bus can be used to connect the control unit, transmitting and receiving unit. In this paper CAN bus is used in automation environment, which is primarily due to low cost. The multi-master node CAN is able to send and receive messages but not simultaneously. The message consists primarily of an id which represents the priority of the message. The data’s are transmitted serially on to the bus. This signal pattern is encoded in NRZ form and sensed by the nodes. Whenever the bus is free the most dominating message will be executed first and the lower priority will sense these and will back-off. Bit rate is up to 1MB/S are possible at network length below 40m and decreases with increase in network distance. Since the CAN shifts the voltage level the differential signal CANH and CANL are used. Carrier senses multiple access protocol with collision detection and arbitration on message priority are two types of protocols used in CAN. Error control mechanism such as CRC is used to ensure sensor data integrity. Both the remote frames and the overload frames are used for flow control mechanism. Figure 3: CAN bus length versus bit rate The communication speed and bus length need to be set according to the system by the user. The CAN bus normally consists of two wires (CAN_High and CAN_Low), and the CAN controller is connected to those two wires via a transceiver. The bus level is determined by a potential difference between the CAN_High and CAN_Low wires. There are two bus levels, dominant and recessive, and the bus assumes either level at any given point of time. For logically wire-AND’d buses, the dominant and the recessive levels are recognized as a logic 0 and logic 1, respectively. A transmit unit can send a message to receive units by changing these bus levels. CAN nodes have the ability to determine fault conditions and transition to different modes based on the severity of problems. 3.2 PIC- Programmable Intelligent Computer PIC is Harvard architecture. Data bus and address bus are separate in Harvard architecture. Thus a greater flow of data is possible through the central processing unit, and of course, a greater speed of work. Separating a program from data memory makes it further possible for instructions not to have to be 8-bit words. It is also typical for Harvard architecture to have fewer instructions than von-Neumann’s, and to have instructions usually executed in one cycle. Microcontrollers with Harvard architecture are also called “RISC microcontrollers”. PIC16F873A/876A devices are available only in 28-pin packages, while PIC16F874A/877A devices are available in 40-pin and 44-pin packages. The PIC16F873A/74A have one-half of the total on-chip memory of the Personal Computer Power Supply Bluetooth 273
  • 3. International Journal of Science and Research (IJSR), India Online ISSN: 2319-7064 Volume 2 Issue 8, August 2013 www.ijsr.net PIC16F876A/77A. The 28-pin devices have three I/O ports, while the 40/44-pin devices have five. The 28-pin devices have fourteen interrupts, while the 40/44-pin devices have fifteen. The 28-pin devices have five A/D input channels, while the 40/44-pin devices have eight. The Parallel Slave Port is implemented only on the 40/44-pin devices. The PIC16F87XA devices have a 13-bit program counter capable of addressing an 8K word x 14 bit program memory space. The PIC16F876A/877A devices have 8K words x 14 bits of Flash program memory, while PIC16F873A/874A devices have 4K words x 14 bits. Accessing a location above the physically implemented address will cause wraparound. The Reset vector is at 0000h and the interrupt vector is at 0004h. 4.Results Below is the figure4 showing the values of different nodes on the lcd at the master node.node-2 gives the information of ldr and fire sensors node-3 gives the information regarding temperature and gas sensors. Figure 4: sensor values on lcd The control information which is present at the CAN master controller is sent to the personal computer using the Bluetooth. Below is the figure5 showing the outcome of Bluetooth on the hyperterminal. This can be stored in the personal computer and can be used later for verification. Figure 5: Displaying control information on hyperterminal. 5.Conclusion In this method the integration of wired and wireless technology is achieved by using CAN and Bluetooth. In previous days manual monitoring and controlling was used. The wireless technology applied also has higher data rates. In this paper the above disadvantage has been overcome using Controller Area Network which makes us useful in the designing of number of CAN nodes. This paper gives the method of accurate and reliable transmission of data without data loss. The data from the slave nodes are transmitted to master PIC microcontroller. The transmitting section will send the data and receiver can check the data in the personal computer. The efficiency of this system is much higher than any other systems in use. This tends to be an accurate one since the intelligent device uses both encoding and decoding method for communication. References [1] Xiaohong Ren, Tianwen Wang, Chenghau Fu, Shuxiang Jia “CAN Bus Network Design Based on Bluetooth Technology” in Proceedings of ICECE- International Conference on Electrical and Control Engineering, pp 560-564, 2010. [2] Kumar.M, A. Verma, A. Srividya, “Response Time Modeling of Controller Area Network Distributed Computing and Networking”, pp 163-174, 2009. [3] Rick Stoneking, Anadigics, “A Simple Controller Area Network Node using The MCP2515 and PIC16F877A”, Microchip Inc, pp 658-662. 2007. [4] Zdenek Braqdac, Pertr Cach, Radimir Vrba, “Wireless Communication in Automation Electronics Circuits and System”, pp 659-662, 2003. [5] Tindell, K.A Burns, A.J Wellings “Calculating Controller area Network Message Response Times”, pp 1163-1169, 1995. Author Profile B. Praveen Kumar pursuing the M.E degree in Embedded Systems and Vlsi Design from M.V.S.R Engineering College. He received the B. Tech degree in Electronics and Communication Engineering from Padmasri Dr. B. V. Raju Institute of Technology in 2011. B. Bhavani received B.E (ECE), M. Tech (Embedded Systems) from Andhra University, JNTU-H, Andhra Pradesh, India in 2003 and 2008 respectively. Presently working as Assistant Professor in the Dept of ECE, MVSR Engineering College, Osmania University, Andhra Pradesh, India 274