Relative Content

Daily Archives: 2017年9月8日

WeMos (b1) BMP180 I2C気圧温度表示

Specification Pressure sensing range: 300-1100 hPa (9000m to -500m above sea level) Up to 0.03hPa / 0.25m resolution -40 to +85°C operational range, +-2°C temperature accuracy Wiring Make the following connections GND <-> GND 3V3 <-> VIN (or 3Vo) D1 <-> SCL D2 <-> SDA ライブラリの追加 “Adafruit Unified Sensor”ライブラリの追加 センサーをライブラリ追加 BMP180センサーを利用する ライブラリからBMP085を検索して、追加してください 単体プログラム ただシリアルモニタに表示するだけのプログラム #include […]

Arduino UNO (6) i2c scanner

i2c のアドレスを確かめるため、下記のプログラムを動かせばいい。 // ————————————– // i2c_scanner // // Version 1 // This program (or code that looks like it) // can be found in many places. // For example on the Arduino.cc forum. // The original author is not know. // Version 2, Juni 2012, Using Arduino 1.0.1 // Adapted to be as simple as […]