1 / 32

Ubiquitous Computing Practice ( xbee - Communication)

Ubiquitous Computing Practice ( xbee - Communication). Youn-Hee Han, In- Seok Kang { yhhan , Iseka }@kut.ac.kr Laboratory of Intelligent Networks Advanced Technology Research Center Korea University of Technology http://link.kut.ac.kr. Contents. Introduction Xbee Module, Shield

Download Presentation

Ubiquitous Computing Practice ( xbee - Communication)

An Image/Link below is provided (as is) to download presentation Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author. Content is provided to you AS IS for your information and personal use only. Download presentation by click this link. While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server. During download, if you can't get a presentation, the file might be deleted by the publisher.

E N D

Presentation Transcript


  1. Ubiquitous Computing Practice(xbee - Communication) Youn-Hee Han, In-Seok Kang {yhhan, Iseka}@kut.ac.kr Laboratory of Intelligent NetworksAdvanced Technology Research CenterKorea University of Technology http://link.kut.ac.kr

  2. Contents • Introduction • Xbee Module, Shield • Setting Xbee Module • X-CTU software • Xbee Communication • Xbee Communication Test • Simple Example • Echo server/client • Multi Hop Communication

  3. Introduction

  4. Introduction • X-CTU software • This is what you need to configure the Xbee modules. • Xbee modules • Series 1(802.15.4), Series 2(zigbee), DigiMesh • XbeeExplorer USB, Xbee Shield

  5. Introduction • Xbee Explorer USB • Install the firmware, changing setting

  6. Introduction-Xbee • Xbee • These modules use the IEEE 802.15.4 networking protocol for fast point-to-multipoint or peer-to-peer networking • Chip Antenna, Wire Antenna…

  7. Introduction-Xbee Shield • Xbee Shield

  8. Arduino board + xbee shield + xbee module

  9. X-CTU program 을 이용하여 Xbee module 를 설정한다. Setting xbee module

  10. X-CTU program

  11. Xbee module을 Coordinator, Router/End Device로 설정 Xbee Module Setting

  12. Coordinator setting

  13. 완료 후 Read 버튼 클릭 후 정보 확인

  14. Router, End device • Coordinator 연결을 유지하고 설정 한다. • Coordinator 설정 후 PAN ID 값에 맞춘다.

  15. Router/End device

  16. Router/End device DL = 0 확인 Write 클릭

  17. Xbee setting coordinator Router & end device

  18. Xbee Communication TestSimple ExampleEcho server/clientMulti Hop Communication Xbee Communication

  19. Xbee communication Test

  20. Xbee communication Test

  21. Xbee Communication Test void setup() { Serial.begin(9600); } void loop() { Serial.println(“hello world”); delay(1000); }

  22. Xbee echo server/client Send Data Response

  23. Sketch • void setup() { • Serial.begin(9600); • } • void loop() { • while(Serial.available()){ • char getData = Serial.read(); • if(getData == 'a'){ • Serial.print(‘a’); • }else if(getData == 'b'){ • Serial.print(‘b’); • } • } • }

  24. a = send data a = recive data b = send data b = recivedata

  25. 도전과제

  26. 도전과제 • Xbee통신으로 LED를 제어하기 • Coordinator 에서 데이터를 전송하여 Router에서 LED 제어하기 • Ex) “5” 라는 데이터 전송 시 5개의 LED on • Ex) “3” 라는 데이터 전송 시 3개의 LED on • 온도, 조도, 습도 센서 값을 전송하기 • Router 에서 Coordinator 로 전송하기

  27. Thank You

More Related