HontaiTec Quadcopters (HT F801, HT F803,...)

More
10 Jun 2015 18:26 - 10 Jun 2015 18:31 #33791 by greenfly
Replied by greenfly on topic HontaiTec Quadcopters (HT F801, HT F803,...)
Oh... I can get headless mode to work... I just had to tie it to my HOLD1 switch.

I mean... I had it as a trim button and that did not seem to work.
Last edit: 10 Jun 2015 18:31 by greenfly.

Please Log in or Create an account to join the conversation.

More
10 Jun 2015 18:27 #33792 by Durete
I will test again...

Please Log in or Create an account to join the conversation.

More
10 Jun 2015 18:31 #33793 by Durete
Oooohhhh yes! It's working. I missed something at first test ;)
Great!

Please Log in or Create an account to join the conversation.

More
10 Jun 2015 18:38 #33794 by Durete
So at this moment we have:
Throttle. Perfect.
Rudder. Slightly drifting. Mine to the right, Greenfly to the left
Elevator perfect.
Aileron perfect.
Flips perfect.
Headless perfect.
RTH perfect, but probably difficult to configure at TX.
Video working.
Picture needs to be addressed. Probably with Greenfly's SPI captures.
Trimmers also needs to be corrected, since Hexfet remove to debug the code.
Also we need to figure the relation between TX ids and RF channels. Greenfly's captures will be helpful, but maybe will be needed to capture at RX side. (No problem for me very easy :) I will need some help because never did before )

@Greenfly. I'm right at my summary?

Please Log in or Create an account to join the conversation.

More
10 Jun 2015 18:45 #33795 by greenfly
Replied by greenfly on topic HontaiTec Quadcopters (HT F801, HT F803,...)
Yes, that sounds right.

I will be able to do RX side captures as well... but I have to take the whole quad apart to get to the pins.
Attachments:

Please Log in or Create an account to join the conversation.

More
10 Jun 2015 18:49 #33796 by Durete
Yep, it's the same RX module :)
In fact, the main difference between your TX and mine, is your has a RF module without PA(probably the same mounted at RX side) and mine with PA.

Please Log in or Create an account to join the conversation.

More
10 Jun 2015 20:01 #33799 by greenfly
Replied by greenfly on topic HontaiTec Quadcopters (HT F801, HT F803,...)
@hexfet
This is my first attempt to capture as well. Hopefully I did it right.
Attachments:

Please Log in or Create an account to join the conversation.

More
10 Jun 2015 20:05 - 10 Jun 2015 20:06 #33800 by hexfet
The yaw drift may be just differences in the quads, especially since it's opposite directions. Just due to slightly different code paths, the center value is slightly different for AER (0x20, 0x1f, 0x1f). Stock tx center is 0x20. I thought since there are only 64 values this might make a noticeable difference, but then both Elevator and Rudder should be drifting.

The RTH capture from the stock tx shows the RTH bit staying set until pitch is changed, at which point the bit is cleared. You could set up a mixer to do that to duplicate the stock tx behavior.

I'll look at the trims again tonight, but feel free to play with the code :) Changing the trims on the stock tx while the quad is flying works fine?
Last edit: 10 Jun 2015 20:06 by hexfet.

Please Log in or Create an account to join the conversation.

More
10 Jun 2015 20:13 #33801 by greenfly
Replied by greenfly on topic HontaiTec Quadcopters (HT F801, HT F803,...)
Yes, I can adjust the trims while flying with the stock TX and they seem to have the correct affect.

Please Log in or Create an account to join the conversation.

More
10 Jun 2015 20:32 - 10 Jun 2015 20:32 #33803 by Durete
Just tested the trims with stock TX. Mines work good flying. My rudder trim has 33 points at every side from center (33 to the left, 33 to the right)
My rudder drift is equivalent about 1 point to the right.
Last edit: 10 Jun 2015 20:32 by Durete.

Please Log in or Create an account to join the conversation.

More
10 Jun 2015 22:34 #33807 by hexfet
New test code is pushed to my repo.

