개요 Genuino101에는 IMU 센서가 내장되어 있어서 별도의 board를 구매할 필요가 없다. 센서의 검출방향은 아래와 같다. 코드 raw 데이터를 읽는 코드는 다음과 같다. #include "CurieIMU.h" float gx,gy,gz; // gyroscope's value float ax,ay,az; // accelerometer's value void setup() { Serial.begin(19200); initIMU(); // IMU initialize } void loop() { CurieIMU.readGyroScaled(gx, gy, gz); CurieIMU.readAccelerometerScaled(ax, ay, az); } void initIMU() { Serial.println..
개요 Arduino101은 Bluetooth LE(Low Energy) 통신 모듈을 내장하고 있다. 말 그대로 Bluetooth를 저전력으로 지원하는 것으로 배터리를 사용하는 모바일 기기 등에 활용하기 위함이다. CurieBLE 라이브러리를 제공한다. 코드 #include CurieBLE.h // service와 characteristic 선언 BLEService genuinoService1("BBB0"); BLEIntCharacteristic char1("BBB1", BLERead | BLENotify, 30); // arduino에서는 읽기 BLEService genuinoService2("0174"); BLEIntCharacteristic char2("0175", BLEWrite); // ardui..
- Total
- Today
- Yesterday
- 까꿍이
- 봄
- ble
- 유아동요
- 아소
- 함덕
- Kotlin
- 민성이
- 휴애리
- 74HC565
- 꽃
- shift register
- 중문해수욕장
- Android Studio
- 한화우림
- clix
- Arduino101
- 꽃전시회
- 덴파레
- 규슈
- Genuino101
- L293D
- 동탄
- 렌즈
- 뽀로로
- 에코랜드
- 나현이
- 제주도
- 섭지코지
- 풍림콘도
일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
1 | ||||||
2 | 3 | 4 | 5 | 6 | 7 | 8 |
9 | 10 | 11 | 12 | 13 | 14 | 15 |
16 | 17 | 18 | 19 | 20 | 21 | 22 |
23 | 24 | 25 | 26 | 27 | 28 |