Pcf8583 params not showing up in QGC

Hy,

I got a pcf8583 tachometer and wanted to connect it to my Holybro pixhawk 4. I noticed the parameters as listed here were not found in QGC. As the site suggested, i added rpm/pcf8583 to the cmake file for the board and builded it. after uploading the latest version to the pixhawk 4, it still not showed up in QGC. I looked into the parameter.xml file in the build folder, it had the specified parameters. when looking in the ParameterFactMetaData in from QGC, it also has those parameters, but still it is not showing up in the GUI of QGC.

I also tried installing the latest stable version of PX4 onto the board, but that didn’t change anything.

anybody knows what i could do? I installed the developer toolchain so i can edit files and make custom firmware.

thnx in advance,
RayanR

Hi @RayanR, thanks for your question,

Driver was tested with our TFRPM01 sensor board. With what hardware/sensor are you testing it?

The latest stable version of PX4 should contain that driver. The driver is not automatically started. here we are working on updating the sensor documentation. (we will create a PR into the official documentation on docs.px4 in a few days). Our working version is here:

In the current airframes, the driver does not start automatically. This is mainly due to some missing features in the driver.

So, please, try:

  • start driver - How it starts is described in the sent document.
  • restart QGC (to reload parameters) and autopilot
  • set right parameter value.

Hy, tanks for the fast response.

I got it working. i have a reverse engineered RPM counter based on the TFRPM01 sensor. it uses the same RTC but a different reading setup.

i got the driver started using the console. i then used put pcf8583 start -X -b 1 in a etc/extra.txt to launch it on the i2cA port of the pixhawk 4.

because of that, the driver starts on boot and i can see the parameters in QGC. However, when going to mavlink Console and typing listener rpm -n 50 i can see the rpm value and it changes accorting to the irl rpm of the motor. However, i can’t seem to find it in the Mavlink Inspector tab of QGC

Thanks,

RayanR

1 Like