background image

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

ST

A

T

E

RX

D

8

1

0

9

1

1

1

2

1

3

1

4

ESP

M2

1

5

16

1

2

4

3

5

6

7

TXD

GN

D

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 by a pull up resitance, and other is 
connected to GPIO4 

2 SW1 

Connected to GPIO0 to coordinate with SW2 button to download 

the firmware. 

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 

Always 

lighting 

Successfully connect to the wireless router when WiFi module is at 
STA or STA+AP mode 

Lighting 

slowly 

Level for IO switches once each 1s; if works at AP mode, it shows that
the WiFi module unsuccessfully connected to the wireless WiFi router;

Summary of Contents for DT-06

Page 1: ...EN This Datasheet is presented by the manufacturer Please visit our website for pricing and availability at www hest ore hu ...

Page 2: ...r M V1 0 f Intelligence anual Manua M Technolog for T Tran D al for T Mar 31 2 gy Co Ltd w TTL nsmis octors of TTL Wi 2017 www doit am WiFi ssion Intelligenc iFi Mod No D Copyright i Tran ce Techno dule D DBH010CN 2014 2017 nspar ology Co L DT 06 N rent LTD ...

Page 3: ...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 ...

Page 4: ... 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 Recommend...

Page 5: ...mm 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 con...

Page 6: ...ed 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 ...

Page 7: ...d to GPIO4 2 SW1 Connected to GPIO0 to coordinate with SW2 button 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 l...

Page 8: ...e 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 voltag...

Page 9: ...elligence nnection in ation there Technology Fig 3 2 D nput the defa Fig 3 3 In is three sub User Manua Co LTD w Default WiF ault IP addr nformation b pages ST al for TTL WiF www doit am Fi hotspot ress 192 1 for hotspot ATUS MO Fi DT 06 Copyright 2 68 4 1 ODULE and 2014 2017 d MORE a Pag s shown in ge 8 ...

Page 10: ...TATUS AM Doctors of In sub config ntelligence guration Fig 3 Technology Fig 3 3 5 Success User Manua Co LTD w 3 4 Configu sful connect al for TTL WiF www doit am uration tion at STA Fi DT 06 Copyright 2 mode 2014 2017 Pag ge 9 ...

Page 11: ...ion t the serial b xtract time 200 2400 48 400 8 g NONE OD 2 Technology C much inform mode and t le connec STA is conn System Run menus which Fig 3 6 n baud rate d 800 9600 19 DD EVEN User Manua Co LTD ww mation e g the run time cting wro nected succ nning Time h can provid 6 MODULE data bits par 9200 38400 al for TTL WiF ww doit am C MAC add e where ong passwo essfully it w display th de many co ...

Page 12: ...su g is success Technology C Fig 3 6 Se ave the settin uccessful ful then the Fig 3 7 F User Manua Co LTD ww erial configu ng If there e parameter Failure page al for TTL WiF ww doit am C uration page are some er rs are enable e after save Fi DT 06 Copyright 2 e rrors for the e after reboo 2014 2017 e parameter ot the WiFi Page rs it would i module e 11 ...

Page 13: ...ilar th STA and A other devic mode nd passwor se web encr s sub networ e IP sub n on from tho IP at STA c User Manua Co LTD ww uccess page his manua AP STA m ces can conn rd for the AP rypted to co rk mask an etwork ma ose at STA cannot be 1 al for TTL WiF ww doit am C e after save al would b modes nect it STA P If passwo onnect the W nd gateway a ask and gat A mode For 192 168 4 X Fi DT 06 Copyri...

Page 14: ...k D and Passw arts DHCP assigned Technology C Fig 3 9 W onfiguration k word for the if yes then User Manua Co LTD ww WiFi Config n page the e wireless ro n IP netmas al for TTL WiF ww doit am C guration AP e WiFi modu outer sk gateway Fi DT 06 Copyright 2 P mode ule would s y address ca 2014 2017 scan the WiF annot be ass Page Fi hotspot signed Or i e 13 it ...

Page 15: ...m th STA cannot Fig Technology C sub netwo hose at STA t be 192 16 3 10 WiF User Manua Co LTD ww ork mask a A mode Fo 68 4 X Fi configurat al for TTL WiF ww doit am C and gatewa or example tion STA m Fi DT 06 Copyright 2 ay address m at AP mod mode 2014 2017 must be no de if IP is Page ot the same 192 168 4 1 e 14 e 1 ...

