1

I would like establish a mesh network using Zigbee modules and ATmega8. I need some basic c routines for establishing the network. My Controller is running with ATmega32. and end nodes will be on ATmega8.

I want plug and play wireless connection between Controller unit and nodes.

Please help me.

2 Answers2

0

The Digi XBee series of RF modules is popular for plug and play wireless. In it's simplest configuration, a pair of modules operates as a serial cable replacement, with bytes going in on one module coming out on the other.

If you want to have a multi-node network, you'll have to use the radios in API mode, where frames include a header with addressing information and checksum in the footer. Digi has released an ANSI C XBee Host Library as Open Source on GitHub that could be a good starting point for that since you mention using C. It looks like there's even a fork of the library targeting the AVR platform.

tomlogic
  • 11,489
  • 3
  • 33
  • 59
0

@user2031622, zigbee nowdays has builtin microcontroller such as CC2530 provided by TI stack (Texas instruments).CC2530 has a inbuilt 8051 microcontroller which supports mesh networking.

Hanu
  • 119
  • 9