SlideShare uma empresa Scribd logo
1 de 12
Interfacing Zigbee
with 8051

www.pantechsolutions.net
ZIGBEE
     • ZigBee is a specification for a suite of high level communication
       protocols using small, low-power digital radios based on the IEEE
       802.15.4-2003 standard for wireless personal area networks (WPANs)
       ZigBee is a low data rate, two-way standard for industrial and domestic
       automation networks.
     • It uses small very low-power devices to connect together to form a
       wireless control web. The standard supports 2.4GHz unlicensed radio
       bands.
     • Popular name for the IEEE 802.15.4 standard for an extremely low
       power, and low bit rate wireless PAN technology, Zigbee is designed for
       wireless automation and other lower data tasks, such as smart home
       automation and remote monitoring.



Technology beyond the Dreams™                        Copyright © 2006 Pantech Solutions Pvt Ltd.
Preface
     • Zigbee Evaluation Board
     • The low-power XBee 802.15.4 and extended-range XBee-PRO 802.15.4
       use the IEEE 802.15.4 networking protocol for fast point-to-multipoint
       or peer-to-peer networking. The XBee 802.15.4 platform features:
     • low-power point-to-multipoint/peer-to-peer networking Fast 250 kbps
       RF data rate No configuration needed for out-of-the-box RF
       communications 128-bit AES encryption.




Technology beyond the Dreams™                        Copyright © 2006 Pantech Solutions Pvt Ltd.
Specifications
     • Module – Xbee | Xbee PRO
       – Specifications
         – Power output:: 1mW (+0 dBm) International version
         – Indoor/Urban range:
             • Up to 100 ft (30 m)
             • Up to 1 mile (1.6 km) RF LOS (Xbee PRO)
         – Outdoor/RF line-of-sight range: Up to 300 ft (90 m)
         – RF data rate: 250 Kbps
         – Interface data rate: Up to 115.2 Kbps
         – Operating frequency: 2.4 GHz
         – Receiver sensitivity: -92 dBm



Technology beyond the Dreams™                                    Copyright © 2006 Pantech Solutions Pvt Ltd.
Features
     •   Spread Spectrum type: DSSS (Direct Sequence Spread Spectrum)
     •   Networking topology: Point-to-point, point-to-multipoint, & peer-to-peer
     •   Error handling: Retries & acknowledgements
     •   Filtration options: PAN ID, Channel, and 64-bit addresses
     •   Channel capacity:
          – XBee: 16 Channels
          – XBee-PRO: 12 Channels
     • Addressing: 65,000 network addresses available for each channel




Technology beyond the Dreams™                                 Copyright © 2006 Pantech Solutions Pvt Ltd.
Board Layout




Technology beyond the Dreams™     Copyright © 2006 Pantech Solutions Pvt Ltd.
Zigbee with Host PC

                                                                 Hell
                                                                 o!



                                2.4GHz RF
                                Communicati
                                    on


        Hell
        o!



Technology beyond the Dreams™                 Copyright © 2006 Pantech Solutions Pvt Ltd.
zigbee interface with 8051




Technology beyond the Dreams™   Copyright © 2006 Pantech Solutions Pvt Ltd.
ZIGBEE INTERFACE
                       ASSEMBLY CODE
     Write a program to transfer the message “YES” serially at 9600 baud, 8bit data, 1 stop bit interfacing
         with zigbee module.
      Do this continuously.
     Solution:
                 MOV         TMOD,#20H               ;timer 1, mode 2
                 MOV         TH1,#-3 ;9600 baud
                 MOV         SCON,#50H               ;8-bit, 1 stop bit, REN enabled
                 SETB        TR1                     ;start timer 1
     AGN:        MOV         A,#"Y"                  ;transfer "Y"
                 ACALL       XMIT
                 MOV         A,#"E"                  ;transfer "E"
                 ACALL       XMIT
                 MOV         A,#"S"                  ;transfer "S"
                 ACALL       XMIT
                 SJMP        AGN                     ;keep doing it
                                                     ;serial data transfer subroutine
     XMIT:       MOV         SBUF,A      ;load SBUF
     HERE:       JNB         TI,HERE     ;wait for last bit to transfer
                 CLR         TI                       ;get ready for next byte
                 RET




