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. C# 通过ImportNode AppendChild方法合并XmlDocument,XML转为DataTable

    var doc1 = new XmlDocument(); var doc2 = new XmlDocument(); XmlNode root1 = doc1.DocumentElement; do ...

  2. MonkeyRunner源码分析之工作原理图-attach

    花了点时间整理了下MonkeyRunner的工作原理图: Item Description Warning Author 天地会珠海分舵 转载请注明出处! Blog Address http://bl ...

  3. VMware Linux 下 Nginx

    负载   VMware Linux 下 Nginx 安装配置 - nginx.conf 配置 [负载两个 Tomcat] (三) Weiseditor 2014-11-26 23:42 阅读:1 评论 ...

  4. js获取编辑框游标的位置

    代码如下: <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w ...

  5. MySql处理数据库和表

    show databases; mysql> show databases; mysql> create database db_test; Query OK, 1 row affecte ...

  6. .NET MVC4 实训记录之一(引入Unity3.0 Ioc框架)

    一直在做维护项目,没有机会接触完整的架构,于是自学.NET MVC.自今日起,将自学的过程.遇到的问题以及解决方案记录下来. 在WebApp项目中右键,使用NuGet引入Unity3.0.

  7. Ali也开始玩了阿

    http://blog.alipay.com/ 查看源代码

  8. TDD中的单元测试

    TDD中的单元测试写多少才够?   测试驱动开发(TDD)已经是耳熟能详的名词,既然是测试驱动,那么测试用例代码就要写在开发代码的前面.但是如何写测试用例?写多少测试用例才够?我想大家在实际的操作过程 ...

  9. Js模块模式

    模块模式 索引 引子 什么是模块模式 命名空间模式 声明依赖 私有和特权成员 即时函数 揭示模块模式 结语 引子 这篇算是对第9篇中内容的发散和补充,当时我只是把模块模式中的一些内容简单的归为函数篇中 ...

  10. iOS基础 - 第三方网络框架

    一.iOS网络层次结构 基于iOS提供API实现上传文件和断点续传的思路 常用iOS第三方网路框架简介 AFNetworking(AFN) ASIHTTPRequest(ASI) 另外一个常用框架 S ...