Bugs 3 mini

More
10 Oct 2018 22:37 #71267 by DPyro
Replied by DPyro on topic Bugs 3 mini
What are the channels on the Devo 7E? I was not able to get anything to work. Also won't bind unless I move sticks bottom-left + bottom-right.

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

More
10 Oct 2018 22:44 #71268 by goebish
Replied by goebish on topic Bugs 3 mini
Channel are the same for any transmitter, you've to setup the mixer to map switches to channels.

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

More
10 Oct 2018 23:26 - 10 Oct 2018 23:45 #71269 by C0ckpitvue 777
Replied by C0ckpitvue 777 on topic Bugs 3 mini

goebish wrote: New build:
www.dropbox.com/sh/nrc4oppo121887l/AABQ_...IEn8A7BYvH5BpGa?dl=0

Channel mapping is the same than Bugs3 protocol:
ARM CHANNEL5
LED CHANNEL6
FLIP CHANNEL7
PICTURE CHANNEL8
VIDEO CHANNEL9
ANGLE CHANNEL10

Please test without propellers first!!!


Goebish awesome job brother,once again you came through in a big way and cracked this protocol without a problem.I tried with my devo 10 and it flies like a charm.There is a little yaw to the right I believe when rudder trim is centered.Also rudder and aileron channels are reversed,I can't check for video/photo channels because I have no stock camera,channels 5,6, and 7 are all correctly assigned and working,I have to set channel 10 up tomorrow.I Just wanted to know can the bugs 3 mini make the transition from acro to angle in flight or vice versa?Or does it need to be rebound in the respective mode to do so..The total flight was smooth,the inputs were like silk.

As for the 7E I didn't thoroughly test but the 2 Channels aileron and rudder are also reversed,there is also a turning to the left when throttle trim is centered,for some reason the flips were on when I gave it to much stick in either direction with channel 7 disabled.I will look in my model ini settings to see if my file had an open channel,I will get out there tomorrow after work when there's more sun light and feed it full throttle.
Last edit: 10 Oct 2018 23:45 by goebish. Reason: formating

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

More
10 Oct 2018 23:32 - 11 Oct 2018 00:12 #71270 by goebish
Replied by goebish on topic Bugs 3 mini
Cool :)
If you need more trim for yaw go to the trim dialog then increase step for channel 4.
Acro/Angle mode can be changed anytime on the transmitter side, a reset is not required but I'm not sure the quad will register it as the manual says the position should be set before applying power. Just try ...
I'll reverse rudder & aileron.
Please give your .ini for 7e to DPyro ;)
Last edit: 11 Oct 2018 00:12 by goebish.

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

More
10 Oct 2018 23:44 - 11 Oct 2018 00:14 #71271 by goebish
Replied by goebish on topic Bugs 3 mini
Note that it's still not completely cracked until the spreadsheet is required for initial bind :(
(and maybe that prevents porting it to the Multi project ... or perhaps the address could be entered via an lua script on Taranis and sent to the module via smartport ...)
I'm not very good at crunching numbers, but the algorithm is probably somewhat similar to the one of the Bugs3, maybe hexfet or mmakai can see something familiar in the data set?
bit.ly/bugs3mini_rxid

I also have to add telemetry, it has RSSI & low battery voltage alarm.
Last edit: 11 Oct 2018 00:14 by goebish.

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

More
11 Oct 2018 00:42 #71273 by C0ckpitvue 777
Replied by C0ckpitvue 777 on topic Bugs 3 mini
@Dypro,I got channel 10 and 7 set to an extra 3 switch.Bw0,flip bw1 angle and bw2 acro.
Attachments:

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

More
11 Oct 2018 00:44 #71274 by C0ckpitvue 777
Replied by C0ckpitvue 777 on topic Bugs 3 mini
Thanks Goebish very awesome job,I will try the acro/angle tomorrow it's dark out here now,I appreciate your hard work you guys make us all happy with your skills.Much gratitude.

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

More
11 Oct 2018 01:06 #71275 by DPyro
Replied by DPyro on topic Bugs 3 mini
Turning on/off light works with right switch. How do I arm the quad?

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

More
11 Oct 2018 01:13 #71276 by C0ckpitvue 777
Replied by C0ckpitvue 777 on topic Bugs 3 mini

DPyro wrote: Turning on/off light works with right switch. How do I arm the quad?


With the hold switch.let us know either way..

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

More
11 Oct 2018 01:58 #71279 by hexfet
Replied by hexfet on topic Bugs 3 mini
Looking at the first two columns of the spreadsheet there's clear patterns for the first three address bytes.and some hints of regularity in the last two. It might be something like mmakai's algorithm.

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

