amlovingyou Posted June 12, 2012 Report Share Posted June 12, 2012 I couldn't configure the XBee modules. details given below, anyone pls help...Transmitter:Restore default parameters: ATRESet transmitter destination address: ATDL = 0x1234Set transmitter source address: ATMY = 0x5678Set D0 as analog input: ATD0 = 2Set D1 as analog input: ATD1 = 2Set D2 as analog input: ATD2 = 2Set D3 as digital input: ATD3 = 3Set D4 as digital input: ATD4 = 3Enable pull up on digital inputs D3 and D4: ATPR = 0x03Set sample rate to 100ms: ATIR = 0x64Write parameters to non-volatile memory: ATWRReceiver:Restore default parameters: ATRESet receiver destination address: ATDL = 0x5678Set receiver source address: ATMY = 0x1234Set receiver input address: ATIA = 0x5678Enable uart output: ATIU = 1Set P0 in order to drive the RSSI LED according to signal strength: ATP0 = 1Write parameters to non-volatile memory: ATWR Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.