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的更多相关文章
-
Linux下cutecom使用USB转串口线
http://www.cnblogs.com/pang123hui/archive/2011/05/29/2309888.html 在Linux下的串口调试一直使用minicom,虽说Linux的精髓 ...
-
2018/05/02 每日一学Linux 之 .bash_profile和.bashrc的区别
最近一直在学习其他,导致博客就疏忽了,很不好(其实就是自己懒了......). -- 为什么要使用 .bash_profile和.bashrc ? 在平常的使用中,有些文件夹或者命令很长,在执行时需要 ...
-
maven settings.xml linux
<?xml version="1.0" encoding="UTF-8"?> <!-- Licensed to the Apache Soft ...
-
NodeJS require a global module/package in linux
https://*.com/questions/15636367/nodejs-require-a-global-module-package 1 export NODE_P ...
-
linux kernel module
#include <linux/init.h>#include <linux/module.h>#include <linux/kernel.h> static i ...
-
05 Linux字符驱动---静态注册
1. mycdev.c #include <linux/init.h> #include <linux/module.h> #include <linux/cdev.h& ...
-
[i.MX6q]i.MX6q处理器,linux操作系统平台搭建 从SD卡启动系统
转自:http://www.07net01.com/linux/2016/02/1232094.html 参照1:http://blog.csdn.net/girlkoo/article/detail ...
-
PIC24FJ64GB002 with bluetooth USB dongle
PIC24FJ64GB002 with bluetooth USB dongle I will explain my project (how to control a bluetooth USB d ...
-
linux内核数据结构学习总结
目录 . 进程相关数据结构 ) struct task_struct ) struct cred ) struct pid_link ) struct pid ) struct signal_stru ...
随机推荐
-
轻松搞懂WebService工作原理
用更简单的方式给大家谈谈WebService,让你更快更容易理解,希望对初学者有所帮助. WebService是基于网络的.分布式的模块化组件. 我们直接来看WebService的一个简易工作流程: ...
-
Objective-C 命名规范
http://www.tuicool.com/articles/ERvUbmR 1. 如果方法的返回值是新创建的,那么方法名的首个词应是返回值类型,除非前面还有修饰语如 localizedString ...
-
网页中";IE限制网页访问脚本或ActiveX控件";的提示问题的解决方法
以前从来没有注意过"IE限制网页访问脚本或ActiveX控件"的提示问题,对于这个小细节问题,虽然感觉很别扭,但一直没考虑解决方法,今天才发现该问题可以轻松解决,以下做个小小记录. ...
-
C#Execl
using System.IO; using System.Text; namespace iLIS.Common { /// <summary> /// 生成Excel文档内容 /// ...
-
node-portfinder
nstallation $ [sudo] npm install portfinder Usage var portfinder = require('portfinder'); portfi ...
-
Vuex状态管理模式
Store:类似容器,包含应用的大部分状态,一个页面只能有一个store,状态存储是响应式的 State : 包含所有应用级别状态的对象 Getters : 在组件内部获取store中状态的函数 Mu ...
-
Groovy学习笔记-布尔求值
1.判断字符串为null或空字符串 def str = null if(str) println 'str is not null' else println 'str is null' str = ...
-
js之DOM对象一
一.什么是HTML DOM HTML Document Object Model(文档对象模型) HTML DOM 定义了访问和操作HTML文档的标准方法 HTML DOM 把 HTML 文档呈现 ...
-
原创 《算法》java第四版,标准输入
<算法>学习过程中,在eclipse里调试时,对于官方提供的源码中标准输入的操作,没有搞懂 自己改了一下,直接读取本地测试数据测试数据可在http://algs4.cs.princet ...
-
【iCore1S 双核心板_ARM】例程十:SYSTICK定时器实验——定时点亮LED
实验原理: 通过STM32的三个GPIO口驱动三色LED的三个通道,设定GPIO为推挽输出,采用 灌电流的方式与LED连接,输出高电平LED灭,输出低电平LED亮,通过系统定时器实现 1s定时,每秒变 ...