Technology beyond the Dreams™                                             Copyright © 2006 Pantech Solutions Pvt Ltd.
ZIGBEE C CODE
     // Connect the zigbee board with the controller using serial port cable
     // Connect the second zigbee module to PC using serial port cable . Execute the program the
         data is //transferred from between the zigbee modules
     #include <REG51.H>           /* special function register declarations */
     #include <stdio.h>       /* prototype declarations for I/O functions */

     void serial_init(void);
     void serial_init(void)
     {
       SCON = 0x50;           /* SCON: mode 1, 8-bit UART, enable rcvr                          */
       TMOD |= 0x20; /* TMOD: timer 1, mode 2, 8-bit reload */




Technology beyond the Dreams™                                     Copyright © 2006 Pantech Solutions Pvt Ltd.
C CODE CONTD

      TH1 = 0xFD; /* TH1: reload value for 9600 baud @ 11.0592MHz*/
       TR1 = 1;                /* TR1: timer 1 run                */
       TI = 1; void main(void)
     {
         serial_init();
         printf (" PS - PrimerC51 UART Demonnr");
         while (1)
         {
         printf ("Hello World!! nr"); /* Print "Hello World" */
         }
     }




Technology beyond the Dreams™                              Copyright © 2006 Pantech Solutions Pvt Ltd.
For More Tutorials
           www.pantechsolutions.net
           http://www.slideshare.net/pantechsolutions
           http://www.scribd.com/pantechsolutions
           http://www.youtube.com/pantechsolutions




Technology beyond the Dreams™               Copyright © 2006 Pantech Solutions Pvt Ltd.

Mais conteúdo relacionado

Mais procurados

Power dissipation cmos
Power dissipation cmosPower dissipation cmos
Power dissipation cmosRajesh Tiwary
 
Fully depleted silicon insulator
Fully depleted silicon insulatorFully depleted silicon insulator
Fully depleted silicon insulatorsandeep sandy
 
8051 microcontroller
8051 microcontroller 8051 microcontroller
8051 microcontroller Gaurav Verma
 
Successive Approximation ADC
Successive Approximation ADC Successive Approximation ADC
Successive Approximation ADC AbhayDhupar
 
Differnce bw bjt & fet
Differnce bw bjt & fetDiffernce bw bjt & fet
Differnce bw bjt & fetZunAib Ali
 
Serial Communication Interfaces
Serial Communication InterfacesSerial Communication Interfaces
Serial Communication Interfacesanishgoel
 
integrator and differentiator op-amp
integrator and differentiator op-ampintegrator and differentiator op-amp
integrator and differentiator op-ampdanish iqbal
 
M ary psk modulation
M ary psk modulationM ary psk modulation
M ary psk modulationAhmed Diaa
 
(D/A) and (A/D)conversion
(D/A) and (A/D)conversion(D/A) and (A/D)conversion
(D/A) and (A/D)conversionPraveen Kumar
 
Pcb design using_eagle
Pcb design using_eaglePcb design using_eagle
Pcb design using_eagleABDUL MUNAFF
 
Power Electronics - DIAC & TRIAC
Power Electronics - DIAC & TRIACPower Electronics - DIAC & TRIAC
Power Electronics - DIAC & TRIACBurdwan University
 
Amplitude modulation & demodulation
Amplitude modulation & demodulation Amplitude modulation & demodulation
Amplitude modulation & demodulation Bikz013
 
SHORT CHANNEL EFFECTS IN MOSFETS- VLSI DESIGN
SHORT CHANNEL EFFECTS IN MOSFETS- VLSI DESIGNSHORT CHANNEL EFFECTS IN MOSFETS- VLSI DESIGN
SHORT CHANNEL EFFECTS IN MOSFETS- VLSI DESIGNNITHIN KALLE PALLY
 
Lecture 2: Power Diodes
Lecture 2: Power DiodesLecture 2: Power Diodes
Lecture 2: Power Diodesaadesharya
 
ASIP (Application-specific instruction-set processor)
ASIP (Application-specific instruction-set processor)ASIP (Application-specific instruction-set processor)
ASIP (Application-specific instruction-set processor)Hamid Reza
 

Mais procurados (20)

Vlsi design flow
Vlsi design flowVlsi design flow
Vlsi design flow
 
Power dissipation cmos
Power dissipation cmosPower dissipation cmos
Power dissipation cmos
 
Fully depleted silicon insulator
Fully depleted silicon insulatorFully depleted silicon insulator
Fully depleted silicon insulator
 
8051 microcontroller
8051 microcontroller 8051 microcontroller
8051 microcontroller
 
Successive Approximation ADC
Successive Approximation ADC Successive Approximation ADC
Successive Approximation ADC
 
Differnce bw bjt & fet
Differnce bw bjt & fetDiffernce bw bjt & fet
Differnce bw bjt & fet
 
Serial Communication Interfaces
Serial Communication InterfacesSerial Communication Interfaces
Serial Communication Interfaces
 
integrator and differentiator op-amp
integrator and differentiator op-ampintegrator and differentiator op-amp
integrator and differentiator op-amp
 
M ary psk modulation
M ary psk modulationM ary psk modulation
M ary psk modulation
 
(D/A) and (A/D)conversion
(D/A) and (A/D)conversion(D/A) and (A/D)conversion
(D/A) and (A/D)conversion
 
Pcb design using_eagle
Pcb design using_eaglePcb design using_eagle
Pcb design using_eagle
 
Lambda design rule
Lambda design ruleLambda design rule
Lambda design rule
 
Power Electronics - DIAC & TRIAC
Power Electronics - DIAC & TRIACPower Electronics - DIAC & TRIAC
Power Electronics - DIAC & TRIAC
 
Amplitude modulation & demodulation
Amplitude modulation & demodulation Amplitude modulation & demodulation
Amplitude modulation & demodulation
 
SHORT CHANNEL EFFECTS IN MOSFETS- VLSI DESIGN
SHORT CHANNEL EFFECTS IN MOSFETS- VLSI DESIGNSHORT CHANNEL EFFECTS IN MOSFETS- VLSI DESIGN
SHORT CHANNEL EFFECTS IN MOSFETS- VLSI DESIGN
 
Lecture 2: Power Diodes
Lecture 2: Power DiodesLecture 2: Power Diodes
Lecture 2: Power Diodes
 
Reflection and Transmission coefficients in transmission line
Reflection and Transmission coefficients in transmission lineReflection and Transmission coefficients in transmission line
Reflection and Transmission coefficients in transmission line
 
Analog CMOS design
Analog CMOS designAnalog CMOS design
Analog CMOS design
 
Serial buses
Serial busesSerial buses
Serial buses
 
ASIP (Application-specific instruction-set processor)
ASIP (Application-specific instruction-set processor)ASIP (Application-specific instruction-set processor)
ASIP (Application-specific instruction-set processor)
 

Semelhante a 8051 zigbee interface

Make Your Own IoT Device by ZigBee
Make Your Own IoT Device by ZigBeeMake Your Own IoT Device by ZigBee
Make Your Own IoT Device by ZigBeeOkis Chuang
 
Thotcon 0xA-fun-with-sdrs-sorry-no-profit - final
Thotcon 0xA-fun-with-sdrs-sorry-no-profit - finalThotcon 0xA-fun-with-sdrs-sorry-no-profit - final
Thotcon 0xA-fun-with-sdrs-sorry-no-profit - finalpricemcdonald
 
Dvb t mod dta-110 t leaflet
Dvb t mod dta-110 t leafletDvb t mod dta-110 t leaflet
Dvb t mod dta-110 t leafletAgus Subekti
 
Multicast tutorial v3
Multicast tutorial v3Multicast tutorial v3
Multicast tutorial v3Ajay Karri
 
Sora- A High Performance Baseband DSP Processor
Sora- A High Performance Baseband DSP ProcessorSora- A High Performance Baseband DSP Processor
Sora- A High Performance Baseband DSP ProcessorHarshit Srivastava
 
9.) audio video ethernet (avb cobra net dante)
9.) audio video ethernet (avb cobra net dante)9.) audio video ethernet (avb cobra net dante)
9.) audio video ethernet (avb cobra net dante)Jeff Green
 
