- Posts: 58
Mjx Bugs 3
- Blade81
- Offline
sorry i have been rather busy
below is the video of using af8868a test build
summary, Arming, LED lights,NONE, Flip button is present and works.
unable to change speed rate
quads takes off center, no trim required
is DF75601 test build
Arming, Led lights, Flip, Speed mode
Quad takes of, yawing left, rolling left, pitching front.
i had trim all the extremes but still off centered.
Please Log in or Create an account to join the conversation.
- davdrone1
- Offline
- davdrone1
- Posts: 91
The new Bugs would not at first bind using the Tx from my oldest Bugs 3, but bound OK with the newer Tx, and would then bind with the older Tx.
I have not used the Tx that came with the new Bugs 3. (Pity postage from Australia to USA is so expensive.) Looks the same as the Tx from the second Bugs 3.
The "new" Bugs has V04 M2504-RX 2017/03/02 stamped on the fcb, but looks almost the same as the older fcb, apart from forward facing front
sockets. Pics attached.
Time flies like a banana
Please Log in or Create an account to join the conversation.
- hexfet
- Offline
- Posts: 1868
davdrone1, the board I have is the V04. When you say the old tx would bind after binding to the new tx, do you mean going through the bind procedure in both cases (holding down the button while powering on the tx)? Or is it that the old tx will connect with the new bugs3 after binding it to the new tx?
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.
- hexfet
- Offline
- Posts: 1868
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
My oldest Bugs 3 Tx has a moveable black button described as "[3] Reversed for new functions" on Page 7 of the manual. Both the later Txs have dummy white switches that can not be moved.
Time flies like a banana
Please Log in or Create an account to join the conversation.
- Blade81
- Offline
- Posts: 58
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.
- hexfet
- Offline
- Posts: 1868
Today the tx from kaseym arrived. It does bind with my FC. The radio id is the same as when binding with deviation, confirming the radio id is determined by the receiver. In the packets from the receiver there appears to be one byte for an RSSI value. Another two bytes appear to be for the low voltage alarm which is strange because it doesn't seem to be a voltage measurement - the value is ff87 for battery good and 0100 for battery low.
Still have to create the test jig and work has gotten busy but expect to make progress over the next couple weeks.
Please Log in or Create an account to join the conversation.
- hexfet
- Offline
- Posts: 1868
Please Log in or Create an account to join the conversation.
- thornhill
- Offline
- Posts: 6
hexfet wrote: The attached file has the bugs3 rxid to radio id mapping. I haven't looked at the data much yet, but there are repeated values and some apparent regularity...
Complete novice here (so probably saying something obvious) but the repeated radio IDs seem to repeat every 255
Please Log in or Create an account to join the conversation.
- hexfet
- Offline
- Posts: 1868
Repeats every 255 except the interval between the first appearance and the second is 511 (at least for the first two radio id's). I'm sure that says something about the underlying algorithm but not sure what
Please Log in or Create an account to join the conversation.
- mmakai
- Offline
- Posts: 7
I own one of these birds, hence I am very excited about this development. I tried DF75601, tx and rx have seen each other, but I could not arm it. So I am not sure how much the reverse engineering of this map will help my case.
But I was playing a bit with the map. Frequency analysis (whatever it means) of the values shows that it is almost periodic with period 255, those 255 values should be picked with some care. This already results 3/4 of the map. (Yes there is a lot of irregularities.) Pieces of this 255 long sequence can be shifted by 1 forward or backward according to a pattern, that matches almost all of the remaining 1/4. There is a hiccup for about 30 places, those irregular values can be further stored. So, the data for the map can be encoded in less than 2kB. I did not analyze it further, am I am not sure how useful is this or how much worth. Is the goal to store it in a very small place to fit into the firmware, or we need a definition of the function without excessive lookup tables? The function might actually be very simple, but simple or very complicated to decipher. Anyway, I do not see it right now. For an experiment (you will not like this) in java see https://bitbucket.org/mmakai/bugs3 .
Please Log in or Create an account to join the conversation.
- hexfet
- Offline
- Posts: 1868
There are 256 unique radio ids. The 256 unique radio ids are not all used equally. A majority (216) appear 256 times, while 20 other values occur 255 times and 20 more 257 times. Neither the difference or the quotient of adjacent numbers is a constant. I tried running the numbers through reveng in various ways but it never recognized a polynomial which I think means the sequence doesn't come from an LFSR (though I haven't tried to use reveng in this way before). Don't really feel any closer to finding the algorithm.
But there is a way to get people flying Test build (7867ad5) is updated. This build uses the deviation fixed id to allow manual configuration of the radio id. The attached file has the rxid->radio id correspondence in two formats. The .txt file is hex and the .csv file is decimal.
Here's the bind procedure:
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 rxid stored in the fixed id).
5) Turn the transmitter on, go to the model screen, and read the fixed id.
6) In the bugs3_rxid_radioid.csv file, find the fixed id number on the left. The number after the comma is the radio id. Enter it as the fixed id in the model. If it is negative it must be changed by editing the model file.
7) With the correct radio id value set as the fixed id the bugs3 and transmitter should connect when powered up.
Won't have much time the next few weeks so this can suffice for now. Hopefully someone will crack the code.
Please Log in or Create an account to join the conversation.
- mmakai
- Offline
- Posts: 7
I found a small good sign. In my finding of interlacing two periodic sequences to result the 65536 long sequence, there were 30 errors. The 8 changes in your v3 reading compared to v2 fix 8 of those 30, leaving 22 only cases. So v3 is probably more precise. But I did not find yet anything though to crack the key 255 long sequence.
Please Log in or Create an account to join the conversation.
- hexfet
- Offline
- Posts: 1868
Were you able to get flying with the procedure above?
Please Log in or Create an account to join the conversation.
- davdrone1
- Offline
- davdrone1
- Posts: 91
Did a lookup on your .csv file, and matched that to 1446417739
Tried to enter this number into the Fixed ID field on the Jumper.
The Jumper only allowed the first 6 digits to be entered.
Have I misunderstood the process?
Screenshots attached.
Time flies like a banana
Please Log in or Create an account to join the conversation.
- hexfet
- Offline
- Posts: 1868
Please Log in or Create an account to join the conversation.
- davdrone1
- Offline
- davdrone1
- Posts: 91
The switch I've assigned starts the motors, and the throttle appears to bring up the power smoothly.
A second switch turns the LEDs on and off. It's night here now, but in the morning I'll try a test flight and report back.
If all goes well I'll make a video to get the word out.
Thanks, hexfet!
Time flies like a banana
Please Log in or Create an account to join the conversation.
- Home
- Forum
- Development
- Protocol Development
- Mjx Bugs 3