Relative Content

Author Archive for chen

Arduino 101 (1) About Arduino 101

App Inventor IoT の発表に伴い、実験しながら体験する予定。 http://iot.appinventor.mit.edu/ http://iot.appinventor.mit.edu/#/getstarted/intro 対応機種は今現在Arduino 101とBBC micro:bitしかない。BBC micro:bitについて、あまり聞いたことがない、イギリスの小学校では無料配布らしい。早速Arduino 101を注文から始まる。 Arduino 101 Genuino 101(米国ではArduino 101)は、米国のArduino LLCがインテルと共同で設計した、Intel Curie搭載のマイコンボードです。Arduino Uno R3と同じ形状の基板ですが、BLE(Bluetooth Low Energy)に対応し、3軸加速度センサ・3軸ジャイロセンサを搭載しています。 Arduino 101とApp Inventor連携する環境 Arduino 101とApp Inventor一緒にすると、いろいろIoT実験ができる。 次は3回分けて、Arduino IDEのインストール、Arduino 101とApp InventorをBluetoothで連携する、そしてLちかを行う。 予習参考: App Inventor + IoT Setup tutorial App Inventor + IoT: Setting Up Your Arduino App Inventor + IoT: Basic Bluetooth Connection Setup […]

Arduino NANO (1) AD8232 Heart Rate Monitor

経緯 IoT材料を探しに、AD8232 Heart Rate Monitor パーツを購入しました。 添付資料は何もないので、ネットで検索したら、結構出ました。 目の動きも検出できる、いろいろできそう。 回路 参考資料は、Arduino NANOを利用するので、そのままの回路を組み立てる予定。成功したら、ESP8266,ESP32に移植するつもり。 The detailed specification of the Arduino Nano board is as follows: Microcontroller ATmega328 Operating Voltage (logic level): 5 V Input Voltage (Recommended): 7-12 V Input Voltage (limits): 6-20 V Digital I/O Pins : 14 (of which 6 provide PWM Output) Analog Input Pins: 8 DC Current […]

Web Boid by Processing

/** boid * Copyright 2011 Yutaka Kachi * Licensed by New BSD License * * Boid:生き物の群れのように動き回るボール * **/

カーソルの軌跡を線として描き

次のプログラムは、マウスボタンを押している間、カーソルの軌跡を線として描きます。 void draw() { if (mousePressed) { line(pmouseX, pmouseY, mouseX, mouseY); } }