Welcome, Guest
You have to register before you can post on our site.



Search Forums

(Advanced Search)

Forum Statistics
» Members: 1,050
» Latest member: alatkrisbow
» Forum threads: 2,046
» Forum posts: 2,216

Full Statistics

Online Users
There are currently 22 online users.
» 0 Member(s) | 22 Guest(s)

Latest Threads
Installation for S100
Forum: User Manual for Tank Chassis
Last Post: smartarduino
03-10-2017, 11:39 AM
» Replies: 0
» Views: 12,576
ESPduino Code for WiFi Ta...
Forum: ESPDuino=ESP8266+Arduino
Last Post: smartarduino
11-16-2016, 08:35 AM
» Replies: 0
» Views: 17,244
ESP32 Chip Documents
Forum: ESP32 Chip
Last Post: smartarduino
10-11-2016, 04:11 AM
» Replies: 0
» Views: 16,741
DataSheet for WiFi Grove ...
Forum: WiFi Grove kit based on ESP8266
Last Post: smartarduino
06-08-2016, 06:52 AM
» Replies: 0
» Views: 14,318
Some documents about Ai60...
Forum: Ai6060H
Last Post: smartarduino
05-26-2016, 01:03 AM
» Replies: 0
» Views: 14,853
Manual for 2-way motor & ...
Forum: 2-way motor & 16-way servo shield board for Arduino
Last Post: smartarduino
05-10-2016, 10:42 AM
» Replies: 0
» Views: 17,764
NodeMcu Firmware 1.4
Forum: NodeMcu
Last Post: smartarduino
05-10-2016, 06:24 AM
» Replies: 0
» Views: 20,761
User Manual for DoArm S7
Forum: DoArm
Last Post: smartarduino
04-25-2016, 10:07 AM
» Replies: 0
» Views: 14,220
Video for DoArm
Forum: DoArm
Last Post: smartarduino
04-14-2016, 04:01 AM
» Replies: 0
» Views: 5,249
Manual for DoArm S6
Forum: DoArm
Last Post: smartarduino
04-13-2016, 09:50 AM
» Replies: 0
» Views: 4,847

Thumbs Up Doit Car firmware download
Posted by: smartarduino - 10-27-2015, 02:06 AM - Forum: NodeMcu - No Replies

Here shows how to refresh firmware for DoitCar.

Step1:   Plug ESP12E-devKit into USB port with microUSB.
[Image: uSHLR43.jpg]

Step2:   Open the ESP FLASH DOWNLOAD TOOL. And the configuation is shown as belows.
        Attention: Choose correct Serial Port and correct firmware: doit_car_20150914_2

[Image: JqPS9Fz.png]

Step3: Press "START". Keeping press "FLASH" button, then press "RESET" button. Then the downloading process begins:

[Image: UW3V15x.png]

Step4: Done. Reboot the Esp12E devKit. The blue light will be keep lighting.

Enjoy it.

ATTACHMENT: http://en.doit.am/DoitCAR.zip

Print this item

Heart ESP8266 Based Serial2WiFi FAQ
Posted by: smartarduino - 10-21-2015, 03:17 AM - Forum: NodeMcu - Replies (1)


Question 1: How to restore factory settings. Here shows two ways:

      One: Connect the WiFi, and enter the web interface settings, use “FactoryDefault” button.

      Or:  (For Doit ESp8266 WiFi expansion board, nodemcu compatible development board) . Press “Flash” button more than 3 seconds (the LED lights flash) and restore the default factory settings


Question 2:  How does it work about AP and STA
     In AP mode, SSID , password, local ip address, subnet mask and gateway address can be set
     In STA mode, the router wifi SSID can be scanned.

Question 3: How does it work about serial communication.

     Networks can be set to tcp server / client, udp server / client
     When Client mode is used, domain and IP can be set to a remote address.
     When data receiving or sending, LED lights flash.

Question4: How to download a new firmware.
     Step 1: Use the download software, shown as follows.
    Note: Two bin files should be used. One is “ eagle.flash.bin”, whose download address is 0x00000. The other is “eagle.irom0text.bin”, whose download address is 0x40000. All configuration is shown in the follow picture.

