ãããžã§ã¯ãã®äœè ã§ããinstructables.comããã®ç¿»èš³ïŒMatlek
ãã®èšäºã§ã¯ããµã€ã¯ãªã¹ããéè·¯ã移åããä»ã®äººã ã®å®å šæ§ãé«ããããã«èšèšããããã¹ããŒãã°ããŒãããšãã®LEDããã«ãäœæããããã»ã¹ã«ã€ããŠè©³ãã説æããŸãããŸãããããã©ã®ããã«æ©èœãããã«ã€ããŠã®å°ããªãã¢ã³ã¹ãã¬ãŒã·ã§ã³ãèŠãããšãã§ããŸãã
䜿ãæ¹
ã°ããŒãã«ã¯ããžã£ã€ãã¹ã³ãŒããšå é床èšããããŒã¿ãåéããArduinoããŒããå«ãŸããŠããŸãããã®ã³ãŒãã¯ããå°ããªæ©æ¢°åŠç¿ãã®tinyMLã¢ãã«ã䜿çšãããžã§ã¹ãã£ãŒãèªèããŸããæã®ãã¹ãŠã®åããåæãããä¿¡å·ã«å€æãããŸãïŒæã¯å·Šãå³ãåãåŸããªã©ã«åŸããããŸãïŒãä¿¡å·ã¯ãBluetoothïŒBLEïŒãä»ããŠãLEDãããªãã¯ã¹ãæ¥ç¶ãããŠããå¥ã®ãã€ã¯ãã³ã³ãã¥ãŒã¿ãŒã«éä¿¡ãããŸãïŒããšãã°ãããã¯ããã¯ã«æ¥ç¶ã§ããŸãïŒãåä¿¡ããä¿¡å·ã«å¿ããŠããããªãã¯ã¹ã¯ç¹å®ã®æåã·ãŒã±ã³ã¹ãåºåããŸããããã«ãããä»ã®ã©ã€ããŒããµã€ã¯ãªã¹ãã¯ããµã€ã¯ãªã¹ããäœãããããšããŠããã®ããç解ã§ããŸãïŒããšãã°ãå·Šãå³ããŸãã¯ããã¹ããžã®ç¢å°ãªã©ïŒã
ãããžã§ã¯ãã®èµ·æº
ãŸããèªè»¢è»ã«ä¹ã£ãŠä»äºããã1æ¥1æé以äžãµãã«ã§éãããŸãïŒçŽ22kmèµ°è¡ïŒããã€ãé¢çœãã§ãããç§ã¯ãã©ã³ã¹ã§æã人å£ã®å€ãéœåžã®1ã€ã«äœãã§ãããè»ããµã€ã¯ãªã¹ããé¢ä¿ããäºæ ãé »ç¹ã«çºçããŸãããŸãããã«ã»ã€ãŠã¯ãã©ã³ã¹ã§ãµã€ã¯ãªã¹ãã«ãšã£ãŠææªã®éœåžã§ã-èªè»¢è»éãåå®ã«äžè¶³ããŠããŸãããããã£ãŠããã®ãããžã§ã¯ãã¯ããµã€ã¯ãªã¹ãã®å®å šæ§ãé«ããããšãšããã®åé¡ã«åžåœå±ã®æ³šæãåŒãããšã®äž¡æ¹ã«åãçµãã§ããŸãã
第äºã«ããã®ãããžã§ã¯ãã¯ãéåã®ãã¹ãŠã®ã¡ã³ããŒããäºãã«ã³ãã¥ãã±ãŒã·ã§ã³ãåããããããç解ããã®ã«åœ¹ç«ã¡ãŸããç§ã®èŠè§£ã§ã¯ãéè·¯ã§çºçãããã©ãã«ã®ã»ãšãã©ã¯ãäžéšã®éè·¯å©çšè ãä»ã®äººã誀解ããææãšæ»æãããããããšããäºå®ã«ãããã®ã§ãããã®ãããªããã€ã¹ã䜿çšããŠããã©ãã£ãã¯åå è ããäºããããããç解ã§ããããã«ããããšæããŸããç¢å°ã¯æ¹åã瀺ããŠãããããã¹ããæåã§è¡šç€ºããããšãã§ããŸãïŒãã ãã競åãé¿ããããã«ãäžå¯§ã§å»ºèšçãªç¢æãå®å šãã€å®å šã«æšå¥šããŸãïŒã
ãªãã¹ããŒãã°ããŒãïŒ
ç§ã¯å¬ã«ãããžã§ã¯ãã®äœæ¥ãéå§ããŸããããå¯ã倩åã®ããã«ããã€ã¹ãã°ããŒãã«åãä»ããããã«ãªããŸãããããããç§ãã¡ã®å°åã§ã¯å€ã¯ããªãæãã®ã§ãã¢ã€ãã¢ãããŸãè¯ããªãããšã«ããã«æ°ã¥ããŸãããããã§ãããã€ã¹ãç®±ã«å ¥ããŠè ã«åºå®ããã®ãæåã ãšå€æããŸãããããããååã®ä»ãæ¹ãããããªãã£ãã®ã§ãã¿ã€ãã«ã«ãã°ããŒãããšããèšèãæ®ãããšã«ããŸããã
ãã¹ããŒããã¯ãç§ããã®ãããžã§ã¯ãã§äœ¿çšããæ©æ¢°åŠç¿æè¡ã«ç±æ¥ããŸãã
ã€ã³ã¹ãã¬ãŒã·ã§ã³
ãã®ãããžã§ã¯ãã¯åºæ¬çã«ãä»ã®2ã€ã®ãããžã§ã¯ããçµã¿åããããã®ã§ããç§ã¯æåããå§ããã®ã§ã¯ãªãã圌ãã®ãã¹ããã©ã¯ãã£ã¹ã䜿çšãããããããã«çºå±ãããŸãããéçºæã«ç§ãã€ã³ã¹ãã¬ãŒã·ã§ã³ãåŸããã®ã¯æ¬¡ã®ãšããã§ãã
- Arduino Nano 33 BLESENSEã«ãããžã§ã¹ãã£ãŒèªèã
- ç¹å®ã®ãããžã§ã¯ãã§ã¯ãªãããµã€ã¯ãªã¹ãã«LEDã¢ã¬ã€ã䜿çšãããšããã³ã³ã»ããã§ãããã®ãããªãããžã§ã¯ãã¯ãããããããŸã-çµ±åãããããã«ãåããããã¯ããã¯ã䜿çšãããã®ãããã°ãã©ãã«ã§ãé 眮ã§ããæ¢è£œã®ãããªãã¯ã¹ãæäŸãããã®ããããŸãããããã«ããããããã®LEDãããªãã¯ã¹ã¯ããžã§ã¹ãã£ãŒèªèã§ã¯ãªãããªã¢ãŒãã³ã³ãããŒã«ã«ãã£ãŠå¶åŸ¡ãããŸãã
ã³ã³ããŒãã³ã
3Då°å·ã®å Žå-3Dããªã³ã¿ãŒãŸãã¯3Dããªã³ã¿ãŒãžã®ã¢ã¯ã»ã¹ã
ãšã¬ã¯ãããã¯ã¹
- Arduino Nano 33 BLE SENSE;
- BLEãåããå¥ã®MIïŒArduino Nano 33 BLEãArduino 33 BLE SENSEãArduino nano 33 IOTãESP32ãªã©ïŒãESP32ããŒãã䜿çšããããšã«ããŸããã
- LEDã¹ããªããïŒWS2812BïŒã160åã®LEDã䜿çšããŠ20x8ãããªãã¯ã¹ãäœæããŸããã
- 3Vãã5VãŸã§ã®4ã¬ãã«ãããã¡ãŒïŒ74AHCT125ã
- ã³ã³ãã³ãµ1000uFã
- SPSTã¹ã€ããã3å
- ãã¬ããããŒãã
- ã¯ã€ã€ãŒã
- ããããªãŒ9Vã
- å€éšããããªãŒã
- 3.
- -.
1: (, )
Arduinoãšæ©æ¢°åŠç¿ã«é¢ããèšäºã èªãã åŸãç§ãè©ŠããŠã¿ãããšã«ããŸãããæè¿ãããã€ãã®æ°ããArduino NanoããŒããåºãŠããã®ã§ãè³Œå ¥ããåã«æè¯ã®éžæãããããã«æ¯èŒãã¬ãŒããäœæããŸããã
ãã¹ãŠã®ããŒãã¯èå³æ·±ããã®ã§ããããžã§ã¹ãã£ãŒèªèã«äœ¿çšã§ããã®ã¯Arduino Nano 33 BLESENSEã®1ã€ã ãã§ãã圌女ã ããé©åãªã»ã³ãµãŒãšTensorflowLiteããµããŒãããŠããŸãããã1ã€ã®èå³æ·±ãç¹ã¯ãArduino Nano 33 IOTãBLEãããã³BLE SENSEããŒãã«ã¯ç¬èªã®Bluetoothãããããããããã®ãããããLEDãããªãã¯ã¹ã§äœ¿çšããŠBLEä¿¡å·ãåä¿¡ã§ããããšã§ãã
ããŒãã«ããŒããããã³ãŒãã¯ãéçºäžã«èŠã€ããããŸããŸãªArduinoããã°ã©ã ã«åºã¥ããŠããŸãããããã£ãŠãäœæ¥ãéå§ããåã«ãèŠã€ããäŸã䜿çšããŠãã¹ãããããšã«ããŸããã
BLEã§éãŒã
ãã®ãããžã§ã¯ãã§ã¯ãBluetoothéä¿¡ãéèŠã§ããããã¯ãä¿¡å·ãã»ã³ãµãŒããLEDã¢ã¬ã€ã«éä¿¡ãããæ¹æ³ã§ããããã§ãããããŸã§ã¯ãBLEãä»ããŠ2ã€ã®ArduinoããŒããæ¥ç¶ããããšã¯ãããŸããã§ãããããã§ãArduinoBLEã©ã€ãã©ãªã®æ¬¡ã®äŸã䜿ã£ãŠç·Žç¿ããŸããã
- Arduino Nano 33 BLE SenseããŒãã§äœ¿çšãããLedControlã¹ã±ãããšããã³2ã«æ¥ç¶ããããã«ã¢ããæµæä»ãã®ãã¿ã³ããã®äŸã§ã¯ãUUID 19b10000-e8f2-537e-4f6c-d104768a1214ã®ãµãŒãã¹ãèŠã€ãããŸã§ãBLEããªãã§ã©ã«ãããŒãªã³ã°ããŸãããããæ€åºããŠæ¥ç¶ã確ç«ããåŸããã¿ã³ãæŒãããšã«ãããåšèŸºã®BLELEDããªã¢ãŒãå¶åŸ¡ããŸãã
- LEDããã³ArduinoNano 33IoTã®ã¹ã±ããã
æ®å¿µãªãããLEDã®ã¹ã±ããã«ã¯å€ãã®åé¡ããããŸãããããŒãäžã«3ã€ã®ããŒãããå£ããŸããããäœãåé¡ãªã®ãããããŸããããArduinoããŒããBLEä»ãã®å¥ã®MIïŒESP32ããŒãïŒã«äº€æããããšã«ããŸãããæ°ããããŒãã§ã¯ã次ã®ãã®ã䜿çšããŸããã
- BLE ESP32ARDUINOã©ã€ãã©ãªããã®BLE_writeã¹ã±ãããArduino Nano 33 BLESENSEããŒãã§åäœããããã«ããã€ãã®å€æŽãè¿œå ããŸãããã¹ããã10ã§ã¯ãBLE_writeã¹ã±ãããšç§ãäœæããŠã¢ããããŒãããSmartglove_BLE_LED-matrixã¹ã±ãããæ¯èŒã§ããŸãã
å èµã®RGBLEDã§éãã§ã¿ãŸããã
Arduino Nano 33 BLESENSEããŒãã«RGBLEDãçµã¿èŸŒãŸããŠããããšããåç¥ã§ããïŒãã®ãããžã§ã¯ãã§ã¯ããžã§ã¹ãã£ãŒèªèã®æ£ããåäœã確èªããã®ã«åœ¹ç«ã¡ãŸããä¿¡å·ãLEDã¢ã¬ã€ã«éä¿¡ãããããšã確èªããå¿ èŠããããŸãããããã«ã¯ãµã€ã¯ãªã¹ãã®èé¢ã«ããå¯èœæ§ãé«ãããããžã§ã¹ãã£ãŒèªèãæ©èœããŠä¿¡å·ãéä¿¡ãããããšããµã€ã¯ãªã¹ããç解ããã®ã¯å°é£ã§ãã
ããã§ã¯è€éãªããšã¯äœããããŸããã§ãããBlinkã®äŸãå°ã調æŽããã ãã§ãããã®ã³ãŒãã¯ãèµ€è²ã®LEDããã³22ã«ãããç·è²ããã³23ã«ãããéè²ããã³24ã«ããããšã瀺ããŠããŸããå ¥åä¿¡å·LOWã¯LEDããªã³ã«ããHIGH-ã¯LEDããªãã«ããŸãã
const int LED_BUILTIN_RED = 22;
const int LED_BUILTIN_GREEN = 23;
const int LED_BUILTIN_BLUE = 24;
// setup
void setup() {
// initialize digital pin LED_BUILTIN as an output.
pinMode(LED_BUILTIN_RED, OUTPUT);
pinMode(LED_BUILTIN_GREEN, OUTPUT);
pinMode(LED_BUILTIN_BLUE, OUTPUT);
}
// loop
void loop() {
digitalWrite(LED_BUILTIN_RED, LOW); // LED (HIGH â )
delay(1000); //
digitalWrite(LED_BUILTIN_RED, HIGH); // LED, LOW
delay(1000); //
digitalWrite(LED_BUILTIN_GREEN, LOW); // LED (HIGH â )
delay(1000); //
digitalWrite(LED_BUILTIN_GREEN, HIGH); // LED, LOW
delay(1000); //
digitalWrite(LED_BUILTIN_BLUE, LOW); // LED (HIGH â )
delay(1000); //
digitalWrite(LED_BUILTIN_BLUE, HIGH); // LED, LOW
delay(1000); //
}
ãžã§ã¹ãã£ãŒèªèãštinyMLã§éãã§ã¿ãŸããã
æåŸã«ãArduinoã§ã®æ©æ¢°åŠç¿ã®äœ¿çšã«é¢ãããã¥ãŒããªã¢ã«ãåŠã³ããžã§ã¹ãã£ãŒèªèã®äŸã䜿ã£ãŠç·Žç¿ããŸããããã®äŸã¯ã3ã€ã®äž»èŠãªéšåã«åãããŠããŸãã
- IMU_Captureããã°ã©ã ïŒããã³Arduino Nano 33 BLEã»ã³ã¹ïŒã«ããããŒã¿èªèã
- google colabïŒã³ã³ãã¥ãŒã¿ãŒäžïŒã«èšé²ãããããŒã¿ã®ã¢ãã«ãã¬ãŒãã³ã°ã
- ãã¿ãŒã³èªèã®ããã«IMU_Classifierã䜿çšããŠãã¬ãŒãã³ã°æžã¿ã®Arduinoã¢ãã«ã䜿çšããŸãïŒãããArduinoããŒãäžã§ïŒã
ã¹ããã2ïŒã°ããŒã1/6ïŒé»åæ©åšïŒ
ã¹ããã2ãã7ãŸã§ãç§ã¯åãå³ãæäŸããã°ããŒããäœãããã»ã¹ãç解ããããããããã«ãã®ã¹ãããã瀺ããŠããŸãã
ã°ããŒãã®é»ååè·¯ã¯éåžžã«ã·ã³ãã«ã§ãã
- ArduinoããŒãã
- 9VããããªãŒïŒç§ã¯å é»åŒããããªãŒã䜿çšããŠããŸãïŒã
- SPSTã¹ã€ããã
ã¹ããã3ïŒã°ããŒã2 / 6-ããã£
æ¬äœã¯ã·ã³ãã«ã§ã3Dããªã³ã¿ãŒã§å°å·ããã2ã€ã®éšåã®ã¿ã§æ§æãããŠããŸãã
- é»è²ã®éšåã«ã¯ãArduinoããŒããããããªãŒãã¹ã€ãããå«ãŸããŠããŸããã±ãŒã¹ã®ç©Žã«ãããã±ãŒã¹ãå解ããããšãªããããããªãŒãåå é»ããArduinoããŒããåããã°ã©ã ããããšãã§ããŸãã
- é»ãéšåã¯ããããªãŒãšããŒããä¿è·ããã«ããŒã§ãã
ãã«ã¯ãã®ã¹ããªããã§æã«åãä»ããŸãã
ãŸããããŽãæããããããµãã«æ¥çããŸãããäžããèŠããµã€ã¯ãªã¹ããè¡šããŠãããçã£çŽãåãå·Šãå³ã®3ã€ã®ç¢å°ããããŸããèªè»¢è»ã¯åŸéããªãããã4çªç®ã®ç¢å°ã¯ä»ã®3ã€ã®ç¢å°ããåé¢ãããŠããŸãã
ãã¡ã€ã«
content.instructables.com/ORIG/FS2/L3M3/K9N93ZYW/FS2L3M3K9N93ZYW.stl
content.instructables.com/ORIG/F72/21NG/K9N93ZZG/F7221NGK9N93ZZG.stl
content.instructables.com/NORIG9SZFD stl
ã¹ããã4ïŒã°ããŒã3/6ïŒããŒã¿èšé²
ããã€ã¹ãçµã¿ç«ãŠãããããŒã¿ãæžã蟌ã¿ãŸããç®æšã¯ãåãžã§ã¹ãã£ãŒãè€æ°åèšé²ããããšã§ãããžã£ã€ãã¹ã³ãŒãã®ãããå€ãèšå®ããŸãããããã®å€ãè¶ ãããšãArduinoã¯èšé²ãããããŒã¿ãã¢ãã¿ãŒã«åºåãå§ããŸãã
次ã®ãžã§ã¹ãã£ãŒãèšé²ããŸããã
- æã¯å·ŠãæããŠããŸãïŒå·Šã«æ²ããæšæºçãªãµã€ã¯ãªã¹ãã®ãžã§ã¹ãã£ãŒïŒã
- ãã¬ãŒãã³ã°ïŒãã¬ãŒãã¬ããŒã«æã䌞ã°ãæã§ã®ãžã§ã¹ãã£ãŒïŒã
- æã¯åŸãã«ããããŸãã
- æã¯åããã¿ã«ãªããŸãã
- æã¯å·Šã«åŸããŠããŸãã
- æã¯å³ã«åŸããŠããŸãã
åœç¶ãããªãã¯ããªãã®ãžã§ã¹ãã£ãŒãèšé²ããããšãã§ããŸãã
ããŒã¿ãèšé²ããããã«ã20ã¹ãããŒã¯ããšã«LEDã®è²ãåãæ¿ããããã°ã©ã ãäœæããŸãããããã¯ç§ããã€å¥ã®ãžã§ã¹ãã£ãŒã«ç§»ãã¹ãããç解ããã®ã«åœ¹ç«ã¡ãŸãããArduinoãã³ã³ãã¥ãŒã¿ãŒã«æ¥ç¶ããããŒã远跡ããã°ã©ã ãéããŠãã©ããããããããã¯ããã¯ã«å ¥ããŸããã
ãã¹ãŠã®ãžã§ã¹ãã£ãŒãèšé²ããåŸãæåŸã®æ®µéã«é²ã¿ãŸãããããŒã¿åºåãããã°ã©ã ã«ã³ããŒããŠãcsv圢åŒã§ä¿åããŸããã
content.instructables.com/ORIG/FC7/B0JT/K9UEA78V/FC7B0JTK9UEA78V.ino
ã¹ããã5ïŒã°ããŒã4/6ïŒãã¬ãŒãã³ã°
ãã¬ãŒãã³ã°ã«ã¯ã次ã®äŸã䜿çšããŠããã®äžã®æ°è¡ã ããä¿®æ£ããŸããããã¬ãŒãã³ã°ã®åã«ããžã§ã¹ãã£ãŒããšã«ç¬èªã®csvãã¡ã€ã«ããããåãã¡ã€ã«ã®ããŒã¿ããã®ç¹å®ã®ãžã§ã¹ãã£ãŒãåç §ããŠããããšã確èªãã䟡å€ããããŸãã
Google Colab Webãµã€ãã§ã[ããŒã¿ã®ã¢ããããŒã]ã»ã¯ã·ã§ã³ã®ãªã³ã¯ã䜿çšããŠããŒã¿ãã¢ããããŒãããŸãã
[ã°ã©ãããŒã¿ïŒãªãã·ã§ã³ïŒ]ã»ã¯ã·ã§ã³ã§ãããããã®ãã¡ã€ã«ã®ååãè¿œå ããŸãã
filename = "Arm_left.csv"
次ã«ããã®è¡ãä¿®æ£ããŠããžã£ã€ãã¹ã³ãŒãããŒã¿ã®ã¿ãåºåããŸãã
#index = range(1, len(df['aX']) + 1)
index = range(1, len(df['gX']) + 1)
次ã®è¡ãã³ã¡ã³ãã¢ãŠãããŸã-å é床èšã®ããŒã¿ã¯äœ¿çšããŸããïŒ
#plt.plot(index, df['aX'], 'g.', label='x', linestyle='solid', marker=',')
#plt.plot(index, df['aY'], 'b.', label='y', linestyle='solid', marker=',')
#plt.plot(index, df['aZ'], 'r.', label='z', linestyle='solid', marker=',')
#plt.title("Acceleration")
#plt.xlabel("Sample #")
#plt.ylabel("Acceleration (G)")
#plt.legend()
#plt.show()
[ããŒã¿ã®è§£æãšæºå]ã»ã¯ã·ã§ã³ã§ããã¹ãŠã®ãã¡ã€ã«åãè¿œå ããŸãã
#GESTURES = ["punch", "flex",]
GESTURES = ["Arm_left", "Brake", "Hand_back-tilt", "Hand_front-tilt", "Hand_left-tilt", "Hand_right-tilt"]
Arduinoã³ãŒãã§ãµã³ãã«ãå€æŽããå Žåã¯ã1åã®ãžã§ã¹ãã£ãŒã§ãµã³ãã«æ°ãå€æŽããŸãã
#SAMPLES_PER_GESTURE = 119
SAMPLES_PER_GESTURE = 64
å éã«ã€ããŠã³ã¡ã³ãããã ãã§ãïŒ
# normalize the input data, between 0 to 1:
# - acceleration is between: -4 to +4
# - gyroscope is between: -2000 to +2000
tensor += [
#(df['aX'][index] + 4) / 8,
#(df['aY'][index] + 4) / 8,
#(df['aZ'][index] + 4) / 8,
(df['gX'][index] + 2000) / 4000,
(df['gY'][index] + 2000) / 4000,
(df['gZ'][index] + 2000) / 4000
]
ããã°ã©ã å šäœãå®è¡ããåŸããã¬ãŒãã³ã°æžã¿ã¢ãã«ãããŠã³ããŒãã§ããŸãã
ãã¡ã€ã«
content.instructables.com/ORIG/F7A/GLEK/K9UEA8Z5/F7AGLEKK9UEA8Z5.csv
content.instructables.com/ORIG/FV1/853G/K9UEA8Z6/FV1853GK9UEA8Z6.csv
content.instructables.com/ORIG8/FQKD csv
content.instructables.com/ORIG/F7N/P7AG/K9UEA8Z9/F7NP7AGK9UEA8Z9.csv
content.instructables.com/ORIG/FD4/WZRM/K9UEA8ZA/FD4WZRMK9UEA8ZA.csv
content.in7EA8Fstru2.com .csv
ã¹ããã6ïŒã°ããŒã5/6ïŒArduino
ã³ãŒãç§ã®æåŸã®ã¹ããŒãã°ããŒãã³ãŒãã¯ã次ã®ããã°ã©ã ãçµã¿åããããã®ã§ãã
- ãArduinoBLEãã©ã€ãã©ãªã®ãLEDãã®äŸïŒ[Peripheral]> [LED]ïŒã
- ãããããIMU_Classifierãã
ããã§ã¯è©³ãã説æããŸãããäœãèµ·ãã£ãŠããã®ããããããç解ããããã«ãå ã®ããã°ã©ã ãèªãããšããå§ãããŸãã
ã¢ãã«ãã³ãŒãã«è¿œå ãããšããã¹ãã§ããŸãã
ãã¡ã€ã«
content.instructables.com/ORIG/F9N/4SBK/K9UEA98M/F9N4SBKK9UEA98M.h
content.instructables.com/ORIG/FKZ/ODO9/KB52VXZK/FKZODO9KB52VXZK.ino
ã¹ããã7ïŒã°ããŒã6/6ïŒãã¹ã
ãããªãããããããã«ãèªèããããžã§ã¹ãã£ã«å¿ããŠLEDã®ç¹ç¯ãç°ãªããŸãã
ã¹ããã8ïŒ1/4 LEDãããªãã¯ã¹ïŒãšã¬ã¯ãããã¯ã¹
åè¿°ããããã«ãArduino Nano 33 BLE SENSEã®LEDã®ã¹ã±ãããArduinoBLEã©ã€ãã©ãªããã¢ããããŒããããšãããã€ãã®åé¡ãçºçããŸãããããã§ããã®ããŒãã®ä»£ããã«ESP32ã䜿çšããããšã«ããŸããããããã£ãŠãäžã®åçã§ã¯äž¡æ¹ã®ããŒããèŠãããšãã§ããŸãã
Arduino Nano 33 BLE SENSEããŒããšESP32ããŒãã¯ã©ã¡ãã3.3Vããžãã¯ã§åäœãããããAdafruitã®æ瀺ã«åŸã£ãŠã 3Vãã5VïŒ74AHCT125ïŒã®4ã¬ãã«ãããã¡ãŒãè¿œå ããŸããã
ãŸããçªç¶ã®é»å§ãµãŒãžããLEDãä¿è·ããããã«ã100uFã®ã³ã³ãã³ãµãè¿œå ããŸããã
åè·¯å šäœããã¬ããããŒãã«çµã¿ç«ãŠãŸããã
LEDãããªãã¯ã¹ã«å¿ èŠãªé»æµãå€ãããã®ã§ã¯ãªãããšå¿é ãããããå€éšé»æºã®äž¡æ¹ã®ã³ãã¯ã¿ã䜿çšããããšãããããŸãããããã£ãŠããããªãã¯ã¹ãšMIã¯ãå€éšé»æºã®ç°ãªãã³ãã¯ã¿ããé»åãäŸçµŠãããŸãã
ã¹ããã9ïŒLEDã¢ã¬ã€2/4ïŒæ¬äœ
ãã¬ããã®LEDãããªãã¯ã¹ã±ãŒã¹ãå¿ èŠã§ããããããã£ãŠãããã¯ããã€ãã®éšåã§æ§æãããŠããïŒãŸããç§ã®3Dããªã³ã¿ãŒã¯éåžžã«å°ããããïŒããããã®ãã«ãçšã®ç©ŽãèšããŸããã
ããäžåºŠãã«ã¯ãã䜿ã£ãŠããã«ãåãä»ããŸããã
ãã¡ã€ã«
content.instructables.com/ORIG/FH6/TB4H/K9N93ZZJ/FH6TB4HK9N93ZZJ.stl content.instructables.com/ORIG/FK3/BZPC/K9N93ZZK/FK3BZPCK9N93ZZK.stl
content.instructFLZK9N93ZZK.stl
content.instructFLZZJ STL
content.instructables.com/ORIG/F38/BF1P/K9N93ZZM/F38BF1PK9N93ZZM.stl
content.instructables.com/ORIG/FJC/DQMY/K9N93ZZN/FJCDQMYK9N93ZZN.stl
content.inelqvf9qfr / .stl
content.instructables.com/ORIG/FJE/C5FG/K9N93ZZR/FJEC5FGK9N93ZZR.stl
content.instructables.com/ORIG/F55/1X43/K9N93ZZS/F551X43K9N93ZZS.stl
ã¹ããã10ïŒ3/4 LEDãããªãã¯ã¹ïŒArduinoã³ãŒã
çµæã®ã³ãŒãã¯ã次ã®ã³ãŒãïŒããã³ãããã®å€æŽïŒãçµã¿åããããã®ã§ãã
- BLE ESP32ARDUINOã©ã€ãã©ãªããã®BLE_Writeã®äŸã
- FastLEDNeoMatrixã©ã€ãã©ãªã®MatrixGFXDemo64ã®äŸã
ããã§ã¯è©³ãã説æããŸãããäœãèµ·ãã£ãŠããã®ããããããç解ããããã«ãå ã®ããã°ã©ã ãèªãããšããå§ãããŸãã
content.instructables.com/ORIG/FIR/RETZ/KB52VXP4/FIRRETZKB52VXP4.ino
ã¹ããã11ïŒLEDãããªãã¯ã¹4/4ïŒãã¹ã
ãã¹ãŠããã§ãã¯ããæãæ¥ãŸããïŒåãžã§ã¹ãã£ãŒãèªèããåŸãä¿¡å·ãLEDãããªãã¯ã¹ã«éä¿¡ãããç¹å®ã®ãã¿ãŒã³ã衚瀺ãããŸããèªèããããžã§ã¹ãã£ãŒã«åŸã£ãŠãã°ããŒãã®LEDãç¹ç¯ããŠããããšãããããŸãã
ã¹ããã12ïŒæçµãã¹ããšçµè«
ãããã©ã€ãã®æ§åã§ãã
åŸãããããã€ã¹ã«éåžžã«æºè¶³ããŠããŸãããããžã§ã¯ãã®ãããã§ãtinyMLãšBLEã«ãã£ãšèªä¿¡ãæã£ãŠããŸãããã以æ¥ãå¥ã®Arduino Nano 33 IOTãè³Œå ¥ããçŸåšã¯éåžžã«èå³æ·±ããããžã§ã¯ãã«åãçµãã§ããŸããããã«ã€ããŠã¯åŸã§èª¬æããŸãã説æããããã€ã¹ã®2çªç®ã®ããŒãžã§ã³ã§äœãå€æŽããŸããïŒ
- «». , . - - , . .
- . , USB . , . .
- . , . , ( 20 ). â , .
ãããžã§ã¯ããå®äºããŠãã®ããã¹ããæžãã®ã«æ°ã¶æããããŸãããäžæãªç¹ãããå ŽåããŸãã¯äžéšã®ãã¡ã€ã«ãæ¬ èœããŠããå Žåã¯ãå ã®èšäºã«ã³ã¡ã³ããæžã蟌ãã§ãã ããã
åç §ïŒ