Company Logo
Home
Book a Call
Access Control
IoT product development for connected access control systems.
Protonest Connect
Launch and manage IoT systems without the backend hassle.
Protonest Master
Configure, deploy, and monitor connected industrial IoT devices.
About
Learn about Protonest, our work, and our team.
Careers
Explore open roles and opportunities at Protonest.
Contact Us
Get in touch with our team about your project.
Blog
Insights, trends & stories from the IoT frontier.
Projects
Explore our work and research conducted by our team.
Company Logo
Company Logo
Home
Book a Call
Access Control
IoT product development for connected access control systems.
Protonest Connect
Launch and manage IoT systems without the backend hassle.
Protonest Master
Configure, deploy, and monitor connected industrial IoT devices.
About
Learn about Protonest, our work, and our team.
Careers
Explore open roles and opportunities at Protonest.
Contact Us
Get in touch with our team about your project.
Blog
Insights, trends & stories from the IoT frontier.
Projects
Explore our work and research conducted by our team.
Company Logo
All posts

Published November 12, 2026 in Reliability Tests

Zigbee Communication Reliability Using ESP32-C6 with Inbuilt and External Antennas

Pasindu Deemantha

By Pasindu Deemantha

Junior Embedded Firmware Engineer, Protonest IoT

Share this post


Zigbee Communication Reliability Using ESP32-C6 with Inbuilt and External Antennas

In this article

  • Introduction
  • Device Types and Network Topologies of Zigbee.
  • How We Ran the Tests
  • Our Results
  • Advantages and Trade-offs
  • Conclusion
  • References


The success of Zigbee communications often comes down to the performance of the antenna you use with your ESP32-C6 module. The onboard PCB antenna on the ESP32-C6 module has proven to be decent for low-range applications, but it will begin to degrade significantly in real-world environments. Upgrading to a properly tuned and matched antenna boosts overall Zigbee network reliability.

In this article, we'll outline how using an external matched 2.4 GHz antenna can provide for reliable Zigbee communication at over 100 meters in open space with zero lost packets, as tested in a field application. This article will walk you through the steps of how we tested this in the field with two ESP32-C6 modules running the ESP-Zigbee SDK, including an overview of the test steps, the point-to-point antenna configuration, an overview of the antenna types used, and finally provide some explanation of the RSSI values recorded during this test.

The key takeaway: to achieve better Long Range Zigbee communication performance, focus your efforts on tuning and matching your current antenna, rather than simply going for a higher gain antenna.

alt

Figure 1: Zigbee Logo & ESP32-C6 development board

Introduction

Zigbee is used in many low-power IoT applications such as sensor networks, smart lighting, and home automation gateways. It prioritizes reliability and long battery life over speed and can use mesh networks to help achieve performance in difficult environments with many obstacles. However, in direct sensor-to-hub connections, the full capabilities of mesh networks are not required.

The ESP32-C6 by Espressif is a significant step forward in making Zigbee into budget-friendly devices. This chip includes Wi-Fi 6, Bluetooth LE, and Zigbee, along with Thread. Developers can use the ESP-Zigbee SDK to build prototype Zigbee nodes with ease, leveraging the familiar ESP-IDF framework.

As part of an internal prototype test, we measured actual outdoor Zigbee range using ESP32-C6, testing maximum distances for point-to-point connections with minimal obstructions and the effects of antenna type on performance. Our findings were slightly different from what was expected, but provided some useful insights into key aspects of RF Design that every embedded developer must consider.

Device Types and Network Topologies of Zigbee.

Three essential roles of devices within a Zigbee network balance energy efficiency against distance and data transmission reliability.

  • The Coordinator, one per network, coordinates the network, provides security, and controls data transmission.
  • Routers forward messages and create bridges between devices, extending the network's reach.
  • End Devices, optimized for low power, mostly sleep, activating only to send or receive data via a parent device like a coordinator or router.

Each device type operates within different network topologies to accommodate various application requirements.

The Star topology features a direct connection between end devices and the coordinator, requiring little overhead, and is suitable for low-complexity, low-cost applications.

The Cluster Tree topology branches out from the coordinator as a tree structure, supporting orderly network growth.

In the Mesh topology, routers interconnect, providing multiple paths for data transmission and redundancy in larger or obstructed areas for improved reliability.

Full-mesh and tree configurations are most beneficial in complex environments, but a star topology works well for many practical IoT applications, such as an individual sensor sending data to a hub. We used a straightforward star topology method in our testing to isolate the effect of the antennas without accounting for routing.

alt

Figure 2: Zigbee Network Topologies

