Download presentation
Presentation is loading. Please wait.
Published byVirginia Dawson Modified over 9 years ago
1
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 Ubiquitous Computing Practice (xbee - Communication)
2
/ 32 Introduction Xbee Module, Shield Setting Xbee Module X-CTU software Xbee Communication Xbee Communication Test Simple Example Echo server/client Multi Hop Communication 2 Contents
3
/ 323 Introduction
4
/ 32 X-CTU software This is what you need to configure the Xbee modules. Xbee modules Series 1(802.15.4), Series 2(zigbee), DigiMesh Xbee Explorer USB, Xbee Shield 4 Introduction
5
/ 32 Xbee Explorer USB Install the firmware, changing setting 5 Introduction
6
/ 32 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… 6 Introduction-Xbee
7
/ 32 Xbee Shield 7 Introduction-Xbee Shield
8
/ 328 Arduino board + xbee shield + xbee module
9
/ 32 SETTING XBEE MODULE X-CTU program 을 이용하여 Xbee module 를 설정한다. 9
10
/ 3210 X-CTU program
11
/ 32 XBEE MODULE SETTING Xbee module 을 Coordinator, Router/End Device 로 설정 11
12
/ 3212 Coordinator setting
13
/ 3213
14
/ 3214
15
/ 3215
16
/ 3216
17
/ 3217
18
/ 32 완료 후 Read 버튼 클릭 후 정보 확인 18
19
/ 32 Router, End device Coordinator 연결을 유지하고 설정 한다. Coordinator 설정 후 PAN ID 값에 맞춘다. 19
20
/ 3220 Router/End device
21
/ 3221 Router/End device 1.DL = 0 확인 2.Write 클릭
22
/ 3222 Xbee setting coordinatorRouter & end device
23
/ 32 XBEE COMMUNICATION Xbee Communication Test Simple Example Echo server/client Multi Hop Communication 23
24
/ 3224 Xbee communication Test
25
/ 3225 Xbee communication Test
26
/ 3226 Xbee Communication Test void setup() { Serial.begin(9600); } void loop() { Serial.println(“hello world”); delay(1000); }
27
/ 3227 Xbee echo server/client Send Data Response
28
/ 3228 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’); }
29
/ 3229 a = send data a = recive data b = send data b = recive data
30
/ 32 도전과제 30
31
/ 32 Xbee 통신으로 LED 를 제어하기 Coordinator 에서 데이터를 전송하여 Router 에서 LED 제어하기 Ex) “5” 라는 데이터 전송 시 5 개의 LED on Ex) “3” 라는 데이터 전송 시 3 개의 LED on 온도, 조도, 습도 센서 값을 전송하기 Router 에서 Coordinator 로 전송하기 31 도전과제
32
/ 3232 Thank You
Similar presentations
© 2025 SlidePlayer.com. Inc.
All rights reserved.