The Bluetooth Modem is the most recent Bluetooth remote sequential link! This rendition of the prevalent Bluetooth utilizes the HC-05/HC-06 module. These modems function as a sequential (RX/TX) pipe. Any sequential stream from 9600 to 115200bps can be passed consistently from your PC to your objective.
The remote unit can be controlled from 3.3V up to 6V for simple battery connection. Every single flag stick on the remote unit are 3V-6V tolerant. No level moving is required. â, Do notâ append this gadget specifically to a sequential port. You will needâ an RS232 to TTL converter circuit/USB to TTL converter module orâ Arduino XBee USB Adapterâ on the off chance that you have to connect this to a PC. You can either patch aâ 6-stick headerâ or singular wires.
What's more, now, we give HC-05/06, HC-05 could be set to Master or Slave by a client. HC-06 simply be Master or Slave, that could be redone. This module default is HC-06 with Slave mode.
Note: Be matched must Master gadgets and Slave gadgets each other. Master and Master gadgets, Slave and Slave gadgets cannot combine one another. The HC-06(just supply slave mode and all the more simple) Slave mode could match with PDA, PC and so on.
Chipset CSR BC417143 (BlueCore4External)
Bluetooth form V2.0+EDR
Class 2 module with PCB reception apparatus
Interface I2C UART PCM USB
Support for 802.11 concurrence
Support for up to seven slaves
Ace/Slave/Loopback working jobs
XBee good attachment
Upheld baud rate: 9600,19200,38400,57600,115200,230400,460800.
Utilize CTS and RTS to control the information stream.
Auto-reconnect in 30 min when detached because of past the scope of association.
Auto-associate the keep going gadget on power as default.
Allow coordinated gadget interface naturally.
Default Baud rate:â 38400, Data bits:8, Stop bit:1, Parity: No equality, Data control: has.
Bluetooth Car Handsfree Device
Bluetooth PCMCIA, USB Dongle
Bluetooth Data Transfer
Bluetooth Modem Introductionâ
The Bluetooth Modem is the most recent Bluetooth remote sequential link! This form of the well known Bluetooth utilizes the HC-05/HC-06 module. These modems fill in as a sequential (RX/TX) pipe. Any sequential stream from 9600 to 115200bps can be passed consistently from your PC to your target.â Â The Power Supply Voltage is 3.3V-5V and the IO Voltage is 3.3V/TTL
The remote unit can be fueled from 3.3V up to 6V for simple battery connection. Every single flag stick on the remote unit are 3V-6V tolerant. No level moving is required. Try not to append this gadget straightforwardly to a sequential port. You will require a RS232 to TTL converter circuit on the off chance that you have to join this to a PC. You can either weld a 6-stick header or individual wires.
Equipment and Software Preparation Â
Section 1 Communication Between Bluetooth Modem and Bee Adapter Â
1. Set the Bee Adapter Switch in H Port to enter AT Mode
2. Set to IO Voltage 3V3
3. Amass the Bee Adapter and Bluetooth Modem with Jumper Wire, and afterward interface with PC (ensure Bluetooth Modem LED squint gradually in AT Mode)
KEY associated with KEY
VCC associated with VCC
GND associate with GND
TX associate with RX
RX associate with TX
4. Open Serial Tool sscom32 and set the baud rate as 38400. Type AT, and it would react OK. With Bee Adapter, you can accomplish AT Command control not need of programming code.
Â Part 2 Communication Between Bluetooth Modem and Arduino
Set to IO Voltage 3V3, and ensure Bluetooth Modem LED squint gradually in AT Mode.
Associate Bluetooth and UNO with the jumper wire as underneath, and after that connect to PC
Bluetooth KEY connects to UNO V(VCC), in order to enter AT Mode.
Bluetooth VCC to UNO V( VCC)
Bluetooth GND to UNO G(GND)
Bluetooth TX to UNO D2
Bluetooth RX to UNO D3
Stage 1. Accomplish Manually AT Command Control Â
1. Open the Arduino IDE 1.0.X, and duplicate the code from Elecfreaks wiki to it.
2. Import library of SoftwareSerial, in light of the fact that the library of NewSoftSerial is only reasonable of release before ArduinoIDE 1.0, for example, IDE0022, IDE0023.
3. Erase the library of NewSoftSerial and alter the NewSoftSerial into SoftwareSerial.
4. Download TimerOne from
5.Compiling portrayal until the point when Done arranging shows up
6.Upload code until the point that Done transferring shows up
7. Open sscom32 and set BaudRate as 38400
8. Manually contribution AT and it would react OK
9. Info AT+ROLE? What's more, it would react +ROLE=0, in this manner, We default the Bluetooth Modem as SLAVE Mode
10. Input AT+ROLE=1, we can set it as Master Mode
11. Input AT+ROLE=0, we can set it back as SLAVE Mode
Stepâ 2.â Achieveâ Automaticallyâ ATÂ Commandâ Controlâ Â
1.â Modifyâ theâ codeâ (Removeâ/Â beforeâ Timer1)andâ thenâ uploadâ itâ againâ inâ Â Arduinoâ IDEÂ 1.0.X
2. The Serial Monitor canâ automaticallyâ respondâ OKÂ forâ ATÂ Command
Section 3. Correspondence Between Android and Arduino with Bluetooth
Evacuate the KEY PIN jumper wire to enter Communication Mode. In Communication Mode, ensure the Bluetooth Modem LED squint rapidly. On the off chance that fundamental, re-plug the USB Cable.
Adjust the code (include/before Timer1, particularly supplant the BaudRate from 38400 to 9600 ), and after that transfer the code once more.
Stage 1. Android Installationâ
1. Download APP for EF _BluetoothBeeV1.1 from
2. Introduce the APK record to your Android telephone.
Stage 2. Android Communicationâ
Tap the symbol of ElecFreaks BluetoothBee as above and after that open Bluetooth.
Snap As Client and begin checking
When it checked out HC-05, click HC-05.
Type the Bluetooth blending PIN 1234.
Information hello,elecfreaks in versatile, and the Serial Tool sscom32 would show hello,elecfreaks from portable. (For sscom32, make sure to set the BaudRate as 9600.)
Info hi from PC, versatile would likewise react hi.
On the off chance that you utilize Arduino Mega1280/2560 or Freaduino ADK there is some distinction. If you don't mind take note of the NewSoftSerial library about Mega2560 clarification in SoftwareSerial.cpp :
/Specifically for the Arduino Mega 2560 (or 1280 on the first Arduino Mega)
/larger part of the pins are NOT PCINTs, SO BE WARNED (i.e. you can't utilize them as getting pins)
/Only sticks accessible for RECEIVE (TRANSMIT can be on any stick):
/(I"ve purposely forgotten stick mapping to the Hardware USARTs - appears to be silly to me)
/Pins: 10, 11, 12, 13, Â 50, 51, 52, 53, Â 62, 63, 64, 65, 66, 67, 68, 69
That implies the library don't bolster D0-D7 as accepting pins, and you just could utilize pins:10, 11, 12, 13, 50, 51, 52, 53, 62, 63, 64, 65, 66, 67, 68, 69 for getting. So there is two approaches to determine it, yet they all need outer jumper wires.
First strategy: Change the characterize of rxPin and txPin. Jumper wires associate with DOUT-D10, DIN-D11.
#define rxPin 10
#define txPin 11
Second strategy: Use the other Hardware Serial port in light of the fact that Mega has 4 equipment sequential ports. Jumper wires interface with DOUT-RX1(D19) DIN-TX1(D18)