Arduino Processing and ) Fig1. Arduino Homepage : h;p://
|
|
- くうしょう ささおか
- 6 years ago
- Views:
Transcription
1 Arduino Horiuchi* Oguri* Ueda* Tani* Eto*
2 Arduino Processing and ) Fig1. Arduino Homepage : h;p://
3 : Arduino Java Fig2. Arduino SoGware Download : h;p://arduino.cc/en/main/sogware
4 Hardware Fig3. Arduino Hardware Hardware : h;p://arduino.cc/en/main/hardware
5 arduino (Windows ) 1 h;p:// 2 Download 3 Download Windows 4 C: Program Files
6 arduino (Windows ) 5 arduino USB arduino drivers 6 COM LPT USB Serial Port (COM ) COM
7 arduino (Windows ) 7arduino USB arduino 8 Tool Board arduino Duemilanove or Nano w/atmega328 Tool Serial Port 6 COM arduino
8 arduino (Mac ) 1 h;p:// 2 Download 3 Download Mac OS X 4
9 arduino (Mac ) 5 arduino.dmp FTDIUSBSerialDriver_x_x_x.dmg x 6 7arduino USB arduino 8 Tool Board arduino Duemilanove or Nano w/atmega328 Tool Serial Port /dev/cu.usbserial- arduino
10 LED Arduino SoGware LED
11 LED 1 LED arduino 13 GND
12 LED 2 arduino USB 3 arduono #define LED_PIN 13 void setup () { pinmode (LED_PIN, OUTPUT); void loop () { digitalwrite (LED_PIN, HIGH); delay (1000); digitalwrite (LED_PIN, LOW); delay (1000); // 13 // LED // (1000 ) // LED //
13 LED 4 verify Done compiling
14 LED 5 upload arduino Done uploading LED Done uploading Tool Board Serial Port
15 #define LED_PIN 13 void setup () { pinmode (LED_PIN, OUTPUT); void loop () { digitalwrite (LED_PIN, HIGH); delay (1000); digitalwrite (LED_PIN, LOW); delay (1000); LED_PIN 1 LED LED
16 加速度を計測しよう Arduinoのそれぞれにピンを挿していこう ANALOG IN 1 ANALOG IN 2 ANALOG IN 0 ⑧ ⑤ ① ④ 5V GND
17 int AccX; int void setup(){ Serial.begin(9600); void loop(){ AccX = analogread(0); Serial.print("AccX="); Serial.print(AccX); Serial.print("\t"); delay(1000); AccX Serial.print Serial.print( ); Serial.print(AccX); ( /t ) Acc accelerauon X,Y,Z
18 verify upload Arduino 6 (10bit/6ch)
19 int AccX; void setup(){ Serial.begin(9600); void loop(){ AccX = analogread(0); Serial.print("AccX="); Serial.print(AccX); Serial.print("\t"); delay(1000); (analogread(0)) AccX AccX= (AccX)
20
21
22 Hardware
23 LilyPad Arduino
24 ZigBee
25 Processing Java arduino
26 Processing arduino 1 h;p:// 2 Download OS 3 Windows OS Java ( Java )
27 Lilypad V 3.7V/ 1000mAh) Arduino DC- DC LiPower LiPower 5V Lilypad
28 LilyPad ADXL335 ±3G V+, GND X,Y,Z
29
30 SoGware
31 Arduino ( h;p:// reference/libraries/serial/index.html) import processing.serial.*; //Library import Serial myport; String StringData; void setup(){ size(400,400); // background(255); // 1( sketch 2Import Library 3Serial I/O
32 myport = new Serial(this,"/dev/;y.usbserial- A9007NaE",9600); myport.clear(); myport.bufferunul(10); void drow(){ void serialevent(serial p){ StringData=myPort.readStringUnul(10); StringData=trim(StringData); Mac 1 2ls /dev/;y.* 3 String[] List=split(StringData,, ); //, print(int(list[0])); //list[0] print(, ); ////, print(int(list[1])); //list[1] print(, ); //, println(int(list[2])); //list[2]
33 CSV X Y Z h;p://processing.org/reference/ try.html BufferedReader reader; String line; int oldx=0; int oldy=0; int AccX=0; int AccY=0; int GraphPosiuon=0; // void setup(){ size(500,400); // background(255); framerate(25); reader = createreader( test.csv ); // test.csv CSV
34 void draw(){ try { line = reader.readline(); catch (IOExcepuon e) { e.printstacktrace(); line = null; if (line == null) { noloop(); else { String[] pieces = split(line,, ); //, AccX =int(pieces[2])*4+250; // AccX AccY =int(pieces[3])*5-750; //4 AccY if(graphposiuon<500){ GraphPosiuon++; else{background(255); GraphPosiuon=0; //GraphPosiuon (255 GraphPosiuon 0
35 strokeweight(3.0); // stroke(255,0,0); // line(graphposiuon,oldx, GraphPosiuon+1,AccX); stroke(0,0,255); line( GraphPosiuon,oldY, GraphPosiuon+1,AccY); // oldx=accx; // oldy=accy;
36 DV h;p://processing.org/reference/libraries/ video/capture_read_.html import processing.video.*; //Library import Capture mycapture; void setup(){ framerate(25); size(320,240); // 1( sketch 2Import Library 3Video mycapture = new Capture(this,320,240); //
37 void draw(){ if(mycapture.available()){ mycapture.read(); image(mycapture,0,0); //
38 h;p://processing.org/ reference/libraries/video/moviemaker.html import processing.video.*; Capture mycapture; MovieMaker MovieFile; String utle; //Library video import // // void setup(){ framerate(25); size(320,240); // mycapture = new Capture(this,320,240); //
39 void draw(){ if(mycapture.available()){ mycapture.read(); image(mycapture,0,0); // if(mousepressed == true){ // utle = month()+"- "+day()+"/"+hour()+"- "+minute()+"- "+second(); // ( MovieFile = new MovieMaker(this,width,height,utle+.mov,15, MovieMaker.VIDEO, MovieMaker.LOSSLESS); // MovieFile.addFrame(); // Processing sketchbook mov
40 arduino processing SFC- SFS Web h;p://web.sfc.keio.ac.jp/~ohgi/
Arduino UNO IS Report No. Report Medical Information System Laboratory
Arduino UNO 2015 2 25 IS Report No. Report Medical Information System Laboratory Abstract ( ) Arduino / Arduino Bluetooth Bluetooth : Arduino Arduino UNO Arduino IDE micro computer LED 1............................
More informationline(x1, y1, x2, y2); (x1, y1) rect(x, y, width, height); (x, y) (x1, y1) (x2, y2) height width (x2, y2) ellipse(x, y, width, height); rectmode(corners); rect(x1, y1, x2, y2); (x,y) width height strokeweight(4);
More informationMicrosoft Word - SU1203教本(Sens)原稿.docx
int valsw; // void setup(){ pinmode(13, OUTPUT); pinmode(a4, INPUT_PULLUP); //13 //A4 } void loop(){ valsw = digitalread(a4); if(valsw == 0){ //A4 valsw //valsw } digitalwrite(13, HIGH); //valsw 0LED ------(A)
More informationslide
// Filename: Example701.ino(AllTest.ino) // Author: Akinori TSuji #include "FastLED.h" #include "SparkFunBME280.h" #include "RTClib.h" #include "LiquidCrystal_I2C.h" #define LED_PIN 13 #define DATA_PIN
More informationMicrosoft Word - SU1204教本(Driver)原稿.docx
void setup(){ pinmode(13, OUTPUT); //13 void loop(){ digitalwrite(13, HIGH); //13 HIGH delay(500); digitalwrite(13, LOW); //13 LOW delay(500); setup pinmode loop delay C M B void setup(){ pinmode(12,output);
More informationTaro-テキスト.jtd
付録 7 実習テキスト Processingスケッチプログラミング Processingスケッチプログラミング Processingスケッチプログラミング 1. 的 作成 : 米田文彦 Processing プロセッシング を使い プログラムによるビジュアル表現を学ぶ また Arduino と連携させ デジタルとフィジカルの融合がどのように行われているのかを知る 2. 使 機器 パソコン Processing
More information<4D F736F F D B B83578B6594BB2D834A836F815B82D082C88C60202E646F63>
デザイン言語 Processing 入門 サンプルページ この本の定価 判型などは, 以下の URL からご覧いただけます. http://www.morikita.co.jp/books/mid/084931 このサンプルページの内容は, 初版 1 刷発行当時のものです. Processing Ben Fry Casey Reas Windows Mac Linux Lesson 1 Processing
More information<4D F736F F F696E74202D F4B87555F A838B B F5F91E63389F12E >
プログラミング演習 Ⅱ フィジカルコンピューティング 第 3 回 Processing 連携 サーボモータ 圧電スピーカの使い方 担当 : 橋本 今日の内容 Processing と Arduino の連携 データの受信 (Arduino Processing) センサからの入力値を Processing で可視化する データの送信 (Processing Arduino) Processing からの指令で
More informationMicrosoft Word - SU1202教本(Disp)原稿.docx
void setup(){ pinmode(9, OUTPUT); void loop(){ digitalwrite(9, HIGH); digitalwrite9,high 9 制限抵抗 A K P 型 N 型 基板 ( 土台 ) + P 型半導体 - N 型半導体 1.2 R(Ω) 1.8 20m 3V digitalwrite(13,high); digitalwrite(13,low);
More informationESP32-KEY-KIT-R1 (ESP-WROOM-32 ) Copyright c 2
ESP32-KEY-KIT-R1 (ESP-WROOM-32 ) http://www.microfan.jp/ http://store.shopping.yahoo.co.jp/microfan/ http://www.microfan.jp/shop/ 2017 4 Copyright c 2017 MicroFan, All Rights Reserved. i 1 ESP32-KEY-KIT-R1
More informationTaro-テキスト.jtd
付録 1 実習テキスト Arduinoスケッチプログラミング Arduinoスケッチプログラミング Arduinoスケッチプログラミング 1. 的 作成 : 米田文彦 Arduino アルドゥイーノ の基本構成 機能を理解し 簡単なスケッチ * を行える能力を身につける また パソコンの標準的なキーボードやマウスといった入出力デバイスではなく センサやモータのような物理的な情報を扱える入出力デバイスを用いた制御をすることで
More information講習会 Arduino
講習会 Arduino 6 回目 タイマー ( 時間の関数 ) 目的 時間に関する関数を覚え プログラムの制御に使う タイマー割込みを知る 制御をするときにセンサー等の外部入力以外にも時間で制御したい時があるかもしれない 例えば一定の間隔をあけてから制御したい場合や制御してからある時間以内ではこの制御 過ぎてからはこの制御をしたいなど 時間に関する関数を紹介する 時間による割り込みを入れることにより正確な計測を行うことができる
More informationESP8266-CORE-R Copyrig
ESP8266-CORE-R1 http://www.microfan.jp/ https://store.shopping.yahoo.co.jp/microfan/ https://www.amazon.co.jp/s?merchant=a28nhprkjdc95b 2018 3 Copyright c 2017-2018 MicroFan, All Rights Reserved. i 1 ESP8266-CORE-R1
More informationネコでもわかるインタラクティブサウンド by ちゃーりー
2013-05-23 1 Processing CRI Atom Craft OSC (udp) localhost ADX2LE_OSCBasicPlayer /StremingAssets/ NewProject.acf CueSheet_0.acb 2 3 4 5 6 Processing CRI Atom Craft CRI Atom Craft ADX2LE OSC Player processing
More informationスライド 1
2013 年 6 月 10 日 : 草稿 2013 年 7 月 19 日 : 初稿 マイコンをはじめよう センサを使おう 徳島大学大学院ソシオテクノサイエンス研究部 技術専門職員辻明典 連絡先 : 770-8506 徳島市南常三島町 2-1 TEL/FAX: 088-656-7485 E-mail::a-tsuji@is.tokushima-u.ac.jp センサを使おう 第 3 回 2013/8/3(Sat)
More informationDCモータの制御
Arduino の紹介 京都大学防災研究所技術室 中川潤 目次 はじめに Arduino とは DC モーターの制御 振動台模型の活用 センサーの液晶表示 センサー液晶表示の活用 おわりに 参考文献 はじめに 目的 Arduino の簡単な使い方を学んでもらい 業務に役立てるきっかけにする Arduino が実際にどんなものに使用できるかイメージをつかんでもらう Arduino とは マイコンを使った開発ボードである
More informationINDEX 1 必要なものを準備しよう 各部の名称を確認しよう 電源を入れよう スイッチで LED を光らせよう BiZduino で Wi-Fi 通信しよう RTC を使ってみよう 参考資料 7 困ったら... 21
INDEX 1 必要なものを準備しよう... 1 2 各部の名称を確認しよう... 2 3 電源を入れよう... 3 4 スイッチで LED を光らせよう... 4 5 BiZduino で Wi-Fi 通信しよう... 8 6 RTC を使ってみよう... 17 参考資料 7 困ったら... 21 8 基板レイアウト図... 22 9 改訂履歴... 23 1 必要なものを準備しよう まずは BiZduino
More informationArduino の勉強会 平成 23 年 1 月 5 日於 : 鳥取大学
Arduino の勉強会 平成 23 年 1 月 5 日於 : 鳥取大学 内容 1 Arduino とは... 2 2 インストールと動作チェック... 2 3 LED の点滅回路... 4 4 液晶 (LCD) の表示... 6 5 電圧計測... 7 6 アナログ出力... 8 7 サーボの動作... 9 8 例題 : ボリュームに応じて LED の明るさを変化させましょう... 10 9 例題
More information<4D F736F F F696E74202D F4B87555F A838B B F5F91E63189F12E >
プログラミング演習 Ⅱ フィジカルコンピューティング 第 1 回 Arduino をはじめよう 担当 : 橋本 フィジカルコンピューティングとは コンピュータにさまざまな入出力デバイスをつないで実世界との物理的なやりとりを実現する方法 プログラミングと電子工作の融合 電気的な装置をプログラムから操れる! 入力 プログラム 出力 人の活動や物理現象 2 センサとアクチュエータ センサ ( 入力 ) 光センサ
More information講習会 Arduino
講習会 Arduino 10 回目 シリアル ( パソコンに表示 ) 目的 シリアル通信を利用して Arduino の処理によって生まれた数値をパソコンに表示する Arduino で作ったタイマーを Processing を利用して表示する シリアル通信とは 電気通信において伝送路上を一度に 1 ビットずつ 逐次的にデータを送ることをいう また コンピュータにおいては バス上を一度に 1 ビットずつ
More informationarduino プログラミング課題集 ( Ver /06/01 ) arduino と各種ボードを組み合わせ 制御するためのプログラミングを学 ぼう! 1 入出力ポートの設定と利用方法 (1) 制御( コントロール ) する とは 外部装置( ペリフェラル ) が必要とする信号をマイ
arduino プログラミング課題集 ( Ver.5.0 2017/06/01 ) arduino と各種ボードを組み合わせ 制御するためのプログラミングを学 ぼう! 1 入出力ポートの設定と利用方法 (1) 制御( コントロール ) する とは 外部装置( ペリフェラル ) が必要とする信号をマイコンから伝える 外部装置の状態をマイコンで確認する 信号の授受は 入出力ポート 経由で行う (2) 入出力ポートとは?
More information_福島GamejamCRI・ミドルウェア事前セミナー資料
2013-07-06 1 2 Unity 3 Processing CRI Atom Craft OSC (udp) localhost Audacitywav ADX2LE_OSCBasicPlayer /StremingAssets/ NewProject.acf CueSheet_0.acb 4 5 6 7 Processing CRI Atom Craft CRI Atom Craft ADX2LE
More informationArduinoで組込み制御
Arduino で組込み制御 Arduino で組込み制御 目次 1 Arduino とは? 2 Arduino をダウンロードしよう 3 Arduino のサンプルを使ってみよう 4 フルカラー LED を点灯させるプログラムを書いてみよう 5 LCD ディスプレイで文字を表示してみよう 6 小型 DC モータを制御してみよう 7 マトリクス LED で文字を点灯させよう Arduino とは?1
More informationSpeC記述のC記述への変換 (SpecCによるソフトウェア記述の実装記述への変換)
シングルタスク プログラミング 本田晋也名古屋大学大学院情報科学研究科准教授 TOPPERSプロジェクトシニアテクニカルエキスパート honda@ertl.jp 最終更新 2016/6/27 1 自己紹介 所属 名古屋大学情報科学研究科組込みリアルタイムシステム研究室 TOPPERSプロジェクト TOPPERS/R2CA 設計 開発 メンテ 最近注力している内容 TOPPERS/ASP GR-PEACH
More informationK227 Java 2
1 K227 Java 2 3 4 5 6 Java 7 class Sample1 { public static void main (String args[]) { System.out.println( Java! ); } } 8 > javac Sample1.java 9 10 > java Sample1 Java 11 12 13 http://java.sun.com/j2se/1.5.0/ja/download.html
More information(new) (Opens) Processing (Saves) (Exports) Java Java HTML Getting Started with Processing Casey Reas and Ben Fry. Processing: A Programming Handbook for Visual Designers and Artists Casey Reas and Ben
More informationI java A
I java 065762A 19.6.22 19.6.22 19.6.22 1 1 Level 1 3 1.1 Kouza....................................... 3 1.2 Kouza....................................... 4 1.3..........................................
More informationスライド 1
マイコンをはじめよう 割り込みを使おう 徳島大学大学院ソシオテクノサイエンス研究部 技術専門職員辻明典 連絡先 : 770-8506 徳島市南常三島町 2-1 TEL/FAX: 088-656-7485 E-mail::a-tsuji@is.tokushima-u.ac.jp 割り込みを使おう 第 8 回 2013/9/14(Sat) 10:00 11:30 2 本日の予定 1 割り込みについて 2
More informationPowerPoint プレゼンテーション
Arduino 入門勉強会 #2 センサによる入出力 平成 27 年 7 月 7 日 ソフトピアジャパンドリーム コア 1F ネクストコア センサ入出力 Arduino にセンサなど様々な入出力部品を取り付け動作させてみます 今回の勉強会で扱うのは以下の部品です 入力 : タクトスイッチ ボリューム抵抗 ( 半固定抵抗 ) 光センサ (CDS) 温度センサ 出力 :LED( 単色 ) ピエゾスピーカー
More informationMathematica で Arduino を利用する (2012 年度 ) はじめに情報工学部では全学科で Arduino を導入して フィジカルコンピューティングに関連した教育を行ってきている 電子情報工学科ではいくつかの実験演習を通じて Arduino を取り入れてきている ここでは 電子情報
Mathematica で Arduino を利用する (2012 年度 ) はじめに情報工学部では全学科で Arduino を導入して フィジカルコンピューティングに関連した教育を行ってきている 電子情報工学科ではいくつかの実験演習を通じて Arduino を取り入れてきている ここでは 電子情報工学実験 I の Mathematica のテーマで Arduino を利用した実習をすることを考えた
More informationGR-SAKURA-SAのサンプルソフト説明
MA11 IFTTT ハンズオン体験まとめ GR-SAKURA から 30 分で動く! 簡単メール送信できる IFTTT( イフト ) を使って見よう 2015/8/19 がじぇっとるねさす鈴木 Rev. 1.00 IFTTT( イフト ) って何? IF THIS THEN THAT IFTTT( イフト ) とは レシピ と呼ばれる個人作成もしくは公に共有しているプロフィールを使って数あ る Web
More informationMicrosoft Word - SU1201MotorDriverSheildManual.doc
モータードライバーシールドスタートマニュアル はじめにはじめにモータードライバーシールド (SU-1201) は Arduino によって動作させることを前提としています このマニュアルでは モータードライバーシールドを動かすときの具体的な設定や サンプルプログラムについて解説しています 対応する Arduino 2012 年 9 月 1 日現在 Arduino 基板 : Duemilanove UNO(R3)
More informationJava (9) 1 Lesson Java System.out.println() 1 Java API 1 Java Java 1
Java (9) 1 Lesson 7 2008-05-20 Java System.out.println() 1 Java API 1 Java Java 1 GUI 2 Java 3 1.1 5 3 1.0 10.0, 1.0, 0.5 5.0, 3.0, 0.3 4.0, 1.0, 0.6 1 2 4 3, ( 2 3 2 1.2 Java (stream) 4 1 a 5 (End of
More informationtn_soturon_sjis.dvi
3D 2005 3 A Graduation Thesis of College of Engineering, Chubu University Evaluation of Usability in Movement Operation for 3D Object Tetsushi Nakagawa 1 1 2 3 2.1... 3 2.2... 4 3 Zoo 7 3.1 Zoo... 7 3.2
More informationAPP Storage APP Storage APP GW APP GW GW GW : APP Storage Storage APP APP GW APP GW GW GW HTTP+XML Data Archiver, Data Analysis Visualization Control Logics Storage Data Analysis Visualization Demand Control
More information明解Java入門編
1 Fig.1-1 4 Fig.1-1 1-1 1 Table 1-1 Ease of Development 1-1 Table 1-1 Java Development Kit 1 Java List 1-1 List 1-1 Chap01/Hello.java // class Hello { Java System.out.println("Java"); System.out.println("");
More informationGR-SAKURA-SAのサンプルソフト説明
フルカラーシリアル LED テープ (1m) を GR-KURUMI で使ってみる 2014/2/25 がじぇっとるねさす鈴木 Rev. 1.00 フルカラーシリアル LED の特徴 http://www.switch-science.com/catalog/1399/ 3570 円 1m で 60 個の LED がついている 電源と信号線 1 本で制御する x 24 この信号を 24 個送信して
More information3 Java 3.1 Hello World! Hello World public class HelloWorld { public static void main(string[] args) { System.out.println("Hello World");
(Basic Theory of Information Processing) Java (eclipse ) Hello World! eclipse Java 1 3 Java 3.1 Hello World! Hello World public class HelloWorld { public static void main(string[] args) { System.out.println("Hello
More informationMODLINK-2 Arduino&IoT 組立式開発ボード Manual モジュリンク 2 取扱説明書
MODLINK-2 Arduino&IoT 組立式開発ボード Manual モジュリンク 2 取扱説明書 1 目次 1. 共通事項... 2 1-1. 概要... 2 1-2. 注意事項... 2 2. 共通事項... 4 2-1. BASE-D16... 4 3. LINK module... 7 3-1. MCU-LINK(UNO)... 7 3-2. UPLOAD-LINK... 10 3-3.
More information新・明解Java入門
第 1 章 画面 文字 表示 Java Java Java Java Java JRE Java JDK 21 1-1 Java Java Java Java 誕生 Fig.1-1 Oak Java Sun Microsystems 2010 Oracle Java Oracle 4 Java http://www.java.com/ http://www.alice.org/ Fig.1-1Java
More informationuntitled
EPX-64S Rev 1.2 1.. 3 1.1.......... 3 1.2....... 3 1.3....... 4 1.4... 4 1.5... 4 2........ 5 2.1.... 5 EPX64S_GetNumberOfDevices........ 5 EPX64S_GetSerialNumber........ 6 EPX64S_Open....... 7 EPX64S_OpenBySerialNumber
More informationWeb 1 p.2 1 Servlet Servlet Web Web Web Apache Web Servlet JSP Web Apache Tomcat Jetty Apache Tomcat, Jetty Java JDK, Eclipse
Web 1 p.1 1 Servlet 1.1 Web Web WWW HTML CGI Common Gateway Interface Web HTML Web Web CGI CGI CGI Perl, PHP C Java Applet JavaScript Web CGI HTML 1.2 Servlet Java Servlet Servlet CGI Web CGI 1 Java Java
More information2CH DC (PU-2709) DC DC Arduino 製作に必要な部品などを表にまとめてみましょう 用意するもの 型番など 必要数 メモ Arduino Arduino UNO R3 1 パルスを作るマイコンボード 28BYJ-48 1 ACアダプター DC5V 1 DCジャック
2CHDC(PU-2709)DC DC180 1 Arduino 製作に必要な部品などを表にまとめてみましょう 用意するもの 型番など 必要数 メモ Arduino Arduino UNO R3 1 パルスを作るマイコンボード 28BYJ-48 1 ACアダプター DC5V 1 DCジャック AC 1 基板 ブレッドボード 1 ユニバーサル基板などで作ってもOK WindowsMachintoshOK
More information3 4 17:00 Address: ( ) (Subject) ( ) LeapMotion EyeTribe Processing LeapMotion EyeTribe 1. Mac OS X, LeapMotion, EyeTribe, Proces
LeapMotion EyeTribe 2017 3 4 17:00 Address: e_wata@konan-u.ac.jp ( ) (Subject) ( ) LeapMotion EyeTribe Processing LeapMotion EyeTribe 1. Mac OS X, LeapMotion, EyeTribe, Processing Processing 2. LeapMotion
More information任意の加算プログラム
HP Java CG Java Graphics CG CG CG paint CG CG paint CG paint Windows paint paint 17 // public Frame1() { enableevents(awtevent.window_event_mask); try { jbinit(); catch(exception e) { e.printstacktrace();
More information訂正 _ 第 1 回 1 Arduino Arduino を用意する 入力 アナログ Analog 入出力 任意の電圧を扱える 電源系 外部入力 7 12V デジタル digital 入出力 リセットボタン Low High いわゆる 01 が入出力される 通常は Low 0V GND High 5
訂正 _ 第 1 回 1 Arduino Arduino を用意する 入力 アナログ Analog 入出力 任意の電圧を扱える 電源系 外部入力 7 12V デジタル digital 入出力 リセットボタン Low High いわゆる 01 が入出力される 通常は Low 0V GND High 5V となる アナログピンは入力のみでした 申し訳ない 第3回 Arduino 入門 シリアル通信 パソコン通信編
More informationII 1 p.1 1 Servlet 1.1 Web Web WWW HTML CGI Common Gateway Interface Web HTML Web Web CGI CGI CGI Perl, PHP C JavaScript Web CGI HTML 1.2 Servlet Java
II 1 p.1 1 Servlet 1.1 Web Web WWW HTML CGI Common Gateway Interface Web HTML Web Web CGI CGI CGI Perl, PHP C JavaScript Web CGI HTML 1.2 Servlet Java Servlet Servlet CGI Web CGI Java Java JVM Java CGI
More information$ java StoreString abc abc ed abced twice abcedabced clear xyz xyz xyz bingo! abc bingo!abc ^Z mport java.io.*; ublic class StoreString { public static void main(string[] args) throws IOException{ BufferedReader
More informationデータ構造とアルゴリズム論
15 10 14 Java jtextfielddata jbuttonwrite jlabelmessage void jbuttonwrite_actionperformed(actionevent e) { String Data=jTextFieldData.getText(); try { // Test1.txt fw FileWriter fw= new FileWriter("Test1.txt");
More informationGarment Creator
Garment Creator ... 5... 5... 5 PDF... 5... 6... 7... 9... 9... 9... 9... 9... 11 T... 12 T... 12 T... 13... 13... 13... 16... 17... 17 USB... 17 USB... 17 /... 18... 19... 19... 19... 20... 21... 21...
More informationPowerPoint Presentation
マイコンシステム 第 12 回 青森大学ソフトウェア情報学部 橋本恭能 haship@aomori-u.ac.jp 目次 講義 内部設計 3 Deviceタブ Actionタブの関数実装 例題 定義した機能を実現する方法を検討する 課題 動作確認 2 講義 内部設計 3 残りの関数を実装 3 組込みシステム開発 週テーマ内容 7 キッチンタイマーの組立キッチンタイマーのハードを製作 確認 8 9 10
More information¥×¥í¥°¥é¥ß¥ó¥°±é½¬I Exercise on Programming I [1zh] ` `%%%`#`&12_`__~~~alse
I Exercise on Programming I http://bit.ly/oitprog1 1, 2 of 14 ( RD S ) I 1, 2 of 14 1 / 44 Ruby Ruby ( RD S ) I 1, 2 of 14 2 / 44 7 5 9 2 9 3 3 2 6 5 1 3 2 5 6 4 7 8 4 5 2 7 9 6 4 7 1 3 ( RD S ) I 1, 2
More informationsyspro-0405.ppt
3 4, 5 1 UNIX csh 2.1 bash X Window 2 grep l POSIX * more POSIX 3 UNIX. 4 first.sh #!bin/sh #first.sh #This file looks through all the files in the current #directory for the string yamada, and then prints
More information図 1 で示すように割り込み作業に対応していない間は CPU が他の作業を行えま す 割り込みが発生した時に作業中の仕事を一時停止し 割り込みハンドラに 入ってタスクを実行します 割り込み作業が終わった後停止した作業を再開し ます 割り込み対応コードが停止したプロセスに影響ありますので なるべく 最
EduCake: 割り込みとイベント 1. 割り込みやイベント紹介 前の章では 86Duino Educake と外部周辺機器 ( デジタル IO アナログ入出力 センサ モータ等 ) のインターフェイスについて話しました 本章では反応が良く効率的なアプリケーションの開発に重要な割り込みとイベントについて話します 以前に digitalread/write() analogread/write()
More information課題
2018 6 22 2. float[] y = new float[5]; void setup() { size(400, 200); for (int i=0;i< (a) ;i++) { y[i] = random(0.3*width, width); void draw() { y[ (b) ] = mousex; int minpos = findminpos( (c) ); for (int
More information課題
colormode(hsb,359,99,99); background(0,0,99); s = 99; x = mousex; y = mousey; nostroke(); while(s >= 0 && (0
More informationJavaセキュアコーディングセミナー東京 第3回 入出力(File, Stream)と例外時の動作 演習解説
Java セキュアコーディングセミナー東京第 3 回入出力と例外時の動作 演習解説 2012 年 11 月 11 日 ( 日 ) JPCERT コーディネーションセンター脆弱性解析チーム戸田洋三 1 Hands-on Exercises コンパイルエラーに対処しよう ファイルからのデータ入力を実装しよう 2 Hands-on Exercise(1) サンプルコードの コンパイルエラーに対処しよう 3
More information/ ( ) 8/7/2003 13:21 p.2/64
B 12 I ks91@sfc.wide.ad.jp N208 8/7/2003 13:21 p.1/64 / ( ) 8/7/2003 13:21 p.2/64 8/7/2003 13:21 p.3/64 2! 12 7/ 8 1 13 7/15 2 / ( ) 11 (SFC ) ( 5 ) 8/7/2003 13:21 p.4/64 10 2003/7/22 23:59 JST 11 ( )
More information2: 3: A, f, φ f(t = A sin(2πft + φ = A sin(ωt + φ ω 2πf 440Hz A ( ( 4 ( 5 f(t = sin(2πf 1t + sin(2πf 2 t = 2 sin(2πt(f 1 + f 2 /2 cos(2πt(f 1 f
12 ( TV TV, CATV, CS CD, DAT, DV, DVD ( 12.1 12.1.1 1 1: T (sec f (Hz T= 1 f P a = N/m 2 1.013 10 5 P a 1 10 5 1.00001 0.99999 2,3 1 2: 3: 12.1.2 A, f, φ f(t = A sin(2πft + φ = A sin(ωt + φ ω 2πf 440Hz
More informationC言語によるアルゴリズムとデータ構造
Algorithms and Data Structures in C 4 algorithm List - /* */ #include List - int main(void) { int a, b, c; int max; /* */ Ÿ 3Ÿ 2Ÿ 3 printf(""); printf(""); printf(""); scanf("%d", &a); scanf("%d",
More informationIoT
2016 IoT 13H043 1 1 2 2 3 IoT 3 4 5 5 6 5.1............................................... 6 5.2............................................... 6 5.3............................................... 10 5.4...........................................
More informationオブジェクト指向プログラミング・同演習 5月21日演習課題
オブジェクト指向プログラミング 同演習 5 月 21 日演習課題 問題 1 配列の例外処理例外が発生する可能性のある処理を try で囲み その後に catch で例外を捕捉します 例外処理の終了処理として finally が行われます これは書かなくて自動的に行われます 提出課題 1 (Kadai052301.java) 以下のプログラムは例外処理をしていない ArrayIndexOutOfBoundsException
More informationuntitled
AWG-50 Rev 6.5 1 4 2 5 3 5 4 6 4.1 6 4.2 6 4.3 7 4.4 7 4.5 8 4.6 8 4.7 8 4.8 9 5 CD-ROM 10 6 11 6.1 11 6.1.1 Windows 10 11 6.1.2 Windows 8 8.1 12 6.1.3 Windows 7 13 6.1.4 Windows Vista 14 6.1.5 Windows
More information3 5 動作試験 変調せず超音波を出し続ける (DC 出力) と, 最初の 15 秒程度は ピーーー という高周波音が聞こえ, そ れから ブブブブ というノイズが混ざり始めた. DC 出力の超音波焦点を電子秤に照射したところ, 最初は 0.60 g と表示されるものの, ノイズが混ざり始めると 0
1. Arduino Due, (1) (40 khz) (2)., [1] FPGA. FPGA 1, 50 MHz,, I/O,., CPU,, I/O,. Arduino Due [3] (84 MHz ). 5 40 khz., DIY [2]. 2. Arduino Due 40 khz... 2 1 tone() tone [4]. 1, Due [5]. 2 2 2 [6]. 5..
More information02 01 02
02 01 02 Introduction 03 04 03 Usability 04 Usability & Technology Usability & Technology Technology 05 Color Scan 06 Paperless Paperless Fax Paperless 07 bizhub Document Output Copy & Print 08 Document
More informationArduino をはじめよう オープンソースハードウェア入門 ~ Arduino( アルドゥイーノ ) 始めてみませんか?
Arduino をはじめよう オープンソースハードウェア入門 ~ Arduino( アルドゥイーノ ) 始めてみませんか? A ワーク創造館 共立電子産業株式会社 株式会社チアーズ Arduino とは Arduino( アルドゥイーノ ) は AVR マイコン 入出力ポートを備えた基板 C++ 言語風の Arduino 言語とそれの統合開発環境から構成されるシステム Arduino はスタンドアロン型のインタラクティブデバイス開発だけでなく
More informationUntitled
AtTiny85 (TS119-5 ) ------------------------------------------ Ver-1.0 23.Aug.2016 S.S 9 5 CPU EE-PROM TS119-5(7 +α ) #include #define KEYIN 2 #define BUZZER 3 #define LED 5 #define stsound1
More information1/8 ページ Java 基礎文法最速マスター Java Javaの文法一覧です 他の言語をある程度知っている人はこれを読めばJavaの基礎をマスターしてJavaを書くことができるようになっています 簡易リファレンスとしても利用できると思いますので これは足りないと思うものがあれば教えてください 1. 基礎 class の作成プログラムはclassに記述します たとえばSampleという名前のclassを作る場合
More informationHTML Java Tips dp8t-asm/java/tips/ Apache Tomcat Java if else f
1 Servlet 1.1 Web Web WWW HTML CGI Common Gateway InterfaceWeb HTML Web Web CGI CGI CGI Perl C Java Applet JavaScript Web CGI HTML 1.2 Servlet Java Servlet Servlet CGI Web CGI 1 Java / Java Java CGI Servlet
More information55 7 Java C Java TCP/IP TCP/IP TCP TCP_RO.java import java.net.*; import java.io.*; public class TCP_RO { public static void main(string[] a
55 7 Java C Java TCP/IP TCP/IP 7.1 7.1.1 TCP TCP_RO.java import java.net.*; import java.io.*; public class TCP_RO { public static void main(string[] argv) { Socket readsocket = new Socket(argv[0], Integer.parseInt(argv[1]));
More informationJAXA key
! 芸術衛星INVADERのフライトモデル I A 2 8 7 IC J 6 R 22 I 7 6 C 9 I 9 9 J 7R 2 R 9 6 8 I 7 8 7 2 I22 7 8 2 J C I R 2 8 7 J 8 2 R C J C 9 6 I 2 6 7 2 8 8 6 I C 7 I C 9 C 9 J 7 C R 2 8 7 I I 9 6 8 2 R J 8 7 C
More informationKLCシリーズ インストール/セットアップ・ガイド
KORG Legacy Collection J 1 / 2 Windows XP Windows XP 1 2 Windows XP 3 4 5 6 3 / 7 8 4 Mac OS X Mac OS X 1 2 3 4 5 Mac OS X 6 5 / 7 8 6 USB / USB 1 2 USB 7 / 1 2 3 Windows Mac 4 1 Windows Mac 8 2 Windows
More informationデータ構造とアルゴリズム論
15 11 11 Java 21 231-0811 32 152-0033 1 Java 3-5,55,63,39,87,48,70,35,77,59,44 3-5 3-7 score2.txt 75 15 11 11 5-1 3-7 jbuttonread jbuttondisplay jlabelmessage jtextfieldname jtextfieldtokuten
More information解きながら学ぶJava入門編
44 // class Negative { System.out.print(""); int n = stdin.nextint(); if (n < 0) System.out.println(""); -10 Ÿ 35 Ÿ 0 n if statement if ( ) if i f ( ) if n < 0 < true false true false boolean literalboolean
More information4D Draw
4D Draw Windows /Mac OS 4D Copyright 2007 4D SAS All rights reserved.. DR SET GLOBAL PREFERENCES vbind:=dr
More informationHTML Java Tips dp8t-asm/java/tips/ Apache Tomcat Java if else f
1 Servlet 1.1 Web Web WWW HTML CGI Common Gateway InterfaceWeb HTML Web Web CGI CGI CGI Perl C Java Applet JavaScript Web CGI HTML 1.2 Servlet Java Servlet Servlet CGI Web CGI 1 Java / Java Java CGI Servlet
More informationB 10 : N ip2003f10.tex B : 9/12/ :02 p.1/71
B 10 : ks91@sfc.wide.ad.jp N206 2003 ip2003f10.tex B : 9/12/2003 10:02 p.1/71 : / ip2003f10.tex B : 9/12/2003 10:02 p.2/71 ip2003f10.tex B : 9/12/2003 10:02 p.3/71 1 http://java.sun.com/j2se/1.4.1/docs/api/
More informationPDF CD-ROM CD-ROM Manual PDF Adobe Reader Adobe Web
PDF CD-ROM CD-ROM Manual PDF Adobe Reader Adobe Web [ ] [OK] [OK] 40 () () [ ][ ] [OK] [ ] [ ][ ] ] [ [ ][ ] [ ] 3 20 [OK] - CONFORMat CONFORMat Dual 2 2 X Y 3 [ ][ ] 13 [ ][2 ] [2 ] [ ][2 ] [2 ] [ ]
More informationAndroid Layout SDK プログラミング マニュアル
プログラミングマニュアル Version 1.3.0 用 更新履歴 年月日 バージョン 履歴 2014.09.08 1.2.0.0 新規 (Layout Utilities ユーザーズ ガイド ) 2016.08.16 1.3.0.0 モバイル端末用レイアウトで直線部品と矩形部品に対応 モバイル端末用レイアウトファイルを CLFX から XML へ変更 Layout Print Engine から
More informationI 2 tutimura/ I 2 p.1/??
I 2 tutimura@mist.i.u-tokyo.ac.jp http://www.misojiro.t.u-tokyo.ac.jp/ tutimura/ 2002 4 25 I 2 p.1/?? / / Makefile I 2 p.2/?? Makefile make GNU make I 2 p.3/?? Makefile L A T E X I 2 p.4/?? core (1) gcc,
More informationquattro.PDF
Quattro USB Audio Interface 2 M-AUDIO 3 Windows Windows 98 SE/ Windows ME/ Windows 2000/ Windows XP Platinum III 500MHz/ 96kHz Platinum II 400MKz/ 48kHz 128MB RAM / 96kHz 64MB RAM/ 48kHz Macintosh USB
More informationProcessingをはじめよう
Processing をはじめよう 第 7 章 動きその 2 目次 フレームレート スピードと方向 移動 回転 拡大 縮小 2 点間の移動 乱数 タイマー 円運動 今回はここまで 2 2 点間の移動 Example 7-6 (EX_08_06) 始点 (startx, starty) から終点 (stopx, stopy) まで移動する 座標更新の計算方法は後述 始点と終点を変更しても動作する 変更して確認
More informationやさしいJavaプログラミング -Great Ideas for Java Programming サンプルPDF
pref : 2004/6/5 (11:8) pref : 2004/6/5 (11:8) pref : 2004/6/5 (11:8) 3 5 14 18 21 23 23 24 28 29 29 31 32 34 35 35 36 38 40 44 44 45 46 49 49 50 pref : 2004/6/5 (11:8) 50 51 52 54 55 56 57 58 59 60 61
More information( ) p.1 x y y = ( x ) 1 γ γ = filtergamma.java import java.applet.*; public class filtergamma extends Applet{ Image img; Image new_img; publi
e001d 00 1 1 ( ) Figure 1: 1 shikaku.java import java.applet.*; public class shikaku extends Applet{ public void paint( Graphics g) { g.drawrect(,,0,0 ); // x(,) width = 0,height=0 g.drawrect(,,0,0 );
More informationWindows XP Windows Me Windows 98 Second Edition Windows /... 25
LVC-MPEG2/P_V01 PCI TV TUNER & VIDEO CAPTURE BOARD TV LVC-MPEG2/P ... 1... 3... 3... 4... 5... 5... 7... 8... 8... 10... 15 Windows XP... 15 Windows Me... 18 Windows 98 Second Edition... 19 Windows 2000...
More information1 1 Arduino とは Arduino アルドゥイーノ は ワンボードマイコンの一種で オープンソースハードウェアであ り 組み立て済みの基板を購入することもできるほか 誰でも自分の手で Arduino を組み立てる ことができます USBコネクタでPCと接続して利用します デジタルポートとア
1 1 Arduino とは Arduino アルドゥイーノ は ワンボードマイコンの一種で オープンソースハードウェアであ り 組み立て済みの基板を購入することもできるほか 誰でも自分の手で Arduino を組み立てる ことができます USBコネクタでPCと接続して利用します デジタルポートとアナログポートを利用し 様々 なセンサーを接続したり デジタルポートの出力により モーターや各種機器をコントロールする
More informationFTDI USB-Serial Converter デバイスドライバのインストール(Rev.1.01)
FTDI USB-Serial Converter デバイスドライバの インストール / アンインストール (Rev.1.10) 年 月 日 合同会社クラッグ電子 (1/19) 目次 1. 初めに... 3 2. デバイスドライバのインストール... 3 2-1. インターネットに接続されている環境... 4 2-2. インターネットに接続されていない環境 ( 自動 )... 6 2-3. インターネットに接続されていない環境
More information新・明解Java入門
537,... 224,... 224,... 32, 35,... 188, 216, 312 -... 38 -... 38 --... 102 --... 103 -=... 111 -classpath... 379 '... 106, 474!... 57, 97!=... 56 "... 14, 476 %... 38 %=... 111 &... 240, 247 &&... 66,
More information2 回路図
課題研究報告書 Arduino を使った電子工作 ( フィーリングカップル ) 1. テーマ設定の理由課題研究を通して 工業祭で展示 実演を行い 学校を盛り上げたいというのが第一の理由である また 課題研究を通して電子工作などの技術を高めるため 少し難易度の高そうな フィーリングカップル というテーマに設定した 2. 実践内容 (1) 制作方法 1 使用部品 機材 品名 個数 ノート PC 1 Arduino
More information(Microsoft PowerPoint - \223\306\217KJAVA\221\346\202R\224\ ppt)
独習 JAVA 第 3 版 8.4 例外とエラークラス 8.5 throws ステートメント 8.6 独自の例外 Throwable コンストラクタ catch ブロックには Throwable 型のパラメータが必ず 1 つなければならない Throwable コンストラクタ Throwable() Throwable( String message ) message には問題を通知する文字列のメッセージ
More informationメガターム取扱説明書改.PDF
MegaTerm for Windows B20051-01 MegaTerm for Windows 4 5 1. ESA23 25 35 ESB EDB Y PM / DOS/V PC Windows 95,98,2000 RS-232C ESA23,25 ESB,ESA35 EDB OFF PC RS-232C ON DOS/V OS Windows95+IE5 Windows98 Second
More informationIEEE1888通信ボード(学習キット)マニュアル
IEEE1888 通信ボード ( 学習用キット ) ユーザーズ マニュアル 2013 年 03 月版 1. はじめに このマニュアルは,IEEE1888 通信ボード ( 学習用キット ) の使い方, プログラミング方法, ハードウェアの構成方法を記載しています. このマニュアルに従って作業を進めていくことにより, この通信ボードに関する一通りの知識を身に着けることができます. また, 組込みマイコンやデジタル回路についての知識があれば,
More information1
PalmGauss SC PGSC-5G Instruction Manual PalmGauss SC PGSC-5G Version 1.01 PalmGauss SC PGSC5G 1.... 3 2.... 3 3.... 3 3.1... 3 3.2... 3 3.3 PalmGauss... 4 3.4... 4 3.4.1 (Fig. 4)... 4 3.4.2 (Fig. 5)...
More information課題
size(300,120); void drawrect(float x,float y,float w,float h,color c){ rectmode(corner); stroke( (a) ); fill( (b) ); rect( (c), (d), (e), (f) ); float x = map(hour(), (g), (h), (i), (j) ); drawrect(0,0,x,height/3,color(
More informationMicrosoft PowerPoint P演習 第10回 関数.ppt [互換モード]
プログラミング演習 (10) 関数 中村, 橋本, 小松, 渡辺 1 目標 Processing で関数に挑戦! 機能をどんどん作ってみよう! 円とか四角形だけじゃなくて, 色々な図形描画を関数にしてしまおう! 判定も関数で! 関数 背景を塗りつぶす : background( 色 ); 円を描く : ellipse(x 座標, y 座標, 縦直径, 横直径 ); 線を描く : line( x1,
More information