RC India

RC Equipments => Radios and Receivers => Topic started by: udawatabhimanyu4 on August 25, 2010, 01:49:16 AM

Title: DIY Radio
Post by: udawatabhimanyu4 on August 25, 2010, 01:49:16 AM
Hi Everybody,
I would like to share with everyone what i found on the internet a while ago.
Is it possible to control an RC plane/heli without using these expensive radios?
To make our own DIY radio (using xBee!!). On radioclone.org it says that it is
some kind of a hack on an old radio, but i wanted to know that is it possible to
make our own radio - receiver/transmitter from scratch..
Just the communication part of the receiver and transmitter, like using Atmel microcontroller.
I have plans for the joystick (analog+digital).
Title: Re: DIY Radio
Post by: ujjwaana on August 25, 2010, 01:54:54 AM
You could either be a R/C enthusiast flying a Plane with a commercially available Tx/Rx or DIY trying to make one for a fellow flyer.

more than the RF part, its the Error correction, reliability, Resilience goes into a Tx.

Even if you make one using XBee, its gonna be costly at the end of the, even when compared to moderately priced commercial Radio.

Unless you are a true Electronics nerd, please spend more time with plane building and flying. 
Title: Re: DIY Radio
Post by: udawatabhimanyu4 on August 25, 2010, 02:10:37 AM
Hello Sir,
Thanks for the quick reply. You got me. I am an electronics DIYer
and was interested in developing a radio from scratch. xBee was just an option.
I am not familiar with radio communications till now, so i will
be glad if i can get some light over this part, the microcontroller used, etc.
I really want to see my own home made radio flying my planes.
I have my plans for the joystick - the buttons and the analog stick!!
By the way, I am a final year Electronics & Communication Engg.



Title: Re: DIY Radio
Post by: izmile on August 25, 2010, 03:24:20 AM
Hi Udawat,

xBee is an option, if you do not want to get your hands dirty with RF electronics. Further, xBee is an expensive solution compared to traditional RF electronics. I see that you are looking for an one-off build, so, I presume the excess cost may not be an issue. I'd say, build one for yourself and have fun!

-Ismail
Title: Re: DIY Radio
Post by: udawatabhimanyu4 on August 25, 2010, 12:36:52 PM
Hi Ismail,
If i cannot go deeper than xBee, then i presume i will go
with it. But cost is an issue and i wanted to get even deeper
into RF. I am interested in RC planes and wanted it to be my
final year Major project. But since the communication part is
ready-made, i.e., simply buying the Radio, i was wondering
it won't be considered; as there is nothing i did in it except for
the plane model and putting together the prop, motor, servos. :)
Title: Re: DIY Radio
Post by: izmile on August 25, 2010, 05:48:32 PM
There are quite a few circuits on the web that should get you started. If you are planning to do this for your final year project then I would advise you to go with xBee. That would be the easiest way of doing it and xBee is also the buzz word to attract attention.

Besides, nowadays, people do not appreciate original/scratch work - I bet if you develop your own RF transmitter/receiver with all the mathematical modelling etc, you would be winked at using an outdated technology... and your fellow mates that has bought some off-the-shelf hiend equipment for their project will be treated like geniuses!...

-Ismail
Title: Re: DIY Radio
Post by: udawatabhimanyu4 on August 25, 2010, 08:05:28 PM
Thanks for the advice Ismail. I am starting to dig for RF Tx/Rx circuits
around the net and will post some useful results which can be of help...
Title: Re: DIY Radio
Post by: anwar on August 26, 2010, 04:00:06 PM
xBee seems to be widely used in the diydrones.com crowd, for a variety of tasks.
Title: Re: DIY Radio
Post by: udawatabhimanyu4 on August 26, 2010, 05:57:51 PM
Thanks for the reply Anwar. Their ArduPilot project is very cool.
Solely dedicated to the RC community.
Now some links related to xBee which i found on the internet:
1) http://vimeo.com/3508123 - xBee Config Tutorial - nice video
2) http://diydrones.com/notes/ArduPilot - quite heavy for the pocket
3) http://www.ladyada.net/make/xbee/solder.html - nice site for custom xBee soldering
4) http://www.makingthings.com/documentation/tutorial/xbee-wireless-interface/overview - its a complete tutorial by a reputed site. See the bottom of page for Next buttons
5) digi.com - for their XCTU software
Title: Re: DIY Radio
Post by: anwar on August 26, 2010, 06:16:33 PM
I got quite a bit of electronics stuff from sparkfun.com.  Here is a search listing for XBee there.

