ååã«å¼ãç¶ããM5Stampããã£ã¦ã¿ãã
ãã£ã¦ã¿ããã¨
Example Projectãè²ã
ãã£ãã®ã§ãæããã次第ãã£ã¦ã¿ãã
ã±ã±ã£ã¨è²ã
試ãããã
Wi-Fiãµã³ãã«
M5Stampã§èå³ãããã¨ã®ä¸ã¤ã¯Wi-Fiæ©è½ã
試ãã«å®¶ã®Wi-Fiã«æ¥ç¶ã§ãããï¼
ESP-IDFã§ãµã³ãã«ã調ã¹ãã¨ã"Wi-Fi Station Example"ã¨ããã®ãããã
ããã¯Wi-Fiã®ã¢ã¯ã»ã¹ãã¤ã³ãã¸ã®æ¥ç¶ã®ãµã³ãã«ã®ããã
ããã¸ã§ã¯ãä½æ
ååã®æé ã§ã
ãããªæãã®ããã¸ã§ã¯ããéããã
ä¸ã®ã³ã³ã½ã¼ã«åºåãã¡ãã£ã¨æ°ã«ãªããâ¦
ããã¸ã§ã¯ãè¨å®
ã¾ãã¯ã¿ã¼ã²ããããã¤ã¹ãè¨å®ã
ã³ãã³ããã¬ããããã"ESP-IDF: Set Espressif device target"ãå®è¡ã
ããã¯åã¨éããªãã
次ã«ãSDKã®è¨å®ã
Example Projectã®README(âã®ç»åã§éãã¦ãã)ãè¦ãã¨ãããã¸ã§ã¯ãã®è¨å®ã¡ãã¥ã¼ã®ä¸ã®"Example Configuration"ã§Wi-Fiã®SSIDããã¹ã¯ã¼ããè¨å®ããããã«æ¸ããã¦ããã
"ESP-IDF: SDK Configuration editor"ã³ãã³ãã§ãSDK Configuration editorãéãã¦ãè¨å®é ç®ãæ¤ç´¢ãã¦ã¿ãã¨ããã®é ç®ãåºã¦ããã
ãããã家ã®Wi-Fiã®ãã®ã«è¨å®ãã¦ã"Save"ããã
ãã«ããå®è¡
ä»åã¯ããã«ãããå®è¡ã¾ã§ä¸æ°ã«ããã³ãã³ãã使ã£ã¦ã¿ããã
ãã®åã«ãCOMãã¼ãã®è¨å®ãå¿
è¦ã
"ESP-IDF: Select port to use (COM, tty, usbserial)"ãå®è¡ã使ãCOMãã¼ããé¸æããã
VSCodeã®å·¦ä¸ãè¦ãã¨ãè¨å®ãããCOMãã¼ãã表示ããã¦ããã
次ã«ã"ESP-IDF: Build, Flash and start a monitor on your device"ãå®è¡ã
ã©ããªããã
è¦ã¦ãã¨ããã«ãã¯å®äºãã¦ãèªåã§ããã¤ã¹ã¸ã®æ¸ãè¾¼ã¿ãè¡ããã¦ããããã
é²ã¾ãªããªã¨æã£ã¦ãããVSCodeã®ä¸ã®ã»ãã§æ¸ãè¾¼ã¿æ¹æ³ã®é¸æãããã¨åºã¦ããã
"UART"ãé¸æããããæ¸ãè¾¼ã¿ãé²ãã ã
æ¸ãè¾¼ã¿ãçµããã¨ãèªåã§ã¢ãã¿éå§ããã¦ããã
表示ãè¦ãã¨ãç¡äºã«Wi-Fiæ¥ç¶ãããããã
DHCPã§IPã¢ãã¬ã¹å²ãå½ã¦ãããæ¨æ¸ããã¦ããã
â»Wi-Fiæ
å ±ã¯ä¼ãã¦ã¾ãã
以ä¸
ããã°æ¸ããªããã§ã1æéããããã«ããã£ã¨ã§ããã®ã§ããæãã
ã±ã±ã£ã¨ããã°10åããããã«ã§ããã®ã§ã¯ã
ä»ã«ããããã試ãã¦ã¿ããã