!!!IoTセンサシステム構築技術(Wi-Fi送受信編) !!IoTは総合格闘技 *[【IoT入門書の紹介】IoTはITの総合格闘技という言葉にグッときた | マサトッシュブログ|https://juncleit.com/?p=635] *[【デブサミ2015】19-B-4 レポート IoTは総合格闘技である 〜組み込み、IT、インフラ、セキュリティ――幅広い知識の習得が不可欠 (1/2)|CodeZine(コードジン)|https://codezine.jp/article/detail/8562] *[IoT開発で『異種格闘技戦』をやめる選択|IoT|TechBLOG|Braveridge TechBLOG|https://blog.braveridge.com/blog/archives/113] *[スキルと経験をIoTエンジニア誕生に導くためのステップ・バイ・ステップ | gihyo.jp|https://gihyo.jp/article/2022/07/iot-engineer02] < IoTは「テクノロジーの総合格闘技」とも言われており、非常に多くの技術要素が関わってきます。> *[広範かつ複雑なIoTシステム、セキュリティ実装の3つの要点とは? - 株式会社ソラコム|https://wp.techfactory.itmedia.co.jp/contents/71706] <「テクノロジーの総合格闘技」といわれるほど、IoTの仕組みは非常に広範かつ複雑だ。> *[「IoTはテクノロジーの総合格闘技」、ソラコム玉川社長 | 日経クロステック(xTECH)|https://xtech.nikkei.com/atcl/nxt/event/18/00035/101700076/] *[企業のDXを強力支援、合言葉は「IoTの民主化」 - ソラコム:日経クロステック EXPO 2020|https://active.nikkeibp.co.jp/expo/xtech/atcl/sp/00020/]<「IoTはテクノロジーの総合格闘技」とも呼ばれる> *[エンジニアのみなさん!テクノロジーの総合格闘技こと、IoTに挑みませんか? - 株式会社アクセルラボのエンジニアリングの採用 - Wantedly|https://www.wantedly.com/projects/609717] *[【オンライン】ALGYAN6周年IoT祭2021『IoTは技術の総合格闘技!』講演&ノベルティ抽選会|IT勉強会・イベントならTECH PLAY[テックプレイ]|https://techplay.jp/event/817976] *[IoTシステムの開発はなぜ難しい? AWSで解決するには? | 株式会社スタイルズ|https://www.stylez.co.jp/columns/why_is_developing_iot_systems_so_difficult/] *[招待講演 -- PPL 2021|https://jssst-ppl.org/workshop/2021/invited.html] *[技術的背景|https://toppers.github.io/hakoniwa/docs/background/] *[Watson搭載パーソナルガイド・ロボット「ZUKKU」開発の舞台裏 | IBM Smarter Business|https://www.ibm.com/blogs/smarter-business/business/watson-in-hataproandzukku/] !!プロトコル *HTTP *Ajax (Asynchronous JavaScript + XML), XMLHttpRequest → Fetch API *WebSocket *MQTT *[通信プロトコルAMQPはIoTに向いているか調査せよ! | 日経クロステック(xTECH)|https://xtech.nikkei.com/atcl/nxt/mag/nnw/18/041800005/121900011/] !!開発環境 !Arduino IDE メニューバーから ファイル→環境設定 追加のボードマネージャのURL: http://arduino.esp8266.com/stable/package_esp8266com_index.json https://dl.espressif.com/dl/package_esp32_index.json https://m5stack.oss-cn-shenzhen.aliyuncs.com/resource/arduino/package_m5stack_index.json *[espressif/arduino-esp32: Arduino core for the ESP32|https://github.com/espressif/arduino-esp32] *[m5stack/M5Stack: M5Stack Arduino Library|https://github.com/m5stack/M5Stack] !Arduino CLI !PlatformIO !!部品リスト ,品名,型番,数量,購入先,価格,備考 ,マイコン,[AE-ESP-WROOM-02|https://akizukidenshi.com/catalog/g/gK-09758/],1,秋月電子,650円, ,ブレッドボード,,1,秋月電子等,, ,LED,,1,秋月電子等,, ,タクトスイッチ,,2,秋月電子等,,書き込み、リセット ,照度センサ(フォトトランジスタ),[NJL7502L|https://akizukidenshi.com/catalog/g/gI-02325/],1,秋月電子,100円,2個入り ,抵抗器,1KΩ,1,秋月電子等,,LED用 ,抵抗器,10KΩ,2,秋月電子等,,照度センサ ,抵抗器,100KΩ,1,秋月電子等,,分圧 ,抵抗器,220KΩ,1,秋月電子等,,分圧 ,三端子レギュレーター,[TA48033S|https://akizukidenshi.com/catalog/g/gI-00534/],1,秋月電子,100円,電解コンデンサ、積層セラミックコンデンサ同梱 ,電池ボックス,[SBH-331AS|https://akizukidenshi.com/catalog/g/gP-02666/],1,秋月電子,,単3×3本 リード線・フタ・スイッチ付 ,単三電池,,3,,, !!参考ページ *[WIFI-TNGとESP-WROOM-02で始めるWIFI Arduino - Qiita|https://qiita.com/tadfmac/items/17448a2d96bd56373a66] *[Arduinoプログラミングでものづくり(ESP8266版)|https://koyama.verse.jp/elecraft/avr/arduino8266.html] *[電子工作界隈で話題のWi-Fiモジュール「ESP8266」でMQTTを使う方法 | 株式会社LIG|http://liginc.co.jp/194532] *[GitHub - esp8266/arduino-esp8266fs-plugin: Arduino plugin for uploading files to ESP8266 file system|https://github.com/esp8266/arduino-esp8266fs-plugin] *[Releases · earlephilhower/arduino-esp8266littlefs-plugin · GitHub|https://github.com/earlephilhower/arduino-esp8266littlefs-plugin/releases] *[SPIFFS_vs_LittleFS|https://hatakekara.com/littlefs/] *[ESP8266WiFi library — ESP8266 Arduino Core documentation|https://arduino-esp8266.readthedocs.io/en/latest/esp8266wifi/readme.html] *[ESP8266 をアクセスポイントとして Web サーバーを実装 - ESP8266 - 基礎からの IoT 入門|https://iot.keicode.com/esp8266/esp8266-ap.php] *[xmlhttprequest 非推奨 - Google 検索|https://www.google.com/search?q=xmlhttprequest+%E9%9D%9E%E6%8E%A8%E5%A5%A8&rlz=1C1CHZN_jaJP951JP951&sxsrf=ALiCzsYq8NodmIRLAyHI1S68rHfFnKv8EQ%3A1669609371215&ei=mzeEY6TjDNWooATHhadY&oq=XMLHttpRequest&gs_lcp=Cgxnd3Mtd2l6LXNlcnAQAxgAMgoIABBHENYEELADMgoIABBHENYEELADMgoIABBHENYEELADMgoIABBHENYEELADMgoIABBHENYEELADMgoIABBHENYEELADMgoIABBHENYEELADMgoIABBHENYEELADMgoIABBHENYEELADMgoIABBHENYEELADSgQIQRgASgQIRhgAUABYAGCEDmgBcAB4AIABAIgBAJIBAJgBAMgBCsABAQ&sclient=gws-wiz-serp] *[まだXMLHttpRequestを使ってるの? fetchのすすめ - Qiita|https://qiita.com/uhyo/items/91649e260165b35fecd7] *[同期と非同期のリクエスト - Web API | MDN|https://developer.mozilla.org/ja/docs/Web/API/XMLHttpRequest/Synchronous_and_Asynchronous_Requests] *[非同期通信 XMLHttpRequestからFetch APIへ | SugiBlog|https://k-sugi.sakura.ne.jp/javascript/5389/] *[FetchとXMLHttpRequestの基礎知識。 | memo メモ [AG2WORKS]|https://memo.ag2works.tokyo/post-4424/] *[XMLHttpRequest|https://ja.javascript.info/xmlhttprequest] *[これでXMLHttpRequestが理解できる | アールエフェクト|https://reffect.co.jp/html/xmlhttprequest-basic] *[XMLHttpRequest(Ajax)とFetch APIの使い方を比較してみる | LaunchCart | 越境EC専用カート|https://launchcart.jp/blog/xmlhttprequestajax%E3%81%A8fetch-api%E3%81%AE%E4%BD%BF%E3%81%84%E6%96%B9%E3%82%92%E6%AF%94%E8%BC%83%E3%81%97%E3%81%A6%E3%81%BF%E3%82%8B/] !!Prolific PL-2303 *[【Windows10】PL2303HX搭載のシリアル-USB変換ケーブルがWindows標準ドライバで動いた!? | The modern stone age.|https://www.yokoweb.net/2019/07/04/pl2303-win10-std-driver/] !!関連ページ *ESP-WROOM-02のプログラム開発 *ESP-WROOM-32のプログラム開発 *マイコン制御システム開発技術(Arduino編) *マイクロコントローラ *Raspberry Pi *Programmable Logic Controllerのプログラム開発 *モノづくりへの若年者誘導 !!!振動解析 *[データ前処理のポイント 〜 振動データのダウンサンプリング 〜 - スマートファクトリー - マクニカ|https://www.macnica.co.jp/business/ai_iot/columns/133311/] *[生産現場IoTへの挑戦 #02 ~M5Stick Cの加速度センサで高速サンプリング~ - Qiita|https://qiita.com/airpocket/items/190aa528fe420649e405] *[生産現場IoTへの挑戦 #01 ~M5Stick Cで振動測定してみる編~ - Qiita|https://qiita.com/airpocket/items/443c287cfb9eb6c1417a] //*[M5StickCで振動を測定する【AmbientでIoTをはじめよう】 – スイッチサイエンス マガジン|https://mag.switch-science.com/2020/04/10/letsiot26/] *[M5StickCで振動を測定する - AmbientでIoTをはじめよう|https://pages.switch-science.com/letsiot/vibration/] *[M5StickC PLUSの加速度センサーで振動測定と周波数特性|https://101010.fun/iot/m5stickc-plus-accel.html] *[注目M5Stack手のひら測定モニタ 第5回 加速度センサ「振動」周波数スペクトラム・アナライザ | 文献情報 | J-GLOBAL 科学技術総合リンクセンター|https://jglobal.jst.go.jp/detail?JGLOBAL_ID=201902213492062405] *[加速度センサーの仕様 用語の定義 | 調べる / 学ぶ | アナログ・デバイセズ|https://www.analog.com/jp/education/landing-pages/003/td_accelerometer_specifications_definitions.html#:~:text=%E5%87%BA%E5%8A%9B%E3%83%87%E3%83%BC%E3%82%BF%E3%83%AC%E3%83%BC%E3%83%88%E3%81%AF%E3%80%81%E3%83%87%E3%82%B8%E3%82%BF%E3%83%AB,%E3%81%AE%E5%8D%8A%E5%88%86%E3%81%AB%E3%81%AA%E3%82%8A%E3%81%BE%E3%81%99%E3%80%82] *[加速度センサーの値から速度と変位を求める - Qiita|https://qiita.com/mzk1644/items/ea621cc872acd996a6e8] *[小野測器-FFT基本 FAQ -「実効値とは何ですか?」|https://www.onosokki.co.jp/HP-WK/c_support/faq/fft_common/fft_spectrum_4.htm] *[実効値(RMS値)とは - Cognicull|https://cognicull.com/ja/nzok9whj] *[なるほど!振動計 - PR情報 - IMV株式会社|https://www.imv.co.th/pr/naruhodo_vibrograph/chapter03/] *[でべさんはTwitterを使っています 「重力加速度にローパスフィルタ使うと、重力分を分離できるの、おもしろ! [Arduino] IMUから速度と角度を求める https://t.co/0RE8pPgPho #Qiita」 / Twitter|https://twitter.com/devemin/status/1320734936035250178] *[[Arduino] IMUから速度と角度を求める - Qiita|https://qiita.com/shidash/items/ad735faf23c6148f981a] *[Arduinoで加速度センサ(MMA8452Q)から角度を計算する|https://101010.fun/iot/acceleration-sensor-calc-angle.html] *[ProcessingでArduinoとシリアル通信、加速度センサとローパスフィルタで動きの視覚化|https://101010.fun/iot/processing-arduino-serial.html] *[M5StickC PLUSでArduinoをはじめよう!|https://101010.fun/iot/m5stickc-plus-firststep.html] *[How to Interpolate the Peak Location of a DFT or FFT if the Frequency of Interest is Between Bins - dspGuru|https://dspguru.com/dsp/howtos/how-to-interpolate-fft-peak/] *[M5StickCを簡易オシロスコープにする その1 事前調査(ADC) | Lang-ship|https://lang-ship.com/blog/work/m5stickc-scope-1/] *[らびやんさんはTwitterを使っています: 「@kanatakanata321 おお…AD変換でバッファ作るところが自動化できるということですかな?調べて見ます、ありがとうございます! M5StackFIREのベースユニットマイクはESP32の34pinでIIS_INと書かれているので、多分できる、かな? 今はArduinoIDE使ってるのでもしESP-IDFでないとダメなら直ぐには手が出せない感じ…。」 / Twitter|https://twitter.com/lovyan03/status/1079278425301340160] !!ADC *[[ESP-WROOM-32のプログラム開発#ADC|ESP-WROOM-32のプログラム開発#p8]] *[M5Stackで音を測る – Ambient|https://ambidata.io/samples/m5stack/sound/] *[M5Stack Core2、ADCサンプリング周波数150kHz可能 | matsuWeb|https://matsuweb.com/programming/20210703-m5core2/] *[オシロスコープを作る! - 電子工作を楽しもう!|http://reclearnengoolong.blog.fc2.com/blog-category-20.html] *[10kHz ADC Sample · Issue #1627 · espressif/arduino-esp32|https://github.com/espressif/arduino-esp32/issues/1627] *[ESP32のi2s ADCで150kSa/sサンプリング - Qiita|https://qiita.com/dzonesasaki/items/e491371d68747f9b6ed9] *[ESP32の内部ADC値をi2sで取得した場合のサンプリングレート確認 - Qiita|https://qiita.com/dzonesasaki/items/27fbda76af44480d5014] *[arduino-esp32/HiFreq_ADC.ino at master · espressif/arduino-esp32|https://github.com/espressif/arduino-esp32/blob/master/libraries/ESP32/examples/I2S/HiFreq_ADC/HiFreq_ADC.ino] *[atomic14/esp32_audio: Sample code for reading audio samples from the ESP32 ADC using I2S|https://github.com/atomic14/esp32_audio] *[ADC with I2S: increasing throughput to 2 MHz - ESP32 Forum|https://www.esp32.com/viewtopic.php?t=15849] *[ESP32のADCについて - Qiita|https://qiita.com/koichaman/items/8c98ee5b6028e8d80703] *[ラジオペンチ ESP32でオシロを作る作業は難航中|http://radiopench.blog96.fc2.com/blog-entry-1033.html] *[ESP32 の ADC 精度について | Rabbit Note|https://rabbit-note.com/2018/01/22/esp32-adc-accuracy/] *[ESP32のADCでキャリブレーションされた精度の良い電圧値を取得する方法 | kohacraftのblog|https://kohacraft.com/archives/202202091047.html] *[ESP32のADCの変換ノイズを減らすにはADピンと電源の両方にコンデンサが必要でした | kohacraftのblog|https://kohacraft.com/archives/202202081752.html] *[ESP32内蔵ADCで電圧値を測定する時の注意点 | e-DIYで行こう!|https://blog.goediy.com/?p=918] *[ラジオペンチ ESP32のアナログポートの特性調査ー予想外の挙動|http://radiopench.blog96.fc2.com/blog-entry-1036.html] *[ESP32の入出力ボードを作ってみた −アナログ入力の精度アップ− | ぼくのマイコン開発のメモ|https://tekuteku-embedded.xyz/2022/09/06/esp32-original-pcb/] *[ESP32でBLE使いながら電圧(アナログ入力)を取得する - Qiita|https://qiita.com/norippy_i/items/0ed46e06427a1d574625] !!加速度センサー !MPU6886 *[M5Stack 6軸IMUユニット(U095) MPU6886 | Lang-ship|https://lang-ship.com/blog/work/m5stack-6-imu-unit-u095/] *[tanakamasayuki/I2C_MPU6886: Library to control I2C MPU6886|https://github.com/tanakamasayuki/I2C_MPU6886] *[I2C_MPU6886/I2C_MPU6886.cpp at master · tanakamasayuki/I2C_MPU6886|https://github.com/tanakamasayuki/I2C_MPU6886/blob/master/src/I2C_MPU6886.cpp] *[M5Core2/MPU6886.cpp at master · m5stack/M5Core2|https://github.com/m5stack/M5Core2/blob/master/src/utility/MPU6886.cpp] !IIS3DWB *[IIS3DWB - 超広帯域・低ノイズの3軸デジタル振動センサ - STMicroelectronics|https://www.st.com/ja/mems-and-sensors/iis3dwb.html] *[Conta™ 産業用 3軸デジタル振動センサ IIS3DWB 搭載 - SWITCH-SCIENCE|https://www.switch-science.com/catalog/6852/] *[kriswiner/IIS3DWB: Arduino sketches for ST's IIS3DWB vibration analyzer accelerometer|https://github.com/kriswiner/IIS3DWB] !振動センサー *[ソリューション詳細|https://www.mitsubishielectric.co.jp/fa/ssl/sols/psm/psh/solution/detail/?companyid=ab7f618b-ff10-453a-a35f-35922b5b01a6&solutionid=cca5f0a0-39d5-4c9e-8ac4-feb59829a0d5] *[VP-8021A:超小型振動ピックアップ(センサー) - 株式会社三共社|https://www.sankyosha.co.jp/product/vp8021a/] *[MEMS素子搭載振動ピックアップ - 振動計 - IMV株式会社|https://www.imv.co.jp/products/vibrograph/pickup/mems/index.php] *[MEMS加速度センサで周波数11kHzまで使える振動ピックアップ - セミコンポータル|https://www.semiconportal.com/archive/editorial/technology/applications/190730-adiimv.html] *[予知保全に最適な加速度センサーの選択 | アナログ・デバイセズ|https://www.analog.com/jp/technical-articles/choose-the-right-accelerometer-for-predictive-maintenance.html] *[ADcmXL3021 データシートおよび製品情報 | アナログ・デバイセズ|https://www.analog.com/jp/products/adcmxl3021.html#product-overview] !!IoTセンサー *==[商品 – Internet of Things|http://cietec.net/wordpress/?page_id=1565]== *==[プロダクト – Internet of Things|http://164.70.93.184/wordpress/?page_id=59]== **==[Edge_Catalog.pdf|http://cietec.net/wordpress/wp-content/uploads/2020/10/Edge_Catalog.pdf]== *[商品 – Internet of Things|http://cietec.net/?page_id=59] !!無線LANモニタ *[Wi-Fiの電波強度をモニターするコマンド「wavemon」が初心者には分かり易い | ラズパイダ|https://raspida.com/wifi-wavemon] !!Bluetooth *[LubuntuでBluetooth機器を扱う時は`bluetoothctl`を使う|https://arimasou16.com/blog/2021/04/10/00385/] *[Bluetooth - ArchWiki|https://wiki.archlinux.jp/index.php/Bluetooth] !!BLE (Bluetooth Low Energy) *[hbldh/bleak: Bluetooth Low Energy platform Agnostic Klient for Python|https://github.com/hbldh/bleak] *==[bleak — bleak 0.14.2 documentation|https://bleak.readthedocs.io/en/latest/index.htm]== *[bleak — bleak 0.14.2 documentation|https://bleak.readthedocs.io/en/latest/] *[Win10環境下のpythonでBLE通信 - つれづれなる備忘録|https://atatat.hatenablog.com/entry/2020/07/09/003000] *[RasPi4のBLEで周囲のデバイス検知 | labs|https://www.beatcraft.com/labs/2021/09/raspi4ble.html] *[bluepyで始めるBluetooth Low Energy(BLE)プログラミング | 株式会社アイ・プライド|https://www.ipride.co.jp/blog/2510] *[ZigBeeのメリットと使用上の注意点 | 半導体・電子部品の通販 RSオンライン|https://jp.rs-online.com/web/generalDisplay.html?id=ideas-and-advice/zigbee-guide#:~:text=ZigBee%E3%81%AE%E9%80%9A%E4%BF%A1%E5%8F%AF%E8%83%BD%E8%B7%9D%E9%9B%A2,%E3%81%BE%E3%81%A7%E9%80%9A%E4%BF%A1%E3%81%8C%E5%8F%AF%E8%83%BD%E3%81%A7%E3%81%99%E3%80%82] !!PLC(電力線通信) *[プレスリリース 2021年12月3日|https://www.shikino.co.jp/news/pressrelease20211203.pdf] *[P-TMFSU-041|https://www.shikino.co.jp/products/P-TMFSU-041_specifications.pdf] !!ESP32 *[ESP32 - PukiWiki|http://www.bwt.jp/wiki/?ESP32] *[ESP32のInterrupt Service Routine(割り込みサブルーチン)でButton counterを作る - 愛と工作の日々|https://jakejake.hatenablog.com/entry/2021/07/03/231554] !!Arduino *[arduino - How to read/write text card by line? - Stack Overflow|https://stackoverflow.com/questions/25843775/how-to-read-write-text-card-by-line] *[toCharArray() - Arduino Reference|https://www.arduino.cc/reference/en/language/variables/data-types/string/functions/tochararray/] *[[M5Stack] ArduinoライブラリのAPIまとめ | ラズパイの実|https://knt60345blog.com/m5stack-arduino-api/] !!M5Stack Core2 *[M5Button now also on 3-button M5Stack device. Draws button graphics. Events – tap, dbltap, longpress, repeat – for buttons. Extensive documentation and examples. by ropg · Pull Request #232 · m5stack/M5Stack|https://github.com/m5stack/M5Stack/pull/232] *[M5Stack5 Core2 で M5Stack Basic と同じ AWS IoT コードが動かなかったが修正できたメモ – 1ft-seabass.jp.MEMO|https://www.1ft-seabass.jp/memo/2021/01/24/m5stack-core2-bug-recover-tip/] *[初心者向けM5Stack Core2の始め方(ArduinoIDE編) | M5Stack沼人の日記|https://raspberrypi.mongonta.com/howto-start-m5stack-core2arduinoide/] !!M5Stack CoreInk *[M5Stack CoreInkでHello Worldする手順 - Qiita|https://qiita.com/suin/items/d0e72a37fd0533d24b7e] *[M5-CoreInk/FactoryTest.ino at master · m5stack/M5-CoreInk|https://github.com/m5stack/M5-CoreInk/blob/master/examples/FactoryTest/FactoryTest.ino] !!ゲートウェイ *[RasPi4のBLEで周囲のデバイス検知 | labs|https://www.beatcraft.com/labs/2021/09/raspi4ble.html] *[オムロン環境センサーからBLE経由でデーターをクラウドに送る – Ambient|https://ambidata.io/samples/temphumid/ble-gw-omron/] *[M5StackでBLE環境センサー端末を作る – Ambient|https://ambidata.io/samples/m5stack/m5stack_ble_sensor/] *[M5StackでBLE環境センサ端末を作る - AmbientでIoTをはじめよう|https://pages.switch-science.com/letsiot/bleperiph/index.html] *[BLE環境センサー・ゲートウェイ(Raspberry Pi編) – Ambient|https://ambidata.io/samples/temphumid/ble_gw/] *[EnvSensorBleGw/env2ambientBS.py at master · AmbientDataInc/EnvSensorBleGw|https://github.com/AmbientDataInc/EnvSensorBleGw/blob/master/src/gw_RPi/env2ambientBS.py] *[GitHub - AmbientDataInc/ambient-python-lib: AmbientのPython/MicroPythonライブラリーです。 Ambientにデーターを送信する機能と、Ambientに蓄積されたデーターを読み込む機能があります。|https://github.com/AmbientDataInc/ambient-python-lib] *[Arduinoライブラリー – Ambient|https://ambidata.io/refs/arduino/] *[struct --- バイト列をパックされたバイナリデータとして解釈する — Python 3.10.0b2 ドキュメント|https://docs.python.org/ja/3/library/struct.html] *[Python で KeyboardInterrupt エラーをキャッチする | Delft スタック|https://www.delftstack.com/ja/howto/python/keyboard-interrupt-python/] *[Python | フォーマット済み文字列リテラル(f文字列)を使った文字列の書式設定|https://www.javadrive.jp/python/string/index25.html] *[PythonでJSONファイル・文字列の読み込み・書き込み | note.nkmk.me|https://note.nkmk.me/python-json-load-dump/] *[datetime --- 基本的な日付型および時間型 — Python 3.10.0b2 ドキュメント|https://docs.python.org/ja/3/library/datetime.html#datetime.date.isoformat] *[round - cpprefjp C++日本語リファレンス|https://cpprefjp.github.io/reference/cmath/round.html] *[Python で MQTT (Paho) - Qiita|https://qiita.com/emqx_japan/items/b63c918fe137a6db4b37] *[Raspberry Pi で mosquitto を使う - Qiita|https://qiita.com/ekzemplaro/items/ab90dd630c3ad8e819ab] *[Raspberry PiでIoT(MQTTで遠隔操作編 その2)MQTT Brokerの構築とPythonでのpub/sub – 株式会社インデペンデンスシステムズ横浜|http://independence-sys.net/main/?p=4058] *[MQTTでRaspberryPiとESP32を通信してみる(その1)|ゆう|note|https://note.com/khe00716/n/nd5c3851db7c4] *[h2zero/NimBLE-Arduino: A fork of the NimBLE library structured for compilation with Ardruino, designed for use with ESP32.|https://github.com/h2zero/NimBLE-Arduino] *[Arduino IDEで同じBLE Peripheral機能を異なる3つのライブラリで実装してみた - Qiita|https://qiita.com/kitazaki/items/537e9b215e2089004bbc] *[要素技術紹介: MQTTを使用したIoTデバイス監視システムの構築 - 開発検証サービス | 日本ノーベル株式会社|https://www.jnovel.co.jp/service/development-and-testing/case/mqtt.html] *[lag関数を使って購買間隔の平均を計算し、そのトレンドを可視化する|https://exploratory.io/note/kanaugust/lag-8694262682202575] *[さきブログ|https://sakiot.com/] *[ESP32で重複したBLEアドバタイズパケットを表示する方法 - Qiita|https://qiita.com/kitazaki/items/98e5e9835830d6415612] *[ESP32・BLEオブザーバーの開発|http://marchan.e5.valueserver.jp/cabin/comp/jbox/arc212/doc21203.html] !!SQLite3 *[SQLite Home Page|https://www.sqlite.org/index.html] *[SQLite Download Page|https://www.sqlite.org/download.html] *[SQLite | データベースの作成と接続|https://www.dbonline.jp/sqlite/database/index1.html] *[PythonからSQLiteを操作する方法|https://products.sint.co.jp/topsic/blog/how-to-use-sqlite-in-python] *[SQLite | SQLiteで利用可能なデータ型|https://www.dbonline.jp/sqlite/type/index1.html] *[SQLiteで日付時刻を扱う際のポイント - Qiita|https://qiita.com/TomK/items/132831ab45e2aba822a8] *[SQLite3 でミリ秒付きの日時を扱う例|https://www.kkaneko.jp/data/datetime/milli.html] *[SQLite | 日付と時刻を取得する(date関数, time関数, datetime関数, julianday関数, strftime関数)|https://www.dbonline.jp/sqlite/function/index6.html] .tables .schema *[SQLにおける行間比較で、相関サブクエリを使わなくて済む「ウィンドウ関数」とは?|翔泳社の本|https://www.shoeisha.co.jp/book/article/detail/203] *[SQLite3で時刻の差分を求める - Qiita|https://qiita.com/lethe2211/items/07cfea6ebceb4b12188b] *[SQLで1レコード前のデータと比較し計算する方法| OKWAVE|https://okwave.jp/qa/q9602662.html] *[sqlで最新の日付のレコードとその前のレコードとの差分を取りたい - Qiita|https://qiita.com/woogy/items/794a50fbfa15c156703d] *[前後のレコードの値を取得するSQL – LAGとLEAD | Box Code|https://boxcode.jp/%E5%89%8D%E5%BE%8C%E3%81%AE%E3%83%AC%E3%82%B3%E3%83%BC%E3%83%89%E3%81%AE%E5%80%A4%E3%82%92%E5%8F%96%E5%BE%97%E3%81%99%E3%82%8Bsql-lag%E3%81%A8lead] *[[MySQL] 当日と前日の売上データの差を求める方法(自己結合) | Search Light(CakePHP PHP jQuery JavaScript CSS Linux MySQLMac)|https://www.searchlight8.com/mysql-today-yesterday-sales-join/] *[SQLite3版 分析関数(ウインドウ関数) コードサンプル - Qiita|https://qiita.com/tetr4lab/items/7beba8a29b2df2ef9060] !!Pythonでリアルタイムグラフ表示 *[Python matplotlib リアルタイムのグラフ表示 - Qiita|https://qiita.com/yusa0827/items/d1ccab8e5bdab6c7313d] **[sindwin/gozosyori|https://github.com/sindwin/gozosyori] *[[Python3]printで 標準エラー(stderr) に出力したい|https://www.curict.com/item/ef/ef6d203.html] *[python 標準出力のフラッシュ sys.stdout.flush - Memorandum and Diary|https://thetree.hatenadiary.jp/entry/2017/02/19/python_%E6%A8%99%E6%BA%96%E5%87%BA%E5%8A%9B%E3%81%AE%E3%83%95%E3%83%A9%E3%83%83%E3%82%B7%E3%83%A5_sys.stdout.flush] *[matplotlibのめっちゃまとめ - Qiita|https://qiita.com/nkay/items/d1eb91e33b9d6469ef51] !!SPI *[ESP32-WROOM-32EのSPIでBME280の情報を取得 | スマートライフを目指すエンジニア|https://smtengkapi.com/engineer-esp32-wroom32-spi] *[M5Stack CoreInk のサンプルを動かすまでの手順のメモ - Qiita|https://qiita.com/youtoy/items/507ecc93e71e60b7f5ce] *[ttksweb - M5StickC|https://sites.google.com/site/ttksweb/home/misc/arduino/m5stickc] *[ジャイロ加速度計(MPU6886) - M5StickC非公式日本語リファレンス|https://lang-ship.com/reference/unofficial/M5StickC/Class/MPU6886/] *[Qwiic - KX132搭載 三軸加速度センサモジュール - SWITCH-SCIENCE|https://www.switch-science.com/catalog/7164/] *[Triple Axis Accelerometer Breakout - KX13x (Qwiic) Hookup Guide - learn.sparkfun.com|https://learn.sparkfun.com/tutorials/triple-axis-accelerometer-breakout---kx13x-qwiic-hookup-guide-/kx13x-arduino-library] *[SparkFun_KX13X_Arduino_Library/SparkFun_Qwiic_KX13X.cpp at main · sparkfun/SparkFun_KX13X_Arduino_Library|https://github.com/sparkfun/SparkFun_KX13X_Arduino_Library/blob/main/src/SparkFun_Qwiic_KX13X.cpp] *[KX132-1211-Technical-Reference-Manual|https://www.mouser.com/datasheet/2/348/KX132-1211-Technical-Reference-Manual-Rev-1.0-1652679.pdf] *[ESP32 GPIO割込みテスト - JH7UBCブログ|https://blog.goo.ne.jp/jh7ubc/e/8c97dc4bfad4f93d44301f8341083a69] *[AquesTalk pico LSI を M5Stack の I2C, UART, SPI で動かす - Qiita|https://qiita.com/BotanicFields/items/fff644f408c291e5a5f0] *[BUS Module - M5Stack | Mouser|https://www.mouser.jp/new/m5stack/m5stack-bus-module/] *[m5stack/M5-CoreInk: M5Stack CoreInk Arduino Library|https://github.com/m5stack/M5-CoreInk] *[m5-docs|https://docs.m5stack.com/en/core/coreink] *[NochiさんはTwitterを使っています 「@lovyan03 VSPI でピン共有もやってみました! G2/G5とMO/SCK で、ボトムピンだけで接続可能なのは良いですね。 I2C を使わなくていいなら、G21/G22 使って1辺の端子だけで接続することもできますねー。 https://t.co/USZS3ntTAX」 / Twitter|https://twitter.com/shikarunochi/status/1354481809258516481] *[Ridgecrop Consultants Ltd|http://ridgecrop.co.uk/] *[M5-CoreInk/config.h at master · m5stack/M5-CoreInk|https://github.com/m5stack/M5-CoreInk/blob/master/src/utility/config.h] *[ESP32-WROOM-32EのSPIでBME280の情報を取得 | スマートライフを目指すエンジニア|https://smtengkapi.com/engineer-esp32-wroom32-spi] *[Arduino for ESP32のSPIライブラリ - 南無ちゃんのブログ    http://namva.net|https://blog.goo.ne.jp/namva/e/2733bdfc3ab15105cf3efabfb36ea29f] *[ESP32 Arudino SPIライブラリのメモ書き | 技術系のど根性|https://technologicaladvance.blog.fc2.com/blog-entry-195.html] *[「SPI」の解説 - しなぷすのハード製作記|https://synapse.kyoto/glossary/spi/page001.html] *[ESP32 の SPI_MODE が修正。HSPI , VSPI , 複数SPIデバイス制御 , SPI高速化などについて | ページ 2 | mgo-tec電子工作|https://www.mgo-tec.com/blog-entry-esp32-spimode-hspi-vspi-hispeed.html/2] !!LTE !L-02C *[L-02C | お客様サポート | NTTドコモ|https://www.nttdocomo.co.jp/support/application/xi/utility/card/l02c/] !QMI (Qualcomm Mobile Station Modem Interface) !wvdial インストール sudo apt install wvdial 初期設定(/etc/wvdial.conf) [Dialer Defaults] Phone = Username = Password = New PPPD = yes 95-l-02c.rules KERNEL=="ttyUSB[0-9]*", SUBSYSTEM=="tty", ATTRS{bInterfaceNumber}=="02", ATTRS{../idVendor}=="1004", ATTRS{../idProduct}=="618f", SYMLINK+="modem" 初期設定(/etc/ppp/peers/wvdial) noauth name wvdial usepeerdns noipv6 *[Raspberry Piでモバイルルーターを作成する-wvdial,hostpad, dnsmasq | bitware(ビットウェア)|https://bitware-blog.com/2020/05/25/raspberry-pi%e3%81%a7%e3%83%a2%e3%83%90%e3%82%a4%e3%83%ab%e3%83%ab%e3%83%bc%e3%82%bf%e3%83%bc%e3%82%92%e4%bd%9c%e6%88%90%e3%81%99%e3%82%8b-wvialhostpad-dnsmasq/] *[Wvdial - ArchWiki|https://wiki.archlinux.jp/index.php/Wvdial] *[wvdial.conf(5): wvdial config file - Linux man page|https://linux.die.net/man/5/wvdial.conf] *[networking - Automating PPP connection: adding the insertion in routing table of the new interface - Unix & Linux Stack Exchange|https://unix.stackexchange.com/questions/179028/automating-ppp-connection-adding-the-insertion-in-routing-table-of-the-new-inte] *[Raspberry Pi3をSORACOM経由で通信&自動接続に挑戦 - Qiita|https://qiita.com/yumatsud/items/e159d7ffe73de3a65deb] *[LTEモデムL-02CをRaspberry Piにつなぐ | ころちゃん|https://korochan.info/2021/05/19/l02cpi/] *[LTE 通信端末 L-02C を RaspberryPi 上で動かしてみる | コーヒー飲みながら仕事したい|https://coffee-nominagara.com/l02c-raspberrypi] *[Raspberry PiにSORACOMを認識させてみる | IoT NEWS|https://iotnews.jp/archives/7080] *[Debian bullseye ベースの Raspberry Pi OS で SORACOM Air を使うときの注意点 | labs|https://www.beatcraft.com/labs/2021/11/debian-bullseye-raspberrypios-soracom-air.html] *[Raspberry Pi L-02Cを使用したインターネット接続方法について | Ingenious|https://www.ingenious.jp/articles/howto/raspberry-pi-howto/l-02c/] *[Raspberry Pi + L-02C でバッチリ安定する多機能 LTE ルータをつくったメモ – 怠惰の形而上学|https://oppekepe.org/1598] *[RaspberryPiでL-02Cを使う - Qiita|https://qiita.com/kwi/items/eb089d05cc3428cddbd8] *[L-02Cを利用したLTE接続方法 - FaBo RaspberryPi Docs|https://faboplatform.github.io/RaspberryPIDocs/01.dev/pi/lte/] *[RaspberryPiでL-02Cを使ってSORACOM Airに接続する - uepon日々の備忘録|https://uepon.hatenadiary.com/entry/2017/04/08/115936] *[Raspberry PiをL-02C+IIJmioでつないでみた: EeePCの軌跡|https://arkouji.cocolog-nifty.com/blog/2014/06/raspberry-pil-0.html] *[Raspberry Pi(Linux) でL-02Cを利用する方法|https://teratail.com/questions/69540] *[L-02Cを最初からUSBモデムで認識させる/手動でAPN登録する - /dev/stkinosh|https://web.archive.org/web/20181221164522/https://trtr.hatenablog.jp/entry/2014/11/27/011913](IA) *[PiZeroにL-02Cを接続してLTE通信できるようにした - チラシの裏の落書き|https://blog.taiko19xx.net/entry/2017/08/26/231315] *[wvdial and dchpcd.conf - Raspberry Pi Forums|https://forums.raspberrypi.com/viewtopic.php?t=180768] *[RaspberryPiにSIMカードを挿して通信する – MINICODE|https://minicode.dev/archives/778] *[Raspbianのifup@.serviceがおかしくてUSB 3G/4G モデムが動かなかった|https://signal-flag-z.blogspot.com/2017/01/raspbianifupserviceusb-3g4g.html] *[USB 3G モデム L-02CをRaspberry Pi 3で使えるようにしてMVNOのSIMカードで通信する|https://signal-flag-z.blogspot.com/2016/11/usb-3g-l-02c-raspberry-pi-3.html] *[RASPBIAN STRETCHでUSB 3G/4Gモデムを使い屋外でもネットワーク接続をする|https://signal-flag-z.blogspot.com/2017/09/raspbian-stretch-usb-3g4gModem.html] *[Raspberry Pi のネットワーク設定 - にわかプログラマの技術ブログ|https://trollface.hatenablog.com/entry/2020/09/16/135543] *[RaspberryPiでSORACOM Air使ってる時、一定期間立つとpeerに切られる - Eyes, JAPAN Blog|https://www.nowhere.co.jp/blog/archives/20170907-23325.html] *[ラズパイ+4GPiでLTEモバイルルータを作る - Qiita|https://qiita.com/ieking/items/5c976d09c3ca55a649e5] *[ラズベリーパイ用4G(LTE)通信モジュール「4GPi」 | 製品の紹介|https://mechatrax.com/products/4gpi/] !pppd modem hangup #maxfail lcp-echo-failure 4 *[RaspberryPiでSORACOM Air使ってる時、一定期間立つとpeerに切られる - Eyes, JAPAN Blog|https://www.nowhere.co.jp/blog/archives/20170907-23325.html] !nohup *[【 nohup 】コマンド――端末を閉じてもログアウトしても処理を続ける:Linux基本コマンドTips(137) - @IT|https://atmarkit.itmedia.co.jp/ait/articles/1708/24/news022.html] !USBデバイスのリセット *[raspbian - How can I reset a USB device using command line utilities? - Raspberry Pi Stack Exchange|https://raspberrypi.stackexchange.com/questions/9289/how-can-i-reset-a-usb-device-using-command-line-utilities] *[USBデバイスのリセットなど - Raspberry Pi 備忘録 / Mbedもあるよ!|https://pongsuke.hatenablog.com/entry/2015/12/24/151327] !!固定IPアドレスSIM *[株式会社インターリンク|https://www.interlink.or.jp/biz/ppc/sim/index.html] *[固定IPアドレスMVNO「イプシム」 - グローバルIP固定割当の格安SIM|https://ipsim.net/] *[グローバルIPアドレスが使えるSIMの説明 | KAGEMARU-info|https://www.akakagemaru.info/port/internet-sim.html] !!その他 *[scpコマンド - Qiita|https://qiita.com/chihiro/items/142ebe6980a498b5d4a7] *[【 ps 】コマンド――実行中のプロセスを一覧表示する:Linux基本コマンドTips(6) - @IT|https://atmarkit.itmedia.co.jp/ait/articles/1603/28/news022.html] *[ATH-CKS50TW|イヤホン|株式会社オーディオテクニカ|https://www.audio-technica.co.jp/product/ATH-CKS50TW] *[coreink shutdown deepsleep - Google 検索|https://www.google.com/search?q=coreink+shutdown+deepsleep&rlz=1C1CHZN_jaJP951JP951&sxsrf=APq-WBvafOqAuW1ygFamSgPNVoWdLCRI7w%3A1645425307436&ei=mzITYr7iGeOm2roPzP-B0A0&ved=0ahUKEwj-m9D3lpD2AhVjk1YBHcx_ANoQ4dUDCA4&uact=5&oq=coreink+shutdown+deepsleep&gs_lcp=Cgdnd3Mtd2l6EAM6BQghEKABSgQIQRgASgQIRhgAUABY-DRg9jZoAHABeACAAa0BiAHCCZIBBDAuMTCYAQCgAQHAAQE&sclient=gws-wiz] *[esp32 analogread 速度 - Google 検索|https://www.google.com/search?q=esp32+analogread+%E9%80%9F%E5%BA%A6&rlz=1C1CHZN_jaJP951JP951&oq=esp32+analogread+%E9%80%9F%E5%BA%A6&aqs=chrome..69i57.11872j0j15&sourceid=chrome&ie=UTF-8] *[引き続き、ArduinoのFFTライブラリで格闘 | PIC AVR 工作室 ブログ|https://brown.ap.teacup.com/nekosan0/2234.html] *[Arduino 開発を支える地味なライブラリたち - Qiita|https://qiita.com/hideakitai/items/0553446c20493bb079a2] *[AEセンサ・ケーブル・治具 | 製品 | FIRST AE|https://first-ae.jp/products/sensor-cable-jigu/] *[予知保全 | IoT用語辞典 | キーエンス|https://www.keyence.co.jp/ss/general/iot-glossary/predictive-maintenance.jsp#:~:text=%E3%80%8C%E4%BA%88%E7%9F%A5%E4%BF%9D%E5%85%A8%E3%80%8D%E3%81%A8%E3%81%AF%E3%80%81,%E7%9B%A3%E8%A6%96%E4%BF%9D%E5%85%A8%E3%80%8D%E3%81%AA%E3%81%A9%E3%81%8C%E3%81%82%E3%82%8A%E3%81%BE%E3%81%99%E3%80%82] *[【IoT入門書の紹介】IoTはITの総合格闘技という言葉にグッときた | マサトッシュブログ|https://juncleit.com/?p=635] *[【Raspberry Pi 】時々、連絡が途絶える貴方へ(Wi-Fiの通信監視と自動復旧!)│KARAKURI MUSHA|https://karakuri-musha.com/inside-technology/02-raspi-network-auto-recovery/] *[Raspberry Piでプログラムの自動起動をsystemdでやってみた - Qiita|https://qiita.com/G-san/items/b0f9a340601cdb4a068f] *[Raspberry PiでプログラムをOS起動時に実行させる [Systemd] - チカラの技術|https://power-of-tech.hatenablog.com/entry/2018/08/23/152748] *[RasPi のプログラムを自動起動に!その2 systemd 編 - Miho's Memory|https://miho-diary.hatenablog.com/entry/2017/10/30/004153] *[Systemdを使ったRaspberry Piのプログラムの自動起動 | TomoSoft|https://tomosoft.jp/design/?p=11697] *[systemd - HackMD|https://hackmd.io/@tonnsama/home/%2F%40tonnsama%2Fsystemd]