Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Brite
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse

Smarthome Forum — Smart Home Community for Matter, Zigbee & HomeKit

  1. Home
  2. Show and Tell
  3. Getting Arduino talking Zigbee: PAN IDs, modules and the mistakes I made

Getting Arduino talking Zigbee: PAN IDs, modules and the mistakes I made

Scheduled Pinned Locked Moved Show and Tell
1 Posts 1 Posters 63 Views
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • S Offline
    S Offline
    Sarah_D
    wrote last edited by
    #1

    I spent a weekend getting an Arduino to send sensor data over Zigbee. Here's what I'd tell myself at the start.
    Setup
    • Arduino plus an XBee or similar Zigbee module over serial.
    • A second module or a USB coordinator on the receiving end.
    Mistakes I made
    • Mismatched PAN ID: the modules must share the same PAN ID or they'll never see each other. This took me an embarrassingly long time to spot.
    • Wrong roles: one device has to be the coordinator. Two routers won't form a network.
    • Baud rate mismatch between the Arduino and the module.
    Can Arduino be a Zigbee gateway? With the right module, yes. For a smart home gateway, though, a ready-made coordinator or an ESP32-C6 is far easier.
    Range depends on the module and antenna, so test it at the distance you actually need.
    Full Arduino Zigbee setup guide: https://zigbeehubs.com/blog/arduino-zigbee/

    1 Reply Last reply
    0

    Hello! It looks like you're interested in this conversation, but you don't have an account yet.

    Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.

    With your input, this post could be even better 💗

    Register Login
    Reply
    • Reply as topic
    Log in to reply
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes


    • Login

    • Don't have an account? Register

    • Login or register to search.
    • First post
      Last post
    0
    • Categories
    • Recent
    • Tags
    • Popular
    • World
    • Users
    • Groups