Telecoms, Datacoms, Wireless, IoT


Designing with wireless Rabbits: WiFi or ZigBee?

3 October 2007 Telecoms, Datacoms, Wireless, IoT

Q: What is 98% of 8 billion?

A: One heck of a huge number.

It is also a conservative estimate of the number of microprocessors sold this year into the embedded systems market. The wireless segment of that market is in its infancy, with vast growth potential projected for the next 10 years. That, dear reader, is called an opportunity. This document will help you take advantage of this opportunity by covering the important design questions and guidelines that lead to a successful embedded wireless application.

Design guidelines

When designing with a wireless Rabbit from Rabbit Semiconductor, or any wireless device for that matter, you need to understand the requirements of your application and the ability of each of the wireless protocols to meet those requirements. By reading the information in Table 1 and answering the following questions you will gain awareness of how best to incorporate wireless into your embedded design.

Table 1
Table 1

How do you choose between WiFi and ZigBee?

The wireless protocol to use depends on the requirements of your application. The following table compares the specifications of WiFi and ZigBee in regards to some general wireless parameters. It supplies some of the numbers, but you, the engineer, need to supply the rest. Your particular application and its operating environment will determine which parameters are most important.

Table 2
Table 2

How much power does your wireless application need?

Too big of an appetite for power is a concern in many embedded devices. As you can see in Table 1, power consumption varies greatly between WiFi and ZigBee, both when transmitting and when in standby mode. ZigBee is designed for low-power applications, eg, battery-powered sensor nodes. Typically, controls and sensors do not require high bandwidth, but need low latency and low power consumption.

How fast does your wireless application need to transfer data?

How fast is fast enough? If your application requires fast data throughput, you need WiFi. It offers very high data rates: up to 11 Mbps (for 802.11b) and the longest range (100 m or higher with a directional antenna). By contrast, ZigBee trades higher data rates for lower power consumption.

What are some of the considerations when choosing a topology?

The network topology determines the choice of communication paths between nodes.

Some other considerations when choosing a topology are:

* Distances that a signal needs to travel.

* Future growth of the network.

* Reliability.

Do you need mesh?

According to the Metcalfe Law: "The value of a network increases as its number of connection points increases." The ad-hoc quality of a mesh network makes increasing the number of connection points, or nodes, very easy to do.

A mesh network has many attractive qualities. It is more reliable than other network architectures. If one node goes down, another can take its place. You can install repeater nodes to increase the transmission range and the nodes themselves figure out the best message delivery route to take, making for an efficient and self-healing system. Wireless mesh networks enable non-line-of-sight transmission, basically allowing the nodes to see around corners and cement walls.

The ZigBee-capable modules support mesh networking. Currently, the WiFi-capable modules do not support mesh networking.

What do you need to know about the wireless radio?

One thing you need to know is that there is tight integration of the radio module with the Rabbit and its hardware and software components. This integration allows you to focus on your application instead of the inevitable issues that arise when components from different manufacturers are brought together.

The diverse range of wireless applications has certain things in common. They each require three things: a transmitter with antenna, a receiver with antenna, and a transmission path between them. Table 2 compares the strength of the transmitter and the sensitivity of the receiver with WiFi- and ZigBee-capable modules.

What do you need to know about the antenna?

Deciding which antenna is right for your wireless application is largely a function of the physical environment in which it will be placed. It is important to identify any obstacle or interference between the transmitter's antenna and the receiver's antenna. To optimise the RF signal radiated between these two antennas requires a clear RF line-of-sight (LOS) path. An RF LOS is called a Fresnel zone, which is a football-shaped tunnel between the two antennas. In practical terms this means that antennas mounted at ground level will have half of the Fresnel zone blocked, which will decrease the communication range.

Antenna gain is another important characteristic affecting communication range. To understand gain, consider the difference between a naked light bulb and a flashlight. The flashlight has more gain than the naked light bulb because of the way it focuses the beam. In a wireless radio, the antenna of the transmitter increases gain by directing the signal more precisely towards the receiver, which creates a more acute angle of coverage. The antenna of the receiver increases gain by focusing the direction in which it 'listens'.

The physical environment of your wireless system includes the enclosure of the RF module you are using. The use of metal enclosures is strongly discouraged. In fact, mounting considerations include the admonition to stay far away from metal objects in general.

What types of enclosures can be used with a wireless device?