Zigbee Device Roles in our Test Setup

Our test was built on these basics, using a simple star configuration to gauge antenna performance. One board served as both coordinator and transmitter; when its BOOT button was pressed, it sent a packet to the second board. The second board, programmed as an end device and receiver, logged each message it received, along with signal strength metrics, via a serial connection.

Once powered up, the boards automatically configured themselves to join the network, eliminating the need for manual pairing or commands to configure the networked devices. This star-like topology avoided routing hops and mesh complications, mirroring real IoT scenarios where a sensor talks directly to a gateway, allowing us to focus on raw radio performance.

Hardware and Antenna Choices

Standard ESP32-C6-DevKitC boards with u.FL connectors allowed easy replacement and experimentation with different antennas to determine the best option.

Both boards were originally tested using their built-in printed circuit board antennas. Although these antennas were small etch antenna circuits on the boards and have a modest amount of gain (0-2 dBi gain), they are designed for use at 2.4 GHz.

External antennas were only tested on the transmitter, while receiver tests used the receiver’s built-in antenna.

  • A long +9 dBi gain omnidirectional antenna failed to improve performance, with links established for a short distance (less than 1m).
  • The rubber-duck type of dipole (2.4 GHz) antenna performed better, transmitting and receiving stable data at all test distances.

The dipole antenna's good performance was due to its good impedance matching. The ESP32-C6 radio requires a 50-ohm load; if the external antenna's impedance doesn't match, power is reflected back into the ESP32-C6 radio instead of being radiated. Thus, having an antenna with a high gain will make no difference in the effective communication distance because even though it shows a high gain level, the gain level is not applicable due to poor antenna impedance matching.

alt

Figure 3: Integrated PCB antenna (left), alongside external 2.4 GHz whip antennas (centre) and rubber-duck antennas (right). 

How We Ran the Tests

We tested in an open area on a clear day, free of nearby Wi-Fi or 2.4GHz interference that could distort results. The boards were powered via USB from a laptop and were placed directly on the ground, establishing a consistent baseline.

To ensure repeatable and consistent tests, we followed a straightforward methodology. We programmed the first two devices – the transmitter (Ping) and the receiver (Pong) – with custom Zigbee firmware created using the ESP-IDF and ESP-Zigbee SDK. During the initial power-up cycle, the devices created their Zigbee link automatically, with no need for manual pairing. The transmitter was used with the external antenna during the majority of our runs and was used to advertise the Zigbee network, while the receiver joined the Zigbee network as an endpoint device with its built-in PCB antenna.

Once all devices were initialized correctly, we verified success through serial monitors, confirming addresses were assigned and no errors reported.

alt

Figure 4: Transmitter Serial Monitor Output

After that, the transmitter's BOOT button transmitted messages. Each press sent a Zigbee packet with a short test message. The receiver recorded the RSSI (Received Signal Strength Indicator in dBm) and LQI (Link Quality Indicator) values in its serial monitor for each packet. Manual triggering made the tests easy to control and repeat.

alt

Figure 5: Receiver Serial Monitor Output

To conduct our actual range tests, we placed the boards at increasing distances of 5 m, 10m, 20m, 50m, and 100m, and consistently used the Google Earth ruler (for accurate distance measurement and visual verification, so no approximations were used) to confirm the distance.

At each point, we transmitted multiple packets and recorded RSSI and LQI on the receiving end, capturing screenshots for reference. This allowed us to gauge signal quality over distance, with zero-loss reliability for each antenna configuration tested. All readings were averaged to create consistent results across multiple transmissions.

Before finalizing the system, we ran additional tests with the internal PCB antennas. Both components of the local system had functioning internal PCB antennas to provide connectivity, but no RSSI readings were recorded for range comparisons. When using the long +9 dBi antenna, the Zigbee link failed beyond 1 meter. We thus relied on the external WiFi Router antenna as the transmitter and the internal PCB antenna as the receiver for the majority of our test results.

alt

Figure 6: Satellite view (Google Earth) of the open-field test site, with marked receiver positions at 5 m, 10 m, 20 m, 50 m, and 100 m from the transmitter (origin) 

Our Results

The integrated setup performed within an acceptable range in a home or small office. We are not obtaining detailed metrics at this time because we're simply verifying performance against a baseline. However, as you extend past the normal range of an indoor environment, dropped packets were apparent.

Switching to a mismatched +9dBi antenna was a letdown. Even at distances of 1 or 2m, the connectivity was very marginal; beyond these distances, the user would often not be able to establish a connection. This was a classic case of high VSWR (Voltage Standing Wave Ratio), where wasted power generated heat instead of signals.

