PX4Flow data not coming

Hello,
I am using Pixhawk 2 as flight controller, Lidar Lite v3 for distance measurement.
I want to use PX4Flow for getting the velocity of the quadcopter.
I am taking the Lidar data through pwm and connecting PX4Flow on the i2c pin. The Lidar is working properly. On following the instructions given on the website, I am unable to get data on Mission Planner.

Please help. I am struck on the problems since quite a lot of time.

Thanks.

First suggestion , upgrade to Copter 3.5.4-rc1, lots of issues wiht PH2 7 I2C

https://github.com/ArduPilot/ardupilot/blob/Copter-3.5/ArduCopter/ReleaseNotes.txt#L9

I am using the 3.5.4 firmware
 Not working
 What is PH2 7 I2C?

Lol that’s ‘’&’’ without the shift key :slight_smile:

Are you using the I2C connector of the GPS ?
Look at this: Pixhawk 2.1 with maxbotic I2CXL-maxsonar-EZ issues

Lol
We aren’t using GPS
 Only the PX4Flow is connected to I2C
 Lidar is connected to ppm

I mean are you using the connecteor marked GPS to feed the I2C ?
This one seems to work better because its the default PixHawk I2C port.

Which port are you talking about in the PH2?

Also, the connector in the PX4Flow should be in the 4 pin I2C port, right?

If you refer to this: http://www.hex.aero/wp-content/uploads/2016/07/DRS_Pixhawk-2-17th-march-2016.pdf

The pinout of the first GPS is like this:

So, you are suggesting to solder to be able to connect to the GPS I2C, right? 
 Is there other alternative? Shouldn’t it work with the I2C port on Pixhawk?

I dont have a Pixhawk 2 to test px4flow on it, but from other I2C related issues, I would certainly try it on I2C1.

You dont have to ‘‘destruct’’ the cables for the tests, jus ‘‘jump’’ the cables.

I just found the required connector, I think. In the given connector for GPS for PH2, there are only 3 wires for the I2C.
When connected, the PX4Flow isn’t powering.

You obviously need to feed power = 5volts from pin1
For test, powering the Px4Flow from USB should work as well

Yeah
 Why haven’t they provided the connector like that?

Yes
 the OFS is working when connected directly with USB

hi you guys, 4 years later from you, I was having the same problem and you have help me to solve this problem.
The I2C from the GPS did the trick! Thanks!

Good to know :smile:

Hi guys!

i was wonder if you make the px4flow work, and if you have, did you have this “bouncing” problem.

Here are a video and telemetry file. I have use the px4flow and hereflow, on both it happend the same, but in the px4 is not so hard.

thanks!

Hey,
I remember that we also got a similar performance. However, it wasn’t an issue for us.

1 Like

Hello,
I had the same problem, and I switched to the GPS1 port and that solved it.
However, although the PX4Flow data is coming to the Flight Controller, the data from the MB1043 RangeFinder connected to the PX4Flow is not.
Any idea what it might be?

Best regards

Hi, 4 months later from you haha.
Do you guys mean I can’t directly use the i2c2 pin on I2C port but I should use i2c1 pin on GPS port?
My FC is pixhawk4 mini.
I appreciate for your reply.

I face a very similar situation:

  • the px4flow works nicely on USB
  • but when connected the USART3 of px4flow to the UART&I2C port of the pixhawk mini, I don’t get any response.

In docs in ardupilot, it is recommended to connect the 4-pin I2C port to the autopilot, but the px4flow’s documentation suggest to connect USART3 (6pins) of the px4flow to the autopilot. Is there a reason why?