With an onboard antenna, the module needs to be out in the open or in some sort of plastic case. A metal case is NOT recommended. When using a module with an external antenna, the requirements for an enclosure are the same as for a wired module.

Does the absence of wires mean the device can be anywhere?

The physical location of your network and its nodes needs careful consideration. Signals travelling through the air lose strength when encountering natural and man-made obstacles and interference. Obstacles would include such things as: air humidity, building materials, and metal film sun-screened windows. Interference can come from microwave ovens or even other networks running on the same frequency band. The location of your network should be surveyed with an eye towards identifying obstacles and potential sources of interference.

Do you need web browser control in your application?

If you want the wireless device to host a web page, you will need a WiFi-capable module. The WiFi-capable module runs a TCP/IP stack over the wireless channel, while currently the ZigBee module does not support TCP/IP networking.

Summary

Wireless solutions open up possibilities that are not feasible with a wired solution. New locations are now accessible; sensors, previously shackled, can suddenly run free. As this vast market opens up, WiFi and ZigBee are well-positioned to meet the growing demand for wireless applications.





Share this article:
Share via emailShare via LinkedInPrint this page

Further reading:

Power amps for portable radio comms systems
iCorp Technologies Telecoms, Datacoms, Wireless, IoT
CML Micro expands its SµRF product portfolio with a pair of high efficiency single- and two-stage power amplifiers that offer outstanding performance for a wide range of dual-cell lithium battery-powered wireless devices.

Read more...
RF agile transceiver
Altron Arrow Telecoms, Datacoms, Wireless, IoT
The AD9361 is a high performance, highly integrated RF Agile Transceiver designed for use in 3G and 4G base station applications.

Read more...
Choosing a GNSS receiver
RF Design Telecoms, Datacoms, Wireless, IoT
Applications requiring sub-ten-meter positioning accuracy today can choose between single-band or dual-band technology. While this decision might seem as simple as flipping a coin, it is far from that.

Read more...
Tri-Teq’s latest range of filters
RFiber Solutions Telecoms, Datacoms, Wireless, IoT
Tri-Teq recently presented its latest filter products, which included passive and co-site mitigation filters (lumped element and suspended substrate technologies) and tunable filters (bandpass and harmonic switched filters).

Read more...
Why GNSS positioning precision is enabling the next wave of IoT applications
iCorp Technologies Editor's Choice Telecoms, Datacoms, Wireless, IoT
While high-performance GNSS implementations are achievable with few limitations, most real-world applications must balance power consumption, form factor and accuracy requirements.

Read more...
The evolution of 4D imaging radar
Altron Arrow Telecoms, Datacoms, Wireless, IoT
4D imaging radar is redefining automotive sensing with unmatched precision, scalability and resilience and, as global adoption accelerates, this technology is poised to become a cornerstone of autonomous mobility.

Read more...
Links Field Networks: The perfect fit for telematics in Africa
Links Field Networks Telecoms, Datacoms, Wireless, IoT
Operating at the intersection of global SIM innovation and local market intelligence, Links Field Networks has emerged as a premier provider of telematics-oriented connectivity across Africa and beyond.

Read more...
RF direct conversion receiver
iCorp Technologies Telecoms, Datacoms, Wireless, IoT
The CMX994 series from CML Micro is a family of direct conversion receiver ICs with the ability to dynamically select power against performance modes.

Read more...
Bridging the future with RAKWireless WisNode devices
Otto Wireless Solutions Telecoms, Datacoms, Wireless, IoT
The WisNode Bridge series by RAKWireless is designed to convert traditional wired industrial protocols like RS485 and Modbus into LoRa-compatible signals.

Read more...
Mission-critical RF transceiver
Vepac Electronics Telecoms, Datacoms, Wireless, IoT
The Iris SQN9506 from Sequans Communications is a wide-band RF transceiver that operates from 220 MHz to 7,125 GHz.

Read more...









While every effort has been made to ensure the accuracy of the information contained herein, the publisher and its agents cannot be held responsible for any errors contained, or any loss incurred as a result. Articles published do not necessarily reflect the views of the publishers. The editor reserves the right to alter or cut copy. Articles submitted are deemed to have been cleared for publication. Advertisements and company contact details are published as provided by the advertiser. Technews Publishing (Pty) Ltd cannot be held responsible for the accuracy or veracity of supplied material.




© Technews Publishing (Pty) Ltd | All Rights Reserved