20151224_jeffrey - silenceuncrio/diary GitHub Wiki

Index

  • 0705 - NodeMCU - 光一個 GPIO 就搞不定
  • 0915 - Android APP - charlie 麻煩我先做 Android APP上架動作
  • 1030 - Android APP - 後續的一些動作讓 charlie 接手
  • 1035 - Apple Developer Program - 修改申請人姓名
  • 1300 - NodeMCU - 繼續玩
  • 1350 - IOT Platform - 更新 IOT Platform Project
  • 1405 - NodeMCU - 繼續玩
  • 1450 - NodeMCU - 刷機
  • 1615 - NodeMCU - Your LED should be blinking every 2 seconds
  • 1715 - NodeMCU - 買書 - Home Automation Using ESP8266 eBook

0705

昨天的 NodeMCU 光一個 GPIO 就搞不定
後來發現官網討論區的這一篇

後來有人說解決了

找到问题了,原因是固件版本太旧

我也來試試

動作正常了一次
然後又沒反應了

0915

charlie 麻煩我今天先開始做 Android APP上架的動作

準備一下材料

1030

後續的一些動作讓 charlie 接手

1035

Apple Developer Program

您好:

我是 Apple 開發者計劃支持部門的 Karen,很榮幸能協助您。

我們正在跟進您的開發者計劃(Enrollment ID: QNUE24328E)併發現您的申請人姓名顯示為「osmart proscend」。由於參加 Apple 開發者計劃時我們需要您以個人的真實姓名的漢語拼音註冊,請至以下網頁將您的姓名修改為您身份證或護照上法律姓名之拼音:

https://appleid.apple.com

當您修改完畢請回覆此電郵通知我們,以便我們盡早協助您完成申請流程。

回覆電郵時,請提供您的 Case Number: 1005279918 以便我們能為您提供更高效的協助。

各地區 Apple 開發者計劃支持電話號碼:

https://developer.apple.com/cn/contact/phone.php

非常感謝您的協助與配合。

Karen
Apple Inc.

很快做了回覆

Karen 您好

我已將申請人姓名由「osmart proscend」改成 「TSUNG YI LEE」
以下截圖供您參考
image

1300

繼續玩 NodeMCU

手上另外一片從 doit 來的 NodeMCU

看一下它一開機的 console 訊息

...
NodeMCU 1.4.0 build 20151006 powered by Lua 5.1.4 on SDK 1.4.0


ESP8266 Started
Module Start
Short press key: esptouch mode / long press key: airkiss mode
>

再看看我手上這片被我蹂躪過的

...

NodeMCU 0.9.6 build 20150704  powered by Lua 5.1.4
lua: cannot open init.lua
>

為什麼 doit 來的是 NodeMCU 1.4.0 build 20151006, 我的就是 'NodeMCU 0.9.6 build 20150704'

發現這裡有最豐富的資料 GitHub - nodemcu

1350

更新了 IOT Platform 自己的部分

1405

繼續玩 NodeMCU

Online firmware custom build

Please try Marcel's NodeMCU custom build cloud service and you can choose only the modules you need, and download the firmware once built.

NodeMCU custom builds can build from all active branches (with the latest fixes).

這個 NodeMCU custom build 很神奇
build 好了會 mail firmware 給你

NodeMCU custom build [email protected]

Your NodeMCU custom build finished successfully. You may now download the firmware:

This was built against the master branch and includes the following modules: node, file, gpio, wifi, net, tmr, uart.
The files are guaranteed to be available for download for 24h.

使用 nodemcu-flasher 來 burn the firmware(integer)

1450

哈哈, 刷完後開機的 console 訊息

NodeMCU custom build by frightanic.com
        branch: master
        commit: 93421f2702fb02ce169f82f96be7f2a8865511e1
        SSL: false
        modules: node,file,gpio,wifi,net,tmr,uart
 build  built on: 2015-12-24 05:18
 powered by Lua 5.1.4 on SDK 1.4.0
lua: cannot open init.lua
>

關於 User Interface tools 我來下載 Esplorer 玩玩

這軟體看來比 NodeMCU Studio 更強大

有個年輕人叫 Rui Santos, 他免費貢獻自己 ESPlorer IDE 的電子書, 還附贈另一本 18+ Arduino Project

1615

照表操課

lighton=0
pin=4
gpio.mode(pin,gpio.OUTPUT)
tmr.alarm(1,2000,1,function()
    if lighton==0 then
        lighton=1
        gpio.write(pin,gpio.HIGH)
    else
        lighton=0
         gpio.write(pin,gpio.LOW)
    end
end)

Congratulations, you’ve made it! Your LED should be blinking every 2 seconds!

終於... 太爽了

淘寶可以衝了

1715

支持一下 Rui Santos 的新書 Home Automation Using ESP8266 eBook

  • Payment
    img
  • Purchase Confirmation
    img
  • eBook