By default the bluetooth module HC-05 sets baud rate at 38400, data bits 8, Stop bits 1

All schematics of this bluetooth module can be found at : http://pan.baidu.com/s/1o6BiNDS

I used a USB-> TTL usb module connecting to the bluetooth module.

Rx -> Tx on bluetooth module

Tx -> Rx on bluetooth module

Vcc -> 5v

GND -> GND

---

getting into AT command line

Hold the key on the bluetooth module when powering it on,

then connect to serial ports on Linux using CuteCom

IMPORTANT:

TRY : CR,LF line end 

OR there will be Error (0)

Set serial port baud rate

AT+UART=57600,1,0

baud rate, Stop bits, Even check,             ( The AT commands doc provided above in Chinese is wrong. This command is the correct. I verified ! )

Why 57600? Because the tele transport module of drone flight controller board APM 2.6 is going to need this baud rate.: http://ardupilot.org/copter/docs/common-3dr-radio-advanced-configuration-and-technical-information.html

This works with 3DR radio firmware version  1.7 - 1.9 by default.

Set the bluetooth module broadcasting name

AT+NAME='tele'

Check version

AT+VERSION?

Try the module: Phone <-> Bluetooth <-> PC

Use an app called "Bluetooth Terminal HC-05" to connect to the working bluetooth module.

Find the bluetooth module named tele and input password 1234

(By default password is 0000 or 1234)

Open app  "Bluetooth Terminal HC-05" select CR(Carriage Return), LF (Line Feed).

Connect the bluetooth module with the USB->TTL dongle to PC and power it on normally.

Use CuteCom connect to /dev/ttyUSB0 , Baud rate: 57600, Data bits 8, Stop bits 1.

Send something from phone to PC, then from PC to Phone. It works like a charm!

Will show how to set bluetooth module with 3DR radio 433Hz transmitter in next blog.

HC - 05 bluetooth module settings in Linux using CuteCom的更多相关文章

  1. Linux下cutecom使用USB转串口线

    http://www.cnblogs.com/pang123hui/archive/2011/05/29/2309888.html 在Linux下的串口调试一直使用minicom,虽说Linux的精髓 ...

  2. JS 模块化- 05 ES Module & 4 大规范总结

    1 ES Module 规范 ES Module 是目前使用较多的模块化规范,在 Vue.React 中大量使用,大家应该非常熟悉.TypeScript 中的模块化与 ES 类似. 1.1 导出模块 ...

  3. 2018/05/02 每日一学Linux 之 .bash_profile和.bashrc的区别

    最近一直在学习其他,导致博客就疏忽了,很不好(其实就是自己懒了......). -- 为什么要使用 .bash_profile和.bashrc ? 在平常的使用中,有些文件夹或者命令很长,在执行时需要 ...

  4. maven settings.xml linux

    <?xml version="1.0" encoding="UTF-8"?> <!-- Licensed to the Apache Soft ...

  5. NodeJS require a global module/package in linux

    https://stackoverflow.com/questions/15636367/nodejs-require-a-global-module-package 1  export NODE_P ...

  6. linux kernel module

    #include <linux/init.h>#include <linux/module.h>#include <linux/kernel.h> static i ...

  7. 05 Linux字符驱动---静态注册

    1. mycdev.c #include <linux/init.h> #include <linux/module.h> #include <linux/cdev.h& ...

  8. [i.MX6q]i.MX6q处理器,linux操作系统平台搭建 从SD卡启动系统

    转自:http://www.07net01.com/linux/2016/02/1232094.html 参照1:http://blog.csdn.net/girlkoo/article/detail ...

  9. PIC24FJ64GB002 with bluetooth USB dongle

    PIC24FJ64GB002 with bluetooth USB dongle I will explain my project (how to control a bluetooth USB d ...

随机推荐

  1. ASP.NET学习笔记2--自己写代码绑定Gridview

    像以前一样,先写好自己的样式布局, 第二步,在数据库建立一个商品表 代码如下: CREATE TABLE [SHANGPING_INFO] ( [Shangping_Id] INT PRIMARY K ...

  2. Equals 和==

    class Person     {         private string name;         public string Name         {             get ...

  3. C语言利用va_list、va_start、va_end、va_arg宏定义可变參数的函数

    在定义可变參数的函数之前,先来理解一下函数參数的传递原理: 1.函数參数是以栈这样的数据结构来存取的,在函数參数列表中,从右至左依次入栈. 2.參数的内存存放格式:參数的内存地址存放在内存的堆栈段中, ...

  4. C# 实现 Hyper-V 虚拟机 管理

    原文:C# 实现 Hyper-V 虚拟机 管理 Hyper-V WMI Provider 工具类如下: "; break; } return status; } } /// <summ ...

  5. (12) MVC5 EF6 Bootstrap3

    MVC5 + EF6 + Bootstrap3 (12) 新建数据 系列教程:MVC5 + EF6 + Bootstrap3 上一节:MVC5 + EF6 + Bootstrap3 (11) 排序.搜 ...

  6. [推荐]ORACLE PL/SQL编程详解之三:PL/SQL流程控制语句(不给规则,不成方圆)

    原文:[推荐]ORACLE PL/SQL编程详解之三:PL/SQL流程控制语句(不给规则,不成方圆) [推荐]ORACLE PL/SQL编程详解之三: PL/SQL流程控制语句(不给规则,不成方圆) ...

  7. UC编程:字符读取与行读取

    字符读取函数的应用 下面的演示程序实现从/etc/passwd文件中提取用户名,打印到屏幕上并保存在copyname.txt文件中 使用的函数是getc().putc().putchar() [c] ...

  8. [译]Java 设计模式之迭代器

    (文章翻译自java-design-pattern-iterator) 迭代器模式用于迭代遍历一个集合对象.它是一个经常被用到的模式,你可能以前使用过它.不管在任何时候你看见一些方法像hasNext( ...

  9. Machine Learning - XI. Machine Learning System Design机器学习系统的设计(Week 6)

    http://blog.csdn.net/pipisorry/article/details/44119187 机器学习Machine Learning - Andrew NG courses学习笔记 ...

  10. JS判断鼠标向上滚动还是向下滚动

    js如何判断滚轮的上下滚动,我们应该都见到过这种效果,用鼠标滚轮实现某个表单内的数字向上滚动就增加,向下滚动就减少的操作,这种效果是通过js对鼠标滚轮的事件监听来实现的.今天简单的研究了一下如何使用j ...