I2C Sensors in Cube Orange

Hi, it’s my first time building a custom drone, and I want to add current sensors via I2C. How can I determine if a sensor is compatible with the Cube Orange?

To include these sensors, do I need to do it in Mission Planner or in ardupilot code?

same here, I have a digital power module from holybro, (PM08D) which connects ( i guess from the module pinout dia) to power1 through I2C prot. I followed every steps mentioned in the documentation but unable to bring up the values on mission planner. (running arduplane 4.4.4)

Digital? Power 1 connector. It is analog 0 - 3.3v single pin 3.

yeh…
I did ask the support team on holybro about the compatibility, they said even though ardupilot does have the option, orange cube doesn’t support digital current sensors. Only some of the Pixhawks from Holybro supports them. (ref. website)

Just wondering if there is any way around this. There is no way to use the I2C port available on the CubeOrange to get around this?

One is analog measurement, and one is digital protocol. Change to Pixhawk 6X, can.

1 Like

Yes! Just saw that and purchased the one I needed, the PM08, NOT PM08D. Thanks!

Let’s be clear - ArduPilot appears to support I2C current monitoring on all boards with >1M flash, so the Cube Orange does not in any way prevent you from using the PM02D module.

However, you’ll need to remove the SDA/SCL wires from the PM02D power connector and connect them to the Cube’s I2C port.

1 Like

I think the document needs an update.
The only power-related I2C monitoring is from Rotoye.
Neither the release note mentioned it.
It just appeared to the users it is a specific support to Pixhawk 6X/5X.

The Cubepilot standard carrier board is not ideal for splitting the wires to the front and back.

Having said that, digital voltage and current monitoring could be the way going forward as it is not affected by resistant of the wires.

I2C battery monitoring has been available as an ArduPilot feature for 3+ years.

The PM02D is indeed aimed at the Holybro series of autopilots. I simply pointed out that it can be made to work elsewhere.

As with any wiki, anyone can make edits:
https://ardupilot.org/ardupilot/docs/common-wiki_editing_guide.html