I tried to implement my own smart battery via I2C and based on the Maxell Battery.
Everything runs on an Arduino.
I managed to send data from the Arduino to the Pixhawk, but the values are strange.
For the single cell voltages I performed some tests:
- Value on the Arduino / Value in Mission Planner:
- 0 / 65,28
- 1 / 65,281
- 65125 / 65,381
- 65534 / 65,534
- 65535 / 0
For the other values the results are similar…
Since it’s always something with 65… I’m guessing it has something to do with the uint_8_max value…
Any idea what I should do to send appropriate voltages?
Thanks in advance