More
11 Oct 2018 09:19 - 11 Oct 2018 10:24 #71282 by goebish
Replied by goebish on topic Bugs 3 mini
Yes, we "only" need to find a way to compute the last 2 bytes of the address given an arbitrary rx id ...

I've updated the test build, channels shouldn't have to be reversed anymore:
www.dropbox.com/sh/nrc4oppo121887l/AABQ_...IEn8A7BYvH5BpGa?dl=0
(just ask if your transmitter isn't in the list)

Instructions:
- start with no battery in the quad
- select Bugs3Mini protocol then press bind
- connect a battery to the quad
- wait for the bind dialog to exit then disconnect the battery for now
- go to the protocol options dialog then write down the "RX Id" value
- switch off transmitter
- go to bit.ly/bugs3mini_rxid
- find your RX Id in the green column (rxid s16)
- write down the corresponding value from the blue column (address[3:4] s16)
- connect your transmitter as an USB drive
- open the models/modelsxx.ini file in a text editor (under Windows, use notepad++ for exemple, not the builtin notepad, it does corrupt end of lines ...)
- under the [protocol_opts] section, fill the Address= field with the value from the blue column
- save and disconnect USB

Channel mapping:
Channel 5: Arm
Channel 6: Leds on/off
Channel 7: Flip mode
Channel 8: Snapshot (requires mjx wifi camera module)
Channel 9: Record video (requires mjx wifi camera module)
Channel 10: Angle / Acro mode

source: github.com/goebish/deviation/blob/protoc...bugs3mini_nrf24l01.c
Last edit: 11 Oct 2018 10:24 by goebish.

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

More
11 Oct 2018 19:26 #71289 by C0ckpitvue 777
Replied by C0ckpitvue 777 on topic Bugs 3 mini
Trying to set angle and acro channel on the devil 10,wanted to know is virtual2 channel 10?Any feedback is appreciated.

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

More
11 Oct 2018 22:09 #71290 by goebish
Replied by goebish on topic Bugs 3 mini
No, that's Ch10, make sure your model is set to 10 channels (model menu), I suppose it's set to 8 if it was created with a previous version of the protocol ...

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

More
11 Oct 2018 23:41 #71291 by C0ckpitvue 777
Replied by C0ckpitvue 777 on topic Bugs 3 mini
Thank you,I just got in had to postpone test flight updates till tomorrow do to rain,will update the thread with flight characteristics tomorrow if the weather forbids..

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

More
12 Oct 2018 01:25 #71292 by C0ckpitvue 777
Replied by C0ckpitvue 777 on topic Bugs 3 mini
I'm trying to enable acro mode on channel 10 on my devo 10,I set my rud0 and rud1 switch with a complex mixer with 2 pages.The values I'm using are -100 and 100.Everytime I enable the channel the quad doesn't arm with a value but arms with no value on channel 10.Maybe I'm doing something wrong,if someone is experience with mixers can they please chime in,I included my model ini.in the attachment,thanks in advance.
Attachments:

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

More
12 Oct 2018 11:42 #71300 by goebish
Replied by goebish on topic Bugs 3 mini
I'll check that tonight, I've no esc/motors connected to my FC but I can see when it is armed thanks to the leds.

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

More
12 Oct 2018 17:04 #71302 by planger
Replied by planger on topic Bugs 3 mini
I've looked quickly at the table and I think it can be fully computed from the rxid.
To have a better view you need to sort your table by the last 2 bytes of the address and then rxid. You will then see appearing a clear pattern for the address 2 last bytes to repeat every low(rxid) value alterning +8+7+8+7+8+7+8... and a start value equal to start - high(rxid), if the new value gives ff then rotate indexes or better indexes are modulo something. I must be talking chinese but just give it a try and you will see.
I'll try to code it if no one give it a go in the coming days.
Pascal

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

More
12 Oct 2018 20:25 #71309 by Risqi
Replied by Risqi on topic Bugs 3 mini
Waiting for a simple binding.. Sorry newbie here.. Thanks

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

More
12 Oct 2018 20:27 #71310 by C0ckpitvue 777
Replied by C0ckpitvue 777 on topic Bugs 3 mini

Risqi wrote: Waiting for a simple binding.. Sorry newbie here.. Thanks


Follow the spreadsheet that was posted by Goebish a few posts back in this thread..

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

More
13 Oct 2018 13:44 - 13 Oct 2018 13:44 #71314 by goebish
Replied by goebish on topic Bugs 3 mini
@C0ckpitvue 777: you're correct, it doesn't arm if Ch10 is > 0, Ill check what's wrong.

@Pascal, awesome! Feel free to do it if you understand how it works, no hurry.
Last edit: 13 Oct 2018 13:44 by goebish.

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

Time to create page: 0.083 seconds
Powered by Kunena Forum