Star Trek Air Hogs
- planger
- Topic Author
- Offline
One of my friend has purchased an Air Hogs Star Trek. He asked me to look at the remote.
All chips are under epoxy so no way to know what they are.
The SPI bus is accessible so I've made a couple of dumps. Here is a power up with RX on: drive.google.com/file/d/1nTalIYr6mgkvVaB...xOY/view?usp=sharing
The registers used while transmitting/receiving look compatible with the nrf24l01 but some of the registers used during init are not. They do not match either xn297 or xn297l datasheets.
I've tried to listen with the nrf on the TX address without luck, same if I use the XN297 and XN297L preambules...
If you have any ideas please shoot.
Thanks, Pascal
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.
- planger
- Topic Author
- Offline
Despite what's being written in the registers the speed is 250k and the 5 bytes address is sent in clear text. I'm able to receive the packets using the nrf24l01.
But the payload has an overlay. So far we've seen xor being applied so I'll try the same approach and see if it does work over multiple different packets.
Pascal
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.
- planger
- Topic Author
- Offline
I should now be able to send data to the quad. I hope the xor table is the same ie independant of the payload length since the quad sends 11 bytes and not 14 bytes (TX).
Pascal
Please Log in or Create an account to join the conversation.
- planger
- Topic Author
- Offline
I've decided to do this protocol before the v911s since the packet structure was already known so easier to get in this world.
Pascal
Please Log in or Create an account to join the conversation.
- planger
- Topic Author
- Offline
9 TX IDs are available in the code. The RX is using a pseudo random ID as well so not a big deal...
Enjoy, Pascal
Please Log in or Create an account to join the conversation.
- planger
- Topic Author
- Offline
I've also added crash detection through the telemetry. On ersky9X/OpentTX you can play a sound on a telemetry event which is a siren on the original TX.
Pascal
Please Log in or Create an account to join the conversation.
- goebish
- Offline
- I Void Warranties
- Posts: 2631
Please Log in or Create an account to join the conversation.
- goebish
- Offline
- I Void Warranties
- Posts: 2631
planger wrote: I've added "Wrap" on CH5. I don't know what it really does apart from dimming the lights...
I suppose this is "Warp", to enable traveling at the speed of light (or more!)
memory-alpha.wikia.com/wiki/Warp_factor
Please Log in or Create an account to join the conversation.
- goebish
- Offline
- I Void Warranties
- Posts: 2631
www.dropbox.com/sh/ajjnqdkqm4k2id9/AAC6r...m-qPrdrkdHNqTga?dl=0
Protocol: NCC1701
Channel 5: "Warp"
source: github.com/DeviationTX/deviation/pull/455
Note that there is a Devo 7e test build but the automated build system is not able to build it for now, it might not be included in future nightly builds.
Please Log in or Create an account to join the conversation.
- planger
- Topic Author
- Offline
Pascal
Please Log in or Create an account to join the conversation.
- goebish
- Offline
- I Void Warranties
- Posts: 2631
Please Log in or Create an account to join the conversation.
- Alf-1234
- Offline
- Posts: 82
Würde das Protokoll NCC1701 auch mit anderen Modellen von Air Hogs funktionieren oder nicht??
Air Hogs has even more Star Trek models than the Enterprise.
Would the NCC1701 protocol also work with other Air Hog models or not?
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.
- Home
- Forum
- Development
- Protocol Development
- Star Trek Air Hogs