Lagopus presentation on 14th Annual ON*VECTOR International Photonics Workshop
Lagopus presentation on 14th Annual ON*VECTOR International Photonics WorkshopLagopus presentation on 14th Annual ON*VECTOR International Photonics Workshop
Lagopus presentation on 14th Annual ON*VECTOR International Photonics WorkshopLagopus SDN/OpenFlow switch
 
Putting an Apple IIgs BBS on the internet
Putting an Apple IIgs BBS on the internetPutting an Apple IIgs BBS on the internet
Putting an Apple IIgs BBS on the internetAndrew Roughan
 
voip elements by Karan singh cypher
voip elements by Karan singh cypher voip elements by Karan singh cypher
voip elements by Karan singh cypher Karan Maker
 
Parallel Rendering of Webpages
Parallel Rendering of WebpagesParallel Rendering of Webpages
Parallel Rendering of WebpagesLangtech
 
Ryu SDN Framework
Ryu SDN FrameworkRyu SDN Framework
Ryu SDN FrameworkAPNIC
 
ComNet NWKED Data Sheet
ComNet NWKED Data SheetComNet NWKED Data Sheet
ComNet NWKED Data SheetJMAC Supply
 
Challenges and experiences with IPTV from a network point of view
Challenges and experiences with IPTV from a network point of viewChallenges and experiences with IPTV from a network point of view
Challenges and experiences with IPTV from a network point of viewbrouer
 
xbee pro digi-mesh 2.4 oem rf modules
xbee pro  digi-mesh  2.4 oem rf modulesxbee pro  digi-mesh  2.4 oem rf modules
xbee pro digi-mesh 2.4 oem rf modulesSyamim Sempoi
 

Semelhante a 8051 zigbee interface (20)