Page 16: ...t t UDP serve chosen the e our firmw e broadcast IP address Fig 3 User Manua Co LTD ww the net work er Client an e IP address ware can get in the local segment at 3 11 Networ al for TTL WiF ww doit am C k mode for nd UDP bro of remote s the IP addr l networks t STA mode rk configura Fi DT 06 Copyright 2 this WiFi m oadcast whe server can s ress automa The writing e ation 2014 2017 module The ere s...

Page 17: ...twork config elligence T ory setting rameters working at ers is 9600 guration is Technology C Fig Fig 3 t AP mode n 8 1 sub TCP Server User Manua Co LTD ww gure 3 12 M 3 7 Re start IP address bextract tim r monitor p al for TTL WiF ww doit am C ore configu t page is 192 168 me is 50ms port is 9000 Fi DT 06 Copyright 2 ure 4 1 2014 2017 Page e 16 ...

Page 18: ...ligence T ftware and mand set ssion firmwa ore the WiFi Technology C Fig 3 8 hardware Fig 3 are is alread i parameters User Manua Co LTD ww 8 Restore th 3 9 Check v dy built in t s which are al for TTL WiF ww doit am C e factory version the serial AT e listed as fo Fi DT 06 Copyright 2 T command ollows 2014 2017 d to get the c Page current statu e 17 us ...

Page 19: ...at STA mode Check the connection status at TCP Client mode MCU WiFi module AT TCPCLIENT Check the connection status at TCP Client mode and no meaning at other modes WiFi module MCU TCP OK TCP client is already connected WiFi module MCU TCP OFF TCP client is off the connection Restart module MCU WiFi module AT RST Restart WiFi module WiFi module MCU RST OK Immediately reply when received the comman...

Page 20: ...AM Doctors of Inte use this co elligence T ommand to Technology C Fig 4 1 restart the m Fig User Manua Co LTD ww AT STAS module AT g 4 2 AT R al for TTL WiF ww doit am C STATUS T RST RST Fi DT 06 Copyright 2 2014 2017 Page e 19 ...

Page 21: ...le examples to le as an exa 5 1 Connec example in ealize the tr n the firmwa er and the m _xxxxxx w Fig 5 2 Con User Manua Co LTD ww o show the ample USB ction for US local netw ransparent tr are while th monitor por where xxxx nnection to W al for TTL WiF ww doit am C usage of the B TTL modu SB TTL mo work ransmission he serial par rt is 9000 xxx is the WiFi hotspo Fi DT 06 Copyright 2 e firmware...

Page 22: ...nology C ate a TCP C l e g Doit By this way Fig 5 3 4 Example User Manua Co LTD ww Client to con tSerialCOM one can re 3 TCP Clien e for transpa al for TTL WiF ww doit am C nnect the 9 M to connect alize the tra nt setting arent transm Fi DT 06 Copyright 2 9003 port o t USB TTL ansparent tra mission 2014 2017 of 192 168 module an ansmission Page 8 4 1 At th nd set the from serial e 21 he l ...

Page 23: ...i Moreove followin phone physically User Manua Co LTD ww oud ata remote tr and can ge shown in th s 6524 F install a n ent to conn er the phon ng picture to the PC b al for TTL WiF ww doit am C ransparent t et the IP and he following Fig 5 5 Op network deb ect 115 29 ne can conne by USB TTL Fi DT 06 Copyright 2 ransmission d port from t g picture ge en the Doit ug tool in th 9 109 104 ect to the i...

Page 24: ...nf 6524 Technology C Fi hotspot w le work at S example S the default s om our com figuration pa Fig 5 7 ST User Manua Co LTD ww with the fact STA mode STA mode i settings N mpany age choose TA mode co al for TTL WiF ww doit am C tory parame and input S s enable SS Note that SS e TCP Clien onfiguration Fi DT 06 Copyright 2 eters and en SID and PA SID Name i SID and pas nt and the IP n 2014 2017 nte...

Page 25: ...e T Fig WiFi modu between AP Technology C g 5 8 Saving Fig 5 9 N ule to make t PP and WiF User Manua Co LTD ww g parameter Network con the setting e Fi module al for TTL WiF ww doit am C rs at STA m nfiguration effective an Fi DT 06 Copyright 2 mode nd then can 2014 2017 realize the Page data e 24 ...

