Writing the Rx code?
- mwm
- Topic Author
- Offline
I was thinking that the flexibility of deviationtx would make it a great tool for experimenting with this stuff. I.e. - grab an arduino or RPi and an nrf24l01 from my parts bin, order some I2C sensors from one of my non-rc toy stores, and I'm set for hardware.
But I need Rx software. Would one of the NRF24L01 protocol modules provide a good starting point? Or would I be better off designing a protocol from scratch? I was thinking about abandoning the channel packet model, and going with a device addressing protocol that just reported changes, sort of like the protocols the sphero or the pololu servo controller use. I would actually prefer the latter, as it would allow for a future controller that ran on a mobile device that could address however many device id's I allowed in the packet.
Anyone got any advice?
Do not ask me questions via PM. Ask in the forums, where I'll answer if I can.
My remotely piloted vehicle ("drone") is a yacht.
Please Log in or Create an account to join the conversation.
- Fernandez
- Offline
- Posts: 983
www.rcgroups.com/forums/showthread.php?t=2124647
www.rcgroups.com/forums/showthread.php?t=1798913
www.rcgroups.com/forums/showthread.php?t=1726960
Please Log in or Create an account to join the conversation.
- camousse
- Offline
- Posts: 29
I want to do the same thing : plug a A7105 (Hubsan/Flysky) to a naze32 (flight controller) to make a receiver with telemetry. All the data available on the flight controller will be available on the radio.
Why A7105 ? Cause i don't have multimod, so i can't use telemetry with NRF24L01. (Don't found the space in the Devo10 to put multimod)
I try to modify FlyskyRx code, but i don't have the time....
Starting from Hubsan will be easier, but i don't have the source..
Please Log in or Create an account to join the conversation.
- PhracturedBlue
- Offline
- Posts: 4402
Please Log in or Create an account to join the conversation.
- camousse
- Offline
- Posts: 29
but i love diy...
Oh and changing pid from radio would be nice
Please Log in or Create an account to join the conversation.
- mwm
- Topic Author
- Offline
PhracturedBlue wrote: FrSky has a pretty open-architecture for telemetry. So another option would be to use an Frsky receiver with custom telemetry modules.
Is there official documentation? I've been working with the DSM telemetry because the ports have been reverse engineered and the FrSky protocol in deviationTx seems to be a bit wonky as yet.
Of course, it seems like the DSM protocol with telemetry enabled has it's own problems, so maybe I ought to look at the FrSky stuff again.
Do not ask me questions via PM. Ask in the forums, where I'll answer if I can.
My remotely piloted vehicle ("drone") is a yacht.
Please Log in or Create an account to join the conversation.
- Fernandez
- Offline
- Posts: 983
-Very cheap RX options (multiple types)
-Diversity antennas
-DATABUS for telemetry sensors on Rx
-Good Range Reports
-A7105
Please Log in or Create an account to join the conversation.
- SadSack
- Offline
- Posts: 317
Could have DMS / DMX
1bitsquared.com/products/superbit-cyrf-module
Deviationtx Devo10 is on recommended tx list.
Please Log in or Create an account to join the conversation.
- mwm
- Topic Author
- Offline
Is there an AFHDS 2 protocol module available for deviationTx? It's not in the latest version of the team repository. And I cant seem to find docs on the DataBus.
The superbit stuff looks interesting, but CYRF modules seem awfully dear.
To use an existing protocol, I need a protocol that deviationTx supports, Rx's, and documentation on how to build my own sensors. So far, the best bet seems to be just going with DSM Rx's and using the reverse engineered sensor docs. But adding a robotics style protocol to deviationTx sounds like more fun.
Do not ask me questions via PM. Ask in the forums, where I'll answer if I can.
My remotely piloted vehicle ("drone") is a yacht.
Please Log in or Create an account to join the conversation.
- SadSack
- Offline
- Posts: 317
And CYRF6936 based module is cheapest/lowest part count (simplest RF section).
Or
Buy lemonRC Sat and use that for parts....
And would give everyone a sporting chance of building there own hardware.
Banggood does carry now all tools + extras for DIY route.
Please Log in or Create an account to join the conversation.
- mwm
- Topic Author
- Offline
SadSack wrote: Would be cheaper to build your own module and codes in the git.
And CYRF6936 based module is cheapest/lowest part count (simplest RF section)..
What do you mean by "build your own module"? Buy an RF module & microprocessor? Or design and build a board to mount RF module & cpu on? Or something else?
As far as I can tell, they CYRF RF modules start around $20 for an RF module board, and $3 for the chip. The NRF24L01 module boards start at $1. Personally, I favor the NRF24L01 or A7105 because I have spares of those from deviating my Tx's.
Do not ask me questions via PM. Ask in the forums, where I'll answer if I can.
My remotely piloted vehicle ("drone") is a yacht.
Please Log in or Create an account to join the conversation.
- Home
- Forum
- Development
- Protocol Development
- Writing the Rx code?