Make Your Own IoT Device by ZigBee
Make Your Own IoT Device by ZigBeeMake Your Own IoT Device by ZigBee
Make Your Own IoT Device by ZigBee
 
Thotcon 0xA-fun-with-sdrs-sorry-no-profit - final
Thotcon 0xA-fun-with-sdrs-sorry-no-profit - finalThotcon 0xA-fun-with-sdrs-sorry-no-profit - final
Thotcon 0xA-fun-with-sdrs-sorry-no-profit - final
 
Dvb t mod dta-110 t leaflet
Dvb t mod dta-110 t leafletDvb t mod dta-110 t leaflet
Dvb t mod dta-110 t leaflet
 
Zigbee module interface with ARM 7
Zigbee module interface with ARM 7Zigbee module interface with ARM 7
Zigbee module interface with ARM 7
 
Multicast tutorial v3
Multicast tutorial v3Multicast tutorial v3
Multicast tutorial v3
 
Sora- A High Performance Baseband DSP Processor
Sora- A High Performance Baseband DSP ProcessorSora- A High Performance Baseband DSP Processor
Sora- A High Performance Baseband DSP Processor
 
9.) audio video ethernet (avb cobra net dante)
9.) audio video ethernet (avb cobra net dante)9.) audio video ethernet (avb cobra net dante)
9.) audio video ethernet (avb cobra net dante)
 
Lagopus presentation on 14th Annual ON*VECTOR International Photonics Workshop
Lagopus presentation on 14th Annual ON*VECTOR International Photonics WorkshopLagopus presentation on 14th Annual ON*VECTOR International Photonics Workshop
Lagopus presentation on 14th Annual ON*VECTOR International Photonics Workshop
 
RF Experiments in Raspberry Pi
RF Experiments in Raspberry PiRF Experiments in Raspberry Pi
RF Experiments in Raspberry Pi
 
Omid Technologies Products
Omid Technologies ProductsOmid Technologies Products
Omid Technologies Products
 
Putting an Apple IIgs BBS on the internet
Putting an Apple IIgs BBS on the internetPutting an Apple IIgs BBS on the internet
Putting an Apple IIgs BBS on the internet
 
voip elements by Karan singh cypher
voip elements by Karan singh cypher voip elements by Karan singh cypher
voip elements by Karan singh cypher
 
Samplab19
Samplab19Samplab19
Samplab19
 
Parallel Rendering of Webpages
Parallel Rendering of WebpagesParallel Rendering of Webpages
Parallel Rendering of Webpages
 
Ryu SDN Framework
Ryu SDN FrameworkRyu SDN Framework
Ryu SDN Framework
 
ComNet NWKED Data Sheet
ComNet NWKED Data SheetComNet NWKED Data Sheet
ComNet NWKED Data Sheet
 
Run Your Own 6LoWPAN Based IoT Network
Run Your Own 6LoWPAN Based IoT NetworkRun Your Own 6LoWPAN Based IoT Network
Run Your Own 6LoWPAN Based IoT Network
 
Challenges and experiences with IPTV from a network point of view
Challenges and experiences with IPTV from a network point of viewChallenges and experiences with IPTV from a network point of view
Challenges and experiences with IPTV from a network point of view
 
Ip live production
Ip live productionIp live production
Ip live production
 
xbee pro digi-mesh 2.4 oem rf modules
xbee pro  digi-mesh  2.4 oem rf modulesxbee pro  digi-mesh  2.4 oem rf modules
xbee pro digi-mesh 2.4 oem rf modules
 

Mais de Pantech ProLabs India Pvt Ltd

Choosing the right processor for embedded system design
Choosing the right processor for embedded system designChoosing the right processor for embedded system design
Choosing the right processor for embedded system designPantech ProLabs India Pvt Ltd
 

Mais de Pantech ProLabs India Pvt Ltd (20)

Registration process
Registration processRegistration process
Registration process
 
Choosing the right processor for embedded system design
Choosing the right processor for embedded system designChoosing the right processor for embedded system design
Choosing the right processor for embedded system design
 
Brain Computer Interface
Brain Computer InterfaceBrain Computer Interface
Brain Computer Interface
 
Electric Vehicle Design using Matlab
Electric Vehicle Design using MatlabElectric Vehicle Design using Matlab
Electric Vehicle Design using Matlab
 
Image processing application
Image processing applicationImage processing application
Image processing application
 
Internet of Things using Raspberry Pi
Internet of Things using Raspberry PiInternet of Things using Raspberry Pi
Internet of Things using Raspberry Pi
 
Internet of Things Using Arduino
Internet of Things Using ArduinoInternet of Things Using Arduino
Internet of Things Using Arduino
 
Brain controlled robot
Brain controlled robotBrain controlled robot
Brain controlled robot
 
