DSM Smart RX telemetry

More
27 Jul 2025 19:11 #78730 by hexfet
DSM Smart RX telemetry was created by hexfet
Thanks, that info was helpful. I found the edgetx and MPM changes for the Smart support.

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.

More
29 Jul 2025 16:23 #78733 by Îluminatus23
Replied by Îluminatus23 on topic DSM Smart RX telemetry
First of all: Thank you so much!!!!
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.
Attachments:

Please Log in or Create an account to join the conversation.

More
29 Jul 2025 20:27 #78734 by hexfet
Replied by hexfet on topic DSM Smart RX telemetry
You're welcome. The picture was helpful, thanks.

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.

More
30 Jul 2025 18:35 #78735 by Îluminatus23
Replied by Îluminatus23 on topic DSM Smart RX telemetry
Thank for that super fast Development.
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!!!
Attachments:

Please Log in or Create an account to join the conversation.

More
01 Aug 2025 03:43 #78736 by hexfet
Replied by hexfet on topic DSM Smart RX telemetry
Thanks for testing.

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.

More
01 Aug 2025 04:45 #78737 by Îluminatus23
Replied by Îluminatus23 on topic DSM Smart RX telemetry
Thank you for your great help!

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.

More
01 Aug 2025 15:06 #78738 by hexfet
Replied by hexfet on topic DSM Smart RX telemetry
Okay, next step will be to capture the telemetry data somehow. Maybe write to the datalog file. Unless you have an edgetx/opentx transmitter which I think can send on a USB serial port. Probably have a test build early next week.

Have a great weekend!

Please Log in or Create an account to join the conversation.

More
02 Aug 2025 17:41 #78739 by hexfet
Replied by hexfet on topic DSM Smart RX telemetry
Had a little time and found a bit more to the edgetx decoding. Don't know if it will make a difference but please try test build c61cfae . Check if there's any change to the telemetry test page.

Please Log in or Create an account to join the conversation.

More
03 Aug 2025 07:04 - 03 Aug 2025 07:04 #78740 by Îluminatus23
Replied by Îluminatus23 on topic DSM Smart RX telemetry
Hi!

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?
Attachments:
Last edit: 03 Aug 2025 07:04 by Îluminatus23. Reason: Attachment

Please Log in or Create an account to join the conversation.

More
03 Aug 2025 14:31 #78741 by hexfet
Replied by hexfet on topic DSM Smart RX telemetry
My bad. I accidentally uploaded a build with simulated telemetry data. Please try new test build c61cfae (version number is the same)

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.

More
03 Aug 2025 19:10 #78742 by Îluminatus23
Replied by Îluminatus23 on topic DSM Smart RX telemetry
Jippiei-Yeah: We are on the way!!! Congratulations: Now I can See a pretty high value for Bat (~2000). After Starting the engine IT goes Up to ~3500 and with more "Gas" it goes down.....so there is a real time Relation! Smart telemetry is working in a very First way: Thank you so much!!! Hope to solve the Last Missing Part with your Help!

Have a great evening, cheers
Attachments:

Please Log in or Create an account to join the conversation.

More
05 Aug 2025 01:25 #78744 by hexfet
Replied by hexfet on topic DSM Smart RX telemetry
Great, that's progress. Not sure about the number values. This test build 78099b3 should tell us more.

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.

More
05 Aug 2025 17:46 #78745 by Îluminatus23
Replied by Îluminatus23 on topic DSM Smart RX telemetry
Thank you so much!

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.
Attachments:

Please Log in or Create an account to join the conversation.

More
06 Aug 2025 01:22 #78746 by hexfet
Replied by hexfet on topic DSM Smart RX telemetry
Awesome. The capture worked fine and good telemetry data.

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.

More
06 Aug 2025 16:41 #78747 by Îluminatus23
Replied by Îluminatus23 on topic DSM Smart RX telemetry
You made my day!!!

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!
Attachments:

Please Log in or Create an account to join the conversation.

More
07 Aug 2025 01:32 #78748 by hexfet
Replied by hexfet on topic DSM Smart RX telemetry
Good to hear! I'll make a new nightly build with the changes in the next few days.

Please Log in or Create an account to join the conversation.

Time to create page: 0.078 seconds
Powered by Kunena Forum