element14 Community
element14 Community
    Register Log In
  • Site
  • Search
  • Log In Register
  • About Us
  • Community Hub
    Community Hub
    • What's New on element14
    • Feedback and Support
    • Benefits of Membership
    • Personal Blogs
    • Members Area
    • Achievement Levels
  • Learn
    Learn
    • Ask an Expert
    • eBooks
    • element14 presents
    • Learning Center
    • Tech Spotlight
    • STEM Academy
    • Webinars, Training and Events
    • Learning Groups
  • Technologies
    Technologies
    • 3D Printing
    • FPGA
    • Industrial Automation
    • Internet of Things
    • Power & Energy
    • Sensors
    • Technology Groups
  • Challenges & Projects
    Challenges & Projects
    • Design Challenges
    • element14 presents Projects
    • Project14
    • Arduino Projects
    • Raspberry Pi Projects
    • Project Groups
  • Products
    Products
    • Arduino
    • Avnet Boards Community
    • Dev Tools
    • Manufacturers
    • Multicomp Pro
    • Product Groups
    • Raspberry Pi
    • RoadTests & Reviews
  • Store
    Store
    • Visit Your Store
    • Choose another store...
      • Europe
      •  Austria (German)
      •  Belgium (Dutch, French)
      •  Bulgaria (Bulgarian)
      •  Czech Republic (Czech)
      •  Denmark (Danish)
      •  Estonia (Estonian)
      •  Finland (Finnish)
      •  France (French)
      •  Germany (German)
      •  Hungary (Hungarian)
      •  Ireland
      •  Israel
      •  Italy (Italian)
      •  Latvia (Latvian)
      •  
      •  Lithuania (Lithuanian)
      •  Netherlands (Dutch)
      •  Norway (Norwegian)
      •  Poland (Polish)
      •  Portugal (Portuguese)
      •  Romania (Romanian)
      •  Russia (Russian)
      •  Slovakia (Slovak)
      •  Slovenia (Slovenian)
      •  Spain (Spanish)
      •  Sweden (Swedish)
      •  Switzerland(German, French)
      •  Turkey (Turkish)
      •  United Kingdom
      • Asia Pacific
      •  Australia
      •  China
      •  Hong Kong
      •  India
      •  Korea (Korean)
      •  Malaysia
      •  New Zealand
      •  Philippines
      •  Singapore
      •  Taiwan
      •  Thailand (Thai)
      • Americas
      •  Brazil (Portuguese)
      •  Canada
      •  Mexico (Spanish)
      •  United States
      Can't find the country/region you're looking for? Visit our export site or find a local distributor.
  • Translate
  • Profile
  • Settings
Wireless
  • Technologies
  • More
Wireless
Forum ZigBee, would this Ad Hoc network idea work?
  • Blog
  • Forum
  • Documents
  • Polls
  • Quiz
  • Events
  • Mentions
  • Sub-Groups
  • Tags
  • More
  • Cancel
  • New
Join Wireless to participate - click to join for free!
Actions
  • Share
  • More
  • Cancel
Forum Thread Details
  • State Not Answered
  • Replies 6 replies
  • Subscribers 222 subscribers
  • Views 1362 views
  • Users 0 members are here
  • bluetooth
  • network
  • nodes
  • mesh-network
  • wireless
  • zigbee
  • communication
Related

ZigBee, would this Ad Hoc network idea work?

Former Member
Former Member over 9 years ago

 

I’m trying to get a general understanding for how a mesh Ad Hoc network could be created. ZigBee seems as a cheap solution so that’s why I’m going for it. However if you guys have a better suggestion (i.e. Bluetooth) feel free to suggest it.

 

Ok, here goes. My basic idea is this. I have moving objects (large area indoors) and I want to construct a simple warning system. When one device detects another I basically just want to play a tune or make a light flash, nothing more. The approach will probably be using RSSI but that is not important right now. I want this to be cheap and I do not want any kind of fixed infrastructure (disqualifying wifi). The devices would randomly come into contact, do some kind of handshake, talk while they are close and finally move out of range.


Is it even possible to create such a thing with ZigBee? The standard requires a ZigBee Coordinator so I was thinking that one moving object could be this and the rest ZigBee routers. Would this approach even work? Perhaps one could equip a few Raspberry Pi’s with “XBee ZB ZigBee RF Modules” and then take it from there.

 

 

  • Sign in to reply
  • Cancel

Top Replies

  • dougw
    dougw over 9 years ago +1
    How many nodes would be the maximum? t seems you could use any low-cost radio with a small associated CPU for this application as long as collisions can be detected. It probably wouldn't need a big complicated…
Parents
  • dougw
    0 dougw over 9 years ago

    How many nodes would be the maximum?

    t seems you could use any low-cost radio with a small associated CPU for this application as long as collisions can be detected. It probably wouldn't need a big complicated ad-hoc protocol like Zigbee.

    • all nodes periodically broadcast their own ID - if a collision is detected, they re-transmit at a random time later
    • all nodes evaluate RSSI of all received broadcasts to determine who is close and how close
    • the periodic transmission time and the random re-transmission range of times are dictated by how fast the nodes can approach each other and how many nodes are active
    • if you have a lot of nodes, some careful statistical calculations will be needed to determine how many nodes can be handled before the congestion becomes a problem
    • Cancel
    • Vote Up +1 Vote Down
    • Sign in to reply
    • Verify Answer
    • Cancel
Reply
  • dougw
    0 dougw over 9 years ago

    How many nodes would be the maximum?

    t seems you could use any low-cost radio with a small associated CPU for this application as long as collisions can be detected. It probably wouldn't need a big complicated ad-hoc protocol like Zigbee.

    • all nodes periodically broadcast their own ID - if a collision is detected, they re-transmit at a random time later
    • all nodes evaluate RSSI of all received broadcasts to determine who is close and how close
    • the periodic transmission time and the random re-transmission range of times are dictated by how fast the nodes can approach each other and how many nodes are active
    • if you have a lot of nodes, some careful statistical calculations will be needed to determine how many nodes can be handled before the congestion becomes a problem
    • Cancel
    • Vote Up +1 Vote Down
    • Sign in to reply
    • Verify Answer
    • Cancel
Children
No Data
element14 Community

element14 is the first online community specifically for engineers. Connect with your peers and get expert answers to your questions.

  • Members
  • Learn
  • Technologies
  • Challenges & Projects
  • Products
  • Store
  • About Us
  • Feedback & Support
  • FAQs
  • Terms of Use
  • Privacy Policy
  • Legal and Copyright Notices
  • Sitemap
  • Cookies

An Avnet Company © 2025 Premier Farnell Limited. All Rights Reserved.

Premier Farnell Ltd, registered in England and Wales (no 00876412), registered office: Farnell House, Forge Lane, Leeds LS12 2NE.

ICP 备案号 10220084.

Follow element14

  • X
  • Facebook
  • linkedin
  • YouTube