Brain Computer Interface-Webinar
Brain Computer Interface-WebinarBrain Computer Interface-Webinar
Brain Computer Interface-Webinar
 
Development of Deep Learning Architecture
Development of Deep Learning ArchitectureDevelopment of Deep Learning Architecture
Development of Deep Learning Architecture
 
Future of AI
Future of AIFuture of AI
Future of AI
 
Gate driver design and inductance fabrication
Gate driver design and inductance fabricationGate driver design and inductance fabrication
Gate driver design and inductance fabrication
 
Brainsense -Brain computer Interface
Brainsense -Brain computer InterfaceBrainsense -Brain computer Interface
Brainsense -Brain computer Interface
 
Median filter Implementation using TMS320C6745
Median filter Implementation using TMS320C6745Median filter Implementation using TMS320C6745
Median filter Implementation using TMS320C6745
 
Introduction to Code Composer Studio 4
Introduction to Code Composer Studio 4Introduction to Code Composer Studio 4
Introduction to Code Composer Studio 4
 
Waveform Generation Using TMS320C6745 DSP
Waveform Generation Using TMS320C6745 DSPWaveform Generation Using TMS320C6745 DSP
Waveform Generation Using TMS320C6745 DSP
 
Interfacing UART with tms320C6745
Interfacing UART with tms320C6745Interfacing UART with tms320C6745
Interfacing UART with tms320C6745
 
Switch & LED using TMS320C6745 DSP
Switch & LED using TMS320C6745 DSPSwitch & LED using TMS320C6745 DSP
Switch & LED using TMS320C6745 DSP
 
Led blinking using TMS320C6745
Led blinking using TMS320C6745Led blinking using TMS320C6745
Led blinking using TMS320C6745
 
Introduction to tms320c6745 dsp
Introduction to tms320c6745 dspIntroduction to tms320c6745 dsp
Introduction to tms320c6745 dsp
 

Último

Visit to a blind student's school🧑‍🦯🧑‍🦯(community medicine)
Visit to a blind student's school🧑‍🦯🧑‍🦯(community medicine)Visit to a blind student's school🧑‍🦯🧑‍🦯(community medicine)
Visit to a blind student's school🧑‍🦯🧑‍🦯(community medicine)lakshayb543
 
Mythology Quiz-4th April 2024, Quiz Club NITW
Mythology Quiz-4th April 2024, Quiz Club NITWMythology Quiz-4th April 2024, Quiz Club NITW
Mythology Quiz-4th April 2024, Quiz Club NITWQuiz Club NITW
 
31 ĐỀ THI THỬ VÀO LỚP 10 - TIẾNG ANH - FORM MỚI 2025 - 40 CÂU HỎI - BÙI VĂN V...
31 ĐỀ THI THỬ VÀO LỚP 10 - TIẾNG ANH - FORM MỚI 2025 - 40 CÂU HỎI - BÙI VĂN V...31 ĐỀ THI THỬ VÀO LỚP 10 - TIẾNG ANH - FORM MỚI 2025 - 40 CÂU HỎI - BÙI VĂN V...
31 ĐỀ THI THỬ VÀO LỚP 10 - TIẾNG ANH - FORM MỚI 2025 - 40 CÂU HỎI - BÙI VĂN V...Nguyen Thanh Tu Collection
 
Q-Factor General Quiz-7th April 2024, Quiz Club NITW
Q-Factor General Quiz-7th April 2024, Quiz Club NITWQ-Factor General Quiz-7th April 2024, Quiz Club NITW
Q-Factor General Quiz-7th April 2024, Quiz Club NITWQuiz Club NITW
 
Daily Lesson Plan in Mathematics Quarter 4
Daily Lesson Plan in Mathematics Quarter 4Daily Lesson Plan in Mathematics Quarter 4
Daily Lesson Plan in Mathematics Quarter 4JOYLYNSAMANIEGO
 
How to Make a Duplicate of Your Odoo 17 Database
How to Make a Duplicate of Your Odoo 17 DatabaseHow to Make a Duplicate of Your Odoo 17 Database
How to Make a Duplicate of Your Odoo 17 DatabaseCeline George
 
Transaction Management in Database Management System
Transaction Management in Database Management SystemTransaction Management in Database Management System
Transaction Management in Database Management SystemChristalin Nelson
 
Multi Domain Alias In the Odoo 17 ERP Module
Multi Domain Alias In the Odoo 17 ERP ModuleMulti Domain Alias In the Odoo 17 ERP Module
Multi Domain Alias In the Odoo 17 ERP ModuleCeline George
 
Expanded definition: technical and operational
Expanded definition: technical and operationalExpanded definition: technical and operational
Expanded definition: technical and operationalssuser3e220a
 
