Help Starting up With XBees
AwesomeCronk
Posts: 1,055
in Accessories
forums.parallax.com/discussion/168825/e01-ml01dp5-spin-or-bs2-code
After searching and searching for sample code, I caved and decided to get XBees. Now I need help deciding which ones to get. Which model will provide a good range with lower range cost? Also, does the USB adapter board let a Stamp connect like the 5v/3.3v board does?
After searching and searching for sample code, I caved and decided to get XBees. Now I need help deciding which ones to get. Which model will provide a good range with lower range cost? Also, does the USB adapter board let a Stamp connect like the 5v/3.3v board does?
Comments
So, don't know why you would need a driver for it.
You set CS low and then send it 1 to 32 bytes of data.
This is the same with XBee's. You use serial data at 9600 8, None 1 and send it.
I have used the Pro version. You need the USB adapter so that you can connect the units to your computer and program them to talk to each other. Each unit is programmed with the others address so that when they are in transparent mode the data is just sent to the other unit and received.
The hard part is programming them to talk to each other.
I fear that if you can't get the other units to work this may have the same issues.
You will need the 5v to 3.3v adapter board to use these units with a 5v device.
I can't help with the spin code as I did everything in C code.
Mike
I would assume they just talk to each other.
I know getting the XBee's to work at first was difficult but once you pair the units together it just works. I used them to build a transmitter to control a model tank unit.
Mike
They lok like nordic modules. Here is some code https://forums.parallax.com/discussion/133053/nordic-nrf24l01-bs2-code-example
ftp://ftp.propeller-chip.com/PCMProp/Chapter_05/
Mike