[測試] NodeMCU Web Server 試玩 (好玩過 Arduino)

本帖最後由 zex 於 2015-8-27 21:14 編輯

NodeMCU Web Server 試玩 (好玩過 Arduino)

我想知天光的變化, Requirement:

1. WIFI supported, so that I can test anywhere.

2. ADC supported for light sensor.

3. Internal storage for data from light sensor.

4. Can run multiple programs, say, one for getting data from light sensor, another one for running Web Server so that I can check data any time.

5. Cheap

用 Arduino and Raspberry Pi 都得, 但想簡潔方便又平, 用 NodeMCU 吧!

a.jpg
2015-8-27 21:06

TOP

Remote check data by browser!

b.jpg
2015-8-27 21:09



Plot (1024 - data from browser)

c.jpg
2015-8-27 21:12

TOP

Remote check data by browser!




Plot (1024 - data from browser)
zex 發表於 2015-8-27 21:12


好似好正...can you provide more info?
programming難嗎?

TOP

有得申請試玩?
有無wiki之類的source有project可以抄?

TOP

好似好正...can you provide more info?
programming難嗎?
raywan 發表於 2015-8-27 21:24

主網:
http://nodemcu.com/index_en.html

Google 也有很多 info & samples.

Programming 超易, from 主網, sample HTTP Server:

-- a simple http server
srv=net.createServer(net.TCP)
srv:listen(80,function(conn)
    conn:on("receive",function(conn,payload)
    print(payload)
    conn:send("<h1> Hello, NodeMCU.</h1>")
    end)
end)

TOP

有得申請試玩?
有無wiki之類的source有project可以抄?
KSC 發表於 2015-8-27 22:20

免申請, 俾 ¥35.00 就淘到!

Google 吓有很多 sources 可以抄, of course 比 Arduino 少很多.

TOP

Remote check data by browser!




Plot (1024 - data from browser)
zex 發表於 2015-8-27 21:12



    厲害喔....

TOP

係咪有分version 1及2?

TOP

唔識分,見店主話是最新,就買了。

返而要小心 size,我見網上分享,有些師兄可以用麵包板,我的就剛剛太大,不能用!

TOP