PX4 / PX4-Autopilot

PX4 Autopilot Software
https://px4.io
BSD 3-Clause "New" or "Revised" License
7.88k stars 13.25k forks source link

IC Engine RPM data over telemetry? #19176

Open dystopic1 opened 2 years ago

dystopic1 commented 2 years ago

Hi everyone. I want to see rpm value of an internal combustion engine in QGC? Is there a stand alone feature in PX4 or we need a special hardware?

dagar commented 2 years ago

There are various pieces in PX4 for logging/displaying/etc internal combustion engine data or data from an RPM sensor, but the first thing to figure out is how you're getting that data in into the system. https://github.com/PX4/PX4-Autopilot/blob/master/msg/internal_combustion_engine_status.msg

What do you have exactly? Does it have any kind of ECU with a serial or CAN interface?

roman-dvorak commented 11 months ago

Hi @dystopic1,

You can display the RPM value of an internal combustion engine in QGroundControl using our TFRPM sensor. If the engine already has an integrated RPM sensor (with TTL levels), you can simply connect it to the TFRPM sensor. However, if the engine doesn't have a built-in RPM sensor, you'll need to add one probe. You can choose either an optical sensor with a coding disk or a Hall-effect sensor with magnets on the rotational axis.

In PX4, we have a TFRPM driver that publishs uORB RPM messages, and these messages are sent through MAVLink to QGroundControl. There, you can visualize the RPM values in the table displaying the drone's parameters, as shown in the screenshot.

363846115_846730880122930_6242016397311251029_n (it works, in the same way, with with real autopilot and real wireless data-link)

RPM data are continuously logged to internal ulog file.

More informations about RPM sensor is here: https://github.com/ThunderFly-aerospace/TFRPM01