21 mai 2009

Home made RC for the summer and travels


Here is my new home made RC. It features 8 channels, a module 2.4Ghz Assan for transmission, configuration by PC, Micro SD 2GB, mixers, and settings fully configurable by the software.
The transmitter box and sticks comes from low cost transmitter (could have been a RC joystick).
The microprocessor is an AVR Atmega 644P, and the software is my own called RCHv2. My brand new flying wing "weasel" will be the beta tester. More to come soon...

18 mai 2009

More to come

I have been working hard on RCH recently. PC configuration through command line is working, model storage on SD card, and connection to PPM module.
Stay tune for more details of this transmitter hack soon.

29 avril 2009

New toy

AVR 1280, more flash, more SDRAM, and best of all more IOs .... This is the Arduino Mega. Cool...

26 avril 2009

Radio Parameters settings

All the configuration parameters can now be configured through a command line from the PC. Open a terminal window, and set a parameter.

The design I choose intend to leave as much as possible flexibility to program a model. There is no preassociation of functions or mixers to any channel. Each possible function however has to be predefined, and is part of the software in the radio. For someone who knows a bit of programming, it is easy to add a new function which will do whatever you want, and can be assigned to almost anything.

Functions are splitted in that way:
- controls settings (stick, switch): ADC number, calibration values, ...)
- channel settings: they are split in two subcategories:
-- sigma: this is mixers (differential, snap, etc...) anything that need to sum the input from various sources, but does really change the unit of a value,
-- gamma: transform the value: this is sub trim, min pulse, max pulse, reverse, etc...)

All these functions ensure that the values entries from the stick or switch, are computed for the channel.

Okay, there are still a lot of missing stuff in the software such as "names" for every function, control, switch. This will be added later on, if there is any interest.

Here is below a video showing the configuration of the sub-trim for elevator, and then followed by a rate change of the snap function.
Look carefully the servo courses.

25 mars 2009

Configuration

The software of RCHv2 is growing slowly by surely :) After many thoughts, I decided that the configuration of the mixers will be done through "xml" like commands. "xml" is a structured language to specify datas, very useful when datas start to be complex and a lot imbricated. And this is the case with the software of the radio, because I wanted it to be powerfull and generic enough to allow users to do powerfull mix without headaches. If I fail, then I will provide 'aspirin' to anyone who wants to build and use an RCH system :)

So, given that there is a lot to do to reach that objective, I am trying to proceed small steps by small steps, which is not always obvious. My next step is to allow the configuration of RCHv2 from a PC with an XML configuration file.
You should say "ok, but what's the benefit of that ? " answer is: to be able to provide almost any kind of parameters to the radio, thus to allow to program anything. You could argue that "xml" has a cost, and that it takes SRAM ressources as well as CPU. Answer: Yes that's not wrong, but I 'll give a try on an AVR8bits, and I am pretty sure that CPU resources will be very small, and that there will be still sufficient SRAM memory to proceed.
Once config from XML will work, it will be a great step forward.
I have also planned to add a second avr644P for LCD and keyboard handling.

Please comment, if you think what I am doing is stupid, obvious, or bad way, thanks in advance :)

03 mars 2009

Some Spectrum measurements

Last monday I had the opportunity with friends to do some measurements of spectrum on various 2.4Ghz modules.
The initial intention was to measure the difference between 2.4Ghz antennas, but the environment (in a shop) reveals that it was impossible.
So, no results about the antenna efficiency, but we could observe the spectrum of various transmitter. Thanks to flash-rc who makes this possible to test different transmitter from various vendors.
First, here is the spectrum print for the Xbee module that is used in some home made RC. You can see that the spectrum is not very sharp around the 2.46Ghz channel, and there are many harmonic around.



Then we tried Assan module. Very interesting. Its Spectrum is very sharp and neat. It uses DHSS technology with two channels simultaneously as Spectrum. It looks clean.





Then we tried several transmitter together to compare their Spectrum. The picture below shows Assan, Spektrum and Xbee. The Xbee transmit only on one single channel at a time.



Finally, we tried two Futaba transmitters simultaneously. On the picture you can see that they use the entire spectrum 2.4Ghz. They use the FHSS technology. Don't be afraid by this picture, the spectrum here is remanent and it does not mean that the radio continuously emit on all these channels at the same time.



In conclusion of all this, if I have to buy 2.4Ghz module, I would seriously investigate Assan as their Spectrum looks very clean, which make feel confident in it. But of course it is just one aspect. In addition, it looks that the DHSS technology is more suited to RC because it seems to be more robust against jamming. DHSS techology is based on CDMA, made for the Army for Missile guidance and comms. More info on DSS techno here. FHSS primarly purpose is communication crypting for army to prevent comms hijacking. [edit] But it looks that FHSS used by Futaba is not exactly same as FHSS used by the army. Subject is complex. There is an interesting thread about this on rcgroups