http://www.sparkfun.com/commerce/advanced_search_result.php?keywords=xbee&x=0&y=0&search_section=products

Tons of choices.
Title: Re: DIY Radio
Post by: udawatabhimanyu4 on August 26, 2010, 07:17:04 PM
Hi, Anwar. Sparkfun have way too many choices for a beginner!
If someone wants to get into RC using xBees, then what sort
of xBee would be required - the basic or the Pros. Like there is
a difference of range in both these models - 300ft and 1 mile.
What do you recommend for a lightweight plane control?
And also - in the above video link - vimeo - xBee config, he uses
two arduinos with xBees; is the Arduino really required?
Title: Re: DIY Radio
Post by: vinay on August 26, 2010, 07:23:52 PM
300 ft would be 100 mts, almost the distance b/w 2 goals of a football field, when you are anyway building y not the 1 mile?
All depends on your budget though.  :thumbsup:
Title: Re: DIY Radio
Post by: mpsaju on August 26, 2010, 09:42:09 PM
Hey Udwat

Why don't you use a Assan X8D hack module. This is a module which takes PPM signals  for upto 8 channels and transmits it in2.4gHz. They also have their own receivers which can be bought quite cheap... Sai has them. IF you are talking of joysticks, why not buy a simulator again from Sai and develop just the electronics for creating the PPM signals. The simulator would also give you a case to house everything in and you do not have the drudgery of developing the Tx and Rx parts yourself. The PPM part is where all the brain is... servo reversing, combining channels, trims, memory, etc. You can expand this project to where you want to go ... and this is quite do-able and practical.

I have used the X8D for converting my Futaba 6EX 40Mhz to 2.4ghz at the flick of a switch and it works quite fine. I have also done the same for Dr. Basu and he has also been using this quite effectively for the last 6 months or so. The range is also quite good... about 400m at ground level. Sai has also got one such system which he has been using quite regularily every week-end with no after effects. In fact with the 2.4ghz Assan we do not have to do a range check at all.

Any further info please do not hesitate to ask.


Saju
Title: Re: DIY Radio
Post by: dileepbalan on August 27, 2010, 07:46:59 AM
Hi Udwat,

Hope the following link may give you a lot of info
http://www.rcgroups.com/forums/showthread.php?t=994433

Regards,
Dileep
Title: Re: DIY Radio
Post by: udawatabhimanyu4 on August 27, 2010, 02:22:14 PM
@Vinay: Thats a nice comparison. I myself am a football player :)
If the budget permits, i will buy the 1 mile module.

@saju: I am not that good at PPM circuitry. But will look at Sai
what he has to offer. Any info on PPM (basics) would be welcomed.
About the joystick, i am already prepared to make it. It will be using
tilt accelerometers (and hopefully gyro) from analog devicesTM
So that the control would be like real world.

@dileep: The link is very nice with lots of pics. I think this is what
saju has used to make his convertible 2.4 Ghz Assan Radio. (no offence!)
Title: Re: DIY Radio
Post by: udawatabhimanyu4 on August 27, 2010, 02:30:50 PM
I had this !dea of the joystick/gamepad which i saw
implemented here:
http://prusadjs.cz/2009/07/iphone-controlled-rc-car-updated/

I had the idea before watching this video  ;D
Title: Re: DIY Radio
Post by: xxkrishxx on August 27, 2010, 02:41:39 PM
Quote from: dileepbalan on August 27, 2010, 07:46:59 AM
http://www.rcgroups.com/forums/showthread.php?t=994433
nice link man..
Title: Re: DIY Radio
Post by: anwar on August 28, 2010, 08:31:57 PM
http://antibore.wordpress.com/2010/08/27/making-of-xbee-pro-868-based-rc-controller/

Also, see this :

