- Posts: 198
C-17 Transport
- Fer
- Offline
Please Log in or Create an account to join the conversation.
- Moeder
- Offline
- Posts: 796
Please Log in or Create an account to join the conversation.
- Fer
- Offline
- Posts: 198
Moeder wrote: Is that still in bind mode or after binding (I don't know the c-17 bind procedure, throttle up down?)
Yes, it binds with throttle up, and then down. The first line seems to be stable then. When moving the right stick, the second line changes all the time. If i must redo the test, please instruct me what to do exactly.
Please Log in or Create an account to join the conversation.
- goebish
- Offline
- I Void Warranties
- Posts: 2631
(use auto scan or set Ch to 2 and len to 13)
Have you tried the protocol ?
edit: just set mode to "Off" if the display isn't stable, you want to take a picture when the screen shows "Valid CRC Found!"
Please Log in or Create an account to join the conversation.
- planger
- Topic Author
- Offline
Please Log in or Create an account to join the conversation.
- Moeder
- Offline
- Posts: 796
@planger address seems to be exactly the same for this tx...so only rf channels somehow sent in bind payload?
Please Log in or Create an account to join the conversation.
- Fer
- Offline
- Posts: 198
Unfortunatelly the protocol doesn't seem to bind to the plane, V1 or V2 variants. I tryed both. What esle can i try?
Please Log in or Create an account to join the conversation.
- planger
- Topic Author
- Offline
@Goebish: with my nrf24l01 (multi module) I'm getting a lot of false positive on a lot of channels with this remote control. When I say false positive, I'm getting data with good CRC but this is not the main channel being used just an echo/ghost. Here is an example
channel nbr frames
0 30
2 141
5 251
9 9
15 136
20 24
22 144
25 213
29 4
33 29
35 77
39 48
45 147
49 50
55 6
59 109
65 63
6D 140
7B 1
7C 7
In this example 5 and 25 are the real ones. All the others are artifacts...
Pascal
Please Log in or Create an account to join the conversation.
- planger
- Topic Author
- Offline
Ok the fist picture is a bind. Your TX ID is 67 0F 00 69.Fer wrote: First pic is before binding, second is after binding, the third is what chanel 2 shows.
I would widely guess that the "real" channels being used are 6 and 26, can you force that and see if you receive something?
Please Log in or Create an account to join the conversation.
- planger
- Topic Author
- Offline
Everything before was normal packets: 00 20 1F ... 00=THR, 20=AIL, 1F=TRIM....Moeder wrote: And also keep the tx in bind mode, so power it up without moving throttle down again, so it won't finish bind.
@planger address seems to be exactly the same for this tx...so only rf channels somehow sent in bind payload?
If you refer to the NRF address yes it's always the same.
What's changing is:
- the payload crc since the xor seems to be based on rx_tx_addr[0]^rx_tx_addr[1]^rx_tx_addr[2]. We can test that easily with one of the captures.
- the 2 frequencies
Pascal
Please Log in or Create an account to join the conversation.
- Fer
- Offline
- Posts: 198
Please Log in or Create an account to join the conversation.
- planger
- Topic Author
- Offline
That confirms the TX ID in bind mode. But can you force in normal mode (after bind) the channel you are looking at to 6 and 38 to see if you are receiving packets?Fer wrote: Let me post two more pics that i know what are showing now. First one is while in bind mode (the stick is up, and haven't put it down yet), the second is after i lower the stick.
Please Log in or Create an account to join the conversation.
- Moeder
- Offline
- Posts: 796
@planger first bind payload packet seems to contain first channel
Please Log in or Create an account to join the conversation.
- Fer
- Offline
- Posts: 198
Please Log in or Create an account to join the conversation.
- Fer
- Offline
- Posts: 198
Please Log in or Create an account to join the conversation.
- planger
- Topic Author
- Offline
The only difference between the 2 receivers is the antenna. V1 has a dipole, V2 is a simple wire.Fer wrote: I understand that you may want to see the rx. I managed to remove the hatch with minimum damage. Here is the rx in two pics.
Please Log in or Create an account to join the conversation.
- planger
- Topic Author
- Offline
Ok 22 and 54 looks good to me since 22+0x20=54 so they are keeping the same channel separation.Fer wrote: Ok, here we go. First is before bind, second after bind. Now the only other channels it seems to find are 54 and 22. I attach the pics. The second raw keeps changing in channels 54 and 22. (The pics were not uploded in the order i described, but it is easy to see which is which).
So know what's the rule to go from these 4 bytes 67 0F 00 69 to 0x16 or 0x36.
It might be only my &0x0F in the channel calc let's see.
Please Log in or Create an account to join the conversation.
- planger
- Topic Author
- Offline
Just need the channel calculation now to work
Please Log in or Create an account to join the conversation.
- planger
- Topic Author
- Offline
The bind does not work because you haven't changed for V2 the bind freq line 230:
NRF24L01_WriteReg(NRF24L01_05_RF_CH, GD00X_RF_BIND_CHANNEL); // Bind channel
it should be instead:
NRF24L01_WriteReg(NRF24L01_05_RF_CH, sub_protocol==GD_V1?GD00X_RF_BIND_CHANNEL:GD00X_V2_RF_BIND_CHANNEL); // Bind channel
Please Log in or Create an account to join the conversation.
- planger
- Topic Author
- Offline
channel1 = (0x15+rx_tx_addr[0]^rx_tx_addr[1]^rx_tx_addr[2]^rx_tx_addr[3])&0x1F
channel2 = channel1 + 0x20
I was not far off with my first assumption.
Please Log in or Create an account to join the conversation.
- Home
- Forum
- Development
- Protocol Development
- C-17 Transport