The matched dipole antenna on the transmitter made all the difference. All packets were received cleanly at any distance.


At a distance from a transmitter, free space path loss at 2.4 GHz is predictable, and the signal fades, though no loss or retransmission occurs. Signal reception happens with no dropouts, even beyond 100m, where data is received at a low but steady rate.

An interesting asymmetry: upgrading the transmitter's antenna yields a greater improvement than upgrading the receiver's in-built pickup device. Therefore, while both transmitters and receivers have the same output level when transmitting, in downlink applications (to retrieve data from sensors), they will both benefit from greater improvement in their uplink communication than in their downlink communications.

Advantages and Trade-offs

This data shows why antenna selection is the crucial factor in determining Zigbee range from modules like the ESP32-C6. A matched external antenna significantly extended our range to over 100 meters, with no added power or amplification cost.

In nearly all cases, matching and frequency tuning take priority over power gain. The example provided by the +9 dBi antenna illustrates that a poorly matched and/or frequency-tuned high-gain antenna can cause more harm than good.

While there are many benefits of using an external antenna when designing for outdoor applications, there are some associated tradeoffs: bulkiness (added cost); secure mounting required; cable routing and management within enclosures; and a need for early validation of an eBay purchase (do not assume the antenna you bought will work—verify that its specifications specify that the antenna is tuned for 2.4 GHz and impedance matched to 50-ohms).

For long-range transmission (e.g., outside sensors, garden automation, larger residences), investing in an external antenna is worth it. Use development boards to prototype your design, measure VSWR whenever possible, and continually iterate your designs.

Conclusion

The ESP32-C6 Zigbee range relies heavily on antenna selection. Testing has shown that a matched external antenna for 2.4GHz provides reliable communication over 100m in open air with zero packet loss. Identifying potential problems with a matched external antenna is often the quickest way to improve link reliability for long-distance communication.

Developing with the ESP32-C6 requires considering external antennas for a noticeable performance gain. These principles apply to any 2.4GHz product.

References

  • Espressif Systems. ESP32-C6 Datasheet. https://www.espressif.com/sites/default/files/documentation/esp32-c6_datasheet_en.pdf
  • Espressif Systems. ESP-Zigbee SDK Programming Guide. https://docs.espressif.com/projects/esp-zigbee-sdk/en/latest/esp32c6/
  • Espressif Systems. ESP32-C6 Hardware Design Guidelines. https://docs.espressif.com/projects/esp-hardware-design-guidelines/en/latest/esp32c6/
  • Electrical Technology. What is ZigBee Technology and how does it work? https://www.electricaltechnology.org/2017/09/zigbee-technology-wireless-networking-system.html

Follow Protonest IoT

IoT product development insights, project updates and new articles.

In this article

  • Introduction
  • Device Types and Network Topologies of Zigbee.
  • How We Ran the Tests
  • Our Results
  • Advantages and Trade-offs
  • Conclusion
  • References

Explore More Articles

View more >
Testing UWB Ranging Reliability: How Antenna Alignment Affects Accuracy

Testing UWB Ranging Reliability: How Antenna Alignment Affects Accuracy

Accurate tracking and positioning in robotics and embedded systems often depend on Ultra-Wideband (UWB) distance measurements. In controlled bench...

6 min read
Designing Secure ESP32 Access-Control Systems: Where Do We Start?

Designing Secure ESP32 Access-Control Systems: Where Do We Start?

An ESP32-based access-control device can look simple. A user presents an RFID card, uses a phone over BLE, or requests access through a cloud...

9 min read

Industries

Access Control

Solutions

Protonest ConnectProtonest Master

Company

AboutCareersContact Us

Resources

BlogProjects

Legal

Privacy PolicyTerms & Conditions
Protonest Logo
HQ Address503/A Welivita Road, Kaduwela,Sri Lanka 10640
Office Address392 Horana Rd, Pannipitiya,Sri Lanka 10132
US Address1207 Delaware Avenue, 2549Wilmington, DE 19806
Book a Call
© 2023–2026 Protonest. All rights reserved.
Protonest Logo
HQ Address503/A Welivita Road, Kaduwela,Sri Lanka 10640
Office Address392 Horana Rd, Pannipitiya,Sri Lanka 10132
US Address1207 Delaware Avenue, 2549Wilmington, DE 19806

Industries

Access Control

Solutions

Protonest ConnectProtonest Master

Company

AboutCareersContact Us

Resources

BlogProjects

Legal

Privacy PolicyTerms & Conditions
© 2023–2026 Protonest. All rights reserved.