Team Lead Succeed – Helping you and your team achieve high-performance teamwo...
Team Lead Succeed – Helping you and your team achieve high-performance teamwo...Team Lead Succeed – Helping you and your team achieve high-performance teamwo...
Team Lead Succeed – Helping you and your team achieve high-performance teamwo...Association for Project Management
 
4.11.24 Poverty and Inequality in America.pptx
4.11.24 Poverty and Inequality in America.pptx4.11.24 Poverty and Inequality in America.pptx
4.11.24 Poverty and Inequality in America.pptxmary850239
 
Q4-PPT-Music9_Lesson-1-Romantic-Opera.pptx
Q4-PPT-Music9_Lesson-1-Romantic-Opera.pptxQ4-PPT-Music9_Lesson-1-Romantic-Opera.pptx
Q4-PPT-Music9_Lesson-1-Romantic-Opera.pptxlancelewisportillo
 
Beauty Amidst the Bytes_ Unearthing Unexpected Advantages of the Digital Wast...
Beauty Amidst the Bytes_ Unearthing Unexpected Advantages of the Digital Wast...Beauty Amidst the Bytes_ Unearthing Unexpected Advantages of the Digital Wast...
Beauty Amidst the Bytes_ Unearthing Unexpected Advantages of the Digital Wast...DhatriParmar
 
Blowin' in the Wind of Caste_ Bob Dylan's Song as a Catalyst for Social Justi...
Blowin' in the Wind of Caste_ Bob Dylan's Song as a Catalyst for Social Justi...Blowin' in the Wind of Caste_ Bob Dylan's Song as a Catalyst for Social Justi...
Blowin' in the Wind of Caste_ Bob Dylan's Song as a Catalyst for Social Justi...DhatriParmar
 
4.16.24 21st Century Movements for Black Lives.pptx
4.16.24 21st Century Movements for Black Lives.pptx4.16.24 21st Century Movements for Black Lives.pptx
4.16.24 21st Century Movements for Black Lives.pptxmary850239
 
DIFFERENT BASKETRY IN THE PHILIPPINES PPT.pptx
DIFFERENT BASKETRY IN THE PHILIPPINES PPT.pptxDIFFERENT BASKETRY IN THE PHILIPPINES PPT.pptx
DIFFERENT BASKETRY IN THE PHILIPPINES PPT.pptxMichelleTuguinay1
 
Mental Health Awareness - a toolkit for supporting young minds
Mental Health Awareness - a toolkit for supporting young mindsMental Health Awareness - a toolkit for supporting young minds
Mental Health Awareness - a toolkit for supporting young mindsPooky Knightsmith
 
Textual Evidence in Reading and Writing of SHS
Textual Evidence in Reading and Writing of SHSTextual Evidence in Reading and Writing of SHS
Textual Evidence in Reading and Writing of SHSMae Pangan
 
BIOCHEMISTRY-CARBOHYDRATE METABOLISM CHAPTER 2.pptx
BIOCHEMISTRY-CARBOHYDRATE METABOLISM CHAPTER 2.pptxBIOCHEMISTRY-CARBOHYDRATE METABOLISM CHAPTER 2.pptx
BIOCHEMISTRY-CARBOHYDRATE METABOLISM CHAPTER 2.pptxSayali Powar
 

Último (20)

Visit to a blind student's school🧑‍🦯🧑‍🦯(community medicine)
Visit to a blind student's school🧑‍🦯🧑‍🦯(community medicine)Visit to a blind student's school🧑‍🦯🧑‍🦯(community medicine)
Visit to a blind student's school🧑‍🦯🧑‍🦯(community medicine)
 
Mythology Quiz-4th April 2024, Quiz Club NITW
Mythology Quiz-4th April 2024, Quiz Club NITWMythology Quiz-4th April 2024, Quiz Club NITW
Mythology Quiz-4th April 2024, Quiz Club NITW
 
31 ĐỀ THI THỬ VÀO LỚP 10 - TIẾNG ANH - FORM MỚI 2025 - 40 CÂU HỎI - BÙI VĂN V...
31 ĐỀ THI THỬ VÀO LỚP 10 - TIẾNG ANH - FORM MỚI 2025 - 40 CÂU HỎI - BÙI VĂN V...31 ĐỀ THI THỬ VÀO LỚP 10 - TIẾNG ANH - FORM MỚI 2025 - 40 CÂU HỎI - BÙI VĂN V...
31 ĐỀ THI THỬ VÀO LỚP 10 - TIẾNG ANH - FORM MỚI 2025 - 40 CÂU HỎI - BÙI VĂN V...
 
Q-Factor General Quiz-7th April 2024, Quiz Club NITW
Q-Factor General Quiz-7th April 2024, Quiz Club NITWQ-Factor General Quiz-7th April 2024, Quiz Club NITW
Q-Factor General Quiz-7th April 2024, Quiz Club NITW
 
