IO Voltage : 3.3V/TTL

Similar documents
Using Xbee in Serial Communication

Bluetooth + USB 16 Servo Controller [RKI-1005 & RKI-1205]

Massachusetts Institute of Technology Department of Electrical Engineering and Computer Science Microprocessor Project Laboratory

PN532 NFC RFID Module User Guide

Bluetooth HC-06 with serial port module Easy guide

Testing Data Radio Modem with Serial Port Tool V1.20

TOSR0X-D. USB/Wireless Timer Relay Module. User Manual. Tinysine 2013 Version 1.0

USB to RS-422/485 Serial Adapter

How to setup a serial Bluetooth adapter Master Guide

RN-XV-RD2 Evaluation Board

Bluetooth Serial Adapter

Wireless Communication With Arduino

RS232C < - > RS485 CONVERTER S MANUAL. Model: LD15U. Phone: / 97 / 98 (M)

RN-WIFLY-EVAL-UM. WiFly Evaluation Kit Roving Networks. All rights reserved. RN-WIFLY-EVAL-UM Version 1.32r 10/9/2012 USER MANUAL

Bluetooth to Serial Adapter

User s Manual of Board Microcontroller ET-MEGA2560-ADK ET-MEGA2560-ADK

GSM Interfacing Board

BIT COMMANDER. Serial RS232 / RS485 to Ethernet Converter

Work with Arduino Hardware

ALL-USB-RS422/485. User Manual. USB to Serial Converter RS422/485. ALLNET GmbH Computersysteme Alle Rechte vorbehalten

