This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// MLX90614の実験 | |
// 2017/01/28 edy | |
// 2017/01/29 8x2行LCDを追加 | |
//http://mag.switch-science.com/2014/11/05/i2c_lcd_breakout_int/ | |
// | |
//2017/03/19 ラジオペンチさんのdelayWDTを使う | |
//http://radiopench.blog96.fc2.com/blog-entry-486.html | |
/*************************************************** | |
This is a library example for the MLX90614 Temp Sensor |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// MAX30100 test | |
// 2017/05/16 edy | |
// 2017/05/17 | |
// LED current 4.4mAに変更 | |
// onBeatDetected() 変更 | |
// 脈拍値 整数型に変更 | |
// REPORTING_PERIOD_MS 2000に変更 | |
/* | |
Arduino-MAX30100 oximetry / heart rate integrated sensor library | |
Copyright (C) 2016 OXullo Intersecans <x@brainrapers.org> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* | |
M5StickC | |
バッテリ電圧、放電電流、充電電流を調べてみる | |
2019/10/09 edy | |
*/ | |
#include <M5StickC.h> | |
#include <Wire.h> | |
void setup() { |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// M5StickCでNCIR(MLX90614)を使う | |
// 2019/10/06 edy | |
// | |
// 参考にしたサイト | |
//https://qiita.com/lutecia16v/items/dc92453f0a8937588f15 | |
// | |
// | |
#include <M5StickC.h> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* | |
LED illumination | |
2017/06/22 | |
edy | |
FFTの窓関数を利用する | |
https://ja.wikipedia.org/wiki/%E7%AA%93%E9%96%A2%E6%95%B0 | |
*/ | |
#define PI2 6.2832 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// 二線で三つのスイッチを読む | |
// 2017/06/12 | |
// edy | |
// | |
#include "Keyboard.h" | |
int analogPin = A0; | |
int ADCresult = 0; | |
int SW = 0; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
//KOMAINOにLCDをつける | |
// 2017/02/25 edy | |
//参考にしたWeb page | |
//http://mag.switch-science.com/2013/07/17/i2c-lcd-breakout/ | |
// | |
#include<Wire.h> | |
#define LCDAdr 0x3e | |
byte contrast = 30; // コントラスト(0~63) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// MLX90614の実験 | |
// 2017/01/28 edy | |
// 2017/01/29 8x2行LCDを追加 | |
//http://mag.switch-science.com/2014/11/05/i2c_lcd_breakout_int/ | |
/*************************************************** | |
This is a library example for the MLX90614 Temp Sensor | |
Designed specifically to work with the MLX90614 sensors in the | |
adafruit shop |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/*************************************************** | |
This is a library example for the MLX90614 Temp Sensor | |
Designed specifically to work with the MLX90614 sensors in the | |
adafruit shop | |
----> https://www.adafruit.com/products/1748 | |
----> https://www.adafruit.com/products/1749 | |
These sensors use I2C to communicate, 2 pins are required to | |
interface |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// ControlEverything.comのスケッチを改造。 | |
// 2017/01/11 edy | |
// | |
// Distributed with a free-will license. | |
// Use it any way you want, profit or free, provided it fits in the licenses of its associated works. | |
// TMP007 | |
// This code is designed to work with the TMP007_I2CS I2C Mini Module available from ControlEverything.com. | |
// https://www.controleverything.com/content/Temperature?sku=TMP007_I2CS#tabs-0-product_tabset-2 | |
#include<Wire.h> |
NewerOlder