Making of XBee-pro 868 based r/c controller

p1030255.jpg?w=300&h=200

I thought to gather few of my experiences while making my own
transmitter / receiver. The project started after I finally moved to 2.4
GHz technology by purchasing Hitec Aurora transmitter. One near crash
later I learned that 2.4 GHz controller and 2.4 GHz video transmitter
don’t play well together. Since here in Finland 2.4 GHz band is just
about the only band available for video without amateur radio license, I
thought to replace Aurora’s transmitter with something different.

The full story can be read here: http://antibore.wordpress.com/2010/08/27/making-of-xbee-pro-868-based-rc-controller/


E-mail me when people leave their comments –

You need to be a member of diydrones to add comments!

Join diydrones

Comments

  • Thanks Janne got it going now, I did look at the data sheet but sometimes it's even better to see and example from someone who has already been there and done it. That's saved me from putting a can over the antenna.
  • Thank you for the fast reply.

    I definitely range tested them using the highest power settings. The range test was done with the stock program set, not with my RC application.

    Good news that you have succes with the range. Probably my modems are faulty.

    Where can I buy new modems online? (I purchased the existing set on a fair)
  • I tried this modems using the evaluation kit. The range was way below the specification, shorter then my Futaba FASST gear. It has problem as close as 1km, clear line of sight.

    Did you range tested the modems? I am curious if my boards are faulty or it's really this short range type.

    Anyway, I wrote some RC control code for it using small PIC devices. The baudrate is pretty slow, so there is an inherent delay according to the frame rate.

    First I just transferred the received values to the servo outputs. Because of the long time to the next sample, the servo movement was jumpy, the servo moved to the value of sample1 and stopped, then to to sample2 etc. It looks and feels terrible, so I wrote a simple smoothing algorithm based on the trend. It was way better, good enough for control a sailplane (but definitely not good for 3d...).

    But finally I dropped the project because of the short range. If you find the range better, I consider buying a set of new and better modems...
  • Refer to datasheet on this address: http://ftp1.digi.com/support/documentation/90001020_a.pdf
    Command interface works just like in old modems. String "+++" will get the module to command mode. In command mode use ATPL {0-4} to set the desired power level. Remember to save the setting with ATWR command, otherwise modem reverts back to old setting at next reset. ATCN exits the command mode. I recommend to change guard times before and after the +++ string to speed up the transition to command mode.
  • Great work. I've flown an easystar all summer using the same modules having had binding problems with spektrum gear. please could I ask what the strings were you sent to put the 868 into command mode and the power settings strings ? I've the same problem as you where trying to set off using the modules in high power and it just doesnt work very well (if at all) so this week i've been looking at altering my GCS to include changing the module power output based on distance.
    Thanks,
    James
  • Hi Janne

    Great work.
    I think Xbee's very useful for robust connections, only problem is they have tx buffer for 4000 bit per second or more bandwidths and if you try to send more data they are buffering and generating big delays :(

    We produced RXbee boards but didnt released because this reason. I will sell them for robotic or other usages in few weeks. (not for planes)

    If you are using Atmel processors for developing your codes, I can send a RXBee board for testing, you can load your own code with MegaLoader boot loader. Just send me your address with a PM ;)

    This is first version of RXBees and a test video

    rxbee.jpg



    Cheers
    Melih
This reply was deleted.