mitul:
Hi,
I have got 2 zigbee modules. One will be placed in the robot and other connected to the PC Via USB Dongle. I am planning to develop a GUI based on C# to send control signals to the robot. Following are the questions I have:
- Which mode of transmission should I use(Direct or Indirect)
2.Can I configure the Xbee module from a GUI based on C# ? How?
3.When I send command, Do I send it in Binary or hex ?
Please answer my question as I dnt know where to start from!. I really appreciate it.
thanks,
Mitul
to clarify:
ZigBee is the name of a network layer protocol with routing so it’s akin to IP and TCP.
ZigBee is used with the data link layers defined by IEEE 802.15.4.
ZigBee is not a synonym for IEEE 802.15.4 - as TCP/IP is not a synonym for IEEE 802.3.
Xbee Series 2 are ZigBee based. Series 1 is not, and can use basic 802.15.4 and optionally, other non-ZigBee protocols.
You benefit in time-saved from reading the tutorials, the XBee user/OEM guide, etc. A lot depends on if you have Series 1 vs. Series 2 XBees, where the latter is ZigBee based for mesh (repeaters) networks which are complex.
Normally, one configures the Xbee (series 1?) rarely, so using Digi’s free XCTU software is most common. The configuration commands are similar to Hayes Modem “AT” commands (all ASCII text) are are each documented in the XBee OEM/user guide, downloadable from Digi.
If you configure the XBee for transparent serial port extension, and that meets you needs, you’re done. The serial port on on is recreated on the other, with certain speed and flow control limitations just like any modem. One Xbee can connect to a PC’s serial port or USB/serial, with the proper RS232 converter since the XBee itself isn’t RS232.
The XBee API mode is all binary. There are C libraries for it to run on a PC, or you can roll your own. The API mode gives your application, on a PC or on a microprocessor connected to an Xbee, full control over configuration, source and destination XBee addresses, and so on.