02MeMos D1
(2017/01/30 大年初三)
WeMos D1 WiFi Arduino UNO 開發板ESP8266 直接用Arduino IDE
WeMos D1 基於ESP-8266EX
Arduino兼容,使用Arduino IDE來編程
11 x I/O 引腳
1 x ADC 引腳(輸入範圍0-3.3V)
支持OTA無線上傳
板載5V 1A開關電源(最高輸入電壓24V)
WeMos D1 安裝教學
原廠技術文件說明 https://www.wemos.cc/product/d1.html
Arduino 安裝說明 https://www.wemos.cc/tutorial/get-started-arduino.html
NodeMCU 安裝說明 https://www.wemos.cc/tutorial/get-started-nodemcu.html
教學 http://www.instructables.com/id/Programming-the-WeMos-Using-Arduino-SoftwareIDE/
相關入門程式開發與說明 https://github.com/wemos
安裝硬件包後,直接用Arduino IDE 開發,跟Arduino UNO 一樣操作最便宜的WiFi Arduino 板.
一、Arduino的安裝說明:
打開ARDUINO軟體,檔案>>偏好設定,在下方額外的開發板管理員網址:輸入http://arduino.esp8266.com/stable/package_esp8266com_index.json
接著到工具>>開發板>>開發板管理員
拉到最下一欄會多一項ESP8266,需在欄內點一下才會出現安裝訊息
安裝好後會顯示INSTALLED
接下來到工具>>開發板>>選 WeMos D1 R2 & mini
板子的相關資訊
找一WiFiScan來測試一下
測試成功
二、下載WeMos範例檔:取自http://www.instructables.com/id/THE-2016-SUPER-NOOB-FRIENDLY-WAY-Control-an-Arduin/?ALLSTEPS
3. download the wemos D1 example sketches
4. Unzip the downloaded file
5. Copy all files in your arduino examples directory: (usually C:\Program Files (x86)\Arduino\examples)
6. open arduino IDE, select file - examples - D1 mini examples - basics - blink
7. under tools, select your wemos board and the right com port (this is the usb port you are using, usually only one option will be available)
8. upload your sketch, if your board's led blinks, you did good, if not, you missed one of the above steps.
結果如下: