Hi all,
I just bought an FrSky Taranis for my quad copter and needed to get the Mavlink data up on the Taranis LCD telemetry display. So here is my solution using a Teensy3.1 as a converter between MavLink and the S.Port on FrSky X8R.
See attached file below...
Replies
Great work Rolf!
Can you still integrate 2 digital ports for Arming and GPS status?
Background: I have used on my Copters with the APM 2.5 port A7 for an Arming Led and port A6 for an GPS Led.
After switching to the PIXHAWK I miss these leds.
The Toshiba I ² C LED is not available and not bright enough.
regards Peter
I want to use Teensy++ 2.0 for this rather than Teensy 3.1 which I am not getting at the moment from Sparkfun.
Is your code downward compatible to Teensy++ 2.0 ?
The Teensy does analog in. How hard would it be to detect individual cell voltages connecting the balance plug to those inputs? If you're running the teensy at 3.3v, you'd need to step down the voltage. But if you're running it at 5v, I think they could go directly in.
Here's a diagram of how the balance plug is wired. Since the cells are in series, you have to test between the cells to get the voltage of each cell.
@ Ralph, sorry I've just realized that you were talking precisely about smart port on the x8r and I have only D4R-II is the telemetry port on D4R-II the same as s.port + Tx pin?
Yes! Got mine working. I did some small change on the source code to compute/detect the number of cell from 2S to 6S. I tested it on 3S and 4S. My voltage is a little off with my meter but it is fault of the APM. Just need to calibrate it on the APM settings.
Thanks again for sharing this.
Here is some pictures from the Taranis screen showing the data received from APM:
Rolf,
I am going to order a teensy 3.1. I have a taranis transmitter that I would like to get data from my apm. To be clear, you did get this up and working. What are you showing on your taranis screen? I am mostly interested in altitude and battery voltage.
Thanks
https://drive.google.com/folderview?id=0B-B7PQy0joGrUjFmb2pSTFlqcWc...
Go into taranis section in the radios, advanced setup
Awesome work ! Can you shoot a small video clip of your Transis screen and post, will be 2 much good !
Wow!! This is what I'm looking for my first quadcopter build. My goal is reduce the weight by removing unecessary redundant sensory. I just ordered the teensy but unfortunately I don't have much experience in micro-controller development.
Any resources you can point me where to start how to compile the code you shared. Or this is already compiled? I just did a quick reading on the teeny site and it is looking for .hex binaries for the program.
Thanks again for sharing this.