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

More
09 Jun 2015 23:26 #33753 by hexfet
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?

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

More
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.

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

More
10 Jun 2015 05:23 #33756 by Durete
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. :)

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

More
10 Jun 2015 05:53 #33758 by greenfly
Replied by greenfly on topic HontaiTec Quadcopters (HT F801, HT F803,...)
It's all good! :cheer:

I actually happen to be on vacation this week so who needs sleep! :woohoo:

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.

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

More
10 Jun 2015 06:02 #33759 by Durete
Great !!! :woohoo:
I'm totally noob at mercurial and programming stuff. I'm a hardware guy :)
Your help could be great for Deviation project.

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

More
10 Jun 2015 12:02 #33765 by hexfet
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 :lol:

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

More
10 Jun 2015 12:11 #33766 by Durete
Should be very easy to get SPI captures at RX side since the FC has a nice RF modul with all the signals broken out :)





But I will need help because never did before :blush:
Attachments:

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

More
10 Jun 2015 15:57 - 10 Jun 2015 15:59 #33776 by Durete
Yeeeeeeeeaaaaaaaahhhhhhhh!!!!!!!!!!!!!! It's working ! :silly:

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 !!!! :woohoo:
Last edit: 10 Jun 2015 15:59 by Durete.

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

More
10 Jun 2015 16:50 #33777 by hexfet
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.

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

More
10 Jun 2015 16:56 #33778 by Durete
I can see an update at yd717_nrf24l01.c file also under hontai branch :blink:
is it necessary to modify this protocol also?

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

More
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?
Last edit: 10 Jun 2015 17:09 by greenfly.

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

More
10 Jun 2015 17:15 #33781 by Durete
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 :huh:
@Greenfly. Did you see this weird thing?

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

More
10 Jun 2015 17:21 #33782 by hexfet

Durete wrote: I can see an update at yd717_nrf24l01.c file also under hontai branch :blink:
is it necessary to modify this protocol also?

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.

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

More
10 Jun 2015 17:21 #33783 by Durete

greenfly wrote: @Durete: What software did you use for you capture?


Drop a PM to Hexfet. I know he will explain you better B)

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

More
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.

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

More
10 Jun 2015 17:44 #33786 by Durete
Sorry for the delay, here is evening and my son was hungry :P

@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

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

More
10 Jun 2015 17:48 - 10 Jun 2015 17:48 #33787 by Durete
Greenfly !
Don't forget to reverse again the elevator :P I crashed mine because I forgot it :whistle:
Last edit: 10 Jun 2015 17:48 by Durete.

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

More
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. :side:

Flip mode works... and the camera video start/stop works. I'm not sure about headless mode and RTH... not enough switches. :S

Oh... and I had to switch the ELE back to NOT reversed.
Last edit: 10 Jun 2015 18:04 by greenfly.

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

More
10 Jun 2015 18:09 #33789 by Durete

greenfly wrote: OK. I do have a slight yaw drift... but mine is to the left. :side:

Flip mode works... and the camera video start/stop works. I'm not sure about headless mode and RTH... not enough switches. :S

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 :huh: 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?

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

More
10 Jun 2015 18:18 #33790 by greenfly
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.

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

Time to create page: 0.110 seconds
Powered by Kunena Forum