Hello guest, if you read this it means you are not registered. Click here to register in a few simple steps, you will enjoy all features of our Forum.
This forum uses cookies
This forum makes use of cookies to store your login information if you are registered, and your last visit if you are not. Cookies are small text documents stored on your computer; the cookies set by this forum can only be used on this website and pose no security risk. Cookies on this forum also track the specific topics you have read and when you last read them. Please confirm whether you accept or reject these cookies being set.

A cookie will be stored in your browser regardless of choice to prevent you being asked this question again. You will be able to change your cookie settings at any time using the link in the footer.

Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
[RC Controller]Send back custom data from Receiver to Controller
#1
Hi all,
I'm a prgrammer but new for fly.
I wonder if there's a RC Controller that support I send data from Receiver(say I have a private program running in Flight Controller which producing data all the way), and I can put a program in Controller to parse those data, and then I can some interesting things(like drawing custom dashboard on Controller screen, or send command from Controller's serial port to other local devices).
I learned this feature is may called 'telemetry', but as I know it only support pass some standard data automatically, like battery, rssi (that's why we can see those reading from Controller's screen), But what i want is to send and parse custom data.

add a picture to explain:

[Image: 80177440-5e7ba300-862e-11ea-8a6b-8e328be949ee.png]


Thanks.
Reply
Login to remove this ad | Register Here
#2
It depends on what receiver you have. It also depends on what radio controller controller you have ;D

Can you tell use what you're using?
'Ignore' is the route word of Ignorant. 
Reply
#3
(24-Apr-2020, 03:45 AM)bLoWsMokE Wrote: It depends on what receiver you have. It also depends on what radio controller controller you have ;D

Can you tell use what you're using?

thanks for the replying, I don't have any controller and receiver, so I want to know more before I get one.
I not sure what I gonna do for now, but just want to have a data link between the flight and the controller, and can consume those data in controller for further use, either draw on screen or send to other device via controller's serial port.
I've added a picture in my original post, not sure if it can show correctly.
Reply
#4
If you want specific data that you specifically want, that is not possible. Unless you figure out how to write the firmware for the receiver you are using. There are a few thoughts I have that can potentially do what you, UT these thinga are untested.
Reply
#5
(24-Apr-2020, 05:58 AM)voodoo614 Wrote: If you want specific data that you specifically want, that is not possible. Unless you figure out how to write the firmware for the receiver you are using. There are a few thoughts I have that can potentially do what you, UT these thinga are untested.

So the data for showing for battery voltage, flying angles, gps data and etc. in many modern controllers are all transferred via manuafacturer's private protocols? there's no open data link can be used for flyer's?
I just noticed the open source project "OPEN TX", is that possible to have a support for the custom data link?


thanks.
Reply
#6
(24-Apr-2020, 06:16 AM)shawn Wrote: So the data for showing for battery voltage, flying angles, gps data and etc. in many modern controllers are all transferred via manuafacturer's private protocols? there's no open data link can be used for flyer's?
I just noticed the open source project "OPEN TX", is that possible to have a support for the custom data link?


thanks.

I believe if you have the knowledge you can write your own code, as long as you don't try and sell it. I'm still not 100% sure what it is you want.

What exactly is it that you're wanting to be able to see? You can get a pretty thorough reading of telemetry from some receivers to go into your transmitter..... How you're able to save that and move it to your computer is another question.

You do know that there are black boxes on most flight controllers that record just about everythingthat has to do with a specific flight and you can use a program on your PC you view it. Maybe that's really everything you wanna be able to see? Getting it to show on your transmitter is proly possible, but not something I would be capable of figuring out without a lot of schooling at least lol. You'd have to write a program or a script on your TX itself.

What exactly is it that you want to be able to record?
'Ignore' is the route word of Ignorant. 
Reply
#7
(24-Apr-2020, 06:16 AM)shawn Wrote: So the data for showing for battery voltage, flying angles, gps data and etc. in many modern controllers are all transferred via manuafacturer's private protocols? there's no open data link can be used for flyer's?
I just noticed the open source project "OPEN TX", is that possible to have a support for the custom data link?


thanks.

So OpenTX, which is the software that the radio runs on, is open source. You can modify it as much as you want. The firmware on the receiver is closed source. The receiver only sends certain data to the radio. I don't know how you will figure out how to make the receiver sends the data that you want. Unless you write your own firmware for the receiver.
Reply
#8
(24-Apr-2020, 05:40 PM)voodoo614 Wrote: So OpenTX, which is the software that the radio runs on, is open source. You can modify it as much as you want. The firmware on the receiver is closed source. The receiver only sends certain data to the radio. I don't know how you will figure out how to make the receiver sends the data that you want. Unless you write your own firmware for the receiver.

