Author Topic: XBEE Configuration  (Read 2887 times)

0 Members and 1 Guest are viewing this topic.

Offline mh325Topic starter

  • Beginner
  • *
  • Posts: 3
  • Helpful? 0
XBEE Configuration
« on: November 19, 2010, 02:12:00 PM »
hey guys,

i have 3 xbees series 1. what i want to do is when i put voltage in a designated pin in xbee 1, i want it to transmit to xbee 2 and xbee 3 giving me a high on a pin, and when a designated pin in xbee 2 gets voltage, to transmit to xbee 1 and xbee 3 giving me high on a pin, and when a designated pin in xbee 3 goes high, to transmit to xbee 1 and xbee 2, giving me a high on a pin.

i tried to play around with X-CTU, but i was not able to get it to work.

do you have any suggestions on what i can do?

thanks

Offline madsci1016

  • Contest Winner
  • Supreme Robot
  • ****
  • Posts: 1,450
  • Helpful? 43
    • Personal Website
Re: XBEE Configuration
« Reply #1 on: November 19, 2010, 07:46:51 PM »
I'm not an expert on Xbee's, but I do know you need at least Series 2 models to support mesh networks like you are trying to do. The series 1 only did 2 unit pair point-to-point communications.

Offline mh325Topic starter

  • Beginner
  • *
  • Posts: 3
  • Helpful? 0
Re: XBEE Configuration
« Reply #2 on: November 20, 2010, 05:00:37 PM »
i actually read on many sites that series 1 works for this point to point configuration.
i am trying to do just have xbee 1 to transmit to xbee 2 for now, but i cant seem to get it to work. do you have any idea on how i should configure/wire it?

thanks

Offline KurtEck

  • Robot Overlord
  • ****
  • Posts: 217
  • Helpful? 12
Re: XBEE Configuration
« Reply #3 on: November 20, 2010, 05:31:55 PM »
Sorry, but I have not tried anything with the external pins, I simply use my XBees to communicate between two processors.

But it might help to know some additional things like, what commands have you tried?  My first guess would be to use the IC command... But this also requires a version of the firmware of at least 1.xa0... Which would suggest the next question.  What version of the firmware are you running on your XBees.  For example the one I sometimes hook up to my PC with a USB adapter has version 1084 which would not support this command.

Kurt

Offline mh325Topic starter

  • Beginner
  • *
  • Posts: 3
  • Helpful? 0
Re: XBEE Configuration
« Reply #4 on: November 20, 2010, 06:17:20 PM »
here are the commands i used

INPUT MODULE:
ATID3456 –> PAN ID
ATMY1 –> my address 1
ATDL2 –> destination address 2
ATD02 –> input 0 in analog mode
ATD13 –> input 1 in digital in mode
ATIR14 –> sample rate 20 milliseconds (hex 14)
ATIT5 –> samples before transmit 5
ATWR –> write settings to firmware

OUTPUT MODULE:
ATID3456 –> PAN ID
ATMY2 –> my address 2
ATDL1 –> destination address 1
ATP02 –> PWM 0 in PWM mode
ATD15 –> output 1 in digital out high mode
ATIU1 –> I/O output enabled
ATIA1 –> I/O input from address 1
ATWR –> write settings to firmware

i am using XB24, version 10E8.
i had vcc and ground connected, and gave DI1 voltage to transmit to DO1, but the connected led was aways high even if i disconnected DI1

 


Get Your Ad Here

data_list