In this version the Rudder value is fixed at 0x20. Lets see if there's any drift with sticks centered.
The Rudder driven trim is now enabled. So with your current models the rudder stick movement will only change the trim value. What effect does moving the rudder stick have in this version? Be careful!

Please Log in or Create an account to join the conversation.

More
10 Jun 2015 23:06 #33808 by greenfly
Replied by greenfly on topic HontaiTec Quadcopters (HT F801, HT F803,...)
Hexfet,

When you have the time, I have my SPI captures here

http://wezensky.no-ip.org/owncloud/index.php/s/cFZeyh0CoEYYMOU

I used Logic 1.1.15 to capture and exported the SPI analysis to CSV files in hexadecimal. Hopefully they will be of use.

I still have yet to setup my environment so I can build the project myself... so after dinner I'll give that a shot.

Thanks.

Please Log in or Create an account to join the conversation.

More
10 Jun 2015 23:57 #33809 by hexfet

greenfly wrote: When you have the time, I have my SPI captures here

The captures are good. Nice data set :)

txid: 4C 4B 3A 7A 0A (first three bytes same as Durete's)
data phase channels: 5, 19, 28 (same)
data phase tx address: 54 B2 C9 25 24 (last two bytes same)
Hard to tell anything from two samples...

No changes in the packet data for the "take picture" capture. Does that button take a pic on the aircraft? Does channel 5 on the devo take a pic?
But I don't see anything in the flip data either. Do the captures cover before, during, and after the special function activation? The headless, RTH, and video captures contain the expected data (same bits set as Durete's captures).

Please Log in or Create an account to join the conversation.

More
11 Jun 2015 01:27 #33810 by greenfly
Replied by greenfly on topic HontaiTec Quadcopters (HT F801, HT F803,...)
Actually, I have figured out that for each throttle up... it takes a picture.
Here is another capture of the stock TX during taking a picture. But for some reason I doubt you will see anything.
I tried Channel5, but it did not seem to work.
Attachments:

Please Log in or Create an account to join the conversation.

More
11 Jun 2015 03:08 #33811 by hexfet
LOL Apologies to you and Durete - the picture bit has been there all along. Just hidden in a place I never expected - the LSB of the throttle byte! No wonder your SD card was full of pictures. Fixed throttle/picture code is pushed to the repo.

Sorry, picture control is on channel 7, not 5. Here's the list.
FLIP      CHANNEL6
PICTURE   CHANNEL7
VIDEO     CHANNEL8
HEADLESS  CHANNEL9
RTH       CHANNEL10
CALIBRATE CHANNEL11

Please Log in or Create an account to join the conversation.

More
11 Jun 2015 04:03 #33812 by greenfly
Replied by greenfly on topic HontaiTec Quadcopters (HT F801, HT F803,...)
:cheer:
It's always the last place you look!
I will test asap.
Thanks!

Please Log in or Create an account to join the conversation.

More
11 Jun 2015 05:11 - 11 Jun 2015 05:12 #33813 by Durete
Good Morning from Spain. Very productive night I can see :)
I will test lastest changes ASAP
Thanks guys!!!
Last edit: 11 Jun 2015 05:12 by Durete.

Please Log in or Create an account to join the conversation.

More
11 Jun 2015 14:17 #33834 by Durete

Please Log in or Create an account to join the conversation.

More
11 Jun 2015 15:30 #33835 by Durete
Just tested :)
Throttle, Aileron, Elevator , no problem OK.
Camera controls. Can't test. Greenfly's job :P . But isn't going anything weird when I active the channels.
Flips Working
RTH Working.
Calibration Gyro/Acc Working
But Rudder, now is reversed :huh: And I have slow drift to the left with trims totally centered and Quadcopter calibrated.

Please Log in or Create an account to join the conversation.

More
11 Jun 2015 15:36 #33836 by Durete
I read again your post about fixed rudder value (0x20). So last code version the rudder sticks works as rudder trimmer. Ok.
The rudder sticks movements works ok from full left to full right. Nothing weird. Only reversed.
The yaw drift now is to the left.

Please Log in or Create an account to join the conversation.

Time to create page: 0.115 seconds
Powered by Kunena Forum