Do-it DT-06 Manuale utente

T
D
T
TL-
W
Man
u
D
OIT.
Us
e
W
iFi
u
al
AM
®
Doctors o
f
e
r M
a
User
M
V1.0
f
Intelligence
a
nua
l
M
anu
a
M
& Technolo
g
for
T
Tra
n
D
a
l for
T
M
ar., 31
2
g
y Co., Ltd (
w
T
TL-
n
smi
s
octors of
T
TL-W
i
2
017
w
ww.doit.am
WiF
i
s
sion
Intelligen
c
i
Fi Mo
d
No.:
D
)
Copyright
@
i
Tra
n
c
e & Techn
o
dule
D
D
BH010C
N
@
2014-2017
n
spa
r
o
logy Co.
L
D
T-06
N
r
ent
L
TD

DOIT.AM®
Doctors of Intelligence & Technology Co., LTD (www.doit.am) Copyright@2014-2017
Achieve Update
Date Version Update
Mar, 31 2017 V1.0 First

DOIT.AM®
Doctors of Intelligence & Technology Co., LTD (www.doit.am) Copyright@2014-2017
Catalog
User Manual for TTL-WiFi Transparent Transmission.........................................................................................1
1.Introduction...................................................................................................................................................................4
2. Interface definition............................................................................................................................................................5
3. Usage of Web configuration.............................................................................................................................................7
3.1 STATUS sub-configuration..................................................................................................................................9
3.2 MODULE configuration page............................................................................................................................10
Serial (serial configuration) ................................................................................................................................10
WiFi (WiFi configuration)..................................................................................................................................12
Networks configuration ......................................................................................................................................15
3.3 MORE configure...................................................................................................................................................16
Restart .................................................................................................................................................................16
Restore the factory setting ..................................................................................................................................16
Version................................................................................................................................................................17
4.Built-in AT command set ...........................................................................................................................................17
5.A classical configuration example ..............................................................................................................................20
5.1 Transparent transmission example in local network .............................................................................................20
5.2 Cloud transmission based on Doit Cloud ..............................................................................................................22
6.Minimum system for the module................................................................................................................................27
7.Shape and Size............................................................................................................................................................27
8.Recommended Installation .........................................................................................................................................28
Appendix.1 Parameters of TTL-WiFi Module ...................................................................................................................31
Appendix. 2.........................................................................................................................................................................31

DOIT.AM®
User Manual for TTL-WiFi DT-06
Shenzhen Doctors of Intelligence & Technology Co., LTD (www.doit.am) Copyright@2014-2017 Page 4
1. Introduction
TTL-WiFi is designed and developed based on ESP-M2 WiFi module from our company Shenzhen
Doctors of Intelligence & Technology Co., Ltd., which is extracted the TTL, EN, STATE and other pins.
Importantly, the TTL-WiFi is already built-in the serial transparent transmission firmware programmed
by our company (SZdoit), which can realize the transparent transmit the data to the cloud on the real-time,
together with low-power control, status indictor. This board can replace the old wiring serial WiFi device
to realize the data collection and control. It has the following features.
Fully compatible with the original electrical interface and physical interface for the serial transparent
Bluetooth;
Built-in the industrial transparent transmission firmware V3.0 with stability and reliability by using
the Web Configuration;
Built-in the high performance WiFi module ESP-M2 with size: 34mm*17mm*4mm;
Working voltage: 4.5V~6.0V, TTL working voltage: 3.3V (compatible with 5.0V);
Provided pins: STATE, TXD, RXD,EN;
Average current: 80mA; when data sent, it is 170mA; but it is 20μA at deep sleep mode;
Support serial AT command;
Support re-programmable, OTA firmware update;
Seamless transparent transmission between serial and WiFi;
Built-in HTTP Web Server, support configure parameters by web page;
Support re-connect automatically at WiFi STA mode and TCP Client;
Support set baud rate, data bit, parity check, stop bits, and/or subcontracting time;
Support baud rate (bps): 300/600/1200/2400/4800/9600/19200/38400/57600/74800/115200/
230400/460800/921600/1843200/3686400
Support AP enable, self-defined SSID/password, self-defined IP and network duration;
Automatically scan the peripheral WiFi hotspot, support STA enable, DHCP, self-defined IP;
Support TCP Server, TCP Client, UDP Server, UDP Client and UDP local broadcast;
Support DNS resolution automatically for the remote sever address;
Support checking the status by AT command;
Provide IO4 to show the WiFi status;
Working temperature: -40℃-125℃;
Applications: smart home, wireless data connection and transparent transmission, smart car control,
wireless serial printer, LED light industrial control etc.

DOIT.AM®
User Manual for TTL-WiFi DT-06
Shenzhen Doctors of Intelligence & Technology Co., LTD (www.doit.am) Copyright@2014-2017 Page 5
The Structure of TTL-WiFi can be shown as follows.
Fig. 1.1 Structure for TTL-WiFi module
Give up the complex AT command, Simply configure parameters by Web page to
transparently transmit data.
TTL-WiFi transparent transmission firmware is developed by Shenzhen Doctors of Intelligence &
Technology Co., Ltd based on the ESP-M2 wireless WiFi module, which can realize the real-time
transparent transmission between serial and WiFi. After our deep research, the performance of firmware
can be satisfied with industrial requirements on the stability and functionality. In this time, we have
already greatly optimized the receive and transmit performance. Especially, we design the reconnection
mechanisms at STA and TCP Client modes to guarantee the stable connection and transmission for the
data link.
2. Interface definition
The interface definition of TTL-WiFi can be shown in the following.
ESP-M2
Antenna onboard
LED
STATE
FLASHRST
RXD
TXD
GND
VCC
EN

