- Posts: 7
Mjx Bugs 3
- mmakai
- Offline
Cool. The arming worked for me as well. I could switch motors, lights on off, but that is all what I had in the model file from the previous try. Now it is raining, night, so I did not try to fly yet. Rx id different, radio id negative.
About the rx -> radio map decoding. First 2 hex digits are periodic with length 2 and 16 resp. Byte 2 and 3 can be expressed as a function of byte 4 (beyond the first 2 values) of the previous rows. Byte 4 has some repeating sequences, but I do not have a concise description. So, that data takes about 270 bytes, plus the if-else-heavy code would take some storage as well. My crypto and electronics knowledge is very limited, but I hope this is not the end of it yet.
Please Log in or Create an account to join the conversation.
- davdrone1
- Offline
- davdrone1
- Posts: 91
Had to reverse AIL, and to set the scale back to 100 for RUD as it had a value of 0.
Time flies like a banana
Please Log in or Create an account to join the conversation.
- davdrone1
- Offline
- davdrone1
- Posts: 91
Time flies like a banana
Please Log in or Create an account to join the conversation.
- C0ckpitvue 777
- Topic Author
- Offline
- Posts: 409
Please Log in or Create an account to join the conversation.
- davdrone1
- Offline
- davdrone1
- Posts: 91
An rxid of 64929 was returned to the fixed id.
I looked it up and matched it to -1382767019 and entered and saved this as fixed id.
However, no bind appeared to occur, beeping continued from the Bugs 6, and I could not arm the motors or turn off LEDs.
I can bind and fly the Bugs 6 using a Bugs 3 Tx, although beeping continues as I fly.
Time flies like a banana
Please Log in or Create an account to join the conversation.
- davdrone1
- Offline
- davdrone1
- Posts: 91
Tired again with fully charged battery, and no beeping with either the Jumper or the Bugs 3 Tx.
The bind with the Jumper worked - the lights stopped flashing after connecting the battery,
as per using a Bugs 3 or 6 Tx. If battery is attached with no Tx, the LEDs flash for a long time.
However, the Bugs 6 must have a slightly different arming process to the Bugs 3, as the switches
would not arm or turn off LEDs.
Time flies like a banana
Please Log in or Create an account to join the conversation.
- mmakai
- Offline
- Posts: 7
I've just made a quick flight, everything went smoothly. RUD, AIL reversed, I have devo 10.
@hexfet: I hope you are not fed up with my annoying updates on the my rx -> radio map findings. First, I did not find any algebraic rules. However, from the periodicities and relation of values of neighboring bytes, I have now an if-else-heavy experimental code in java, generating the map, and with hardcoded data that could be stored in 80 bytes. Is that about in the acceptable size?
Please Log in or Create an account to join the conversation.
- hexfet
- Offline
- Posts: 1868
Not sure about the bugs6 behavior. Sounds similar to the bugs3 behavior without the correct radio id so maybe the bugs6 has a different mapping and the stock tx recognizes the model from something in the bind packet from the rx. Need a capture of the bind.
Please Log in or Create an account to join the conversation.
- davdrone1
- Offline
- davdrone1
- Posts: 91
I've been refering people to your rxid to txid csv lookup table about halfway down Page 14 of this forum.
If you have the time to put it somewhere easier to find, I'll get the word out.
Time flies like a banana
Please Log in or Create an account to join the conversation.
- DPyro
- Offline
- Posts: 43
Please Log in or Create an account to join the conversation.
- hexfet
- Offline
- Posts: 1868
You can try the same bind procedure with the Bugs3 mini. It might work
Please Log in or Create an account to join the conversation.
- C0ckpitvue 777
- Topic Author
- Offline
- Posts: 409
hexfet wrote: Thanks davedrone1. Spreadsheet is available at this link
You can try the same bind procedure with the Bugs3 mini. It might work
Just tried the b3 mini had no response,I'm waiting on jumper wire fro China to take future captures...
Please Log in or Create an account to join the conversation.
- Exiter
- Offline
- Posts: 7
Please Log in or Create an account to join the conversation.
- Exiter
- Offline
- Posts: 7
Please Log in or Create an account to join the conversation.
- Exiter
- Offline
- Posts: 7
Please Log in or Create an account to join the conversation.
- davdrone1
- Offline
- davdrone1
- Posts: 91
There is another link in the comments to Matt's video that is even more detailed in a pure MS Windows environment.
Time flies like a banana
Please Log in or Create an account to join the conversation.
- kaseym
- Offline
- Posts: 5
Please Log in or Create an account to join the conversation.
- mmakai
- Offline
- Posts: 7
A bit more work on the rxid -> radioid map. I managed to put an implementation of the map into a build, it adds 520 bytes to the dfu of the devo 10 (218653 -> 219173). Unfortunately, the firmware is too large for some tx's, does not fit for 7e, f4, f7.
Codewise, the only change to hexfet's branch is that radioid is written into fixed id instead of rxid, so binding should be possible without carrying excel to the field.
Hence, the binding procedure changes as follows:
1) In the bugs3 model delete all the digits of the fixed id. The display should say fixed id None.
2) Click Bind on the model screen.
3) Apply power to the bugs3. The bugs3 should react but deviation bind dialog will remain.
4) Turn the transmitter off (this saves the model with radioid stored in the fixed id).
5) Turn the transmitter on, go to the model screen, the fixed id should be the radioid.
6) With the right radioid bind should succeed. Click Bind on the model screen.
7) Apply power to the bugs3. Now it should connect. (If not, then repeat 6-7).
Source
Builds (I do not have test build upload credentials.)
The only real world test of these builds is that with the devo10 one I can bind and arm my bugs3.
Please Log in or Create an account to join the conversation.
- davdrone1
- Offline
- davdrone1
- Posts: 91
I can confirm deviation-t8sg-v5.0.0-3133d6d.dfu works on the black/silver Jumper T8SG. Well done!
My only concern with the increasing image size is the possibility of adding
code to process telemetry data in the future - the Bugs 3 Tx sounds limit of range
warnings, and low battery alerts. It would be nice to have these features in a future build.
Time flies like a banana
Please Log in or Create an account to join the conversation.
- davdrone1
- Offline
- davdrone1
- Posts: 91
I wonder if we can locate the teeny weeny 2MB memory chip and replace it with something larger?
Time flies like a banana
Please Log in or Create an account to join the conversation.
- Home
- Forum
- Development
- Protocol Development
- Mjx Bugs 3