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. cscope的使用

    转自:http://easwy.com/blog/archives/advanced-vim-skills-cscope/ 本节所用命令的帮助入口: :help cscope 在前面的文章中介绍了利用 ...

  2. iOS 开发者必不可少的 75 个工具

    如果你去到一位熟练的木匠的工作室,你总是能发现他/她有一堆工具来完成不同的任务. 软件开发同样如此.你可以从软件开发者如何使用工具中看出他水准如何.有经验的开发者精于使用工具.对你目前所使用的工具不断 ...

  3. Linux httpd 跳转简单方法二

    使用mod_proxy 这种方法要添加上mod_proxy_http.so 在httpd.conf 中打开httpd-vhost 在 httpd-vhost 里面添加上 <VirtualHost ...

  4. 真懂JavaScript吗

    你真懂JavaScript http://www.cnblogs.com/elegance/p/4195593.html 看了汤姆大叔的“你真懂JavaScript吗?”,里面有5道题目,我都一一作了 ...

  5. canvas绘制自定义的曲线,以椭圆为例,通俗易懂,童叟无欺

    本篇文章,将讲述如何通过自定义的曲线函数,使用canvas的方式进行曲线的绘制. 为了通俗易懂,将以大家熟悉的椭圆曲线为例,进行椭圆的绘制.至于其他比较复杂的曲线,用户只需通过数学方式建立起曲线函数, ...

  6. jQuery实现表格行的动态增加与删除

    删除之前删除2行后: 1<script> 8 $(document).ready(function(){ 9 //<tr/>居中 10 $("#tab tr" ...

  7. mvc拦截器

    在ASP.NET MVC中,有三种拦截器:Action拦截器.Result拦截器和Exception拦截器.这里说的是第一种和第三种.其实所谓的ASP.NET MVC拦截器,也没什么神秘的,就是一个普 ...

  8. C# 通过扩展WebBrowser捕获网络连接错误信息

    想捕获WebBrowser连接指定网站过程中发生的错误信息,包括网络无法连接.404找不到网页等等错误!经过网上的搜集,找到了以下解决方案,该解决方案不会在网站连接前发出多余的测试请求. 向Webbr ...

  9. 小公司免费的ERP软件

    http://www.2bizbox.cn/ https://www.odoo.com/

  10. POJ 2560 Freckles Prime问题解决算法

    这个问题正在寻求最小生成树. 给定节点的坐标,那么我们需要根据各个点之间的这些坐标来计算距离. 除了这是标准的Prime算法的,能源利用Prime基本上,你可以使用Kruskal. 经典的算法必须填写 ...