XBee USB Adapter Board (#32400)

Using IDENT M System T with Modbus/TCP

Bluetooth UART/RS232 Module

RS232 Board datasheet

Example Connection between USB Host and Android

Advanced Data Capture and Control Systems

BT LE RFID Reader v1.0

XPort Universal Demo Board User Guide

2.4G Bluetooth Datalink & ipad Ground Station User Guide V1.02

Board also Supports MicroBridge

AXON Mobile for Android Devices User Manual

A RF18 Remote control receiver MODULE

EDK 350 (868 MHz) EDK 350U (902 MHz) EnOcean Developer Kit

Serial Communications

Six-servo Robot Arm. DAGU Hi-Tech Electronic Co., LTD Six-servo Robot Arm

Development of GSM and GPS based Cost Effective Telematics Module

Manual Serial PCI Cards

Downloading Electro Scan Smartphone App From Google Play* * Previously known as The Android Market

CAN-Bus Shield Hookup Guide

DK40 Datasheet & Hardware manual Version 2

PHYS 2P32 Project: MIDI for Arduino/ 8 Note Keyboard

Hardware Reference. Linux Device Server IGW/922 with DIL/NetPC ADNP/9200

MCB3101 (Class I) WiRobot Serial Bluetooth Wireless Module User Manual

Summer Project Report. Fingerprint Based Attendance System

Smarthome SELECT Bluetooth Wireless Stereo Audio Receiver and Amplifier INTRODUCTION

USR-TCP232-T Hard Version: V2.0 Doc Version: V

Yun Shield User Manual VERSION: 1.0. Yun Shield User Manual 1 / 22.

EZ-View Network Communications Guide

Pololu DRV8835 Dual Motor Driver Shield for Arduino

Arduino ADK Back. For information on using the board with the Android OS, see Google's ADK documentation.

xpico Wi-Fi Embedded Device Server Evaluation Kit Quick Start Guide

Health Monitoring Demo for ice40 Ultra Wearable Development Platform User Guide. UG103 Version 1.0, September 2015

Using the T&D Thermo App with TR-7wf Data Loggers

How to setup the UCW232C Serial WiFi adapter

Intro to Intel Galileo - IoT Apps GERARDO CARMONA

Using the Parani SD1000U/SD1000 with Carlson SurvCE

Teleservice via RS232 interface XC100/XC200

RJ45 Shielded (standard) port pinout. CS9000, Jetstream , Lanstream 2000, RTA8/RJX, RRC16, MTA8/RJX & SXDC8/RJX

Arduino Due Back. Warning: Unlike other Arduino boards, the Arduino Due board runs at 3.3V. The maximum. Overview

INTELLIGENT CONTROL MODULE SA-2000-II HARDWARE MANUAL. Access Technologies International, Inc.

Config software for D2 systems USER S MANUAL

Guide for Remote Control PDA

Cable Pinouts. SRP I/O Module

PICAXE RF CONNECT KIT (AXE213)

Programming and Using the Courier V.Everything Modem for Remote Operation of DDF6000

OPT SERIAL TO FIBER OPTIC CONVERTER

INDEX. Trademarks All name and product s trademarks mentioned below are the property of their respective companies.

xpico Wi-Fi Embedded Device Server Evaluation Board Quick Start Guide

ARDUINO SEVERINO SERIAL SINGLE SIDED VERSION 3 S3v3 (REVISION 2) USER MANUAL

PolyBot Board. User's Guide V1.11 9/20/08

F2103 GPRS DTU USER MANUAL

RS-232 COMMUNICATIONS

2.4G Bluetooth Datalink & ipad Ground Station User Guide V1.12

PART I: WELCOME TO THE WONDERFUL WORLD OF ACCESSORIES CHAPTER 1: INTRODUCTION TO ANDROID OPEN ACCESSORY 3

The Answer to the 14 Most Frequently Asked Modbus Questions

M72. Quectel Cellular Engine. EVB User Guide M72_EVB_UGD_V1.0

How to connect your D200 using Bluetooth. How to connect your D200 using GPRS (SIM Card)

L10. Quectel GPS Engine. EVB User Guide L10_EVB_UGD_V1.00

Using Multiple Routers with TECLOG3 and TEC WiFi Links (1 Linksys EA6900 and 3 TP-Link TL-MR3040)

The Secrets of RS-485 Half-duplex Communication

LDG DTS-4/4R Desktop Coaxial Switch / Remote

Bluetooth Pairing with CUE - Android TM

Serial to Bluetooth Adapter

Arduino Wifi shield And reciever. 5V adapter. Connecting wifi module on shield: Make sure the wifi unit is connected the following way on the shield:

Application Note. Terminal Server G6

MeshBee Open Source ZigBee RF Module CookBook

IRON-HID: Create your own bad USB. Seunghun Han

Bluetooth to serial HC-06 wireless module

By: John W. Raffensperger, Jr. Revision: 0.1 Date: March 14, 2008

L16. Quectel GNSS Engine. EVB User Guide L16_EVB_UGD_V1.0

Manual Instruction for. AU06-DL13W/RGB/30K MiLight Wifi LED Controller

TO RJ45&WIFI CONVERT SERVER

DROFLY PRO V3 User Guide

DSX Master Communications

IR Communication a learn.sparkfun.com tutorial

Tecla for Android. Downloading and Installing the Tecla Access App. Activating and Selecting the Tecla Access Keyboard

Quick Start. Nighthawk X8 AC5300 Tri-Band WiFi Router Model R8500. Package Contents. NETGEAR, Inc. 350 East Plumeria Drive San Jose, CA USA

Cable Specifications and Information

Supplemental User Guide

Adafruit's Raspberry Pi Lesson 5. Using a Console Cable. Created by Simon Monk

Transcription:

Bluetooth Modem User Guide Bluetooth Modem Introduction The Bluetooth Modem is the latest Bluetooth wireless serial cable! This version of the popular Bluetooth uses the HC-05/HC-06 module. These modems work as a serial (RX/TX) pipe. Any serial stream from 9600 to 115200bps can be passed seamlessly from your computer to your target. The remote unit can be powered from 3.3V up to 6V for easy battery attachment. All signal pins on the remote unit are 3V-6V tolerant. No level shifting is required. Do not attach this device directly to a serial port. You will need an RS232 to TTL converter circuit if you need to attach this to a computer. You can either solder a 6-pin header or individual wires. Power Supply Voltage : 3.3V-5V IO Voltage : 3.3V/TTL

Hardware and Software Preparation Part 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. Assemble the Bee Adapter and Bluetooth Modem with Jumper Wire, and then connect to PC (make sure Bluetooth Modem LED blink slowly in AT Mode) KEY connect to KEY VCC connect to VCC GND connect to GND TX connect to RX RX connect to TX 4. Open Serial Tool sscom32 and set the BaudRate as 38400. Type AT, and it would respond OK. With Bee Adapter, you can achieve AT Command control not need of programming code.

Part 2 Communication Between Bluetooth Modem and Arduino Set to IO Voltage 3V3, and make sure Bluetooth Modem LED blink slowly in AT Mode. Connect Bluetooth and UNO with jumper wire as below, and then link to PC Bluetooth KEY link to UNO V(VCC), so as 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

Step 1. Achieve Manually AT Command Control 1.Open the Arduino IDE 1.0.X, and copy the code from Elecfreaks wiki to it. 2.Import library of SoftwareSerial, because library of NewSoftSerial is just suitable of edition before ArduinoIDE 1.0, such as IDE0022, IDE0023. 3.Delete the library of NewSoftSerial and modify the NewSoftSerial into SoftwareSerial. 4.Download TimerOne from http://code.google.com/p/arduino-timerone/downloads/list 5.Compiling sketch until Done compiling appears 6.Upload code until Done uploading appears 7.Open sscom32 and set BaudRate as 38400 8.Manually input AT and it would respond OK 9. Input AT+ROLE? And it would respond +ROLE=0, therefore, 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. It can automatically respond OK for AT Command

Part 3. Communication Between Android and Arduino with Bluetooth Remove the KEY PIN jumper wire to enter Communication Mode. In Communication Mode, make sure the Bluetooth Modem LED blink quickly. If necessary, re-plug the USB Cable. Modify the code (add // before Timer1, especially replace the BaudRate from 38400 to 9600 ), and then upload the code again.

Step 1. Android Installation 1.Download APP for EF _BluetoothBeeV1.1 from http://elecfreaks.com/store/download/datasheet/bluetooth/ef_bluetoothbeev1.1.zip 2.Install the APK file to your Android phone. Step 2. Android Communication 1. Click the icon of ElecFreaks BluetoothBee as above and then open Bluetooth. 2. Click As Client and start scanning 3. When it scan out HC-05, click HC-05. 4. Type the Bluetooth pairing PIN 1234. 5. Input hello,elecfreaks in mobile, and the PC would display hello,elecfreaks from mobile. (For sscom32, remember to set the BaudRate as 9600.) 6. Input hello from PC, mobile would also respond hello.

Q&A If you use Arduino Mega1280/2560 or Freaduino ADK there are some difference. Please note the NewSoftSerial library about Mega2560 explanation in SoftwareSerial.cpp : // Specifically for the Arduino Mega 2560 (or 1280 on the original Arduino Mega) // majority of the pins are NOT PCINTs, SO BE WARNED (i.e. you cannot use them as receive pins) // Only pins available for RECEIVE (TRANSMIT can be on any pin): // (I've deliberately left out pin mapping to the Hardware USARTs - seems senseless to me) // Pins: 10, 11, 12, 13, 50, 51, 52, 53, 62, 63, 64, 65, 66, 67, 68, 69 That means the library do not support D0-D7 as receiving pins, and you just could use pins:10, 11, 12, 13, 50, 51, 52, 53, 62, 63, 64, 65, 66, 67, 68, 69 for receiving. So there are two way to resolve it, but they all need external jumper wires. First method: Change the define of rxpin and txpin. Jumper wires connect to DOUT-D10, DIN-D11. #define rxpin 10 #define txpin 11 Second method: Use the other Hardware Serial port because Mega has 4 hardware serial ports. Jumper wires connect to DOUT-RX1(D19) DIN-TX1(D18)