I have been working on a project to transition our flight stack from APM to PX4. I haven’t had a lot of exposure to it so far.
I purchased a Pixhawk 4 board (from Holybro) and I’ve been trying to setup a px4flow and a TeraRanger Evo 60m via I2C. I have tried to connected them at the same time, separately, and to both I2CA and UART/I2CB ports of the pixhawk in every possible combination.
I know the px4flow is working because I can see it on QGC but I don’t seem to be able to get any messages on the Pixhawk from either one.
When I run
only response I get is something like " scanning for I2C devices " but no output after that.
Does anyone have any experience with this issue? I read somebody suggesting reset all parameters to force the i2C bus to start on boot but it did not work out for me.
I flashed the FW from QGC using the latest PX4 1.8.2 available. Out of curiosity, I configured the board with APM Copter and then tried to hook up the sensors, just to rule out SW differences but it doesn’t work with that either, so I’m pretty sure there is something wrong with the bus.
I’d love to hear any ideas/suggestions on the matter since I couldn’t find any other info.
Hi Thanks yes thats the easy bit you said you loaded the V1.9 onto your PX4 but in the advanced tab under custom firmware the file downloaded from Github does not come up on the list! But was assisted by another user who sent me some docs to read about having to compile the files before we can load. Have not had a chance to read those yet but will let you know if I come right as just cannot get these I2C sensors to work or register at all?
Ok I see a little confused though in your earlier posts you said that V1.8.2 did not work for you and you used the V1.9 I could not find that on the releases but did find a V1.9 on Github. This is however a non compiled version which I was curious on how to get this onto the Pixhawk.
Hopefully by doing as you did I could get my I2C to function. No way of checking (software QGC) to check the I2C?
Thank you, now it works
but i have the next problem.
I have updated the the holibry 433mhz 500mW with qgroundcontrol and now it do not work.
Before it works good
Do you now what is the problem
Thank you from austria
I can’t really say without any more information. Did you narrow down the problem to the software. Are you certain the hardware is not faulty? On way to be sure is to re-install v1.8x on the board and check if the radio works.