ESC telemetry to Frsky Smartport with Arduino Pro Mini

Electronic projects that are either related to the firmwares for the 9x, or simply great for radio control applications.
Post Reply
DanielGA
Posts: 26
Joined: Sat Mar 19, 2016 10:44 am
Country: Spain

ESC telemetry to Frsky Smartport with Arduino Pro Mini

Post by DanielGA » Mon May 13, 2019 9:22 am

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


DanielGA
Posts: 26
Joined: Sat Mar 19, 2016 10:44 am
Country: Spain

Re: ESC telemetry to Frsky Smartport with Arduino Pro Mini

Post by DanielGA » Wed Feb 26, 2020 11:52 am

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

Post Reply

Return to “General RC Electronic Projects and Discussion”