Page 1 of 1

ESC telemetry to Frsky Smartport with Arduino Pro Mini

Posted: Mon May 13, 2019 9:22 am
by DanielGA
This is a DIY project to send ESC telemetry and optionally other sensors to Frsky Smartport using an Arduino Pro Mini 168 or 328P (3.3v or 5v)
The input is either ESC serial data or PWM signal

ESC protocols implemented:

- Hobbywing Platinum V3: RPM
- Hobbywing Platinum V4, Hobbywing Flyfun V5: RPM, temperature, voltage and current
- PWM signal: RPM

Average cell voltage for HW V4/V5 is calculated for 3S,4S,5S,6S,7S,8S,10S and 12S batteries. Two seconds after power on cell count is autodetected and fixed (average cell voltage to be >3.8v for proper cell count)

Optionally you can add the following analog sensors:

- 2 x voltage divider can be added to read the battery voltage
- Current sensor
- 2 x temperature sensors (thermistors)

Image

The Arduino is configured from Opentx with a lua script (X7, X9, X-lite and Horus with Opentx 2.2 or higher)

Image

The project is available on Github:

https://github.com/dgatf/esc_smartport

[img]./images/top.jpg[img]
Video:

https://youtu.be/Mby2rlmAMlU

Cheers,
Daniel

Edit: v0.3.1 available

Re: ESC telemetry to Frsky Smartport with Arduino Pro Mini

Posted: Wed Feb 26, 2020 11:52 am
by DanielGA
Version v0.4 available:

- Support for change_id_frsky to change the sensor id
- Support for I2C sensors
- Improved code quality and performance
- Smartport_library improved performance and abstract from the smartport protocol

Project name changed to MSRC

Re: ESC telemetry to Frsky Smartport with Arduino Pro Mini

Posted: Fri May 08, 2020 7:16 pm
by DanielGA
Version 0.5 available:

- Added support for castle link protocol

Re: ESC telemetry to Frsky Smartport with Arduino Pro Mini

Posted: Mon May 25, 2020 9:28 pm
by JimSorenson
I just found this, and I love projects like this! I previously did the DX5E module conversion for my Taranis Pro. This will be my next project so that I can get proper use out of the HobbyWing controller. Thanks for figuring this out.

- Jim

Re: ESC telemetry to Frsky Smartport with Arduino Pro Mini

Posted: Tue May 26, 2020 8:38 am
by michel49
Hi,

Do you think it will work with Super Brain/ Hifei Esc ?

Re: ESC telemetry to Frsky Smartport with Arduino Pro Mini

Posted: Sun May 31, 2020 6:48 pm
by DanielGA
Thanks Jim

Michel, no it doesnt support Hifei esc, but I could implement it. There are two options for this, either I get the protocol description (easier) or you can use the sniffer tool (under tools folder)to read the telemetry, send it to me and I'll try to reverse engineer it, like I did for the hw, this is the harder way. I'm assuming it is based on serial comm