http://www.linotux.ch/arduino/HC-0305_serial_module_AT_commamd_set_201104_revised.pdf
▲PDF자료
▲반드시 HC-05 여야 할것
HC-05 embedded Bluetooth serial communication module (can be short for module) has two work modes: order-response work mode and automatic connection work mode.
HC-05는 갖고있다. 두가자 work 모드들을
order-response work Mode
&
automatic connection work Mode.
And there are three work roles (Master, Slave and Loopback)
at the automatic connection work mode.
그리고 3가지 work 역할들이 있다. (마스터, 슬레이브, 루프백)
at the automatic connection work Mode에서.
When the module is at the automatic connection work mode,
it will follow the default way set lastly to transmit the data automatically.
그 모듈이 있을때 at the automatic connection work Mode에,
이건 따라갈것이다. the 초기 방법 세트를 마지막으로 to 전송하기위해 데이터를 자동으로.
When the module is at the order-response work mode,
user can send the AT command
to the module
to set the control parameters and sent control order.
그 모듈이 있을때 at the order-response work Mode에,
유저는 can 보낼수있다. the AT command를
to the module에
to set하기위해 the control parameters 를 and sent control order.
The work mode of module can be switched by controlling the module PIN (PIO11) input level.
Serial module PINs:
1. PIO8 connects with LED.
작업모드.. of 모듈의 ..는 can be 스위치될수있다. by 컨트롤링함으로써 the모듈PIN(PIO11)입력레벨을.
시리얼 모듈 PINs:
1. PIO8 연결한다. with LED로.
When the module is power on, LED will flicker.
And the flicker style will indicate which work mode is in using
since different mode has different flicker time interval.
2. PIO9 connects with LED.
When the 모듈이 파워 ON됬을때 LED will 깜빡일것이다.
And the 깜빡이는 스타일은 will 가리킨다. 어느 작업 모드가 in 사용중인지
since 다른 모드가 갖고있는이후로 다른 깜빡인 시간 인터벌을.
It indicates whether the connection is built or not. When the Bluetooth serial is paired, the LED will be turned on. It means the connection is built successfully.
3. PIO11 is the work mode switch. When this PIN port is input high level, the work mode will become order-response work mode. While this PIN port is input low level or suspended in air, the work mode will become automatic connection work mode.
4. The module can be reset if it is re-powered since there is a reset circuit at the module.
======================================================================================
Detailed description of Command
▼1. Test
Command |
Response |
Parameter |
AT |
OK |
None |
▼2. Rest
Command |
Response |
Parameter |
AT+RESET |
OK |
None |
▼3. Get the soft version
Command |
Response |
Paremeter |
AT+VERSION? |
+VERSION: <Parameter> OK |
Param: Version number |
Example : at+version?\r\n
+VERSION:2.0-20100601
OK
▼4. Restore default status
Command |
Response |
Parameter |
AT+ORGL |
OK |
None |
▼5. Get module Bluetooth address
Command |
Response |
Parameter |
AT+ADDR? |
+ADDR: <Parameter>OK |
Param: Bluetooth address |
▼6. set/inquire module role
Command |
Response |
Parameter |
AT+NAME=<Parameter> |
OK |
Param: Bluetooth device name Default: "HC-05" |
AT+NAME? | 1. +NAME: OK----Success 2. FAIL----Failure |
▼7. Get the remove Bluetooth device's Name
Command |
Response |
Parameter |
AT+RNAME? <Param1> |
1. +NAME: |
Param1: Remote Bluetooth device address Param2: Remote Bluetooth device address |
▼8. Set/inquire module Role
Command |
Response |
Parameter |
AT+ROLE=<Param> |
OK |
Param: 0---- Slave role 1---- Master role 2---- Slave-Loop role Default: 0 |
AT+ROLE? | + ROLE: <Parameter> OK |
▼
Command |
Response |
Parameter |
|
|
|
'Communication(CAN, UART, etc)' 카테고리의 다른 글
HC-05 블루투스 모듈에 대해 (AT Command포함) (0) | 2016.01.12 |
---|---|
Ultra Serial Port Monitor 사용법 + Putty 사용법 + AT Command (0) | 2016.01.12 |
Bluetooth 모듈내 통신속도 조절하는 프로그램 사용법 (0) | 2015.08.30 |
Soft_UART 예제들 (0) | 2015.08.19 |
Rx Tx Echo text (에코테스트)----FTDI (0) | 2015.08.12 |