[Image: qo7PPbM.png]

     Step 2: Choose the correct serial port number. Then, press “FLASH” button, and press “RESET” button. OK, the download process will be started after press “START”.
     Step 3: Enjoy it!


LINK:  http://bbs.smartarduino.com/Serial2WiFi.zip
Firmware : eagle.flash.bin

Print this item

  WiFiMCU basic intrudction
Posted by: smartarduino - 09-04-2015, 10:15 AM - Forum: WiFiMCU - No Replies


[Image: 68747470733a2f2f696d672e736869656c64732e...652e737667]
WiFiMCU is developed based on EMW3165 module produced by MXCHIP.INC. A Lua interpreter is builded inside with hardware support. A light weight file system and socket protocols can help to realize IoT development easily and quickly. Basically, you can load this on your device and then run Lua scripts on it with nothing more than a terminal connection. 
Enjoy it!

 ;   .  . .___ .  . __ .  .      ,--.
["]  |  |o[__ o|\/|/  `|  | ,<-|__oo|
/[_]\ |/\|||   ||  |\__.|__| /  |//  |
] [                            /o|__|  [[email protected]]

  • Based on Lua 5.1.4 (package, string, table, math modules)
  • Build-in modules: mcu,gpio, timer, wifi, net, file, pwm, uart, adc.
  • Modules to be builded: spi, i2c, 1-wire, bit, mqtt...
  • Integer version provided
  • Free memory >48k bytes
For more information: http://www.wifimcu.com

Print this item

  Android App Source
Posted by: smartarduino - 06-14-2015, 06:47 AM - Forum: The First Generation Wifi Car - No Replies

AP model Source/STA model Source:


The arduino apk source code can be found here:

Print this item

Photo WiFi Car Photo
Posted by: smartarduino - 06-09-2015, 10:27 AM - Forum: The First Generation Wifi Car - No Replies

[Image: JCLYvZM.jpg]
[Image: 157c5qp.jpg]
[Image: i3juCTF.jpg]

Attached Files
.jpg   IMG_0738.jpg (Size: 265.56 KB / Downloads: 844)
.jpg   IMG_0739.jpg (Size: 244.98 KB / Downloads: 781)
.jpg   IMG_0740.jpg (Size: 325.71 KB / Downloads: 800)
.jpg   IMG_0742.jpg (Size: 453.1 KB / Downloads: 771)
.jpg   IMG_0746.jpg (Size: 327.55 KB / Downloads: 851)
Print this item

  The Online Documents
Posted by: smartarduino - 06-06-2015, 11:11 AM - Forum: The First Generation Wifi Car - No Replies

See On:

Print this item

  NodeMcu motor Introduction
Posted by: smartarduino - 05-29-2015, 03:01 AM - Forum: NodeMcu motor - Replies (3)

NodeMcu  motor Introduction

Print this item

  NodeMcu Introduction
Posted by: smartarduino - 05-29-2015, 03:00 AM - Forum: NodeMcu - Replies (2)

The Online Document:
[Image: JCLYvZM.jpg]

Print this item

  The Doit Wifi Car App
Posted by: smartarduino - 05-29-2015, 02:13 AM - Forum: The First Generation Wifi Car - No Replies

The AP model APP control:


The  STA model APP control:

Print this item

Photo a Tutorial on CLOUD coding with NodeMCU
Posted by: smartarduino - 05-28-2015, 08:23 AM - Forum: NodeMcu Cloud Coding - No Replies

Hi, guys,

  how do you imagine coding on the CLOUD with NodeMCU? 
  It's realy cool!

This is a tutorial on how to code with CLOUD coding

The "CLOUD coding protocal" is posted at:

NodeMCU connects to internet as a node. A "yun.lua" runned in NodeMCU. a TCP client was established to connect to the the cload server: at port 7500.
The lua source code was edited in the browser at http://cloud.doit.am. Click "run" button, the source code would be transferred to the NodeMCU.
The "yun.lua" running in the NodeMCU recieving the souce code file, saved it as a lua file, compiled it and ran the lc file.

Three lua files are listed here to realize the CLOUD coding function. 

The steps:

1, these files should be downloaded to NodeMCU first: init.lua,sta.lua,yun.lua

Tips: the Cloud server and the NodeMCU are touched together with the deviceID. Such as "doitCar" here. You can name it as you wish.


print("ESP8266 Started")

local exefile="sta"
local luaFile = {exefile..".lua","yun.lua"}
for i, f in ipairs(luaFile) do
       if file.open(f) then
     print("Compile File:"..f)
         print("Remove File:"..f)

if file.open(exefile..".lc") then
       print(exefile..".lc not exist")
exefile=nil;luaFile = nil


print("Ready to Set up wifi mode")
local ssid = "MERCURY_1013"
local psw = "123456789"
print("Conneting to "..ssid)
wifi.sta.config(ssid,psw)--ssid and password
local cnt = 0
tmr.alarm(3, 1000, 1, function()
   if (wifi.sta.getip() == nil) and (cnt < 20) then
           cnt = cnt + 1
               if cnt % 2 ==1 then
           if (cnt < 20) then
                       print("Config done, IP is "..wifi.sta.getip())
                       cnt = nil;ssid=nil;psw=nil;
                       if file.open("yun.lc") then
                               print("yun.lc not exist")
                       print("Wifi setup time more than 20s, Pls verify\r\nssid:"..ssid.." psw:"..psw.."\r\nThen re-download the file.")
                       tmr.alarm(1, 300, 1, function()
                               if cnt % 2 ==1 then


--yun coding demo
--Created @ 2015/05/27 by Doit Studio
--Modified: null
--bbs: bbs.doit.am

print("Start yun")

gpio.mode(0,gpio.OUTPUT);--LED Light on

local deviceID = "doitCar"
local timeTickCnt = 0
local fileName = "yunRemote"
local conn;
local flagClientTcpConnected=false;
print("Start TCP Client");
tmr.alarm(3, 5000, 1, function()
       if flagClientTcpConnected==true then
               timeTickCnt = timeTickCnt + 1;
               if timeTickCnt>=60 then --every 300 seconds send "cmd=keep\r\n" to server
                       timeTickCnt = 0;
       elseif flagClientTcpConnected==false then
       print("Try connect Server");
       conn=net.createConnection(net.TCP, false)
                       print("TCPClient:conneted to server");
                       flagClientTcpConnected = true;timeTickCnt = 0;
                       end) --connection
                       flagClientTcpConnected = false;
                       end) --disconnection
               conn:on("receive", function(conn, m)
                       if string.sub(m,1,5)=="__B__" then
                               file.open(fileName..".lua", "w" )                                
                               conn:send("cmd=next\r\n");--start fetching prog file
                       elseif string.sub(m,1,5)=="__E__" then --finish fetching
                       else --the file context
                               conn:send("cmd=next\r\n");--continue fetching

2. Open the website:http://cloud.doit.am.

3. Type a device ID, such as "doitCar" here.
4. When you are in, typing the codes as follows:
print("start flash led")
cnt = 10
while cnt>0 do
tmr.delay(1000*1000) --1second
cnt = cnt - 1;
print("yun demo finish!")

5. Press "run".

If everything goes well, you will notice the led flashing in 1 sencond

Enjoy it.

Here is the programm log.

NodeMCU 0.9.6 build 20150406  powered by Lua 5.1.4

ESP8266 Started

Hard Restart 2015年5月27日  17:15:26

Ready to Set up wifi mode
Conneting to MERCURY_1013
> ->
Config done, IP is
Start yun
Start TCP Client
Try connect Server
TCPClient:conneted to server
Recieve:print("start flash led")
cnt = 10
while cnt>0 do
tmr.delay(1000*1000) --1second
cnt = cnt - 1;
print("yun demo finish!")
start flash led
yun demo finish!

A chinese tutorial can be found here:

You can get the tutorial code at github:

Confused Angel Undecided Sick My Cry Sleepy

Print this item