Daily Lesson Plan in Mathematics Quarter 4
Daily Lesson Plan in Mathematics Quarter 4Daily Lesson Plan in Mathematics Quarter 4
Daily Lesson Plan in Mathematics Quarter 4
 
How to Make a Duplicate of Your Odoo 17 Database
How to Make a Duplicate of Your Odoo 17 DatabaseHow to Make a Duplicate of Your Odoo 17 Database
How to Make a Duplicate of Your Odoo 17 Database
 
Transaction Management in Database Management System
Transaction Management in Database Management SystemTransaction Management in Database Management System
Transaction Management in Database Management System
 
Multi Domain Alias In the Odoo 17 ERP Module
Multi Domain Alias In the Odoo 17 ERP ModuleMulti Domain Alias In the Odoo 17 ERP Module
Multi Domain Alias In the Odoo 17 ERP Module
 
Paradigm shift in nursing research by RS MEHTA
Paradigm shift in nursing research by RS MEHTAParadigm shift in nursing research by RS MEHTA
Paradigm shift in nursing research by RS MEHTA
 
Expanded definition: technical and operational
Expanded definition: technical and operationalExpanded definition: technical and operational
Expanded definition: technical and operational
 
Team Lead Succeed – Helping you and your team achieve high-performance teamwo...
Team Lead Succeed – Helping you and your team achieve high-performance teamwo...Team Lead Succeed – Helping you and your team achieve high-performance teamwo...
Team Lead Succeed – Helping you and your team achieve high-performance teamwo...
 
4.11.24 Poverty and Inequality in America.pptx
4.11.24 Poverty and Inequality in America.pptx4.11.24 Poverty and Inequality in America.pptx
4.11.24 Poverty and Inequality in America.pptx
 
Q4-PPT-Music9_Lesson-1-Romantic-Opera.pptx
Q4-PPT-Music9_Lesson-1-Romantic-Opera.pptxQ4-PPT-Music9_Lesson-1-Romantic-Opera.pptx
Q4-PPT-Music9_Lesson-1-Romantic-Opera.pptx
 
Beauty Amidst the Bytes_ Unearthing Unexpected Advantages of the Digital Wast...
Beauty Amidst the Bytes_ Unearthing Unexpected Advantages of the Digital Wast...Beauty Amidst the Bytes_ Unearthing Unexpected Advantages of the Digital Wast...
Beauty Amidst the Bytes_ Unearthing Unexpected Advantages of the Digital Wast...
 
Blowin' in the Wind of Caste_ Bob Dylan's Song as a Catalyst for Social Justi...
Blowin' in the Wind of Caste_ Bob Dylan's Song as a Catalyst for Social Justi...Blowin' in the Wind of Caste_ Bob Dylan's Song as a Catalyst for Social Justi...
Blowin' in the Wind of Caste_ Bob Dylan's Song as a Catalyst for Social Justi...
 
4.16.24 21st Century Movements for Black Lives.pptx
4.16.24 21st Century Movements for Black Lives.pptx4.16.24 21st Century Movements for Black Lives.pptx
4.16.24 21st Century Movements for Black Lives.pptx
 
DIFFERENT BASKETRY IN THE PHILIPPINES PPT.pptx
DIFFERENT BASKETRY IN THE PHILIPPINES PPT.pptxDIFFERENT BASKETRY IN THE PHILIPPINES PPT.pptx
DIFFERENT BASKETRY IN THE PHILIPPINES PPT.pptx
 
Mental Health Awareness - a toolkit for supporting young minds
Mental Health Awareness - a toolkit for supporting young mindsMental Health Awareness - a toolkit for supporting young minds
Mental Health Awareness - a toolkit for supporting young minds
 
Textual Evidence in Reading and Writing of SHS
Textual Evidence in Reading and Writing of SHSTextual Evidence in Reading and Writing of SHS
Textual Evidence in Reading and Writing of SHS
 
BIOCHEMISTRY-CARBOHYDRATE METABOLISM CHAPTER 2.pptx
BIOCHEMISTRY-CARBOHYDRATE METABOLISM CHAPTER 2.pptxBIOCHEMISTRY-CARBOHYDRATE METABOLISM CHAPTER 2.pptx
BIOCHEMISTRY-CARBOHYDRATE METABOLISM CHAPTER 2.pptx
 

