Help Starting up With XBees

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?
That's not an explosion! That's an unscheduled rapid disassembly!

Comments

  • Ok, I looked at your other units that seem to connect with just straight SPI interface.

    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

  • XBee code is everywhere around here, I couldn't find any code for these units.
    That's not an explosion! That's an unscheduled rapid disassembly!
  • XBee documentation is good. Could not find any documentation on your units "E01-ML01DP5". They only show the pin connections and not how the data is put together nor if you need to pair two units together.

    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
  • rosco_pcrosco_pc Posts: 318
    edited 2019-03-08 - 13:54:06
    XBee code is everywhere around here, I couldn't find any code for these units.

    They lok like nordic modules. Here is some code https://forums.parallax.com/discussion/133053/nordic-nrf24l01-bs2-code-example
    Stockholm, Sweden
    I am only an egg -- Stranger in a Strange land, Robert A. Heinlein
  • They are indeed just a backpack of the nrf24L01 transceiver. I went down that rabbit hole in my previous search for info, and the link to the propeller code is now broken. Am going to try the OBEX.
    That's not an explosion! That's an unscheduled rapid disassembly!
  • Tracked down a possible match. Will try to check it out tomorrow, as I don’t know how to read Spin code on an iPhone!😁
    That's not an explosion! That's an unscheduled rapid disassembly!
  • Not sure if the code from the "Programming and Customizing" book is of any help:

    ftp://ftp.propeller-chip.com/PCMProp/Chapter_05/
    Failure is not an option...it's bundled with the software.
  • If it does use the Nordic chip then this is a manual for it. Very complicated to setup but once configured should work just fine.

    Mike
  • This may help... Attached zipped SimpleIDE Spin project.
    Livermore, CA (50 miles SE of San Francisco)
Sign In or Register to comment.