DOIT.AM®
User Manual for TTL-WiFi DT-06
Shenzhen Doctors of Intelligence & Technology Co., LTD (www.doit.am) Copyright@2014-2017 Page 6
LED
SW2 SW1
1 2 3 4 5 6
STATE
RXD
81
0
91
1
1
2
1
3
1
4
ESP‐M2
1
5
16
1 2 43 5 6 7
TXD
GND
VCC
EN
TTL‐WiFi
Fig. 2.1 TTL-WiFi Interface definition
Functions of button and LED
Table 2.1 Functions of button and LED
Num. Type Function illustration
1 LED
LED connected to VCC3.3
b
y a pull up resitance, and other is
connected to GPIO4
2 SW1
Connected to GPIO0 to coordinate with SW2
b
utton to download
the firmware.
3 SW2 Connect to RST, to coordinate with SW1 to download the firmware
Importantly, when downloaded the firmware, please firstly press SW1 button, and then press SW2
button, and at last loose the button to finish the download. (Refer to the ESP-M2 module)
Table 2.2 LED definition
Num LED
indicator Function
1 Always
lighting
Successfully connect to the wireless router when WiFi module is a
t
STA or STA+AP mode
2 Lighting
slowly
Level for IO switches once each 1s; if works at AP mode, it shows tha
t
the WiFi module unsuccessfully connected to the wireless WiFi router;

DOIT.AM®
User Manual for TTL-WiFi DT-06
Shenzhen Doctors of Intelligence & Technology Co., LTD (www.doit.am) Copyright@2014-2017 Page 7
If at STA mode, the module is trying to connect the wireless router;
If at AP+STA mode, the module is trying to connect to the wireless
router.
3 Fast lighting
When press SW1/Flash
b
utton, if the serial received the data, or the
network received the data from the serial, LED would light fast.
4 Extinguish
WiFi module doesn’t work since the power isn’t normal or isn’t the
transparent transmission firmware.
Definition of pins is listed as follows.
Table 2.3 Definition of pins
Num Pin Type Function
1 STATE
I/O
GPIO4;
built-in transparent transmission firmware, to show the net
connection status: connect to wireless router at STA mode. STATE
is low level.
2 RXD
I/O
GPIO3;
Module is already serially connected to a 22Ωcurrent-limiting resistance in
the inner, thus can connect 5.0V voltage;
Can used as the UART Rx when built in the flash.
3 TXD
I/O
GPIO1;
Module is already serially connected to a 22
Ω
current-limiting resistance
in the inner, thus can connect 5.0V voltage;
Can used as the UART Tx when built in the flash.
4 GND
P GND
5 VCC P Module power:
4.5V~6.0V, recommended voltage is 5.0V
6 EN
I Enable, high level: enable to let chip work normally; low level, chip is
closed.
3. Usage of Web configuration
This module is already built-in the HTTP Server. Thus, it can configure the parameters by the browsers
on pc or mobile phone or other smart devices, without of need of any other tools or Apps. In the factory
settings, the module works at AP mode, and the signal is “Doit_WiFi_xxxxxx” , where, “xxxxxx” is the
last 6 number of MAC address of this module. Then, one can connect this WiFi hotspot by PCs or
phones , and other smart deveices (supportable Android and Ios, Windows) with no password.

D
W
th
e
D
OIT.
Shenzhen
D
After su
c
W
hen open t
h
e
following
AM
®
D
octors of I
n
c
cessful co
n
h
e configur
a
.
n
telligence &
n
nection, i
n
a
tion, there
Technology
Fig. 3. 2
D
n
put the def
a
Fig. 3. 3 I
n
is three su
b
User Manu
a
Co., LTD (
w
D
efault Wi
F
a
ult IP add
r
n
formation
b
-pages, ST
a
l for TTL-Wi
F
w
ww.doit.am)
F
i hotspot
r
ess: “192.1
for hotspot
A
TUS, M
O
F
i DT-06
Copyright@
2
68.4.1”.
O
DULE, an
d
@
2014-2017
d
MORE, a
Pa
g
s shown in
g
e 8

D
3.
1
D
OIT.
Shenzhen
D
1
STATUS
AM
®
D
octors of I
n
sub-confi
g
n
telligence &
g
uration
Fig.
3
Technology
Fig.
3
3
. 5 Succes
s
User Manu
a
Co., LTD (
w
3
. 4 Config
u
s
ful connec
t
a
l for TTL-Wi
F
w
ww.doit.am)
u
ratio
n
t
ion at ST
A
F
i DT-06
Copyright@
2
mode
@
2014-2017
Pa
g
g
e 9
Indice
Altri manuali Do-it Unità di controllo
Manuali Unità di controllo popolari di altre marche

Festo
Festo Compact Performance CP-FB6-E Manuale elenco delle parti

Elo TouchSystems
Elo TouchSystems DMS-SA19P-EXTME Manuale utente

JS Automation
JS Automation MPC3034A Manuale utente

JAUDT
JAUDT SW GII 6406 Series Guida rapida

Spektrum
Spektrum Air Module System Manuale utente

BOC Edwards
BOC Edwards Q Series Manuale utente