8051 zigbee interface

  • 2. ZIGBEE • ZigBee is a specification for a suite of high level communication protocols using small, low-power digital radios based on the IEEE 802.15.4-2003 standard for wireless personal area networks (WPANs) ZigBee is a low data rate, two-way standard for industrial and domestic automation networks. • It uses small very low-power devices to connect together to form a wireless control web. The standard supports 2.4GHz unlicensed radio bands. • Popular name for the IEEE 802.15.4 standard for an extremely low power, and low bit rate wireless PAN technology, Zigbee is designed for wireless automation and other lower data tasks, such as smart home automation and remote monitoring. Technology beyond the Dreams™ Copyright © 2006 Pantech Solutions Pvt Ltd.
  • 3. Preface • Zigbee Evaluation Board • The low-power XBee 802.15.4 and extended-range XBee-PRO 802.15.4 use the IEEE 802.15.4 networking protocol for fast point-to-multipoint or peer-to-peer networking. The XBee 802.15.4 platform features: • low-power point-to-multipoint/peer-to-peer networking Fast 250 kbps RF data rate No configuration needed for out-of-the-box RF communications 128-bit AES encryption. Technology beyond the Dreams™ Copyright © 2006 Pantech Solutions Pvt Ltd.
  • 4. Specifications • Module – Xbee | Xbee PRO – Specifications – Power output:: 1mW (+0 dBm) International version – Indoor/Urban range: • Up to 100 ft (30 m) • Up to 1 mile (1.6 km) RF LOS (Xbee PRO) – Outdoor/RF line-of-sight range: Up to 300 ft (90 m) – RF data rate: 250 Kbps – Interface data rate: Up to 115.2 Kbps – Operating frequency: 2.4 GHz – Receiver sensitivity: -92 dBm Technology beyond the Dreams™ Copyright © 2006 Pantech Solutions Pvt Ltd.
  • 5. Features • Spread Spectrum type: DSSS (Direct Sequence Spread Spectrum) • Networking topology: Point-to-point, point-to-multipoint, & peer-to-peer • Error handling: Retries & acknowledgements • Filtration options: PAN ID, Channel, and 64-bit addresses • Channel capacity: – XBee: 16 Channels – XBee-PRO: 12 Channels • Addressing: 65,000 network addresses available for each channel Technology beyond the Dreams™ Copyright © 2006 Pantech Solutions Pvt Ltd.
  • 6. Board Layout Technology beyond the Dreams™ Copyright © 2006 Pantech Solutions Pvt Ltd.
  • 7. Zigbee with Host PC Hell o! 2.4GHz RF Communicati on Hell o! Technology beyond the Dreams™ Copyright © 2006 Pantech Solutions Pvt Ltd.
  • 8. zigbee interface with 8051 Technology beyond the Dreams™ Copyright © 2006 Pantech Solutions Pvt Ltd.
  • 9. ZIGBEE INTERFACE ASSEMBLY CODE Write a program to transfer the message “YES” serially at 9600 baud, 8bit data, 1 stop bit interfacing with zigbee module. Do this continuously. Solution: MOV TMOD,#20H ;timer 1, mode 2 MOV TH1,#-3 ;9600 baud MOV SCON,#50H ;8-bit, 1 stop bit, REN enabled SETB TR1 ;start timer 1 AGN: MOV A,#"Y" ;transfer "Y" ACALL XMIT MOV A,#"E" ;transfer "E" ACALL XMIT MOV A,#"S" ;transfer "S" ACALL XMIT SJMP AGN ;keep doing it ;serial data transfer subroutine XMIT: MOV SBUF,A ;load SBUF HERE: JNB TI,HERE ;wait for last bit to transfer CLR TI ;get ready for next byte RET Technology beyond the Dreams™ Copyright © 2006 Pantech Solutions Pvt Ltd.
  • 10. ZIGBEE C CODE // Connect the zigbee board with the controller using serial port cable // Connect the second zigbee module to PC using serial port cable . Execute the program the data is //transferred from between the zigbee modules #include <REG51.H> /* special function register declarations */ #include <stdio.h> /* prototype declarations for I/O functions */ void serial_init(void); void serial_init(void) { SCON = 0x50; /* SCON: mode 1, 8-bit UART, enable rcvr */ TMOD |= 0x20; /* TMOD: timer 1, mode 2, 8-bit reload */ Technology beyond the Dreams™ Copyright © 2006 Pantech Solutions Pvt Ltd.
  • 11. C CODE CONTD TH1 = 0xFD; /* TH1: reload value for 9600 baud @ 11.0592MHz*/ TR1 = 1; /* TR1: timer 1 run */ TI = 1; void main(void) { serial_init(); printf (" PS - PrimerC51 UART Demonnr"); while (1) { printf ("Hello World!! nr"); /* Print "Hello World" */ } } Technology beyond the Dreams™ Copyright © 2006 Pantech Solutions Pvt Ltd.
  • 12. For More Tutorials www.pantechsolutions.net http://www.slideshare.net/pantechsolutions http://www.scribd.com/pantechsolutions http://www.youtube.com/pantechsolutions Technology beyond the Dreams™ Copyright © 2006 Pantech Solutions Pvt Ltd.