Writing the Rx code?
- mwm
-
Topic Author
- Offline
Less
More
02 Apr 2015 04:41 #30671
by mwm
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.
Writing the Rx code? was created by mwm
I've got a new toy coming - an RC yacht. Telemetry for these things is limited. Eagle tree has some stuff, but it uses it's own Tx/Rx pair, is targeted at power boats, not wind driven, and is incredibly expensive.
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?
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.
- Fernandez
-
- Offline
Less
More
- Posts: 983
02 Apr 2015 08:51 #30678
by Fernandez
Replied by Fernandez on topic Writing the Rx code?
I would check the web, there are plenty of topics projects around related to DSM/X, FRSKY and Flysky.
www.rcgroups.com/forums/showthread.php?t=2124647
www.rcgroups.com/forums/showthread.php?t=1798913
www.rcgroups.com/forums/showthread.php?t=1726960
www.rcgroups.com/forums/showthread.php?t=2124647
www.rcgroups.com/forums/showthread.php?t=1798913
www.rcgroups.com/forums/showthread.php?t=1726960
- camousse
-
- Offline
Less
More
- Posts: 29
02 Apr 2015 18:58 #30703
by camousse
Replied by camousse on topic Writing the Rx code?
Hi,
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..
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..
- PhracturedBlue
-
- Offline
Less
More
- Posts: 4403
02 Apr 2015 19:16 #30704
by PhracturedBlue
Replied by PhracturedBlue on topic Writing the Rx code?
FrSky has a pretty open-architecture for telemetry. So another option would be to use an Frsky receiver with custom telemetry modules.
- camousse
-
- Offline
Less
More
- Posts: 29
02 Apr 2015 19:37 #30706
by camousse
Replied by camousse on topic Writing the Rx code?
probably, and better range too.
but i love diy...
Oh and changing pid from radio would be nice
but i love diy...
Oh and changing pid from radio would be nice
- mwm
-
Topic Author
- Offline
02 Apr 2015 23:06 #30717
by mwm
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.
Replied by mwm on topic Writing the Rx code?
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.
- Fernandez
-
- Offline
Less
More
- Posts: 983
03 Apr 2015 11:54 #30742
by Fernandez
Replied by Fernandez on topic Writing the Rx code?
A very good option would be to develop the Flysky AFHDS 2, protocol. Not sure if there are already informations on the web.
-Very cheap RX options (multiple types)
-Diversity antennas
-DATABUS for telemetry sensors on Rx
-Good Range Reports
-A7105
-Very cheap RX options (multiple types)
-Diversity antennas
-DATABUS for telemetry sensors on Rx
-Good Range Reports
-A7105
- SadSack
-
- Offline
Less
More
- Posts: 317
03 Apr 2015 20:59 - 03 Apr 2015 21:03 #30769
by SadSack
Replied by SadSack on topic Writing the Rx code?
github.com/esden/superbitrf-firmware
Could have DMS / DMX
1bitsquared.com/products/superbit-cyrf-module
Deviationtx Devo10 is on recommended tx list.
Could have DMS / DMX
1bitsquared.com/products/superbit-cyrf-module
Deviationtx Devo10 is on recommended tx list.
Last edit: 03 Apr 2015 21:03 by SadSack.
- mwm
-
Topic Author
- Offline
04 Apr 2015 22:10 #30803
by mwm
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.
Replied by mwm on topic Writing the Rx code?
There's plenty of room for the multimodule in a Devo 10.
SebyDocky's tutorial video
shows how he put it in his.
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.
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.
- SadSack
-
- Offline
Less
More
- Posts: 317
05 Apr 2015 09:07 #30805
by SadSack
Replied by SadSack on topic Writing the Rx code?
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).
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.
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.
- mwm
-
Topic Author
- Offline
07 Apr 2015 02:07 #30861
by mwm
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.
Replied by mwm on topic Writing the Rx code?
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.
Time to create page: 0.036 seconds
-
Home
-
Forum
-
Development
-
Protocol Development
- Writing the Rx code?