1 / 10

関西学院大学 研究会用資料 2013.7.8

関西学院大学 研究会用資料 2013.7.8. processing-2.0.1  :  processing 開発環境 arduino-1.0.3  :  Arduino 開発環境 ArduPV_P  : 脈波振幅 (PVA) 計測用プログラム. * プログラムの書き込み   : Arduino での 動作 (1). ArduPV_P ArduPV1 ArduPV1.ino  を  arduino-1.0.3 Arduino 開発環境にドラッグ&ドロップ. * プログラムの書き込み   : Arduino での 動作 (2).

chloe
Télécharger la présentation

関西学院大学 研究会用資料 2013.7.8

An Image/Link below is provided (as is) to download presentation Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author. Content is provided to you AS IS for your information and personal use only. Download presentation by click this link. While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server. During download, if you can't get a presentation, the file might be deleted by the publisher.

E N D

Presentation Transcript


  1. 関西学院大学 研究会用資料 2013.7.8

  2. processing-2.0.1 : processing開発環境 arduino-1.0.3 : Arduino開発環境 ArduPV_P : 脈波振幅(PVA)計測用プログラム

  3. *プログラムの書き込み   :Arduinoでの動作(1) ArduPV_P\ ArduPV1\ ArduPV1.ino を arduino-1.0.3\ Arduino開発環境にドラッグ&ドロップ

  4. *プログラムの書き込み   :Arduinoでの動作(2) マイコンボード種類、シリアルポート番号をそれぞれ設定する。 ※ポート番号はPCによって異なります

  5. *プログラムの書き込み:Arduinoでの動作(3) 検証 ボードへの書き込み シリアルモニタ プログラム内容を検証(verify)し、完了したらボードへ書き込みを行う。 書き込みが完了したら、シリアルモニタで信号を確認する。 PVAに応じて数値が変わっているのが分かる。

  6. *プログラムの書き込み  :Processingでの動作(1)*プログラムの書き込み  :Processingでの動作(1) ArduPV_P\ ArduPVP1.ino  を arduino-1.0.3\ Arduino開発環境にドラッグ&ドロップ

  7. *プログラムの書き込み(3)  :Processingでの動作(2)*プログラムの書き込み(3)  :Processingでの動作(2) プログラム内容を検証(verify)し、完了したらボードへ書き込みを行う。

  8. *Processingプログラムの設定(1) ArduPV_P \ ArduChart1 \ settings.txt を起動。 COM番号を変更し、保存。

  9. *Processingプログラムの設定(2) ArduPV_P \ ArduChart1 \ application.windows32 \ ArduChart1.exe を起動 起動画面。波形の上には脈波振幅と心拍数が表示されている。

  10. *Processingプログラム:ファイルの出力 ファイルは10秒おきに自動でresult.csvという名前で書き込まれる。サンプリングレートは1Hz。 Csvファイルを開くと、左の列に心拍数、右の列に脈波振幅が保存されている。

More Related