HontaiTec Quadcopters (HT F801, HT F803,...)
- greenfly
-
- Offline
Less
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.
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.
- Durete
-
Topic Author
- Offline
Less
More
- Posts: 610
10 Jun 2015 18:27 #33792
by Durete
Replied by Durete on topic HontaiTec Quadcopters (HT F801, HT F803,...)
I will test again...
- Durete
-
Topic Author
- Offline
Less
More
- Posts: 610
10 Jun 2015 18:31 #33793
by Durete
Replied by Durete on topic HontaiTec Quadcopters (HT F801, HT F803,...)
Oooohhhh yes! It's working. I missed something at first test 
Great!
Great!
- Durete
-
Topic Author
- Offline
Less
More
- Posts: 610
10 Jun 2015 18:38 #33794
by Durete
Replied by Durete on topic HontaiTec Quadcopters (HT F801, HT F803,...)
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?
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
@Greenfly. I'm right at my summary?
- greenfly
-
- Offline
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.
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.
- Durete
-
Topic Author
- Offline
Less
More
- Posts: 610
10 Jun 2015 18:49 #33796
by Durete
Replied by Durete on topic HontaiTec Quadcopters (HT F801, HT F803,...)
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.
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.
- greenfly
-
- Offline
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.
This is my first attempt to capture as well. Hopefully I did it right.
- hexfet
-
- Offline
Less
More
- Posts: 1971
10 Jun 2015 20:05 - 10 Jun 2015 20:06 #33800
by hexfet
Replied by hexfet on topic HontaiTec Quadcopters (HT F801, HT F803,...)
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?
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
Last edit: 10 Jun 2015 20:06 by hexfet.
- greenfly
-
- Offline
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.
- Durete
-
Topic Author
- Offline
Less
More
- Posts: 610
10 Jun 2015 20:32 - 10 Jun 2015 20:32 #33803
by Durete
Replied by Durete on topic HontaiTec Quadcopters (HT F801, HT F803,...)
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.
My rudder drift is equivalent about 1 point to the right.
Last edit: 10 Jun 2015 20:32 by Durete.
- hexfet
-
- Offline
Less
More
- Posts: 1971
10 Jun 2015 22:34 #33807
by hexfet
Replied by hexfet on topic HontaiTec Quadcopters (HT F801, HT F803,...)
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!
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!
- greenfly
-
- Offline
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.
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.
- hexfet
-
- Offline
Less
More
- Posts: 1971
10 Jun 2015 23:57 #33809
by hexfet

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).
Replied by hexfet on topic HontaiTec Quadcopters (HT F801, HT F803,...)
The captures are good. Nice data setgreenfly wrote: When you have the time, I have my SPI captures here
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).
- greenfly
-
- Offline
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.
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.
- hexfet
-
- Offline
Less
More
- Posts: 1971
11 Jun 2015 03:08 #33811
by hexfet
Replied by hexfet on topic HontaiTec Quadcopters (HT F801, HT F803,...)
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.
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- greenfly
-
- Offline
11 Jun 2015 04:03 #33812
by greenfly

It's always the last place you look!
I will test asap.
Thanks!
Replied by greenfly on topic HontaiTec Quadcopters (HT F801, HT F803,...)
It's always the last place you look!
I will test asap.
Thanks!
- Durete
-
Topic Author
- Offline
Less
More
- Posts: 610
11 Jun 2015 05:11 - 11 Jun 2015 05:12 #33813
by Durete
Replied by Durete on topic HontaiTec Quadcopters (HT F801, HT F803,...)
Good Morning from Spain. Very productive night I can see 
I will test lastest changes ASAP
Thanks guys!!!
I will test lastest changes ASAP
Thanks guys!!!
Last edit: 11 Jun 2015 05:12 by Durete.
- Durete
-
Topic Author
- Offline
Less
More
- Posts: 610
11 Jun 2015 14:17 #33834
by Durete
Replied by Durete on topic HontaiTec Quadcopters (HT F801, HT F803,...)
Latest code version:
dl.dropboxusercontent.com/u/14941708/dev...n-devo7e-Unknown.zip
I will test ASAP
dl.dropboxusercontent.com/u/14941708/dev...n-devo7e-Unknown.zip
I will test ASAP
- Durete
-
Topic Author
- Offline
Less
More
- Posts: 610
11 Jun 2015 15:30 #33835
by Durete
Replied by Durete on topic HontaiTec Quadcopters (HT F801, HT F803,...)
Just tested 
Throttle, Aileron, Elevator , no problem OK.
Camera controls. Can't test. Greenfly's job
. But isn't going anything weird when I active the channels.
Flips Working
RTH Working.
Calibration Gyro/Acc Working
But Rudder, now is reversed
And I have slow drift to the left with trims totally centered and Quadcopter calibrated.
Throttle, Aileron, Elevator , no problem OK.
Camera controls. Can't test. Greenfly's job
Flips Working
RTH Working.
Calibration Gyro/Acc Working
But Rudder, now is reversed
- Durete
-
Topic Author
- Offline
Less
More
- Posts: 610
11 Jun 2015 15:36 #33836
by Durete
Replied by Durete on topic HontaiTec Quadcopters (HT F801, HT F803,...)
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.
The rudder sticks movements works ok from full left to full right. Nothing weird. Only reversed.
The yaw drift now is to the left.
Time to create page: 0.098 seconds
-
Home
-
Forum
-
Development
-
Protocol Development
- HontaiTec Quadcopters (HT F801, HT F803,...)