mobius 2 - ocean developersdevelopers.iotocean.org/.../2017/07/how-to-use-arduino.pdf ·...
TRANSCRIPT
![Page 1: Mobius 2 - OCEAN DEVELOPERSdevelopers.iotocean.org/.../2017/07/How-to-use-Arduino.pdf · 2017-07-25 · Arduino로업로드 FE-RGB 3색LED 각R, G, B 핀의입력에따라 Red, Green,](https://reader033.vdocuments.pub/reader033/viewer/2022041523/5e2fac0e0c5c3a6ba46a1d94/html5/thumbnails/1.jpg)
Mobius 2.0
아두이노연동모비우스활용방법
2017.07.20
Korea Electronics Technology Institute
안일엽책임
![Page 2: Mobius 2 - OCEAN DEVELOPERSdevelopers.iotocean.org/.../2017/07/How-to-use-Arduino.pdf · 2017-07-25 · Arduino로업로드 FE-RGB 3색LED 각R, G, B 핀의입력에따라 Red, Green,](https://reader033.vdocuments.pub/reader033/viewer/2022041523/5e2fac0e0c5c3a6ba46a1d94/html5/thumbnails/2.jpg)
목 차
01 모비우스연동디바이스개발
02 nCube-Thyme-Arduino활용
03 nCube-Thyme-Arduino-OTA활용
![Page 3: Mobius 2 - OCEAN DEVELOPERSdevelopers.iotocean.org/.../2017/07/How-to-use-Arduino.pdf · 2017-07-25 · Arduino로업로드 FE-RGB 3색LED 각R, G, B 핀의입력에따라 Red, Green,](https://reader033.vdocuments.pub/reader033/viewer/2022041523/5e2fac0e0c5c3a6ba46a1d94/html5/thumbnails/3.jpg)
모비우스연동디바이스개발01
![Page 4: Mobius 2 - OCEAN DEVELOPERSdevelopers.iotocean.org/.../2017/07/How-to-use-Arduino.pdf · 2017-07-25 · Arduino로업로드 FE-RGB 3색LED 각R, G, B 핀의입력에따라 Red, Green,](https://reader033.vdocuments.pub/reader033/viewer/2022041523/5e2fac0e0c5c3a6ba46a1d94/html5/thumbnails/4.jpg)
모비우스연동디바이스개발01
(개발지원) IoT서비스개발지원및전략
![Page 5: Mobius 2 - OCEAN DEVELOPERSdevelopers.iotocean.org/.../2017/07/How-to-use-Arduino.pdf · 2017-07-25 · Arduino로업로드 FE-RGB 3색LED 각R, G, B 핀의입력에따라 Red, Green,](https://reader033.vdocuments.pub/reader033/viewer/2022041523/5e2fac0e0c5c3a6ba46a1d94/html5/thumbnails/5.jpg)
모비우스연동디바이스개발01
(개발지원) IoT서비스개발지원및전략
![Page 6: Mobius 2 - OCEAN DEVELOPERSdevelopers.iotocean.org/.../2017/07/How-to-use-Arduino.pdf · 2017-07-25 · Arduino로업로드 FE-RGB 3색LED 각R, G, B 핀의입력에따라 Red, Green,](https://reader033.vdocuments.pub/reader033/viewer/2022041523/5e2fac0e0c5c3a6ba46a1d94/html5/thumbnails/6.jpg)
모비우스연동디바이스개발01
(개발전략)쉽고간편한개발
![Page 7: Mobius 2 - OCEAN DEVELOPERSdevelopers.iotocean.org/.../2017/07/How-to-use-Arduino.pdf · 2017-07-25 · Arduino로업로드 FE-RGB 3색LED 각R, G, B 핀의입력에따라 Red, Green,](https://reader033.vdocuments.pub/reader033/viewer/2022041523/5e2fac0e0c5c3a6ba46a1d94/html5/thumbnails/7.jpg)
모비우스연동디바이스개발01
디바이스개발프로세스
•Download &Cube
• Install Node.js
•Configure &Cube
•Run &Cube
Install &Cube
•Download &Cube
• Install Node.js
•Configure &Cube
•Run &Cube
•Download TAS sample
•Develop TAS
•Configure TAS
•Run TAS
Install &Cube
• 개발환경구축 (Node.js, Aduino IDE)
• Download &Cube (OCEAN 사이트)
• &Cube 설정
• &Cube 구동
Develop TAS
• Download TAS sample
• 센서연결및 TAS 개발및최적화
• TAS 설정
• TAS 구동혹은재컴파일
Test Device
• IoT Browser를통한리소스데이터확인
• API 테스트툴을이용한리소스데이터확인
• oneM2M Tester 툴을이용한표준적홥성검증
![Page 8: Mobius 2 - OCEAN DEVELOPERSdevelopers.iotocean.org/.../2017/07/How-to-use-Arduino.pdf · 2017-07-25 · Arduino로업로드 FE-RGB 3색LED 각R, G, B 핀의입력에따라 Red, Green,](https://reader033.vdocuments.pub/reader033/viewer/2022041523/5e2fac0e0c5c3a6ba46a1d94/html5/thumbnails/8.jpg)
nCube-Thyme-Arduino 활용02
![Page 9: Mobius 2 - OCEAN DEVELOPERSdevelopers.iotocean.org/.../2017/07/How-to-use-Arduino.pdf · 2017-07-25 · Arduino로업로드 FE-RGB 3색LED 각R, G, B 핀의입력에따라 Red, Green,](https://reader033.vdocuments.pub/reader033/viewer/2022041523/5e2fac0e0c5c3a6ba46a1d94/html5/thumbnails/9.jpg)
nCube-Thyme-Arduino 활용02
아두이노HW소개
• Adafruit Feather M0 (아두이노 Zero 호환)
– ATSAMD21(CPU) + ATWINC1500(WiFi)
– Cortex M0 프로세서
– 12-bit ADC, 10-bit DAC, SPI, I2C, UART 지원
– 총 6개의 SERCOM, native USB지원, 802.11bgn 지원(Atmel WINC1500 WiFi)
– https://www.adafruit.com/product/3010
CM1106 Co2 센서
대기중의 Co2값을측정하여UART 포트를이용해Arduino로업로드
FE-RGB 3색 LED
각 R, G, B 핀의입력에따라Red, Green, Blue LED 동작
입력값에따라하나이상의빛(2^3-1=7가지) 조합
SRD-05VDC-SL-C Relay
5V의입력과 Digital 입력신호로 2개의외부전원출력제어
가전제품의전원을원격에서ON/OFF 제어하는데활용
![Page 10: Mobius 2 - OCEAN DEVELOPERSdevelopers.iotocean.org/.../2017/07/How-to-use-Arduino.pdf · 2017-07-25 · Arduino로업로드 FE-RGB 3색LED 각R, G, B 핀의입력에따라 Red, Green,](https://reader033.vdocuments.pub/reader033/viewer/2022041523/5e2fac0e0c5c3a6ba46a1d94/html5/thumbnails/10.jpg)
nCube-Thyme-Arduino 활용02
쉽고간편한개발프로세스최초 1회수행
![Page 11: Mobius 2 - OCEAN DEVELOPERSdevelopers.iotocean.org/.../2017/07/How-to-use-Arduino.pdf · 2017-07-25 · Arduino로업로드 FE-RGB 3색LED 각R, G, B 핀의입력에따라 Red, Green,](https://reader033.vdocuments.pub/reader033/viewer/2022041523/5e2fac0e0c5c3a6ba46a1d94/html5/thumbnails/11.jpg)
nCube-Thyme-Arduino 활용02 Video
![Page 12: Mobius 2 - OCEAN DEVELOPERSdevelopers.iotocean.org/.../2017/07/How-to-use-Arduino.pdf · 2017-07-25 · Arduino로업로드 FE-RGB 3색LED 각R, G, B 핀의입력에따라 Red, Green,](https://reader033.vdocuments.pub/reader033/viewer/2022041523/5e2fac0e0c5c3a6ba46a1d94/html5/thumbnails/12.jpg)
nCube-Thyme-Arduino-OTA 활용03
![Page 13: Mobius 2 - OCEAN DEVELOPERSdevelopers.iotocean.org/.../2017/07/How-to-use-Arduino.pdf · 2017-07-25 · Arduino로업로드 FE-RGB 3색LED 각R, G, B 핀의입력에따라 Red, Green,](https://reader033.vdocuments.pub/reader033/viewer/2022041523/5e2fac0e0c5c3a6ba46a1d94/html5/thumbnails/13.jpg)
nCube-Thyme-Arduino-OTA 활용03
아두이노용원격펌웨어업데이트
• nCube-Thyme-Arduino용원격펌웨어업데이트지원디바이스개발
– 모비우스연동디바이스원격펌웨어업데이트
– OTA 웹서비스제공 (개발자)
– 디바이스별펌웨어관리지원
![Page 14: Mobius 2 - OCEAN DEVELOPERSdevelopers.iotocean.org/.../2017/07/How-to-use-Arduino.pdf · 2017-07-25 · Arduino로업로드 FE-RGB 3색LED 각R, G, B 핀의입력에따라 Red, Green,](https://reader033.vdocuments.pub/reader033/viewer/2022041523/5e2fac0e0c5c3a6ba46a1d94/html5/thumbnails/14.jpg)
nCube-Thyme-Arduino-OTA 활용03
쉽고간편한개발프로세스
기존개발 (Blue LED)
DownloadSource
CopyLibraries
OTASample
ModifySample
Upload Sketch
Blue LEDON
원격펌웨어업데이트 (Red LED)
SettingWi-Fi
Modify Source
CompileHEX
UploadHEX
UpdateCommand
Red LEDON
동작확인
SettingWi-Fi
CheckLog
![Page 15: Mobius 2 - OCEAN DEVELOPERSdevelopers.iotocean.org/.../2017/07/How-to-use-Arduino.pdf · 2017-07-25 · Arduino로업로드 FE-RGB 3색LED 각R, G, B 핀의입력에따라 Red, Green,](https://reader033.vdocuments.pub/reader033/viewer/2022041523/5e2fac0e0c5c3a6ba46a1d94/html5/thumbnails/15.jpg)
nCube-Thyme-Arduino-OTA 활용03 Video