Table of Contents
Prev
Start: of Posts Show
Next

Mobile Application Using Android Bluetooth And PLC

Mobile application for this topic using bluetooth hardware in android smartphone, and for android programming, I use Android SDK.
And in PLC, I use Bluetooth to RS232 converter, RS232 PPI cable and Siemens Step 7 PLC.
See the end result of the application on this topic:


Equipment required for this application:
Hardware:
1. Android Smartphone with Bluetooth Profile: SPP(Serial Port Profile).
Example: Android Specification with SPP/ Serial Port Profile

Bluetooth Profile SPP

Bluetooth Serial Port Profile

Example: I use Samsung Galaxy Star Duos S5282

samsung galaxy star duos s5282

2. Bluetooth to RS232 converter, I use HC-06 with DB9 RS232.

HC-06 Bluetooth to DB9 RS232 converter

3. Power supply for mobile phone charger or other with output DC 5V.
Example: I use mobile phone charger

Power supply for mobile phone charger

4. Linear Voltage Reducing, Input DC 4.5~12V, Output DC 3.3V.


Linear Voltage Reducing Output DC 3.3V

5. RS232/PPI Multi Master Cable


RS232/PPI Multi Master Cable

6. Siemens Step 7 S7-200

Android Apps:
1. Download APK, click here

Hardware Setting:
1. RS232 Communication Setting
1.1. Wiring of HC-06 Bluetooth Setting:


Wiring for HC-06 Bluetooth Setting

1.2. Baud Rate Setting of HC-06 Bluetooth:
For PLC Communication using Baud rate: 9600,Even,8,1
Setting of RS232 Communication using AT command of HC-06 Bluetooth.
Default parameter of HC-06: Baud rate: 9600,None,8,1 and Password:1234

Set dafault parameter from 9600,None,8,1 to 9600,Even,8,1
Baud rate:9600 OK
Parity: None Not OK, set to Even
Data bit: 8 bit OK
Stop bit: 1 bit OK

How to set Even Parity?
Using AT command of HC-06:
Send: AT+PE
Back: OK EVEN

Download AT command, click here
Download Visual Basic NET (Project File) for AT command Setting, click here
Video about AT command of HC-06 and Visual Basic NET:


Android Bluetooth And PLC
1. Wiring of HC-06 Bluetooth to PLC:


Wiring of Bluetooth to RS232 converter HC 06 to PLC

2. HC-06 and Phone Bluetooth Pairing


HC-06 and Phone Bluetooth Pairing

3. Android Apps for force ON/OFF of PLC Output Light:
3.1. Install APK and RUN.
Install APK and RUN

3.2. Select or Input MAC Bluetooth of HC-06
Select or Input MAC Bluetooth of HC-06

3.3. Click Connect
Click Connect

3.4. Select Lamp Number : 0 to 15
Select Lamp Number : 0 to 15

3.5. Click ON or OFF
Click ON or OFF


Hopefully this article can add your insights.
Please follow me:

ShareTo
Share on Facebook Tweet this Share to Google Plus Stumble this article
CLOSE

Enter Your Email Address




All Labels

  1. ABB PLC
  2. Allen Bradley PLC
  3. Analog Input
  4. Android
  5. Android and PLC
  6. Android Bluetooth
  7. Automatic Gates using PLC
  8. Baldor PLC
  9. Battery Level Indicator using PLC Analog
  10. BMS
  11. Building Management System
  12. Car Ticketing Machine using PLC
  13. CIMON PLC
  14. Click Series PLC
  15. Computer Vision
  16. Computer Vision and PLC
  17. Control Seven Segment Display with PLC
  18. Conveyor Control Using PLC
  19. CPU PLC
  20. CV and PLC
  21. CX-One
  22. DCS
  23. DDC
  24. DELMIA V5
  25. DeltaV
  26. Digital Input
  27. DirectLogic PLC
  28. DirectSOFT PLC
  29. Eaton PLC
  30. Elevator with PLC Program
  31. EPICS PLC
  32. Fatek PLC
  33. Festo PLC
  34. Fieldbus
  35. Forex Trading and PLC
  36. FPGA PLC
  37. GE Fanuc PLC
  38. GP proface
  39. GX Developer
  40. Heater Controller with PLC
  41. Hitachi PLC
  42. HMI
  43. Honeywell PLC
  44. IDEC PLC
  45. Keyence PLC
  46. Koyo PLC
  47. LG PLC
  48. Lock Unlock Door Using PLC
  49. Logixpro PLC
  50. Maple OIT
  51. Matsushita PLC
  52. MELSEC A
  53. MELSEC Q
  54. Memory PLC
  55. Micro PLC
  56. MicroSmart PLC
  57. Mitsubishi PLC
  58. Mobile Application
  59. Modbus
  60. Modicon PLC
  61. Momentum PLC
  62. Motion Control
  63. National Instruments PLC
  64. Omron PLC
  65. OPC
  66. PAC
  67. Panasonic PLC
  68. Parking Information using PLC
  69. Password Using PLC
  70. PLC
  71. PLC and CNC
  72. PLC and Computer
  73. PLC and Facebook
  74. PLC and PC
  75. PLC and Servo
  76. PLC Battery
  77. PLC Beginner Guide
  78. PLC Book
  79. PLC Cable
  80. PLC Codesys
  81. PLC Companies List
  82. PLC Computers
  83. PLC Design
  84. PLC for 3 Movement
  85. PLC for Assembly Line
  86. PLC for Automatic Welding
  87. PLC for Binding Machine
  88. PLC for Cutting Machine
  89. PLC for Filling Machine
  90. PLC for Fountain Application
  91. PLC for Injection Molding
  92. PLC for Marking
  93. PLC for Packing
  94. PLC for Rotary Bottle Washing
  95. PLC for Snack Vending Machine
  96. PLC for Sorter Machine
  97. PLC for Water Treatment
  98. PLC Hardware
  99. PLC Hybrid
  100. PLC Information
  101. PLC Knowledge
  102. PLC Language
  103. PLC Link Model
  104. PLC Mitsubishi Download
  105. PLC Model
  106. PLC Modules
  107. PLC Simulator
  108. PLC Software
  109. PLC Supplier
  110. PLC Types
  111. PLC Wiring
  112. PLC WorkShop
  113. PLC-ANALYZER
  114. PLCSIM
  115. Power Supply for PLC
  116. Profibus
  117. ProSafe PLC
  118. Push ON Push OFF with PLC
  119. Quickpanel Operator Interfaces
  120. RTU
  121. RTU and PLC
  122. SAS
  123. SCADA
  124. Schneider PLC
  125. SHARP PLC
  126. Siemens PLC
  127. SINUMERIK CNC
  128. Small Modular PLC
  129. Standard Sequence Programming for PLC
  130. Substation Automation System
  131. Teco PLC
  132. Telemetry
  133. TEP PLC
  134. Texas Instruments PLC
  135. Timer Countdown with PLC
  136. Toshiba PLC
  137. Touch Screen PLC
  138. Traffic Light with PLC
  139. TWIDO PLC
  140. Types of PLC
  141. Unitary PLC
  142. Unitronics PLC
  143. VIPA PLC
  144. Vision PLC
  145. Weighing Machine Using PLC
  146. Yokogawa PLC
  147. Zelio PLC

Search This Blog

Loading...
Copyright © 2009- All Rights Reserved