- Posts: 1942
DSM Smart RX telemetry
- hexfet
-
Topic Author
- Offline
Please try this test build ea7fb0e . The Smart battery voltage and temperature will (hopefully) appear in the Volt2 and Temp fields on the telemetry test page. That was the easiest thing to do since the UI didn't change. Are there other values important to display?
The Bat value is the sum of Smart battery telemetry cell values 1-10. I followed what MPM does here even though up to 18 cell values can be reported.
Use the Datalog feature to capture specific telemetry values. The only way to get all telemetry data out is by adding a protocol option to send the data out the trainer port, then decode it externally. Do you have an FTDI adapter to capture that data? That would be helpful for debugging.
Please Log in or Create an account to join the conversation.
- Îluminatus23
-
- Offline
- Posts: 16
I was waiting in the other threat and today i saw your Message Here.
After flashing the Firmware and the lib, i can't See any difference unfortunatly.
What else can i do?
Here is a Screenshot.
Please Log in or Create an account to join the conversation.
- hexfet
-
Topic Author
- Offline
- Posts: 1942
Best would be if you can capture the telemetry data from the trainer port. Do you have an FTDI adapter or logic analyzer to do that? If so I'll make a build to support it.
If not, we'll need to run through some debugging cycles with you trying various test builds. If you're up for that, please try test build 9b273a5 . In this build the standard FLOG values for Bat, RPM, and Temp are suppressed. Only the SmartRX telemetry for Bat and Temp will be shown.
- The RPM background should always be red, indicating the FLOG values are being ignored.
- If Smart RX battery telemetry is being received, the Bat and Temp fields should have white backgrounds.
Please Log in or Create an account to join the conversation.
- Îluminatus23
-
- Offline
- Posts: 16
Unfortunatly i dont have such a cable.
Here you can See how IT Looks Like after the Update.
By the way: I have to use the dsm2 protocol to bin the newer Planes.
Thank you!!!
Please Log in or Create an account to join the conversation.
- hexfet
-
Topic Author
- Offline
- Posts: 1942
I ran simulated telemetry data in the emulator and found a couple issues. Please try test build bc8b9c6 .
May sound like a silly question, but are you certain the model you are binding with supports Smart telemetry? I ask because I think one of the bugs would have crashed the tx if Smart telemetry was received.
Anyway, based on the emulator testing the new test build should show something in the Bat and Temp fields if Smart telemetry is being received.
Won't have much time to do more until next week.
Please Log in or Create an account to join the conversation.
- Îluminatus23
-
- Offline
- Posts: 16
That is my last chance to keep my great Devo12S. I have a lot of these UMX planes. And at least two newer ones with SMART telemetry (UMX Turbo Timber EVO, UMX ME 262). I have tested both this morning and the screen still looks like in my last post.
What else can i do?
Thanks again and a great weekend!
Please Log in or Create an account to join the conversation.
- hexfet
-
Topic Author
- Offline
- Posts: 1942
Have a great weekend!
Please Log in or Create an account to join the conversation.
- hexfet
-
Topic Author
- Offline
- Posts: 1942
Please Log in or Create an account to join the conversation.
- Îluminatus23
-
- Offline
- Posts: 16
Thank you so much....and Something is going on. I am Not able to bind the plane any more, but without any Binding the Screen looks Like this.
Hope this helps you?
Thank you so much!!
PS: I flash Always the Firmware and the lib. Is that necessary? Is the Firmware only also eine?
Please Log in or Create an account to join the conversation.
- hexfet
-
Topic Author
- Offline
- Posts: 1942
I don't have a devo12 and never looked into its build details. But both files change when I change the telemetry code so I think you do need to flash both firmware and lib.
Please Log in or Create an account to join the conversation.
- Îluminatus23
-
- Offline
- Posts: 16
Have a great evening, cheers
Please Log in or Create an account to join the conversation.
- hexfet
-
Topic Author
- Offline
- Posts: 1942
I made a couple of minor changes to the voltage and temp decoding, but still don't expect the values to be correct. Please post a pic of the telemetry test page.
This test build also saves the received telemetry packets to the datalog.bin file. The file will store over a minute of telemetry data. Please use the following steps to make a capture.
1. Connect the transmitter to the aircraft as you normally do. No need to enable datalog or any other special steps.
2. Move the throttle ("Gas") a few times as you mentioned that causes the Bat value to change.
3. Power off the aircraft and the transmitter.
4. Start the transmitter in USB mode (hold down the Ent button while powering on)
5. Copy the datalog.bin file from the USB drive and post it here.
Thanks!
Please Log in or Create an account to join the conversation.
- Îluminatus23
-
- Offline
- Posts: 16
As an attachment you will find a screenshot and the datalog (as a zip).
Now the (high) value in die BAT field was very stable! It was starting at 2090 and after some gas it was at 2080...so we are on a very good way from my perspective!
Thanks a lot and looking forward to the next release.
Please Log in or Create an account to join the conversation.
- hexfet
-
Topic Author
- Offline
- Posts: 1942
Please try test build 7306797 . The Bat voltage should be correct. The Smart Bat temperature never changed so I think -128 indicates it's not being sent. I wondered why the battery cell voltages were all identical, then read online that "lite" ESCs don't read real cell voltages and just divide the total voltage by the number of cells.
The aircraft is also sending Smart ESC telemetry. Deviation already supports this though it's not displayed on the telemetry test page. I modified the code to display the ESC RPM and Temp if those values are not being received in the FLOG telemetry or Battery Temp (which they are not from the aircraft).
Please Log in or Create an account to join the conversation.
- Îluminatus23
-
- Offline
- Posts: 16
Congratulations and many thanks! It is fully working....

Will test it this weekend for a longer time!
Thank you so much and now I can use my Devo12s for some more years!
Please Log in or Create an account to join the conversation.
- hexfet
-
Topic Author
- Offline
- Posts: 1942
Please Log in or Create an account to join the conversation.
-
Home
-
Forum
-
Development
-
Protocol Development
- DSM Smart RX telemetry