Jump to content
Electronics-Lab.com Community

XBEE CONFIGURATION


amlovingyou

Recommended Posts

I couldn't configure the XBee modules.
details given below, anyone pls help...

Transmitter:

Restore default parameters: ATRE
Set transmitter destination address: ATDL = 0x1234
Set transmitter source address: ATMY = 0x5678
Set D0 as analog input: ATD0 = 2
Set D1 as analog input: ATD1 = 2
Set D2 as analog input: ATD2 = 2
Set D3 as digital input: ATD3 = 3
Set D4 as digital input: ATD4 = 3
Enable pull up on digital inputs D3 and D4: ATPR = 0x03
Set sample rate to 100ms: ATIR = 0x64
Write parameters to non-volatile memory: ATWR

Receiver:

Restore default parameters: ATRE
Set receiver destination address: ATDL = 0x5678
Set receiver source address: ATMY = 0x1234
Set receiver input address: ATIA = 0x5678
Enable uart output: ATIU = 1
Set P0 in order to drive the RSSI LED according to signal strength: ATP0 = 1
Write parameters to non-volatile memory: ATWR

Link to comment
Share on other sites


Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
×
  • Create New...