Skip to content

Commit

Permalink
added link to reference site
Browse files Browse the repository at this point in the history
  • Loading branch information
ndroid committed Sep 29, 2023
1 parent 3a999c0 commit ef36c05
Showing 1 changed file with 19 additions and 17 deletions.
36 changes: 19 additions & 17 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,30 +1,20 @@
# HC-05/06 AT Command Center
Arduino program for simplifying AT command configuration of HC-05/06 devices over UART.
Arduino library for simplifying AT command configuration of HC-05/06 devices over UART.

Version 2.0

## Overview
<b>Description</b>: Simple HC05/06 AT configuration program. Requires 2nd
UART (Serial1) defined. Full repo can be found at
[HC06_AT_CommandCenter](https://github.com/ndroid/HC06_AT_CommandCenter).
<b>Description</b>: Simple HC05/06 AT configuration library for Arduino.
Requires 2nd UART (Serial1) defined. Full repo can be found at
[HC06_AT_CommandCenter](https://github.com/ndroid/HC06_AT_CommandCenter).
Reference site for this library can be found
[here](https://ndroid.github.io/HC06_AT_CommandCenter/index.html).

Provides user menu for selecting configuration changes. Automatically identifies
device (HC-05 or HC-06), firmware version, baud and parity settings.
Serial1 automatically configured to match HC-05/06 UART settings. HC-05/06
must be in configuration mode (AT mode) (LED blinking to indicate Not Connected).

Recent batches of HC-06 appear to have HC-05 firmware (reporting Version 3).
There is no documentation of a Version 3 firmware for HC-06. AT commands differ
for HC-05 firmware, including CR+NL command terminators. Support for this version
has been added beginning with Revision 1 of this software.

<dl>
<dt> AT response delays:</dt>
<dd> Around 10~25ms for Version 3.x (newline terminated) - max observed 35ms<br>
<dd> Around 500ms for Version 1.x (timeout terminated) - max observed 525ms<br>
<dd> Serial writes are asynchronous, so delays must also consider write time</dd>
</dl>

<br>
<b>HC06 connections (for 5V boards - resistors not needed for 3V3):</b>

Expand All @@ -38,7 +28,7 @@ Version 2.0
Vss

<br>
<b>HC05 connections: same as above, but also include (for AT mode selection)</b>
<b>HC05 connections: same as above, but also include (for AT mode selection):</b>

STATE -----------------> [State pin]
EN/KEY <----+---R_1K----- [Mode pin]
Expand Down Expand Up @@ -73,6 +63,18 @@ Version 2.0

<br>

Recent batches of HC-06 appear to have HC-05 firmware (reporting Version 3).
There is no documentation of a Version 3 firmware for HC-06. AT commands differ
for HC-05 firmware, including CR+NL command terminators. Support for this version
has been added beginning with Revision 1 of this software.

<dl>
<dt> AT response delays:</dt>
<dd> Around 10~25ms for Version 3.x (newline terminated) - max observed 35ms<br>
<dd> Around 500ms for Version 1.x (timeout terminated) - max observed 525ms<br>
<dd> Serial writes are asynchronous, so delays must also consider write time</dd>
</dl>

### History

Created on: 18-Oct, 2021
Expand Down

0 comments on commit ef36c05

Please sign in to comment.