- Posts: 1971
HontaiTec Quadcopters (HT F801, HT F803,...)
- hexfet
-
- Offline
Less
More
09 Jun 2015 23:26 #33753
by hexfet
Replied by hexfet on topic HontaiTec Quadcopters (HT F801, HT F803,...)
With the build before the first test build, where the throttle is working, does the throttle work as you'd expect? Smooth acceleration from zero to full power?
- greenfly
-
- Offline
09 Jun 2015 23:38 #33754
by greenfly
Replied by greenfly on topic HontaiTec Quadcopters (HT F801, HT F803,...)
Yes, I would say that it feels normal. I can kind of keep a hover, but there is no use in trying to counter any drift.
- Durete
-
Topic Author
- Offline
Less
More
- Posts: 610
10 Jun 2015 05:23 #33756
by Durete
Replied by Durete on topic HontaiTec Quadcopters (HT F801, HT F803,...)
Hi guys.
Since we are in different time zones, is difficult to continue the test as I would like, is morning at this side of the planet.
For me the throttle channel at first test works totally smooth also, from zero to full throttle.
@Greenfly.
Any chance you could capture your SPI traces?
It's weird in my SPI traces the picture function doesn't do anything, and my manual doesn't mention picture function. How works your picture/video functions at your stock TX?
@Hexfet. I will test your latest changes when return home from work. I do the hardware mods at work, but the software needs to be at home.
Since we are in different time zones, is difficult to continue the test as I would like, is morning at this side of the planet.
For me the throttle channel at first test works totally smooth also, from zero to full throttle.
@Greenfly.
Any chance you could capture your SPI traces?
It's weird in my SPI traces the picture function doesn't do anything, and my manual doesn't mention picture function. How works your picture/video functions at your stock TX?
@Hexfet. I will test your latest changes when return home from work. I do the hardware mods at work, but the software needs to be at home.
- greenfly
-
- Offline
10 Jun 2015 05:53 #33758
by greenfly
Replied by greenfly on topic HontaiTec Quadcopters (HT F801, HT F803,...)
It's all good! 
I actually happen to be on vacation this week so who needs sleep!
Anyway, to take pictures I depress the left stick on the controller. I have not received my logic analyzer from Banggood yet. I expect it tomorrow or the next day. It's somewhere between California and here (Texas).
I think I'll spend tomorrow setting up the build environment. I'm a software dev by trade so maybe I'll be able to help. It's been an age since I worked in C, but I'm willing to look.
I actually happen to be on vacation this week so who needs sleep!
Anyway, to take pictures I depress the left stick on the controller. I have not received my logic analyzer from Banggood yet. I expect it tomorrow or the next day. It's somewhere between California and here (Texas).
I think I'll spend tomorrow setting up the build environment. I'm a software dev by trade so maybe I'll be able to help. It's been an age since I worked in C, but I'm willing to look.
- Durete
-
Topic Author
- Offline
Less
More
- Posts: 610
10 Jun 2015 06:02 #33759
by Durete
Replied by Durete on topic HontaiTec Quadcopters (HT F801, HT F803,...)
Great !!! 
I'm totally noob at mercurial and programming stuff. I'm a hardware guy
Your help could be great for Deviation project.
I'm totally noob at mercurial and programming stuff. I'm a hardware guy
Your help could be great for Deviation project.
- hexfet
-
- Offline
Less
More
- Posts: 1971
10 Jun 2015 12:02 #33765
by hexfet
Replied by hexfet on topic HontaiTec Quadcopters (HT F801, HT F803,...)
Excellent
We'll get it...sooner or later!
Is it possible to get SPI captures at the receiver on the aircraft? We'll likely need that capability to crack the txid to address/channels mapping anyway.
Current thoughts...
Seems like incorrect data is arriving in the packet, at least in bytes 4-6. The AER data is in the lower six bits of those bytes, with the high bits used for special functions (flip, rth, etc). greenfly gets some strange reactions when making stick movements that should be changing these bytes (including flips and pics), while Durete does not. Durete's tx may be different since it doesn't have a pic function.
Throttle is in byte 3 and seems to be received correctly. At least the first 5 bytes of the bind packet (containing the txid) are received correctly. Binding and throttle response means receiver is accepting packets so crc is correct and received correctly.
Not sure what it all means
Is it possible to get SPI captures at the receiver on the aircraft? We'll likely need that capability to crack the txid to address/channels mapping anyway.
Current thoughts...
Seems like incorrect data is arriving in the packet, at least in bytes 4-6. The AER data is in the lower six bits of those bytes, with the high bits used for special functions (flip, rth, etc). greenfly gets some strange reactions when making stick movements that should be changing these bytes (including flips and pics), while Durete does not. Durete's tx may be different since it doesn't have a pic function.
Throttle is in byte 3 and seems to be received correctly. At least the first 5 bytes of the bind packet (containing the txid) are received correctly. Binding and throttle response means receiver is accepting packets so crc is correct and received correctly.
Not sure what it all means
- Durete
-
Topic Author
- Offline
Less
More
- Posts: 610
10 Jun 2015 12:11 #33766
by Durete
Replied by Durete on topic HontaiTec Quadcopters (HT F801, HT F803,...)
- Durete
-
Topic Author
- Offline
Less
More
- Posts: 610
10 Jun 2015 15:57 - 10 Jun 2015 15:59 #33776
by Durete
Replied by Durete on topic HontaiTec Quadcopters (HT F801, HT F803,...)
Yeeeeeeeeaaaaaaaahhhhhhhh!!!!!!!!!!!!!! It's working ! 
Throttle, rudder, pitch and roll are working perfect!
The pitch channel needs to be reversed, the other channels are working good. Probably I wronged the order when took the captures.
We are on the way guys!
@Greenfly. Here is the 7e build.
dl.dropboxusercontent.com/u/14941708/dev...n-devo7e-Unknown.zip
Don't forget to reverse the pitch controls.
You did it Hexfet !!!!
Throttle, rudder, pitch and roll are working perfect!
The pitch channel needs to be reversed, the other channels are working good. Probably I wronged the order when took the captures.
We are on the way guys!
@Greenfly. Here is the 7e build.
dl.dropboxusercontent.com/u/14941708/dev...n-devo7e-Unknown.zip
Don't forget to reverse the pitch controls.
You did it Hexfet !!!!
Last edit: 10 Jun 2015 15:59 by Durete.
- hexfet
-
- Offline
Less
More
- Posts: 1971
10 Jun 2015 16:50 #33777
by hexfet
Replied by hexfet on topic HontaiTec Quadcopters (HT F801, HT F803,...)
Yay! On the right track now 
I've pushed an update that fixes the pitch direction and restores the special function flags. Let's see what happens with that. Also added picture control, guessing it goes in the last bit available.
If this works then the driven trims would likely be the problem. Any issues with adjusting the trims while in flight with the stock tx? Or maybe I got their direction wrong.
I've pushed an update that fixes the pitch direction and restores the special function flags. Let's see what happens with that. Also added picture control, guessing it goes in the last bit available.
If this works then the driven trims would likely be the problem. Any issues with adjusting the trims while in flight with the stock tx? Or maybe I got their direction wrong.
- Durete
-
Topic Author
- Offline
Less
More
- Posts: 610
10 Jun 2015 16:56 #33778
by Durete
Replied by Durete on topic HontaiTec Quadcopters (HT F801, HT F803,...)
I can see an update at yd717_nrf24l01.c file also under hontai branch 
is it necessary to modify this protocol also?
is it necessary to modify this protocol also?
- greenfly
-
- Offline
10 Jun 2015 17:06 - 10 Jun 2015 17:09 #33780
by greenfly
Replied by greenfly on topic HontaiTec Quadcopters (HT F801, HT F803,...)
My HT 803C seems to be flying fine with this last build. Alright!
Hexfet you are definitely on the right track. Thanks!
BTW: I should have my logic analyzer in a few hours. I'll have some captures soon after that.
@Durete: What software did you use for you capture?
Hexfet you are definitely on the right track. Thanks!
BTW: I should have my logic analyzer in a few hours. I'll have some captures soon after that.
@Durete: What software did you use for you capture?
Last edit: 10 Jun 2015 17:09 by greenfly.
- Durete
-
Topic Author
- Offline
Less
More
- Posts: 610
10 Jun 2015 17:15 #33781
by Durete
Replied by Durete on topic HontaiTec Quadcopters (HT F801, HT F803,...)
Tested last changes at hontai_nrf24l01.c file, I guessed is not necessary to change Yd protocol file.
Controls working just fine. Flips working, RTH working. Headless not working (channel 9 at 100% value).
Camera controls, can't test yet, probably Greenfly could test better than me since he has the camera version.
The only weird thing I can see is an small right-rudder output. With rudder at neutral the quadcopter turns slowly to the right
@Greenfly. Did you see this weird thing?
Controls working just fine. Flips working, RTH working. Headless not working (channel 9 at 100% value).
Camera controls, can't test yet, probably Greenfly could test better than me since he has the camera version.
The only weird thing I can see is an small right-rudder output. With rudder at neutral the quadcopter turns slowly to the right
@Greenfly. Did you see this weird thing?
- hexfet
-
- Offline
Less
More
- Posts: 1971
10 Jun 2015 17:21 #33782
by hexfet
Replied by hexfet on topic HontaiTec Quadcopters (HT F801, HT F803,...)
No, i didn't mean to commit that.but it wont hurt anything. Just used it to verify scale_channel worked the way i thought it did.Durete wrote: I can see an update at yd717_nrf24l01.c file also under hontai branch
is it necessary to modify this protocol also?
- Durete
-
Topic Author
- Offline
Less
More
- Posts: 610
10 Jun 2015 17:21 #33783
by Durete
Drop a PM to Hexfet. I know he will explain you better
Replied by Durete on topic HontaiTec Quadcopters (HT F801, HT F803,...)
greenfly wrote: @Durete: What software did you use for you capture?
Drop a PM to Hexfet. I know he will explain you better
- greenfly
-
- Offline
10 Jun 2015 17:26 #33785
by greenfly
Replied by greenfly on topic HontaiTec Quadcopters (HT F801, HT F803,...)
I did have to apply a little rudder trim but other than that it seems ok. Could you put up another build with all the extras enabled?
I haven't got my build setup yet.
I haven't got my build setup yet.
- Durete
-
Topic Author
- Offline
Less
More
- Posts: 610
10 Jun 2015 17:44 #33786
by Durete
Replied by Durete on topic HontaiTec Quadcopters (HT F801, HT F803,...)
Sorry for the delay, here is evening and my son was hungry 
@Greenfly, if you need to add yaw trim, something is not working perfect. should be hover without any trim.
Please, download again, should be updated.
dl.dropboxusercontent.com/u/14941708/dev...n-devo7e-Unknown.zip
@Greenfly, if you need to add yaw trim, something is not working perfect. should be hover without any trim.
Please, download again, should be updated.
dl.dropboxusercontent.com/u/14941708/dev...n-devo7e-Unknown.zip
- Durete
-
Topic Author
- Offline
Less
More
- Posts: 610
10 Jun 2015 17:48 - 10 Jun 2015 17:48 #33787
by Durete
Replied by Durete on topic HontaiTec Quadcopters (HT F801, HT F803,...)
Greenfly !
Don't forget to reverse again the elevator
I crashed mine because I forgot it
Don't forget to reverse again the elevator
Last edit: 10 Jun 2015 17:48 by Durete.
- greenfly
-
- Offline
10 Jun 2015 18:03 - 10 Jun 2015 18:04 #33788
by greenfly
Replied by greenfly on topic HontaiTec Quadcopters (HT F801, HT F803,...)
OK. I do have a slight yaw drift... but mine is to the left. 
Flip mode works... and the camera video start/stop works. I'm not sure about headless mode and RTH... not enough switches.
Oh... and I had to switch the ELE back to NOT reversed.
Flip mode works... and the camera video start/stop works. I'm not sure about headless mode and RTH... not enough switches.
Oh... and I had to switch the ELE back to NOT reversed.
Last edit: 10 Jun 2015 18:04 by greenfly.
- Durete
-
Topic Author
- Offline
Less
More
- Posts: 610
10 Jun 2015 18:09 #33789
by Durete
Sorry, I mean NORMAL not reversed. You are right
Weird you have the yaw drift to the left
My drift is to the right, so I should correct with left trim.
About the Headless mode, I'm going to test more in depth but I'm confident is not working.
The RTH for sure works, but not sure how to implement at model file, because stock TX reset this flag after you move the right stick to any side.
What camera controls are working? Video or picture?
Replied by Durete on topic HontaiTec Quadcopters (HT F801, HT F803,...)
greenfly wrote: OK. I do have a slight yaw drift... but mine is to the left.
Flip mode works... and the camera video start/stop works. I'm not sure about headless mode and RTH... not enough switches.
Oh... and I had to switch the ELE back to NOT reversed.
Sorry, I mean NORMAL not reversed. You are right
Weird you have the yaw drift to the left
About the Headless mode, I'm going to test more in depth but I'm confident is not working.
The RTH for sure works, but not sure how to implement at model file, because stock TX reset this flag after you move the right stick to any side.
What camera controls are working? Video or picture?
- greenfly
-
- Offline
10 Jun 2015 18:18 #33790
by greenfly
Video.
The funny thing is that something during normal flight is causing it to take pictures. I cleared the SD card, flew it for a few seconds and had a dozen pictures!
I will have my SPI captures in a little bit, so maybe that can shed some light on the problem.
Replied by greenfly on topic HontaiTec Quadcopters (HT F801, HT F803,...)
Durete wrote: What camera controls are working? Video or picture?
Video.
The funny thing is that something during normal flight is causing it to take pictures. I cleared the SD card, flew it for a few seconds and had a dozen pictures!
I will have my SPI captures in a little bit, so maybe that can shed some light on the problem.
Time to create page: 1.295 seconds
-
Home
-
Forum
-
Development
-
Protocol Development
- HontaiTec Quadcopters (HT F801, HT F803,...)