http://www.youtube.com/watch?v=1yJpZ_TA9Zs
Title: Re: DIY Radio
Post by: anwar on August 28, 2010, 08:34:58 PM
Quote from: udawatabhimanyu4 on August 26, 2010, 07:17:04 PM
And also - in the above video link - vimeo - xBee config, he uses
two arduinos with xBees; is the Arduino really required?
"
An RC control system is not just transmission (which the XBee seems to take care of), but it also needs a "brain" that can translate stick positions, do mixing, signal modulation, sending PWM signals to servos etc on the receiver end etc (depending on what features you plan to implement).  The arduinos can play that role.  At least, this is my understanding, standing on the fringes !
Title: Re: DIY Radio
Post by: udawatabhimanyu4 on August 29, 2010, 10:44:12 AM
Thanks Anwar, the video was really great. It seems like
2 xBees with its Explorer USB kit and an Arduino would
be required for this project.
Can you compare my following options: (range Vs cost - what should be given more
                                                       weightage? Remember its for plane, not car)
1.) XBee Pro 60mW Wire Antenna - http://www.sparkfun.com/commerce/product_info.php?products_id=8742
2.) XBee 2mW Series 2.5 RPSMA - http://www.sparkfun.com/commerce/product_info.php?products_id=8692
3.) XBee 2mW Series 2.5 Wire Antenna - http://www.sparkfun.com/commerce/product_info.php?products_id=8695
One more thing, Is there a need for second Arduino on the plane itself (receiver)?
Title: Re: DIY Radio
Post by: vksingh on August 29, 2010, 10:48:34 AM
One can buy the stuff from Indian sellers and have the feel of price.

www.feemo.in
http://www.rhydolabz.com
www.bhasha.co.cc
Title: Re: DIY Radio
Post by: udawatabhimanyu4 on August 29, 2010, 12:02:34 PM
Thank you very much Mr. Singh. I really wanted to see
those sparkfun figures in Rs (shipping only costs $30) :bow:
Title: Re: DIY Radio
Post by: vksingh on August 29, 2010, 08:57:35 PM
Hi Udawat,
Please find below a link for RC Radio DIY, hacks n mods
http://www.lynxmotion.net/viewforum.php?f=21
Title: Re: DIY Radio
Post by: udawatabhimanyu4 on August 30, 2010, 04:37:44 PM
Quote from: vksingh on August 29, 2010, 08:57:35 PM
Hi Udawat,
Please find below a link for RC Radio DIY, hacks n mods
http://www.lynxmotion.net/viewforum.php?f=21

This is the ultimate resource for making a DIY RC Radio.
Thank you very much...
Title: Re: DIY Radio
Post by: izmile on August 30, 2010, 05:15:48 PM
Also have a look at http://home.nordnet.fr/~fthobois/anglais/engl-index.htm   (100% scratch built TX and RX)

This link has been posted by someone previously in this forum

Title: Re: DIY Radio
Post by: udawatabhimanyu4 on August 30, 2010, 07:43:42 PM
Quote from: izmile on August 30, 2010, 05:15:48 PM
Also have a look at http://home.nordnet.fr/~fthobois/anglais/engl-index.htm   (100% scratch built TX and RX)

This link has been posted by someone previously in this forum


Thanks Ismail Bhai. The site is a bit old but is a good resource though.
Title: Re: DIY Radio
Post by: udawatabhimanyu4 on September 02, 2010, 01:19:14 AM
Quote from: udawatabhimanyu4 on August 27, 2010, 02:22:14 PM
@Vinay: Thats a nice comparison. I myself am a football player :)
If the budget permits, i will buy the 1 mile module.

@saju: I am not that good at PPM circuitry. But will look at Sai
what he has to offer. Any info on PPM (basics) would be welcomed.
About the joystick, i am already prepared to make it. It will be using
tilt accelerometers (and hopefully gyro) from analog devicesTM
So that the control would be like real world.

@dileep: The link is very nice with lots of pics. I think this is what
saju has used to make his convertible 2.4 Ghz Assan Radio. (no offence!)
Its PWM; not ppm....
Title: Re: DIY Radio
Post by: anwar on September 06, 2010, 05:19:16 AM
People are using XBees often instead of regular RC stuff, it seems.