thanks, this is pretty clear, so there's no "open data link" between the Receiver and the Controller.
Reply
#9
(24-Apr-2020, 10:48 AM)bLoWsMokE Wrote: I believe if you have the knowledge you can write your own code, as long as you don't try and sell it. I'm still not 100% sure what it is you want.

What exactly is it that you're wanting to be able to see? You can get a pretty thorough reading of telemetry from some receivers to go into your transmitter..... How you're able to save that and move it to your computer is another question.

You do know that there are black boxes on most flight controllers that record just about everythingthat has to do with a specific flight and you can use a program on your PC you view it. Maybe that's really everything you wanna be able to see? Getting it to show on your transmitter is proly possible, but not something I would be capable of figuring out without a lot of schooling at least lol. You'd have to write a program or a script on your TX itself.

What exactly is it that you want to be able to record?

like I have a Carbon dioxide or Methane sensor on plane, I want the sensor readings can be send back, and show a custom chart diagram on Controller screen.
like I have a Micphone on Controller, it can send the voice to drone, vice versa, the drone have a Mic can collect voice and pass back to Controller.
Reply
#10
(25-Apr-2020, 02:25 PM)shawn Wrote: like I have a Carbon dioxide or Methane sensor on plane, I want the sensor readings can be send back, and show a custom chart diagram on Controller screen.
like I have a Micphone on Controller, it can send the voice to drone, vice versa, the drone have a Mic can collect voice and pass back to Controller.

The voice thing is something that people do in like RC cars and stuff there is one in these forums somewhere actually I'm pretty sure.

As for the Carbon dioxide sensor I have no clue how'd you do that. Your carbon dioxide sensor itself would have to have the capability of making such a chart, then you'd have to hook a transmitter of some sort to it. Then you'd have to have some sort of receiver that would receiver that information. 

I believe to get it to send it to your radio, you'd have to edit the code of betaflight/iNav/w.e software you're using.... AND open TX. So that's one hell of a project. You'd have to figure out a way to get your flight controller software to be able to read such a sensor and send it to your receiver to transmit back to the radio.

In fact you'd proly have to write code into the receiver firmware as well lol

They ARE all open source (although actually the receiver won't be I don't think.) So in theory I guess it's POSSIBLE and you can even go see the code yourself for open TX and betaflight (I'm not sure about iNav whether it's open source or not).

BTW Voodoo didn't say there isn't an open data link between the receiver and the radio......There are many receivers with an 'open data link' that can transmit and receive data to and from the radio transmitter. What he's saying is that the firmware isn't open source, so you wouldn't be able to write your own code into it unless you created an entirely new firmware.


In any case, I hope you have like.... a masters in computer science or software engineering though ;D
'Ignore' is the route word of Ignorant. 
Reply
#11
Seems like a raspberry pi would have the flexibility to do what you want. Here is a Rotor Riot video showing off a commercial version of a Raspberry Pi quadcopter.

Reply
#12
This is exactly I am trying to figure out, like I want to make my own landing assist module, I can use a simple proximity sensor with nano arduino underneath the plane, read the hieight and also have a gyro reading adjust PWMs accordingly to level and safely land the plane, not letting pilot make more mistakes.

In the above case I want to make a sensor, what I think is that we can make an I2C or uart connection between arduino and the FC or stabilizer or just servos
Reply


Possibly Related Threads...
Thread Author Replies Views Last Post
  The Jumper T18 controller is not showing up on my PC Hoakim 4 103 07-Jun-2024, 10:01 AM
Last Post: SeismicCWave
  2 Receiver on FC Eyes.fpv 9 218 28-Apr-2024, 09:50 PM
Last Post: Pathfinder075
  Need advice getting back into building quadcopters Radworm 169 4,754 24-Apr-2024, 07:00 PM
Last Post: SeismicCWave
  problems connecting and writing code for the remote (esp32) and the flight controller YarikVor 2 218 23-Apr-2024, 03:58 PM
Last Post: YarikVor
  Can I connect my DJI fpv v2 goggles to and dji fpv remote controller 2 to other drons qt179 4 407 08-Apr-2024, 10:57 AM
Last Post: roleyrev


Login to remove this ad | Register Here