Enviar pesquisa
Carregar
8051 zigbee interface
•
21 gostaram
•
11,500 visualizações
Pantech ProLabs India Pvt Ltd
Seguir
Interfacing zigbee with 8051
Leia menos
Leia mais
Educação
Denunciar
Compartilhar
Denunciar
Compartilhar
1 de 12
Recomendados
Switch mode power supply
Switch mode power supply
twilight28
Speed control of DC motor using pulse width modulation technique
Speed control of DC motor using pulse width modulation technique
Imanul Mazarbhuiya
Hvdc transmission seminar
Hvdc transmission seminar
Utkarsh Jambhule
Optical receivers
Optical receivers
Amitabh Shukla
dc to dc-converter
dc to dc-converter
Student
Skin effect, proximity effect, ferranti effect, corona discharge
Skin effect, proximity effect, ferranti effect, corona discharge
RoungpaSukhe
MINI INVERTER
MINI INVERTER
mhjit
Wireless Power Transmission(Future is Here)
Wireless Power Transmission(Future is Here)
Soumya Prateek
Recomendados
Switch mode power supply
Switch mode power supply
twilight28
Speed control of DC motor using pulse width modulation technique
Speed control of DC motor using pulse width modulation technique
Imanul Mazarbhuiya
Hvdc transmission seminar
Hvdc transmission seminar
Utkarsh Jambhule
Optical receivers
Optical receivers
Amitabh Shukla
dc to dc-converter
dc to dc-converter
Student
Skin effect, proximity effect, ferranti effect, corona discharge
Skin effect, proximity effect, ferranti effect, corona discharge
RoungpaSukhe
MINI INVERTER
MINI INVERTER
mhjit
Wireless Power Transmission(Future is Here)
Wireless Power Transmission(Future is Here)
Soumya Prateek
“Microcontroller Based Substation Monitoring system with gsm modem”.
“Microcontroller Based Substation Monitoring system with gsm modem”.
Priya Rachakonda
Solar tracking system
Solar tracking system
Reejasunil
Power System Stabilizer (PSS) for generator
Power System Stabilizer (PSS) for generator
KARAN TRIPATHI
Series & shunt compensation and FACTs Devices
Series & shunt compensation and FACTs Devices
khemraj298
Carbon nanotubes in solar panel technology
Carbon nanotubes in solar panel technology
ketchup 007
Apfc panel
Apfc panel
Dhanush/Dayananda 888
PID Controller Transfer Function
PID Controller Transfer Function
Mohammad Umar Rehman
power line carrier communication
power line carrier communication
LAVANYA d
Transmission line, single and double matching
Transmission line, single and double matching
Shankar Gangaju
Pulse width modulation (PWM)
Pulse width modulation (PWM)
amar pandey
transmission-lines
transmission-lines
ATTO RATHORE
Characteristics of two cavity klystron
Characteristics of two cavity klystron
ShubhiGupta94
Password Based Circuit Breaker
Password Based Circuit Breaker
Edgefxkits & Solutions
Switchgear and protection 3
Switchgear and protection 3
Md Irshad Ahmad
Speed control of dc motor using pulse width modulation
Speed control of dc motor using pulse width modulation
viveksinghdew
Power BJT
Power BJT
Hedayath Basha Shaik
400kv sub-station-final-ppt-by-mohit
400kv sub-station-final-ppt-by-mohit
Mohit Awasthi
Pre emphasis and de-emphasis
Pre emphasis and de-emphasis
mpsrekha83
Power Electronics-Introduction
Power Electronics-Introduction
sangeetha rakhi
Wireless power-transmission-using-microwave
Wireless power-transmission-using-microwave
Jawad Usman
Make Your Own IoT Device by ZigBee
Make Your Own IoT Device by ZigBee
Okis Chuang
Thotcon 0xA-fun-with-sdrs-sorry-no-profit - final
Thotcon 0xA-fun-with-sdrs-sorry-no-profit - final
pricemcdonald
Mais conteúdo relacionado
Mais procurados
“Microcontroller Based Substation Monitoring system with gsm modem”.
“Microcontroller Based Substation Monitoring system with gsm modem”.
Priya Rachakonda
Solar tracking system
Solar tracking system
Reejasunil
Power System Stabilizer (PSS) for generator
Power System Stabilizer (PSS) for generator
KARAN TRIPATHI
Series & shunt compensation and FACTs Devices
Series & shunt compensation and FACTs Devices
khemraj298
Carbon nanotubes in solar panel technology
Carbon nanotubes in solar panel technology
ketchup 007
Apfc panel
Apfc panel
Dhanush/Dayananda 888
PID Controller Transfer Function
PID Controller Transfer Function
Mohammad Umar Rehman
power line carrier communication
power line carrier communication
LAVANYA d
Transmission line, single and double matching
Transmission line, single and double matching
Shankar Gangaju
Pulse width modulation (PWM)
Pulse width modulation (PWM)
amar pandey
transmission-lines
transmission-lines
ATTO RATHORE
Characteristics of two cavity klystron
Characteristics of two cavity klystron
ShubhiGupta94
Password Based Circuit Breaker
Password Based Circuit Breaker
Edgefxkits & Solutions
Switchgear and protection 3
Switchgear and protection 3
Md Irshad Ahmad
Speed control of dc motor using pulse width modulation
Speed control of dc motor using pulse width modulation
viveksinghdew
Power BJT
Power BJT
Hedayath Basha Shaik
400kv sub-station-final-ppt-by-mohit
400kv sub-station-final-ppt-by-mohit
Mohit Awasthi
Pre emphasis and de-emphasis
Pre emphasis and de-emphasis
mpsrekha83
Power Electronics-Introduction
Power Electronics-Introduction
sangeetha rakhi
Wireless power-transmission-using-microwave
Wireless power-transmission-using-microwave
Jawad Usman
Mais procurados
(20)
“Microcontroller Based Substation Monitoring system with gsm modem”.
“Microcontroller Based Substation Monitoring system with gsm modem”.
Solar tracking system
Solar tracking system
Power System Stabilizer (PSS) for generator
Power System Stabilizer (PSS) for generator
Series & shunt compensation and FACTs Devices
Series & shunt compensation and FACTs Devices
Carbon nanotubes in solar panel technology
Carbon nanotubes in solar panel technology
Apfc panel
Apfc panel
PID Controller Transfer Function
PID Controller Transfer Function
power line carrier communication
power line carrier communication
Transmission line, single and double matching
Transmission line, single and double matching
Pulse width modulation (PWM)
Pulse width modulation (PWM)
transmission-lines
transmission-lines
Characteristics of two cavity klystron
Characteristics of two cavity klystron
Password Based Circuit Breaker
Password Based Circuit Breaker
Switchgear and protection 3
Switchgear and protection 3
Speed control of dc motor using pulse width modulation
Speed control of dc motor using pulse width modulation
Power BJT
Power BJT
400kv sub-station-final-ppt-by-mohit
400kv sub-station-final-ppt-by-mohit
Pre emphasis and de-emphasis
Pre emphasis and de-emphasis
Power Electronics-Introduction
Power Electronics-Introduction
Wireless power-transmission-using-microwave
Wireless power-transmission-using-microwave
Semelhante a 8051 zigbee interface
Make Your Own IoT Device by ZigBee
Make Your Own IoT Device by ZigBee
Okis Chuang
Thotcon 0xA-fun-with-sdrs-sorry-no-profit - final
Thotcon 0xA-fun-with-sdrs-sorry-no-profit - final
pricemcdonald
Dvb t mod dta-110 t leaflet
Dvb t mod dta-110 t leaflet
Agus Subekti
Zigbee module interface with ARM 7
Zigbee module interface with ARM 7
Pantech ProLabs India Pvt Ltd
Multicast tutorial v3
Multicast tutorial v3
Ajay Karri
Sora- A High Performance Baseband DSP Processor
Sora- A High Performance Baseband DSP Processor
Harshit Srivastava
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 Workshop
Lagopus SDN/OpenFlow switch
RF Experiments in Raspberry Pi
RF Experiments in Raspberry Pi
Radiojitter Concepts Lab LLP
Omid Technologies Products
Omid Technologies Products
Mojtaba Najafi-Koopaie
Putting an Apple IIgs BBS on the internet
Putting an Apple IIgs BBS on the internet
Andrew Roughan
voip elements by Karan singh cypher
voip elements by Karan singh cypher
Karan Maker
Samplab19
Samplab19
Noman Ashraf (CCNA, MCTS)
Parallel Rendering of Webpages
Parallel Rendering of Webpages
Langtech
Ryu SDN Framework
Ryu SDN Framework
APNIC
ComNet NWKED Data Sheet
ComNet NWKED Data Sheet
JMAC Supply
Run Your Own 6LoWPAN Based IoT Network
Run Your Own 6LoWPAN Based IoT Network
Samsung Open Source Group
Challenges and experiences with IPTV from a network point of view
Challenges and experiences with IPTV from a network point of view
brouer
Ip live production
Ip live production
Abhinav Aditya
xbee pro digi-mesh 2.4 oem rf modules
xbee pro digi-mesh 2.4 oem rf modules
Syamim Sempoi
Semelhante a 8051 zigbee interface
(20)
Make 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 - final
Dvb t mod dta-110 t leaflet
Dvb t mod dta-110 t leaflet
Zigbee module interface with ARM 7
Zigbee module interface with ARM 7
Multicast tutorial v3
Multicast tutorial v3
Sora- 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)
Lagopus 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 Pi
Omid Technologies Products
Omid Technologies Products
Putting 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
Samplab19
Samplab19
Parallel Rendering of Webpages
Parallel Rendering of Webpages
Ryu SDN Framework
Ryu SDN Framework
ComNet NWKED Data Sheet
ComNet NWKED Data Sheet
Run 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 view
Ip live production
Ip live production
xbee pro digi-mesh 2.4 oem rf modules
xbee pro digi-mesh 2.4 oem rf modules
Mais de Pantech ProLabs India Pvt Ltd
Registration process
Registration process
Pantech ProLabs India Pvt Ltd
Choosing the right processor for embedded system design
Choosing the right processor for embedded system design
Pantech ProLabs India Pvt Ltd
Brain Computer Interface
Brain Computer Interface
Pantech ProLabs India Pvt Ltd
Electric Vehicle Design using Matlab
Electric Vehicle Design using Matlab
Pantech ProLabs India Pvt Ltd
Image processing application
Image processing application
Pantech ProLabs India Pvt Ltd
Internet of Things using Raspberry Pi
Internet of Things using Raspberry Pi
Pantech ProLabs India Pvt Ltd
Internet of Things Using Arduino
Internet of Things Using Arduino
Pantech ProLabs India Pvt Ltd
Brain controlled robot
Brain controlled robot
Pantech ProLabs India Pvt Ltd
Brain Computer Interface-Webinar
Brain Computer Interface-Webinar
Pantech ProLabs India Pvt Ltd
Development of Deep Learning Architecture
Development of Deep Learning Architecture
Pantech ProLabs India Pvt Ltd
Future of AI
Future of AI
Pantech ProLabs India Pvt Ltd
Gate driver design and inductance fabrication
Gate driver design and inductance fabrication
Pantech ProLabs India Pvt Ltd
Brainsense -Brain computer Interface
Brainsense -Brain computer Interface
Pantech ProLabs India Pvt Ltd
Median filter Implementation using TMS320C6745
Median filter Implementation using TMS320C6745
Pantech ProLabs India Pvt Ltd
Introduction to Code Composer Studio 4
Introduction to Code Composer Studio 4
Pantech ProLabs India Pvt Ltd
Waveform Generation Using TMS320C6745 DSP
Waveform Generation Using TMS320C6745 DSP
Pantech ProLabs India Pvt Ltd
Interfacing UART with tms320C6745
Interfacing UART with tms320C6745
Pantech ProLabs India Pvt Ltd
Switch & LED using TMS320C6745 DSP
Switch & LED using TMS320C6745 DSP
Pantech ProLabs India Pvt Ltd
Led blinking using TMS320C6745
Led blinking using TMS320C6745
Pantech ProLabs India Pvt Ltd
Introduction to tms320c6745 dsp
Introduction to tms320c6745 dsp
Pantech ProLabs India Pvt Ltd
Mais de Pantech ProLabs India Pvt Ltd
(20)
Registration process
Registration process
Choosing the right processor for embedded system design
Choosing the right processor for embedded system design
Brain Computer Interface
Brain Computer Interface
Electric Vehicle Design using Matlab
Electric Vehicle Design using Matlab
Image processing application
Image processing application
Internet of Things using Raspberry Pi
Internet of Things using Raspberry Pi
Internet of Things Using Arduino
Internet of Things Using Arduino
Brain controlled robot
Brain controlled robot
Brain Computer Interface-Webinar
Brain Computer Interface-Webinar
Development of Deep Learning Architecture
Development of Deep Learning Architecture
Future of AI
Future of AI
Gate driver design and inductance fabrication
Gate driver design and inductance fabrication
Brainsense -Brain computer Interface
Brainsense -Brain computer Interface
Median filter Implementation using TMS320C6745
Median filter Implementation using TMS320C6745
Introduction to Code Composer Studio 4
Introduction to Code Composer Studio 4
Waveform Generation Using TMS320C6745 DSP
Waveform Generation Using TMS320C6745 DSP
Interfacing UART with tms320C6745
Interfacing UART with tms320C6745
Switch & LED using TMS320C6745 DSP
Switch & LED using TMS320C6745 DSP
Led blinking using TMS320C6745
Led blinking using TMS320C6745
Introduction to tms320c6745 dsp
Introduction to tms320c6745 dsp
Último
Accessible Digital Futures project (20/03/2024)
Accessible Digital Futures project (20/03/2024)
Jisc
SOC 101 Demonstration of Learning Presentation
SOC 101 Demonstration of Learning Presentation
camerronhm
Unit 3 Emotional Intelligence and Spiritual Intelligence.pdf
Unit 3 Emotional Intelligence and Spiritual Intelligence.pdf
Dr Vijay Vishwakarma
Beyond_Borders_Understanding_Anime_and_Manga_Fandom_A_Comprehensive_Audience_...
Beyond_Borders_Understanding_Anime_and_Manga_Fandom_A_Comprehensive_Audience_...
Pooja Bhuva
Kodo Millet PPT made by Ghanshyam bairwa college of Agriculture kumher bhara...
Kodo Millet PPT made by Ghanshyam bairwa college of Agriculture kumher bhara...
pradhanghanshyam7136
Graduate Outcomes Presentation Slides - English
Graduate Outcomes Presentation Slides - English
neillewis46
HMCS Max Bernays Pre-Deployment Brief (May 2024).pptx
HMCS Max Bernays Pre-Deployment Brief (May 2024).pptx
Esquimalt MFRC
21st_Century_Skills_Framework_Final_Presentation_2.pptx
21st_Century_Skills_Framework_Final_Presentation_2.pptx
JoelynRubio1
COMMUNICATING NEGATIVE NEWS - APPROACHES .pptx
COMMUNICATING NEGATIVE NEWS - APPROACHES .pptx
annathomasp01
Exploring_the_Narrative_Style_of_Amitav_Ghoshs_Gun_Island.pptx
Exploring_the_Narrative_Style_of_Amitav_Ghoshs_Gun_Island.pptx
Pooja Bhuva
Interdisciplinary_Insights_Data_Collection_Methods.pptx
Interdisciplinary_Insights_Data_Collection_Methods.pptx
Pooja Bhuva
80 ĐỀ THI THỬ TUYỂN SINH TIẾNG ANH VÀO 10 SỞ GD – ĐT THÀNH PHỐ HỒ CHÍ MINH NĂ...
80 ĐỀ THI THỬ TUYỂN SINH TIẾNG ANH VÀO 10 SỞ GD – ĐT THÀNH PHỐ HỒ CHÍ MINH NĂ...
Nguyen Thanh Tu Collection
Basic Civil Engineering first year Notes- Chapter 4 Building.pptx
Basic Civil Engineering first year Notes- Chapter 4 Building.pptx
Denish Jangid
FSB Advising Checklist - Orientation 2024
FSB Advising Checklist - Orientation 2024
Elizabeth Walsh
Sensory_Experience_and_Emotional_Resonance_in_Gabriel_Okaras_The_Piano_and_Th...
Sensory_Experience_and_Emotional_Resonance_in_Gabriel_Okaras_The_Piano_and_Th...
Pooja Bhuva
How to setup Pycharm environment for Odoo 17.pptx
How to setup Pycharm environment for Odoo 17.pptx
Celine George
Philosophy of china and it's charactistics
Philosophy of china and it's charactistics
hameyhk98
HMCS Vancouver Pre-Deployment Brief - May 2024 (Web Version).pptx
HMCS Vancouver Pre-Deployment Brief - May 2024 (Web Version).pptx
marlenawright1
Understanding Accommodations and Modifications
Understanding Accommodations and Modifications
MJDuyan
General Principles of Intellectual Property: Concepts of Intellectual Proper...
General Principles of Intellectual Property: Concepts of Intellectual Proper...
Poonam Aher Patil
Último
(20)
Accessible Digital Futures project (20/03/2024)
Accessible Digital Futures project (20/03/2024)
SOC 101 Demonstration of Learning Presentation
SOC 101 Demonstration of Learning Presentation
Unit 3 Emotional Intelligence and Spiritual Intelligence.pdf
Unit 3 Emotional Intelligence and Spiritual Intelligence.pdf
Beyond_Borders_Understanding_Anime_and_Manga_Fandom_A_Comprehensive_Audience_...
Beyond_Borders_Understanding_Anime_and_Manga_Fandom_A_Comprehensive_Audience_...
Kodo Millet PPT made by Ghanshyam bairwa college of Agriculture kumher bhara...
Kodo Millet PPT made by Ghanshyam bairwa college of Agriculture kumher bhara...
Graduate Outcomes Presentation Slides - English
Graduate Outcomes Presentation Slides - English
HMCS Max Bernays Pre-Deployment Brief (May 2024).pptx
HMCS Max Bernays Pre-Deployment Brief (May 2024).pptx
21st_Century_Skills_Framework_Final_Presentation_2.pptx
21st_Century_Skills_Framework_Final_Presentation_2.pptx
COMMUNICATING NEGATIVE NEWS - APPROACHES .pptx
COMMUNICATING NEGATIVE NEWS - APPROACHES .pptx
Exploring_the_Narrative_Style_of_Amitav_Ghoshs_Gun_Island.pptx
Exploring_the_Narrative_Style_of_Amitav_Ghoshs_Gun_Island.pptx
Interdisciplinary_Insights_Data_Collection_Methods.pptx
Interdisciplinary_Insights_Data_Collection_Methods.pptx
80 ĐỀ THI THỬ TUYỂN SINH TIẾNG ANH VÀO 10 SỞ GD – ĐT THÀNH PHỐ HỒ CHÍ MINH NĂ...
80 ĐỀ THI THỬ TUYỂN SINH TIẾNG ANH VÀO 10 SỞ GD – ĐT THÀNH PHỐ HỒ CHÍ MINH NĂ...
Basic Civil Engineering first year Notes- Chapter 4 Building.pptx
Basic Civil Engineering first year Notes- Chapter 4 Building.pptx
FSB Advising Checklist - Orientation 2024
FSB Advising Checklist - Orientation 2024
Sensory_Experience_and_Emotional_Resonance_in_Gabriel_Okaras_The_Piano_and_Th...
Sensory_Experience_and_Emotional_Resonance_in_Gabriel_Okaras_The_Piano_and_Th...
How to setup Pycharm environment for Odoo 17.pptx
How to setup Pycharm environment for Odoo 17.pptx
Philosophy of china and it's charactistics
Philosophy of china and it's charactistics
HMCS Vancouver Pre-Deployment Brief - May 2024 (Web Version).pptx
HMCS Vancouver Pre-Deployment Brief - May 2024 (Web Version).pptx
Understanding Accommodations and Modifications
Understanding Accommodations and Modifications
General Principles of Intellectual Property: Concepts of Intellectual Proper...
General Principles of Intellectual Property: Concepts of Intellectual Proper...
8051 zigbee interface
1.
Interfacing Zigbee with 8051 www.pantechsolutions.net
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.