- Posts: 588
skyartec compatibility
- Hexperience
- Offline
There are 10 types of people in this world. Those that understand binary and those that don't.
Please Log in or Create an account to join the conversation.
- RandMental
- Offline
- Posts: 521
tx wrote: The low power output is a software issue,
Note this is the power output from the CC2500 which it what gets fed to the power amplifier that pushes it higher. So +1dBm on the CC2500 is I believe approximately +20dBm output from the power amp.
Hi tx,
Thanks for the reminder and the code change required. I tested both 0XFF and 0XFE and the 0XFE did give a lower output compared to the 0XFF as it should. I saw no other funnies on the spectrum.
Most important is that the CC2500/Skyartec module output with 0XFF is about 2dBm down on the XL7105 and CYRF module output at their 150mW settings. I am happy it proves it's a CC2500 power setting in Deviation and not a HW module or antenna problem.
Hex,
Interestingly your 12S antenna looks like the ones I received with both my 8s Devos. I added two external antennas (like the smaller one on you photo) for the XL7105 and CC2500 modules. By switching the longer and shorter antennas around I do notice a lower output from the smaller antenna, my guess is noit even 2dBm.
Please Log in or Create an account to join the conversation.
- stein@office-center.no
- Offline
- Posts: 58
Where do I find skyartec_init() ?
Please Log in or Create an account to join the conversation.
- RandMental
- Offline
- Posts: 521
stein@office-center.no wrote: HI
Where do I find skyartec_init() ?
I assume you want to know where to set the power? It is in skyartec_cc2500.c in the protocol directory.
static void skyartec_init()
{
CC2500_Reset();
CC2500_WriteReg(CC2500_16_MCSM2, 0x07);
CC2500_WriteReg(CC2500_17_MCSM1, 0x30);
CC2500_WriteReg(CC2500_1E_WOREVT1, 0x87);
CC2500_WriteReg(CC2500_1F_WOREVT0, 0x6b);
CC2500_WriteReg(CC2500_20_WORCTRL, 0xf8);
CC2500_WriteReg(CC2500_2A_PTEST, 0x7f);
CC2500_WriteReg(CC2500_2B_AGCTEST, 0x3f);
CC2500_WriteReg(CC2500_0B_FSCTRL1, 0x09);
CC2500_WriteReg(CC2500_0C_FSCTRL0, 0x00);
CC2500_WriteReg(CC2500_0D_FREQ2, 0x5d);
CC2500_WriteReg(CC2500_0E_FREQ1, 0x93);
CC2500_WriteReg(CC2500_0F_FREQ0, 0xb1);
CC2500_WriteReg(CC2500_10_MDMCFG4, 0x2d);
CC2500_WriteReg(CC2500_11_MDMCFG3, 0x20);
CC2500_WriteReg(CC2500_12_MDMCFG2, 0x73);
CC2500_WriteReg(CC2500_13_MDMCFG1, 0x22);
CC2500_WriteReg(CC2500_14_MDMCFG0, 0xf8);
CC2500_WriteReg(CC2500_0A_CHANNR, 0xcd);
CC2500_WriteReg(CC2500_15_DEVIATN, 0x50);
CC2500_WriteReg(CC2500_21_FREND1, 0xb6);
CC2500_WriteReg(CC2500_22_FREND0, 0x10);
CC2500_WriteReg(CC2500_18_MCSM0, 0x18);
CC2500_WriteReg(CC2500_19_FOCCFG, 0x1d);
CC2500_WriteReg(CC2500_1A_BSCFG, 0x1c);
CC2500_WriteReg(CC2500_1B_AGCCTRL2, 0xc7);
CC2500_WriteReg(CC2500_1C_AGCCTRL1, 0x00);
CC2500_WriteReg(CC2500_1D_AGCCTRL0, 0xb2);
CC2500_WriteReg(CC2500_23_FSCAL3, 0xea);
CC2500_WriteReg(CC2500_24_FSCAL2, 0x0a);
CC2500_WriteReg(CC2500_25_FSCAL1, 0x00);
CC2500_WriteReg(CC2500_26_FSCAL0, 0x11);
CC2500_WriteReg(CC2500_29_FSTEST, 0x59);
CC2500_WriteReg(CC2500_2C_TEST2, 0x88);
CC2500_WriteReg(CC2500_2D_TEST1, 0x31);
CC2500_WriteReg(CC2500_2E_TEST0, 0x0b);
CC2500_WriteReg(CC2500_00_IOCFG2, 0x0b);
CC2500_WriteReg(CC2500_02_IOCFG0, 0x06);
CC2500_WriteReg(CC2500_07_PKTCTRL1, 0x05);
CC2500_WriteReg(CC2500_08_PKTCTRL0, 0x05);
CC2500_WriteReg(CC2500_3E_PATABLE, 0xfe); //raise default power
CC2500_WriteReg(CC2500_09_ADDR, 0x43);
CC2500_WriteReg(CC2500_06_PKTLEN, 0xff);
CC2500_WriteReg(CC2500_04_SYNC1, 0x13);
CC2500_WriteReg(CC2500_05_SYNC0, 0x18);
CC2500_Strobe(CC2500_SFTX);
CC2500_Strobe(CC2500_SFRX);
CC2500_Strobe(CC2500_SXOFF);
CC2500_Strobe(CC2500_SIDLE);
}
Please Log in or Create an account to join the conversation.
- stein@office-center.no
- Offline
- Posts: 58
Feel a bit stupid now - having worked with computers since 1985.
I open the Devo disk by pressing ENT when powering on the Devo10.
I then get the filesystem.
There is 5 directories.
language
media
mdelico
models
template
An two files
errors
tx
So getting to the protocol directory, I can not figure out.
I guess You have to feed me by teaspoon
Please Log in or Create an account to join the conversation.
- stein@office-center.no
- Offline
- Posts: 58
It also seems that there is a difference between Devo7 an Devo10 about this in the Firmware manual... page 7
\protocol\*.mod (Devo7e only):
These contain the protocol files. They must
be re-installed with each firmware upgrade
I think this means that the protocol directory only applies to Devo7 and not Devo10...
??
Please Log in or Create an account to join the conversation.
- FDR
- Offline
bitbucket.org/PhracturedBlue/deviation/s..._cc2500.c?at=default
Please Log in or Create an account to join the conversation.
- stein@office-center.no
- Offline
- Posts: 58
I guess this is the source code and programming I gave up years ago as soon as I was done studying...
I'll just wait for the power issue to be solved in a future release I guess.
Please Log in or Create an account to join the conversation.
- RandMental
- Offline
- Posts: 521
I can build you a Devo10.dfu file to load with higher skyartec power output. PM me your email address.
Cheers
Please Log in or Create an account to join the conversation.
- stein@office-center.no
- Offline
- Posts: 58
Thank You very much. I'll do so..
Cheers
Please Log in or Create an account to join the conversation.
- stein@office-center.no
- Offline
- Posts: 58
Please Log in or Create an account to join the conversation.
- RandMental
- Offline
- Posts: 521
You will now definitely see an improvement in range
Please Log in or Create an account to join the conversation.
- stein@office-center.no
- Offline
- Posts: 58
So quite happy!
Thanks!
Stein
Please Log in or Create an account to join the conversation.
- bigde
- Topic Author
- Offline
- Posts: 33
Please Log in or Create an account to join the conversation.
- stein@office-center.no
- Offline
- Posts: 58
I'm not quite satisfied with my model file for X3V yet but with this config i got one of my X3V's to fly fairly decent - sport mode that is - no 3D.
I use a Devo-10.
Kill Switch is Rudd-DR
ELEV D/R switch i have two sensitivities for Elevator
Gear switch gives me two gyro settings
Mix switch gives med three pitch curve settings
Aile D/R switch gives med two sensitivities for Aileron
FMOD switch gives med three different throttle setup.
I experienced with this model file that all switches in Zero exept for Mix=1 and FMOD=1 gave me the best flying.
But I also must say that a tiny different setup of linkages on the heli will make the heli act different. I try to set up my two X3V the same - but one flew and the other did not. Found that the one not flying had a curved/bent/damageded main blade. Going to change the blades on that one to see if that was the whole thing.
What i do for setup is first to get the swash plate level at powerconnect. I also watch for the servo arms not to go too far at each side. Next i use a simple pitch gauge to the the blades in zero pitch at mid throttle with my setup with the MIX switch at two (third position) which has zero pitch at zero throttle.
Still i had to adjust offset to get enough pitch. But for sure - get the swash level and the blades act with same pitch is a good starting point. Try Your X3V at work bench - just with power connected - see if they act the same.
Pitch curve and gyro sensitivity then is important.
So - this model file is not to be an example - but more like a model file that works for me at the moment - but I plan to do modifications as I learn more.
I'm using the last nightly build by the way.
Stein
Please Log in or Create an account to join the conversation.
- bigde
- Topic Author
- Offline
- Posts: 33
Please Log in or Create an account to join the conversation.
- bigde
- Topic Author
- Offline
- Posts: 33
Any help would be appriciated, I'm afraid to try it again, I just don't know what to expect.
I wish deviation would come out with a all in one module that works,... I'd buy that immediately.
Please Log in or Create an account to join the conversation.
- blackmoon
- Offline
- Posts: 402
- bad motor
- bad esc
- bad receiver
.
.
.
- bad Devo TX, or module
- issue with deviation
To rule out it isn't your helicopter that is the culprit, I would test it with the TX it came in. nasa701 I think.
Then if all is ok, you can investigate your devo12 and deviation code.
Please Log in or Create an account to join the conversation.
- stein@office-center.no
- Offline
- Posts: 58
I've done some writing here already but about the problems bidge has - they do not apply to my setup - fortunately.
1) I have the X3V and Nano Cp - 4 helis in total
2) I have the Devo-10
3) I use the latest nightly build of deviation software in this site
4) In the Devo-10 I've soldered in the original skyartec modul - bought it directly from Skyartec: www.skyartec.com/ProductShow.asp?ArticleID=1977
5) Since soldering inside the radio and onto the module is neccessary I got a friend of mine which is a professional - but not into RC. He followed the manual also found at this site.
6) First I used it without antenna and had a range about 50m. Soldered a antenna to the skyartec module - and now have more than 150 meters range.
I have flown this setup now for aprox 30 batteries - that is aprox 300 minutes. Not a single fault due to software - just faulty heli setup and my own flying errors. I have flown 10 batteries in a row without any crash and not any surprises from heli/radio/software - just a big smile on my face.
If this result comes from using the original Skyartec module - I do not know - but please check into it before altering the code on this
In addition to Skyartec I also has a DSM receiver connected to my simulator - works perfect. I do not dare to think about how many hours. Distance is no problem flying simulator of course...
Stein.
Please Log in or Create an account to join the conversation.
- bigde
- Topic Author
- Offline
- Posts: 33
Please Log in or Create an account to join the conversation.
- Home
- Forum
- Development
- Protocol Development
- skyartec compatibility