Journal of Network Communications and Emerging Technologies (JNCET) www.jncet.org
Volume 6, Issue 4, April (2016)
ISSN: 2395-5317 ©EverScience Publications 16
This is not about the alternative procedure, known as
“software serial” so, if in the unlikely event that you really
do have a need to use software serial for Bluetooth, read no
further.
The only other connections required are the standard 5v and
ground. I believe all HC-05s come with six pins. You don’t
need the other two for this exercise. And yes, the HC-0x
modules are 3.3v devices but note that the JY-MCU package
level shifters on board for the power supply and is clearly
labelled for 3.6 to 6v operation.
Note particularly that, while Bluetooth modules come in two
types, master and slave, these characteristics are entirely
irrelevant to this exercise, and the words will not be
mentioned again until the appendix at the end – a section
that you don’t need to read.
D. Notes on what the bluetooth module is about:
The bluetooth is a separate device between Arduino and
Android. To the Arduino, it is just another serial device,
indeed it is indistinguishable from the serial monitor and is
used in the same way. To the Android, it is just another
Bluetooth device to be paired with, and the fact that there is
an Arduino connected to it is immaterial. What this
particularly means is:
1)Arduino is not involved with the pairing. It is just providing
the power and, if there was another source of power, it
needn’t be connected.
2)Consequently, a successful pairing is just between
Bluetooth and Android, and does not guarantee successful
communication with the Arduino.
3)Similarly, the serial communication between Bluetooth and
Arduino does not guarantee successful communication with
Android. Note that there is no way of checking
communication from Arduino to Bluetooth other than getting
the signal all the way to Android.
4)All the procedure for pairing and establishing connection is
done at the Android end.
3.1.2. USING ESP8266:
Description: The ESP8266 WiFi Module is a self contained
SOC with integrated TCP/IP protocol stack that can give any
microcontroller access to your WiFi network. The ESP8266 is
capable of either hosting an application or offloading all Wi-
Fi networking functions from another application processor.
Each ESP8266 module comes pre-programmed with an AT
command set firmware, meaning, you can simply hook this up
to your Arduino device and get about as much WiFi-ability as
a WiFi Shield offers The ESP8266 module is an extremely
cost effective board with a huge, and ever growing,
community.This module has a powerful enough on-board
processing and storage capability that allows it to be
integrated with the sensors and other application specific
devices through its GPIOs with minimal development up-
front and minimal loading during runtime. Its high degree of
on-chip integration allows for minimal external circuitry,
including the front-end module, is designed to occupy
minimal PCB area. The ESP8266 supports APSD for VoIP
applications and Bluetooth co-existance interfaces, it contains
a self-calibrated RF allowing it to work under all operating
conditions, and requires no external RF parts.There is an
almost limitless fountain of information available for the
ESP8266, all of which has been provided by amazing
community support. In the Documents section below you will
find many resources to aid you in using the ESP8266.
ESP8266 Pin diagram:
4. SOFTWARE USED:
4.1..PROTEUS:
The functional approach and the extensive library of built-in
functions allow to write very short but powerful scripts; to
keep them comprehensible, medium-length keywords were
adopted.The user, besides writing new high-level functions in
Proteus, can add new functions in C/C++ by following the
guidelines and using the templates available in the software
development kit; the new functions can be invoked exactly
the same way as the predefined ones, passing expressions by
value or variables by reference.Proteus is an interpreted
language: programs are loaded into memory, pre-compiled
and run; since the number of built-in functions is large,
execution speed is usually very good and often comparable to
that of compiled programs.