I'm working on aproject with xbee(s2) and Arduino UNO , My plan is to create a mesh sensor network from 5 nodes , each node consist of xbee connect to Arduino through xbee shield, and number of sensors connect to Arduino , one of this node must be as xbee coordinator and the others as router or end device . My question is in which mode must I use in each xbee (AT or API mode) and why??? And can I use the coordinator as API and router as AT mode or I must use all of its node in API mode to verify mesh network and why?? Please if any one Know any idea about it or any useful tutorial on how to set up arduino and xbee to recived sensor data packets from each node
Asked
Active
Viewed 564 times
1 Answers
0
Yes, you can mix AT mode and API mode devices on the same network. A typical configuration has the coordinator in API mode with a smart host that can parse the API messages, and sensor nodes running AT mode so they can just send bursts of serial data and have the XBee automatically direct it to the coordinator.

tomlogic
- 11,489
- 3
- 33
- 59
-
Thanks for your answer , but are you sure I can verify mesh network in this modes?? – Taif Fadhil Sep 04 '16 at 19:33
-
Yes. ATND command will discover nodes on the network. Mesh network is possible even when mixing AT and API mode devices. The communication mode only applies to the module's serial port and is unrelated to networking. – tomlogic Sep 05 '16 at 06:14