http://diydrones.com/forum/topics/quadrotor-xbee-replacing-rc
Title: Re: DIY Radio
Post by: udawatabhimanyu4 on September 06, 2010, 08:53:46 PM
Thanks Anwar...
We are working on the theory of interfacing of the xBee
modules with Arduino and the joystick. Hope to find a solution
soon. I will post our progress; if we make any :)
Title: Re: DIY Radio
Post by: vksingh on September 07, 2010, 11:02:12 AM

For Joy Stick
http://www.arduino.cc/en/Tutorial/JoyStick

For Xbee
http://www.arduino.cc/playground/Shields/Xbee01
Title: Re: DIY Radio
Post by: udawatabhimanyu4 on October 31, 2010, 11:15:24 PM
Hi all,
After two months of intense research on the internet, we have decided to purchase the following components from Sparkfun Electronics:
Serial No.
1
2
3
4
5
6
7
8
9
10
11
11
12
13
13
14
15
16
17
Total

Shipping
Products
XBee-PRO 802.15.4 module w/ wire antenna (Series 1)
XBee-PRO 802.15.4 module w/ RPSMA connector (Series 1)
2.4 GHz Antenna
Arduino Uno
Arduino Fio
XBee Explorer USB
Breakout Board for XBee Module
2mm 10pin XBee Socket
Thumb Joystick
Breakout Board for Thumb Joystick
Micro Maestro 6-channel USB Servo Controller
Serial Servo Controller
TLC 5940 - PWM Driver
Triple Axis Accelerometer Breakout - ADXL335
Triple Axis Accelerometer Breakout - MMA7361
Gyro Breakout Board - LPR530AL Dual 300°/s
AVR 28 Pin 20MHz 32K 6A/D - ATMega328
ATmega328 with Arduino Bootloader
Polymer Lithium Ion Battery - 900mAh
Unit Price
Rs. 1984.00
Rs. 2108.00
Rs. 325.00
Rs. 1353.00
Rs. 1152.11
Rs. 1152.11
Rs. 136.22
Rs. 46.18
Rs. 182.40
Rs. 90.04
Rs. 921.23
Rs. 828.87
Rs. 274.75
Rs. 1152.11
Rs. 921.23
Rs. 1383.00
Rs. 198.56
Rs. 253.97
Rs. 413.28
Rs. 15,000

Rs. 4,000

Cannot decide between S. No. 11 and 13. Is the Polulu's Micro Maestro really useful for RC Servo control?
Any suggestions are welcomed. If you feel like adding or removing any item, please comment...
Title: Re: DIY Radio
Post by: udawatabhimanyu4 on April 06, 2011, 10:37:02 PM
Hi all,
We received the items from Sparkfun and xBee modules from Bangalore.
Started to tinker with the Arduino!
In between, we attended a workshop conducted by Aerotrix at BITS, Pilani.
It was a good experience on building our first aircraft model with all the theory
and formulae behind it.
Will post the work regularly from now on.
Title: Re: DIY Radio
Post by: udawatabhimanyu4 on February 17, 2012, 08:16:18 PM
Hey everyone
Find the pics attached below and let us know what do you think:
A working DIY Radio.
Tested: range on ground - 250 metres.

Title: Re: DIY Radio
Post by: Swapnil on February 17, 2012, 09:06:59 PM
Wow, looks good!  {:)}

Are you planning to use it with an airplane or a surface vehicle?
Title: Re: DIY Radio
Post by: udawatabhimanyu4 on February 17, 2012, 09:13:15 PM
Thanks.
Absolutely an airplane.
You can see a bldc in the pics without the prop.
Title: Re: DIY Radio
Post by: Swapnil on February 17, 2012, 09:22:59 PM
Oh, right. The centered joysticks had me confused! Does the throttle stick maintain its position or does it have a 'centering' spring?
How many channels does it have and how much did it cost? Sounds like a good project. I'd like to suggest it to some of my juniors.
Title: Re: DIY Radio
Post by: udawatabhimanyu4 on February 17, 2012, 09:41:51 PM
The joystick is a spring-loaded one meaning it comes
to the centre after released. Its coded to be Zero Throttle in the centre.

The datasheet says 12 channels. But, i guess, if you are efficient
in coding you can squeeze in a bit more.

Cost - The radio or the full setup?
xBee Pro Radio Tx-Rx is about 4.5k total with antenna.