第303å SORACOMå ¬å¼ããã°
ã½ã©ã³ã å ¬å¼ããã°
å¨å® å¤åã§ãç¼ã大äºã«ï¼éç¥ä»ãå é測å®ã·ã¹ãã ãä½ã£ã¦ã¿ããSORACOM Discovery 2023 å±ç¤ºã¬ãã¼ãã
ãæ¬è¨äºã¯ã½ã©ã³ã ãæä¾ãããSORACOMå ¬å¼ããã°ãã«æ²è¼ããããå¨å® å¤åã§ãç¼ã大äºã«ï¼éç¥ä»ãå é測å®ã·ã¹ãã ãä½ã£ã¦ã¿ããSORACOM Discovery 2023 å±ç¤ºã¬ãã¼ããããåç·¨éãããã®ã§ãã
ç®æ¬¡
ãéç¥ä»ãå é測å®ã·ã¹ãã ãå¶ä½ã®èæ¯è£ ç½®ã®å¤è¦³
éç¥ä»ãå é測å®ã·ã¹ãã ã®ä½ãæ¹
ããã«ã¡ã¯ããããã¯ãããã¼ã¸ã£ã¼ã®å°æï¼ããã¯ãã¼ã tauï¼ã§ãã
ãã®è¨äºã§ã¯ SORACOM Discovery 2023ã®ãã½ã©ã³ã 社å¡ã«ãã IoT ãããã¿ã¤ãã³ã°ã³ã¼ãã¼ãã§å±ç¤ºããç§ã®å¶ä½ç©ãéç¥ä»ãå é測å®ã·ã¹ãã ãã®ä½ãæ¹ï¼+ å¶ä½ã®åæ©ï¼ã解説ãã¾ãã
ãéç¥ä»ãå é測å®ã·ã¹ãã ãå¶ä½ã®èæ¯
ã½ã©ã³ã ã§ã¯ãªã¢ã¼ãã¯ã¼ã¯ã主ä½ã«ãåèªãæãçç£çã«æ´»åã§ããå ´æãé¸ãã§åããã¨ãã§ãã¾ããç§ããã®å¶åº¦ãæ´»ç¨ãã¦æè»ãªåãæ¹ã§æ¥åã«å½ãã£ã¦ããã®ã§ãããã¨ãã«ä»äºã«æ²¡é ãããã¾ãæ¥æ²¡ã«æ°ä»ãããé¨å±ãçã£æã«ãªã£ã¦ãç §æãç¹ãå¿ãã¦ãã¾ããã¨ãããã¾ããã
é¨å±ã®æããã足ããªãã¨ç¼ç²¾ç²å´ãèµ·ãããããæåãèªãããã«ä¸é©åãªå§¿å¢ãç¶ãããã¨ã«ããä¸è¢é害çã®å¥åº·é害ãèµ·ããããã¾ããï¼â»1ï¼ãåå´çã¯ãä¸è¬çãªäºåä½æ¥ãè¡ãå ´æã®ç §åº¦ã®åºæºã 300ã«ã¯ã¹ä»¥ä¸ã¨ç令ã§å®ãã¦ãã¾ãããã£ã¨æ¥æ²¡å¾ã®ä½æ¥ç°å¢ã¯ãã®åºæºãä¸åã£ã¦ããã§ãããã
èªå® ã«å¥åº·ã§å¿«é©ãªãªã¢ã¼ãã¯ã¼ã¯ç°å¢ãæ´åããããã«ãéç¥ä»ãã®å é測å®ã·ã¹ãã ããããã¿ã¤ããã¦ã¿ã¾ããã使ç¨ããã®ã¯ SORACOMãµã¼ãã¹ã®ã¿ï¼+ éç¥å ã¨ã㦠Slackï¼ã¨ãã·ã³ãã«ãªæ§æã§ããã¨ã³ã¸ãã¢ã®èæ¯ãæããªã人ï¼ç§èªèº«ãããï¼ã§ããSORACOMãå©ç¨ããã°ç°¡åã« IoTã·ã¹ãã ãä½ãããã¨ãã以éã®ç¯ã§ãä¼ãã§ããã°ã¨æã£ã¦ãã¾ãã
ãã³ãã¬ãããè·å ´ã«ãããå´åè¡çåºæºãå¤ããã¾ããã(åå´ç 2022-03-01 å ¬å¸)
è£ ç½®ã®å¤è¦³
使ç¨ããæ©æ㯠Grove IoT ã¹ã¿ã¼ã¿ã¼ããã for SORACOM (Wio LTE JP Version) 㨠GROVE – å ã»ã³ãµ v1.2ã§ããæ¬ä½ã¯ Discoveryå½æ¥ã®å±ç¤ºã§ã¯ãã¢ã容æã«ããããåºæ¿ãè¦ããç¶æ ã§ããããå®ä½¿ç¨ã§ã¯åéæã®ååºã±ã¼ã¹ã«æ ¼ç´ãã¾ããå ¬å¼ããã¥ã¡ã³ãã«ããã¨å©ç¨ããã¦ããå ã»ã³ãµã®åçªã¯ LS06-MΦ5ã§ããã¼ã¿ã·ã¼ãããã¯åºåå¤ã¨ç §åº¦ï¼ã«ã¯ã¹ï¼ã¨ã®å¯¾å¿ãåããã¾ããã§ããããã®ããä»åã¯å³å¯ãªç §åº¦æ¸¬å®ãç®æã代ããã«ãã»ã³ãµãçä½å é¨ã«åç´ããç¶æ ã§æ¸¬å®ãããå éã®å¤ã使ã£ã¦éç¥ããæããã®é¾å¤ã決ãã¦ããã¾ãã
ç §åº¦ï¼LUXï¼ã測å®ã§ããã»ã³ãµï¼ä¾ãã° GROVE – I2C ãã¸ã¿ã«å ã»ã³ãµï¼ã使ç¨ããæ¡ãæ¤è¨ãã¾ããããä»åã®ç®çã«ç §ããã¦è²»ç¨é¢ãèæ ®ããã¨ãªã¼ãã¼ã¹ããã¯ã¨èãã¦æ¡ç¨ãè¦éãã¾ãããä»åã¯ãã©ããã¦ãç令æºæ ã®ä»äºç°å¢ãä¸å¯æ¬ ï¼ãã¨ããããã§ããªãã§ããã大ã¾ããªå¾åãç¥ãã«ã¯å è¿°ã®ã»ã³ãµã§ãååãªæ§è½ãããããã§ãã
é»æºã±ã¼ãã«ãå¤ã«éããå¿ è¦ãããã±ã¼ã¹ã®èã«åãæ¬ ããå ¥ãã¾ããã
å½åãå é測å®å¨ã¯ä½æ¥æºã®ä¸ã«è¨ç½®ãã¾ãããå³å¯ãªç §åº¦ã測å®ã§ããã®ãçæ³ã§ããããã®ã»ã³ãµã使ãéãã¯é£ããã§ãããã®ãããªè¨ç½®å ´æã®æ¡ä»¶ãè¸ã¾ãã¦æããã®é¾å¤ãçµé¨çã«èª¿æ´ãã¾ããã
éç¥ä»ãå é測å®ã·ã¹ãã ã®ä½ãæ¹
ä¸å³ãä»å製ä½ããã·ã¹ãã ã®æ§æå³ã§ããWio LTEã«æ¥ç¶ããå ã»ã³ãµã¼ã®å¤ãããããããè¨å®ããé¾å¤ãä¸åã£ãã¨ã SORACOM Lagoonãã Slack㸠Alertãçºå ±ãã¾ããã¾ããé¾å¤ä»¥ä¸ã®æããã«å¾©å¸°ããã¨ãã«ã Alertãçºå ±ãã¾ãã
Wio LTEã«æ¸ãè¾¼ãããã°ã©ã ã¯ããµã³ãã«ããã°ã©ã ã微修æ£ãã¦ä½æãã¾ãããã¾ã Wio LTE ã®éçºç°å¢ãæºåãããåèã« Arduino IDEãã»ããã¢ãããã¾ãã次㫠[File] > [Examples] > [Wio LTE for Arduino] > [soracom] > [soracom-harvest] ãé¸æããSORACOM Harvesrtã«ãã¼ã¿ãéä¿¡ãããµã³ãã«ããã°ã©ã ã表示ãã¾ããæå¾ã«ãã³ã¼ãã®ããã¤ãã®ç®æãä¿®æ£ãã¾ãã
GROVE – å ã»ã³ãµ v1.2 ã¯ã¢ããã°ã»ã³ãµã®ãããWio LTEã®ã¢ããã°ãã³ï¼ä»å㯠A4ï¼ã«ã»ã³ãµãæ¥ç¶ãã¾ããå ¬å¼ããã¥ã¡ã³ã ã«ããã¨ãA4ãã³ã¯ 12bitã® Analog to Digital Converterã§ãã
// use analog pin to measure light
#define LIGHT_SENSOR_PIN (WIO_A4)
setup()
é¢æ°ã« Groveã³ãã¯ã¿ã¸ã®çµ¦é»ã¨ Pin Modeã®å®ç¾©ã追å ãã¾ãã
// Light Sensor Pin set
Wio.PowerSupplyGrove(true);
pinMode(LIGHT_SENSOR_PIN, INPUT_ANALOG);
loop()
é¢æ°ã« Groveãã³ããã¢ããã°å¤ãåå¾ããã³ã¼ããå®è£
ãã¾ãããªãã¡ã¬ã³ã¹ãåèã«ããµã³ãã«ã³ã¼ãä¸ã®æ¡ä»¶ã³ã³ãã¤ã«ã®ããã㯠#ifdef SENSOR_PIN
ã次ã®ããã«æ¸ãæãã¾ããã
// measure light
LightSensor:
int light = 0;
light = analogRead(LIGHT_SENSOR_PIN);
char data[100];
sprintf(data, "{\"light\": %d}", light);
SerialUSB.print("data: ");
SerialUSB.println(data);
SORACOMå´ã§ã¯ SORACOM Harvest Data㨠SORACOM Lagoonã使ç¨ãã¾ããã°ã«ã¼ãè¨å®ã§ Harvest Dataãæå¹ã«ããLagoon㧠Alertãè¨å®ãã¾ãããä»åã® Alertæ¡ä»¶ã¯ã15åãã¨ã«éå» 15åéã®ã»ã³ãµå¤ã®å¹³åãè©ä¾¡ãã150ãä¸åã£ããå³åº§ã« Alertãã§ãããã®ã150ãã¯ç §åº¦ï¼LUXï¼ã¨ç°ãªãå¤ã¨ãªãã¾ãããç§ãèªå® ã§éããã¦ãæããªãé»æ°ç¹ããããªãã¨æããæããã§ããããã¯ãçããã®ç°å¢ã§èª¿æ´ããã ãå¤ã«ãªãã¾ãã
SORACOM Lagoon 3 ã§å¼·åããã Alert æ©è½ã® Alert ruleã§ã¯ãä¸å³ã®ããã« 3ã¤ã®æéæ¦å¿µãè©ä¾¡ç¯å²ããè©ä¾¡ééããFiringã«å¤åããã¾ã§ã® Alert ruleã®ç¶ç¶æéãã®çµã¿åããã§æè»ãªã¢ã©ã¼ãæ¡ä»¶ãä½æã§ãã¾ãããªãå³ä¸ã«ç¤ºããã¦ãã¾ããããAlertã®è¨å®ã®éã«ã¯ Lagoonã Harvest Dataãããã¼ã¿ãåå¾ããééï¼Makerãã©ã³ã§ã¯ 30ç§ï¼ã«ã注æãã¾ãããã
Lagoonã® Contact Pointã«ã¯ãSlackã® Incoming Webhookã® URLãè¨å®ãã¾ããLagoonã®è¨å®ãè¡ãåã« Slack APIã§ã¢ããªãä½æãã[Features] > [Incoming Webhooks] 㧠Webhook URLãçºè¡ãã¦ããã¾ãããã
ããã¾ã§è¨å®ããã¨ãAlert ruleã®å®ç¾©ã«å¾ã£ã¦ Lagoonã Alertãçºå ±ãã¦ããã¾ããä¸ã®ç»å㯠Discovery 2023å½æ¥ã®ãã½ã©ã³ã 社å¡ã«ãã IoTãããã¿ã¤ãã³ã°ã³ã¼ãã¼ãã®ãã¢ã§ãç¡äºã« Alertãçºå ±ããã¦ããæ§åã§ããå½æ¥ãåé¡ãªãåä½ãã¦ããã¦è¯ãã£ãã§ãã
å®éã« IoTæ©å¨ãèªä½ãããã¨ã§ããã¼ãã¦ã§ã¢ã触ã楽ãããã½ããã¦ã§ã¢ãçµã¿ç«ã¦ã楽ããããã㦠IoTã®ä¾¿å©ããããã¾ã§ä»¥ä¸ã«å®æã§ãã¾ããããã²çãããæ°è»½ã«æãåããã¦ã¿ã¦ãã¨ããµã¤ãã£ã³ã°ãª IoTãèã§æãã¦ã¿ã¦ãã ããï¼
â ã½ã©ã³ã å°æï¼tauï¼
æ稿 å¨å® å¤åã§ãç¼ã大äºã«ï¼éç¥ä»ãå é測å®ã·ã¹ãã ãä½ã£ã¦ã¿ããSORACOM Discovery 2023 å±ç¤ºã¬ãã¼ãã 㯠SORACOMå ¬å¼ããã° ã«æåã«è¡¨ç¤ºããã¾ããã
ãã®é£è¼ã®è¨äº
-
第494å
ãã¸ã¿ã«
SORACOM Flux ã°ã©ã³ããªéå¬ï¼ã»ã¼ã«ã¹ã¡ã³ãã¼ã®ææ¦ã¨ææ -
第493å
ãã¸ã¿ã«
ãå¾ç·¨ãçæ AI ã âããã«â 使ãããªããï¼ã¤ã®èãæ¹ã¨ã¦ã¼ã¹ã±ã¼ã¹ -
第492å
ãã¸ã¿ã«
çæ AI ã âããã«â 使ãããªããï¼ã¤ã®èãæ¹ã¨ã¦ã¼ã¹ã±ã¼ã¹ãåç·¨ã -
第491å
ãã¸ã¿ã«
éå¤æ´»åãå¥ããã«ï¼æ¸©åº¦ã¨æ¹¿åº¦ã§å±éºãªæããå¤å®ã㦠SORACOM Lagoon 3 ã§éç¥ããã -
第490å
ãã¸ã¿ã«
SORACOM FluxãAmazon Novaã«å¯¾å¿ãATOM Cam Swingå°ç¨LANã¢ããã¿ã¼ã販売éå§ãä» ã»ã¼é±åã½ã©ã³ã 12/14-01/03 -
第489å
ãã¸ã¿ã«
æ¥çå¥ã«å¦ã¹ããIoTã»ãã¸ã¿ã«åã®èª²é¡ã¨è§£æ±ºçã®åç»ãå ¬é -
第488å
ãã¸ã¿ã«
M5StackããSORACOMãããã¦AWSãä½é¨ï¼åé¸ã®IoTã¤ãã³ã â IoT Get Started Day ã¬ãã¼ã -
第487å
ãã¸ã¿ã«
ã½ã©ã³ã ãµã³ã¿ããæããã㦠2024 -
第486å
ãã¸ã¿ã«
SORACOMããã£ã¨ä¾¿å©ã«ï¼ç¡ææ©è½ãã«æ´»ç¨ï¼SIMã®é¸ã³æ¹ -
第485å
ãã¸ã¿ã«
çé»åéä¿¡LTE-M対å¿ã®å°åãã¤ã³ã³ãã¼ããSORACOM IoTã¹ãã¢ã§æä¾éå§ããã¼ã³ã¼ãIoTã¢ããªã±ã¼ã·ã§ã³ãã«ãã¼ãSORACOM Fluxãã®æéãã©ã³ãçºè¡¨ takuyaã®ã»ã¼é±åã½ã©ã³ã 11/30-12/13
ãã®è¨äºã®ç·¨éè ã¯ä»¥ä¸ã®è¨äºããªã¹ã¹ã¡ãã¦ãã¾ã
-
ãã¸ã¿ã«
çã®IoTã¯ããã ã£ãã®ãï¼ããã1ã¤ã®åºèª¿è¬æ¼ã§å®å·CTOãåãããã -
ãã¸ã¿ã«
ã©ã¼ã¡ã³Walkerãããã³ÃIoTã®æ¿éãæ«é²ãç¥è¦ã»ããããã¾ã§çã ãã -
ãã¸ã¿ã«
ã½ã©ã³ã ãå½å ã®ã¹ã¼ãã¼ãã¼ã±ããäºæ¥ç¤¾ã対象ã«ãã½ã©ã«ã¡ããç¡åã§æ大3ãµæéå©ç¨ã§ããã¢ãã¿ã¼ãåé -
ãã¸ã¿ã«
SORACOM Discovery 2023 åã»ãã·ã§ã³ã®è³æãå ¬éãSORACOM API ãªãã¡ã¬ã³ã¹ãæ´æ° takuyaã®ã»ã¼é±åã½ã©ã³ã 07/22-08/04
éå»è¨äºã¢ã¼ã«ã¤ã
- 2025å¹´
- 01æ