274è¨äºç®ï¼ä¸å½è¼¸å ¥åã·ãªã¼ãºï¼
Â
ããã°ãã¯ããã¤ãèªãã§ããã ããããã¨ããããã¾ãã
趣å³ã§ä¸å½ããé¢ç½ããã»ä¾¿å©ãããªååãè¼¸å ¥ãã¦ä½¿ã£ã¦ã¿ã¦ãã¾ããtechemoã§ãã
ä»æ¥ã¯æè¿è³¼å ¥ããã¢ãã¿ã¼ã¤ãESP8266ã®ç´¹ä»ã§ãã
Â
ç¹å¾´ã¯
ã»ã¯ãã ä»ããå¿ è¦
ã»ã¢ãã¿ã¼ã¤ã
ãé ç·ãããã¦ãã®ã§ã¹ã±ãããæ¸ãè¾¼ãã ãã§ããã£ã¹ãã¬ã¼ã«è¡¨ç¤ºã¯å¯è½
ã»Wi-Fi使ãããBluetoothã¯ä½¿ããªã
ããã ãæé©ãã¼ã¯ããªãã®ã§å ã ã¨Wi-Fiã使ããªã
ã»å®ãï¼ï¼ï¼ï¼åï¼
ã»è»½ãï¼ï¼ï¼ï¼gï¼
Â
使ãæ¹ã¯
ããã¾ã§ç´¹ä»ãã¦ãããã¤ã³ã³åæ§ã§ãã
Â
â ã¯ãã ä»ã
ã¾ãã¯ãã ä»ãã§ãã³ãåãä»ãã¾ã
â¡é ç·
ãã£ã¹ãã¬ã¤ã®ãã³ã¯ãã¤ã³ã³ã«çµ¦é»ããã¨è¡¨ç¤ºããã¾ã
Dï¼ãSCL
Dï¼ãSDA
ã ãããªã®ã§ã温湿度ã»ã³ãµã¼ã®ï¼³ï¼£ï¼¬ãSDAããã®ãã³ã«ã¤ãªãã¾ãã
ESP8266å´ãã³â温湿度ã»ã³ãµã¼å´ãã³
3.3VâVCC
GNDâGND
D5âSCL
D6âSDA
Â
â¢ãã¼ãã®é¸æ
ç§ã®å ´åã¯ãã§ã«ESP8266ã®ã©ã¤ãã©ãªã¤ã³ã¹ãã¼ã«ãæ¸ãã§ããã®ã§ãã¼ããé¸æããã ãã§ä½¿ãã¾ãã
ãã¼ãã®é¸æã¯ãããªæãã§ã
ãã¼ã«âãã¼ãâesp8266âNodeMCU1.0(ESP-12E Module)
Â
â£ã³ã¼ãã®ä½æ
以åæ¸ãã温湿度ã»ã³ãµã¼ã®ã³ã¼ããæ¸ãè¾¼ãã§å®è¡ããã¨
温度ã¨æ¹¿åº¦ãé«åº¦ãæ°å§ãé çªã«è¡¨ç¤ºããã¾ãã
温度ã¨æ¹¿åº¦ã¯ä»ã®æ¸©æ¹¿åº¦è¨ã®è¡¨ç¤ºã¨ã ãããåãã§ã
Â
ãã£ã¹ãã¬ã¤ãã¤ãã¦ããã®ã§é ç·ããã¡ããã¡ãããSDAãSCLã®é ç·ããã®ã¾ã¾ä½¿ããã®ã§æå¤ã¨ä¾¿å©ã§ãã
Â
ä»æ¥ãæå¾ã¾ã§ãä»ãåãããã ããããã¨ããããã¾ããã
ç§ãè²·ã£ã¦ããã£ãååã¯ãããã·ã§ããã§è²©å£²ã§ããã°ã¨æã£ã¦ãã¾ãã
ä¼¼ããããªãã®ã¯Amazonã§ãããããå®ãè³¼å ¥ã§ãã¾ã