Mlink-FrSky-Telemetry converter
- MikeB
- 9x Developer
- Posts: 17979
- Joined: Tue Dec 27, 2011 1:24 pm
- Country: -
- Location: Poole, Dorset, UK
Re: Mlink-FrSky-Telemetry converter
It does have the serial connection, but it looks like the connector is not fitted to the PCB, and it is not as easily accessible. You have to remove the back of the X9E to get at it.
Mike.
Mike.
erskyTx/er9x developer
The difficult we do immediately,
The impossible takes a little longer!
The difficult we do immediately,
The impossible takes a little longer!
-
- Posts: 8
- Joined: Sat Nov 21, 2015 9:06 pm
- Country: -
Re: Mlink-FrSky-Telemetry converter
Hello Mike,
thanks for that Information. I read about the Serial port in another thred. There shall be a P12 or P14 port inside of the 9xE.
I thinks Bluetooth is used at the Serial port. So I have to try if it is possible to use that port for Telemetrie by the MPX modul.
I would like to get more Information about that. If it is not possible to use the Serial port I would rather buy the X9D+ Radio.
Do you think I could the Bluetooth Connection to send the telemetire frpm the modul back into the X9E. Eaven if it wouldnt make much sense to send data by Bluetooth from the Sender to the Sender. Maybe I can find out if it is possible to deactivate the Bluetooth chip.
Roland
thanks for that Information. I read about the Serial port in another thred. There shall be a P12 or P14 port inside of the 9xE.
I thinks Bluetooth is used at the Serial port. So I have to try if it is possible to use that port for Telemetrie by the MPX modul.
I would like to get more Information about that. If it is not possible to use the Serial port I would rather buy the X9D+ Radio.
Do you think I could the Bluetooth Connection to send the telemetire frpm the modul back into the X9E. Eaven if it wouldnt make much sense to send data by Bluetooth from the Sender to the Sender. Maybe I can find out if it is possible to deactivate the Bluetooth chip.
Roland
Re: Mlink-FrSky-Telemetry converter
I don't know if this is what you are looking for but have a look here.. Maybe it helps.
viewtopic.php?f=86&t=6604&hilit=oxs+multiplex
João
viewtopic.php?f=86&t=6604&hilit=oxs+multiplex
João
My er9x/Ersky9x/eepskye Video Tutorials
https://www.youtube.com/playlist?list=PL5uJhoD7sAKidZmkhMpYpp_qcuIqJXhb9
Donate to Er9x/Ersky9x:
https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick&hosted_button_id=YHX43JR3J7XGW
https://www.youtube.com/playlist?list=PL5uJhoD7sAKidZmkhMpYpp_qcuIqJXhb9
Donate to Er9x/Ersky9x:
https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick&hosted_button_id=YHX43JR3J7XGW
- MikeB
- 9x Developer
- Posts: 17979
- Joined: Tue Dec 27, 2011 1:24 pm
- Country: -
- Location: Poole, Dorset, UK
Re: Mlink-FrSky-Telemetry converter
The bluetooth serial port and the real serial port are different items. I'll need to open my X9E up to check what is available in production X9Es, but the prototype PCBs did have a serial port as I used that to help debug the firmware!
Mike.
Mike.
erskyTx/er9x developer
The difficult we do immediately,
The impossible takes a little longer!
The difficult we do immediately,
The impossible takes a little longer!
-
- Posts: 8
- Joined: Sat Nov 21, 2015 9:06 pm
- Country: -
Re: Mlink-FrSky-Telemetry converter
Hello Mike,
on This photo you can see an unused P12 port.
http://www.rcgroups.com/forums/attachme ... id=8207395
Are These P12 Pins dedicated to the Serial port for Telemetry?
greetings Roland
on This photo you can see an unused P12 port.
http://www.rcgroups.com/forums/attachme ... id=8207395
Are These P12 Pins dedicated to the Serial port for Telemetry?
greetings Roland
- MikeB
- 9x Developer
- Posts: 17979
- Joined: Tue Dec 27, 2011 1:24 pm
- Country: -
- Location: Poole, Dorset, UK
Re: Mlink-FrSky-Telemetry converter
No, this is the 'free' serial port, pins:
1. receive
2. transmit
3. battery
4. ground.
The signals are inverted, pin 1 is the one with the square pad.
Take great care not to short the battery pin to anything else.
Mike.
1. receive
2. transmit
3. battery
4. ground.
The signals are inverted, pin 1 is the one with the square pad.
Take great care not to short the battery pin to anything else.
Mike.
erskyTx/er9x developer
The difficult we do immediately,
The impossible takes a little longer!
The difficult we do immediately,
The impossible takes a little longer!
Re: Mlink-FrSky-Telemetry converter
Hy Tobi,
with this kind of Software, Hardware and your Experieance
I think there colud be realized a HOTT to Frksy Telemetry Converter
That would be great too!
--
with this kind of Software, Hardware and your Experieance
I think there colud be realized a HOTT to Frksy Telemetry Converter
That would be great too!
--
Re: Mlink-FrSky-Telemetry converter
Hello Helle,
I am sure, that is possible. I am not a HOTT-expert, so I can not tell you any details.
But maybe you can use my code and make a HOTT-version.
Best regards
Tobi
I am sure, that is possible. I am not a HOTT-expert, so I can not tell you any details.
But maybe you can use my code and make a HOTT-version.
Best regards
Tobi
Re: Mlink-FrSky-Telemetry converter
Hi Tobi.
Found a thread about Mlink-FrSky-Telemetry converter here http://fpv-community.de/showthread.php? ... FMG3/page3
Could not resist and did a short test with some components, I have here.
Taranis X9D mit 2.1.7, MPX HFMG3, Arduino UNO, MPX RX 7 und MPX Vario and oXs Vario/BMP180
POSITIVE: No problem getting your sketch on the UNO. Got the sensor recognized on Taranis.
NEGATIVE: Had to switch ON TX, then RX and then could connect HFMG3 signal output to UNO. Could be due to me using an UNO instead of a ProMini and the power supply of the UNO. And (maybe because of that ?) unstable vario values.
br KH
Found a thread about Mlink-FrSky-Telemetry converter here http://fpv-community.de/showthread.php? ... FMG3/page3
Could not resist and did a short test with some components, I have here.
Taranis X9D mit 2.1.7, MPX HFMG3, Arduino UNO, MPX RX 7 und MPX Vario and oXs Vario/BMP180
POSITIVE: No problem getting your sketch on the UNO. Got the sensor recognized on Taranis.
NEGATIVE: Had to switch ON TX, then RX and then could connect HFMG3 signal output to UNO. Could be due to me using an UNO instead of a ProMini and the power supply of the UNO. And (maybe because of that ?) unstable vario values.
br KH
-
- Posts: 82
- Joined: Sat Nov 14, 2015 12:26 pm
- Country: -
Re: Mlink-FrSky-Telemetry converter
KH,
This is great. I could not get it working, could you sure the code you use with me.
Have send you an pm on the same topic.
Jonathan
This is great. I could not get it working, could you sure the code you use with me.
Have send you an pm on the same topic.
Jonathan
Re: Mlink-FrSky-Telemetry converter
Hi Jonathan.
You have a ACT or MPX TX modul?
I used a MPX modul and it works .... somehow
But at the moment this is NOT usable at that state. At least for me!
And I don't know how to test and rewrite Tobis code.
Jonathan, I am using LINUX and that is my folder structure for ARDUINO apps.
/home/user/application/
├── Arduino
│ ├── libraries
│ │ └── MLinkExMin <--- lib #1
│ │ └── examples
│ │ ├── MSBeinlesen
│ │ └── SensorDaten
│ ├── MLinkFrSkyConverter <--- sketch #2
├── arduino-1.6.7 <--- My ARDUINO IDE
There are two subFOLDERS here: Arduino (which holds necessary libraries and sketches) and arduino-1.6.7 (the IDE)
...and then
FOLDER lib #1 holds Tobis two files: MLinkExMin.h and MLinkExMin.cpp (necessary) and his examples (not necessary)
FOLDER sketch #2 holds: FrSkyProtokoll.ino, MLinkFrSkyConverter.ino and (not necessary) Mlink-FrSky-Translator.pdf
So what I did was just download Tobis files from here (post Sun Sep 13, 2015 6:22 am) and rearranged the files/folders a little.
That is all!!
FOLDER sketch #2 name must be MLinkFrSkyConverter
Start the IDE, load MLinkFrSkyConverter.ino, verify the sketch and then upload it to your UNO, ProMini or what ever .....
Hope, that helps .... If there are further questions, don't hesitate to come back. No PN necessary.
br KH
You have a ACT or MPX TX modul?
I used a MPX modul and it works .... somehow
But at the moment this is NOT usable at that state. At least for me!
And I don't know how to test and rewrite Tobis code.
Jonathan, I am using LINUX and that is my folder structure for ARDUINO apps.
/home/user/application/
├── Arduino
│ ├── libraries
│ │ └── MLinkExMin <--- lib #1
│ │ └── examples
│ │ ├── MSBeinlesen
│ │ └── SensorDaten
│ ├── MLinkFrSkyConverter <--- sketch #2
├── arduino-1.6.7 <--- My ARDUINO IDE
There are two subFOLDERS here: Arduino (which holds necessary libraries and sketches) and arduino-1.6.7 (the IDE)
...and then
FOLDER lib #1 holds Tobis two files: MLinkExMin.h and MLinkExMin.cpp (necessary) and his examples (not necessary)
FOLDER sketch #2 holds: FrSkyProtokoll.ino, MLinkFrSkyConverter.ino and (not necessary) Mlink-FrSky-Translator.pdf
So what I did was just download Tobis files from here (post Sun Sep 13, 2015 6:22 am) and rearranged the files/folders a little.
That is all!!
FOLDER sketch #2 name must be MLinkFrSkyConverter
Start the IDE, load MLinkFrSkyConverter.ino, verify the sketch and then upload it to your UNO, ProMini or what ever .....
Hope, that helps .... If there are further questions, don't hesitate to come back. No PN necessary.
br KH
-
- Posts: 82
- Joined: Sat Nov 14, 2015 12:26 pm
- Country: -
Re: Mlink-FrSky-Telemetry converter
Yup Multplex HFMG3 module.
Where you get the MSBeinlesen and SensorDaten ? from arduino.cc site ?
WHen I verify and complie I got errors...
APology for basic question.
Where you get the MSBeinlesen and SensorDaten ? from arduino.cc site ?
WHen I verify and complie I got errors...
APology for basic question.
Last edited by jonathanyeo on Thu Jan 14, 2016 10:56 am, edited 1 time in total.
Re: Mlink-FrSky-Telemetry converter
No here
It is all in the zip file Tobi posted here
br KH
It is all in the zip file Tobi posted here
br KH
-
- Posts: 82
- Joined: Sat Nov 14, 2015 12:26 pm
- Country: -
Re: Mlink-FrSky-Telemetry converter
ah...i got that in the examples.. I miss read. I posted the error msg I am getting in the original post.
Re: Mlink-FrSky-Telemetry converter
What is that? What is your operation system? Win? What version Arduino IDE you are using? What Arduino? UNO, ProMini ...?jonathanyeo wrote:I posted the error msg I am getting in the original post.
You have any experience with simple sketches on Arduino? Like "BLINK" sketch?
If you don't have experience, start with a simple think like the "BLINK" sketch!
AFTER THAT.
Get the FOLDER STRUCTURE right on your computer. See my previous post.
Loaded MLinkFrSkyConverter.ino into my arduino IDE. FrSkyProtokoll.ino is automatically loaded
The I trigged "compile". Runs fine ....
And finally I do the upload to my UNO. See Arduino UNO recognized and the interface /dev/ttyACM0
(Remember, that interface is on my Linux machine ....)
THAT IS IT. NO PROGAMMING BY ME.
-
- Posts: 82
- Joined: Sat Nov 14, 2015 12:26 pm
- Country: -
Re: Mlink-FrSky-Telemetry converter
I am puzzle like you, I am using mac OS and Nano board.
Is ok no worry... i will watching this closely hopefully we have an solution to bring multiplex telemtry into Taranis.
Is ok no worry... i will watching this closely hopefully we have an solution to bring multiplex telemtry into Taranis.
Re: Mlink-FrSky-Telemetry converter
I am NOT puzzled.jonathanyeo wrote:I am puzzle like you, I am using mac OS and Nano board.
Is ok no worry... i will watching this closely hopefully we have an solution to bring multiplex telemtry into Taranis.
The only problem, I see, is, that Tobi here did the development for an ACT TX modul. And no one "jumped on that train", took his own equipment and did some test, to have feedback on his own experience with that application.
I don't have the slightest problem, getting the sketch on an UNO here and connecting those 2 resistors and transistor to my Taranis ...
What I can not do, is resolve the problems in Tobis coding to get it working with the MPX TX modul. Last time I myself did some programming, it was ~40 years ago and in FORTRAN IV.
Jonathan, you did not answer the rest of my questions. Not very polite I know now, you have MAC OS and a Nano. But I assume you don't have any experience with ARDUINO.
Please take my advise. Get the ARDUINO IDE set up on your MAC OS and do some simple experiment ("BLINK" sketch to start with ...)
There are tons and tons of information on INTERNET. https://www.arduino.cc/en/Guide/MacOSX
It is worth while. One example here https://github.com/openXsensor/openXsensor with is widely discussed in this forum. And there are many more examples like that.
br KH
PS. Jonathan, you wrote " i will watching this closely". You can do better than that. Sorry, I can not help you, getting the Arduino IDE on your MAC OS running. (WIN and LINUX I have ...) But that can not be a big problem. You seem to have the necessary equipment for doing tests, once you got that ARDUINO IDE MAC OS thing sorted out. And when there are 3 or 4 people doing tests, maybe Tobi will again have a look into his coding. But if people "only" watch this closely, I can understand, this project is finished for Tobi.
-
- Posts: 82
- Joined: Sat Nov 14, 2015 12:26 pm
- Country: -
Re: Mlink-FrSky-Telemetry converter
Br KH,
I am not giving up... just continue to try.Good advice from you, I just did the BLINK test. And Make some changes to the code to make it BLINK , BLINK , BLINK.....so I am making step progress. Will look at the openXsenso example.
Please let other know in other forum if they want to do any test to let me know. I will be able to test it.
In my mind I would want to be able to test if I can use the Arduino to simulate sending some sensor value to Taranis to make sure it recognised. Will see how I can do that... any suggestion what to test are welcome.
Jonathan
PS : Here is what I have and more to do any test.
I am not giving up... just continue to try.Good advice from you, I just did the BLINK test. And Make some changes to the code to make it BLINK , BLINK , BLINK.....so I am making step progress. Will look at the openXsenso example.
Please let other know in other forum if they want to do any test to let me know. I will be able to test it.
In my mind I would want to be able to test if I can use the Arduino to simulate sending some sensor value to Taranis to make sure it recognised. Will see how I can do that... any suggestion what to test are welcome.
Jonathan
PS : Here is what I have and more to do any test.
Re: Mlink-FrSky-Telemetry converter
So BLINK, BLINK is working. That is fine, Jonathan!
And on your pic I see enough to do a test.
So I assume now, the problem you have is sorting the folder/file structure right on your MAC OS right.
That is my structure. I keep libraries and sketch folder separate from the ARDUINO IDE arduino-1.x.x folder.
So, if there is an update of the IDE, I don't remove my (user) libraries and sketches.
/home/user/application/
├── Arduino
│ ├── libraries
│ │ └──
│ │ └── examples
│ │ ├── MSBeinlesen
│ │ └── SensorDaten
│ ├── MLinkFrSkyConverter
├── arduino-1.6.7
But on your machine the libraries folder will be more likely inside the arduino-1.x.x folder.
Like on that pic here .... 1. Inside libraries folder you have to make a new folder MLinkExMin with MLinkExMin.h and MLinkExMin.cpp inside.
2. Inside your arduino-1.x.x folder make a new folder MLinkFrSkyConverter with FrSkyProtokoll.ino, MLinkFrSkyConverter.ino and (not necessary) Mlink-FrSky-Translator.pdf inside
3. Start your ARDUINO IDE and open MLinkFrSkyConverter.ino
Now you should see the pics, I posted here previously
Hope, I did not make a mistake. I am not an expert
Awaiting your response .....
br KH
And on your pic I see enough to do a test.
So I assume now, the problem you have is sorting the folder/file structure right on your MAC OS right.
That is my structure. I keep libraries and sketch folder separate from the ARDUINO IDE arduino-1.x.x folder.
So, if there is an update of the IDE, I don't remove my (user) libraries and sketches.
/home/user/application/
├── Arduino
│ ├── libraries
│ │ └──
│ │ └── examples
│ │ ├── MSBeinlesen
│ │ └── SensorDaten
│ ├── MLinkFrSkyConverter
├── arduino-1.6.7
But on your machine the libraries folder will be more likely inside the arduino-1.x.x folder.
Like on that pic here .... 1. Inside libraries folder you have to make a new folder MLinkExMin with MLinkExMin.h and MLinkExMin.cpp inside.
2. Inside your arduino-1.x.x folder make a new folder MLinkFrSkyConverter with FrSkyProtokoll.ino, MLinkFrSkyConverter.ino and (not necessary) Mlink-FrSky-Translator.pdf inside
3. Start your ARDUINO IDE and open MLinkFrSkyConverter.ino
Now you should see the pics, I posted here previously
Hope, I did not make a mistake. I am not an expert
Awaiting your response .....
br KH
-
- Posts: 82
- Joined: Sat Nov 14, 2015 12:26 pm
- Country: -
Re: Mlink-FrSky-Telemetry converter
br KH,
Thank you for keep pushing me on....
I finally managed to get a baseline setup for us to build on .....
Everything is working or "Not working" as it support to be where Tobi left off.
The one thing that I did beyond is had a y-cable and connect my logger and the arduino nano in parallel, it prove that I am still logging on the logger without an issue. So the arduino did not mess up anything it is just not picking up properly or not sending correctly to the Taranis. But everything is working connectivity wise..
Let start party and get more people in to help
Jonathan
Thank you for keep pushing me on....
I finally managed to get a baseline setup for us to build on .....
Everything is working or "Not working" as it support to be where Tobi left off.
The one thing that I did beyond is had a y-cable and connect my logger and the arduino nano in parallel, it prove that I am still logging on the logger without an issue. So the arduino did not mess up anything it is just not picking up properly or not sending correctly to the Taranis. But everything is working connectivity wise..
Let start party and get more people in to help
Jonathan
Re: Mlink-FrSky-Telemetry converter
Hi Jonathan.
1. So you did solve the issue with file/folder structure! And managed to compile and upload Tobis sketch to your nano. Good!!!!
2. What is that sensor I see in your pic #1? I see ALT, Fuel and Vspeed with Fuel marked with a star.
But your values seem to be unusable like mine?!
(I did my test with MVario and an oXs Vario with BMP180 sensor.)
3. What is with my remark "Had to switch ON TX, then RX and then could connect HFMG3 signal output to UNO"
Can you confirm or did you not have that problem? Maybe I made a mistake here ....
4. Connecting to the serial port inside Taranis battery bay is a little difficult. Searched my junk boxes here and found some cables from soundblaster pc cards. Could make a cable (the one on the right) for the serial port. 5. What is now needed is assistance from Tobi to sort things out. I guess, it can not be much ...
There is a discussion on http://fpv-community.de/showthread.php? ... FMG2-HFMG3 and someone there mentioned, that possibly the ACT protocol is a little different from the MPX.
What I could do. I have a saleae analyzer and could record data streams MPX RX -> arduino and arduino -> Taranis.
PS. Now, that you got your Arduino IDE working. Some of the small things with Arduino ...
A PPM/PWM/Servo Tester -> viewtopic.php?f=84&t=4549
A simple PWM display Some oXs Varios
1. So you did solve the issue with file/folder structure! And managed to compile and upload Tobis sketch to your nano. Good!!!!
2. What is that sensor I see in your pic #1? I see ALT, Fuel and Vspeed with Fuel marked with a star.
But your values seem to be unusable like mine?!
(I did my test with MVario and an oXs Vario with BMP180 sensor.)
3. What is with my remark "Had to switch ON TX, then RX and then could connect HFMG3 signal output to UNO"
Can you confirm or did you not have that problem? Maybe I made a mistake here ....
4. Connecting to the serial port inside Taranis battery bay is a little difficult. Searched my junk boxes here and found some cables from soundblaster pc cards. Could make a cable (the one on the right) for the serial port. 5. What is now needed is assistance from Tobi to sort things out. I guess, it can not be much ...
There is a discussion on http://fpv-community.de/showthread.php? ... FMG2-HFMG3 and someone there mentioned, that possibly the ACT protocol is a little different from the MPX.
What I could do. I have a saleae analyzer and could record data streams MPX RX -> arduino and arduino -> Taranis.
PS. Now, that you got your Arduino IDE working. Some of the small things with Arduino ...
A PPM/PWM/Servo Tester -> viewtopic.php?f=84&t=4549
A simple PWM display Some oXs Varios
-
- Posts: 82
- Joined: Sat Nov 14, 2015 12:26 pm
- Country: -
Re: Mlink-FrSky-Telemetry converter
I am sure the issue if ACT and multiplex module protocol is different.
I am using all multiple , rx5 receiver and multiplex vario/altimeter sernsor.
attached are the two documents on multiplex protocol.
I am using all multiple , rx5 receiver and multiplex vario/altimeter sernsor.
attached are the two documents on multiplex protocol.
- Attachments
-
- MULTIPLEX-Sensor-Bus_V2.pdf
- (234.46 KiB) Downloaded 207 times
-
- SRXL-MULTIPLEX_V2.pdf
- (73.27 KiB) Downloaded 214 times
Re: Mlink-FrSky-Telemetry converter
3. What is with my remark "Had to switch ON TX, then RX and then could connect HFMG3 signal output to UNO"
Can you confirm or did you not have that problem? Maybe I made a mistake here ....
You did not have any issue with that point?
--------------------------------------------------------------------------
About the difference ACT<-> MPX I found this here
Can you confirm or did you not have that problem? Maybe I made a mistake here ....
You did not have any issue with that point?
--------------------------------------------------------------------------
About the difference ACT<-> MPX I found this here
Re: Mlink-FrSky-Telemetry converter
Jonathan, is that the MPX MVario?
-
- Posts: 82
- Joined: Sat Nov 14, 2015 12:26 pm
- Country: -
Re: Mlink-FrSky-Telemetry converter
The power sequence is the same as yours... tx and rex can be on in any sequence, but you have to make sure it tx/rx bounded before you connect the UNO. Else it will stop the bounding. The picture you shows is a multiplex vario/altimeter without the cover so i can fit it into my DLG nose.
It looks like I can play around sending send my define sensor data value to frisky...e.g. I say 89 RSSI, and it will shows up. SO the issue is the implementation of the capture of the MLINK. Take a look at the protocol document, it looks like we need a master to be calling the receiver to get the sensor data value. So this means that the module should be calling the sensor, just not sure if it will output to the UNO ... ( could it be we need to listen to the master calling the sensor address and then listen to the sensor response value ? )
How do you use the PWM/PPM server tester you mention in your post ?
I have a multiple logger then plug into the UNO, and it log the telemetry into the sdisk in CSV format. If we can monitor what is going on on the UNO channel, it may help. Can i do this with the PWM/PPM tester ???
Jonathan
It looks like I can play around sending send my define sensor data value to frisky...e.g. I say 89 RSSI, and it will shows up. SO the issue is the implementation of the capture of the MLINK. Take a look at the protocol document, it looks like we need a master to be calling the receiver to get the sensor data value. So this means that the module should be calling the sensor, just not sure if it will output to the UNO ... ( could it be we need to listen to the master calling the sensor address and then listen to the sensor response value ? )
How do you use the PWM/PPM server tester you mention in your post ?
I have a multiple logger then plug into the UNO, and it log the telemetry into the sdisk in CSV format. If we can monitor what is going on on the UNO channel, it may help. Can i do this with the PWM/PPM tester ???
Jonathan
Re: Mlink-FrSky-Telemetry converter
So, in that form Mlink-FrSky-Telemetry converter is not usable !
Issue with connection and telemetry values not ok.
I have no idea, how to cure those problems
Jonathan, have a look here -> http://www.ubit-rc.de/en/index.php
Working, but no further development. Works with android 4, not 5.
PWM/PPM servo tester. Only an example, what you can do with those arduinos.
PWM up to 16 channels can be displayed [ms]. PPM single channel display [ms]. SERVO TESTER for auto/man servo adjustment.
Have a look here ----->>> viewtopic.php?f=84&t=4549
br
Issue with connection and telemetry values not ok.
I have no idea, how to cure those problems
Jonathan, have a look here -> http://www.ubit-rc.de/en/index.php
Working, but no further development. Works with android 4, not 5.
PWM/PPM servo tester. Only an example, what you can do with those arduinos.
PWM up to 16 channels can be displayed [ms]. PPM single channel display [ms]. SERVO TESTER for auto/man servo adjustment.
Have a look here ----->>> viewtopic.php?f=84&t=4549
br
-
- Posts: 82
- Joined: Sat Nov 14, 2015 12:26 pm
- Country: -
COntinue to explore
Got an LCD to capture what data is coming out from he Multiplex HFG3 module "COMM" port.
Have a simple scripts to read what is coming out from the "comm" port to display .
void loop() {
while(Serial.available() > 0)
{ tft.print(Serial.read()); }
}
Results in 3 scenarios :
1) without receiver connected
2) with receiver connected
3) with receiver and altimeter/vario connected
Also provide the result of the multiplex logged which is connected in parallel when I capture the data onto the LCD.
There should be something in the code to work on : I see 1606 may be a starting data packets or something....
Anyone please feel free to advice what is the next step i should do and try out ?
Thanks in advance
Jonathan
Have a simple scripts to read what is coming out from the "comm" port to display .
void loop() {
while(Serial.available() > 0)
{ tft.print(Serial.read()); }
}
Results in 3 scenarios :
1) without receiver connected
2) with receiver connected
3) with receiver and altimeter/vario connected
Also provide the result of the multiplex logged which is connected in parallel when I capture the data onto the LCD.
There should be something in the code to work on : I see 1606 may be a starting data packets or something....
Anyone please feel free to advice what is the next step i should do and try out ?
Thanks in advance
Jonathan
- MikeB
- 9x Developer
- Posts: 17979
- Joined: Tue Dec 27, 2011 1:24 pm
- Country: -
- Location: Poole, Dorset, UK
Re: Mlink-FrSky-Telemetry converter
What does your tft.print do? Does it output the exact characters as received, so '1' '6' '0' '6', or is it converting them to decimal then printing them?
Mike.
Mike.
erskyTx/er9x developer
The difficult we do immediately,
The impossible takes a little longer!
The difficult we do immediately,
The impossible takes a little longer!
-
- Posts: 82
- Joined: Sat Nov 14, 2015 12:26 pm
- Country: -
Re: Mlink-FrSky-Telemetry converter
Mike,
I am not quite sure myself.
I adapted the program from adafruit-st7735-library-master.
Attached JYLCDTEST is my scripts , modify from graphicstest.ino.
Thanks for looking into this, do advice me and what I should be looking out.
Jonathan
I am not quite sure myself.
I adapted the program from adafruit-st7735-library-master.
Attached JYLCDTEST is my scripts , modify from graphicstest.ino.
Thanks for looking into this, do advice me and what I should be looking out.
Jonathan
- Attachments
-
- graphicstest.txt
- (8.31 KiB) Downloaded 285 times
-
- JYLCDTEST.txt
- (7.24 KiB) Downloaded 205 times
- MikeB
- 9x Developer
- Posts: 17979
- Joined: Tue Dec 27, 2011 1:24 pm
- Country: -
- Location: Poole, Dorset, UK
Re: Mlink-FrSky-Telemetry converter
Neither of those answers my question!
It is quite possible that the tft.print routine removes the most significant bit of each byte so that your display data is not complete. It will also probably stop output when it finds a byte of all zeroes, missing any following bytes therefore.
For this, I would probably display every received byte as a pair of hexadecimal digits initially to be sure nothing is missing.
Mike.
It is quite possible that the tft.print routine removes the most significant bit of each byte so that your display data is not complete. It will also probably stop output when it finds a byte of all zeroes, missing any following bytes therefore.
For this, I would probably display every received byte as a pair of hexadecimal digits initially to be sure nothing is missing.
Mike.
erskyTx/er9x developer
The difficult we do immediately,
The impossible takes a little longer!
The difficult we do immediately,
The impossible takes a little longer!