Page 26: ...D AM Doctors of Inte elligence T Fi Technology C ig 5 10 Rec Fig 5 11 R User Manua Co LTD ww ceiving data Receiving d al for TTL WiF ww doit am C a at serial po data at APP Fi DT 06 Copyright 2 ort 2014 2017 Page e 25 ...

Page 27: ...DOIT AM User Manual for TTL WiFi DT 06 Shenzhen Doctors of Intelligence Technology Co LTD www doit am Copyright 2014 2017 Page 26 ...

Page 28: ...wer Fi module is other MCU are shown i Technology C module 2 RXD Pin 8 1 0 9 1 1 1 2 1 3 ESP M2 16 2 4 3 5 6 7 Fig 6 1 module is 12 update mod s connected in the follow Fig 7 1 User Manua Co LTD ww n3 TXD conn LED SW2 SW1 7 TTL WiFi 1 Minimum 2mA de GPIO0 i d to TXD fo ws Shape of T al for TTL WiF ww doit am C nect to TXD 1 2 3 4 5 6 5 0V m system is at low lev or other MC TL WiFi Fi DT 06 Copyrig...

Page 29: ...y C a Fig 7 2 Siz Table 7 1 Siz n d directly in for the anten ollowing thr er the anten User Manua Co LTD ww Vertical vi b Side view ze of TTL W ze of TTL W Heighth 4 mm nto the PCB nna It is su ree schemes nna al for TTL WiF ww doit am C iew w WiFi module WiFi modu B board To uggested to p s Note that Fi DT 06 Copyright 2 e le Pin 1X6 get the goo place the m if scheme 2 2014 2017 Distance b 2 5 o...

Page 30: ...ww doit am Copyright 2014 2017 Page 29 mainboard 5mm 6 6mm 5mm LED S W 2 S W 1 1 2 3 4 5 6 8 1 0 9 1 1 1 2 1 3 1 4 ESP M2 1 5 16 1 2 4 3 5 6 7 TTL WiFi Figure 8 1 Scheme 1 Mainboard 6 6mm LED S W 2 S W 1 1 2 3 4 5 6 8 1 0 9 1 1 1 2 1 3 1 4 ESP M2 1 5 16 1 2 4 3 5 6 7 TTL WiFi Fig 8 2 Scheme2 ...

Page 31: ...iFi DT 06 Shenzhen Doctors of Intelligence Technology Co LTD www doit am Copyright 2014 2017 Page 30 mainboard 5mm 6 6mm 5mm LED S W 2 S W 1 1 2 3 4 5 6 8 1 0 9 1 1 1 2 1 3 1 4 ESP M2 1 5 16 1 2 4 3 5 6 7 TTL WiFi Fig 8 3 Scheme 3 ...

Page 32: ... PCB onboard antenna Hardware CPU Tensilica L106 32 bit MCU Perpheral UART EN STATE Working voltage 4 5 6 0V Working current 平均电流 80 mA Working temperature 40 C 125 C Environment temperature 40 C 125 C size 34mm 17mm 4mm Soft note1 built in the V3 0 firmware Wi Fi mode Station SoftAP SoftAP Station Security mechanics WPA WPA2 encryption WEP TKIP AES update UART Download OTA AT command Support AT c...

Page 33: ...ub com SmartArduino SZDOITWiKi wiki IoT Application 智能建筑云 光伏监控云 Doit 玩家云 免费 TCP 公网调试服务 Contact Us Emails yichone doit am yichoneyi 163 com Skype yichone WhatsAPP 008618676662425 WeChat itchenve QQ 123433772 From Espressif ESP8266 Chip ESP8266 Quick Start Guide Software ESP8266 SDK Start Guide ESP8266 SDK Download Tools ESP8266 Download Tool Others ESP8266 Forum ESP8266 Resources ...

Page 34: ...cause of t ual may hnology C ents of thi nders Th ors of Inte heir best to ual but it mpletely manual an ovide any al for TTL WiF ww doit am C tice reference i thout any on infringem ntioned else this docum or otherwi lliance ered tradem e the produ change Co LTD s manual his manua elligence o provide does not right and nd inform express o Fi DT 06 Copyright 2 if there is a guarantee ment guaran e...

Page 35: ...DOIT AM User Manual for TTL WiFi DT 06 Shenzhen Doctors of Intelligence Technology Co LTD www doit am Copyright 2014 2017 Page 34 ...

Reviews: