Servers by jDrones

About smbus&smart battery

hi,all,I have a hand smart battery from Chinese manufacturers (comply with the smbus protocol), I follow the http://ardupilot.org/copter/docs/common-smart-battery.html this guide to set (my source version is ac346) , I tried a variety of possible operations; nsh has been given the error “Unable to start batt_smbus driver”, I found during debugging problems px4_start_driver (batt_smbus_main, “batt_smbus”, “-b 2 start”); I am distressed , I hope to help answer this problem how to solve? I always look forward to reply online~~~

I have set the smbus mp, rcs and rc.APM also added the startup code is as follows,
my smbus three lines (data and clock lines, ground connection is correct), I observed the tuning window is no data out I really do not know how to improve, I hope we help to find out the problem ~


here is my smart battery info:https://detail.tmall.com/item.htm?spm=a230r.1.14.9.4231f55cJF0hC0&id=548357933256&cm_id=140105335569ed55e27b&abbucket=4


@rmackay9@cli

xiaoxilang,

Could you upgrade to master instead of using AC3.4.6? We’ve made a lot of changes including removing most of our reliance on the PX4Firmware layer including the driver that you’re having problems starting. This move improved performance, reduced code size and allows us to share drivers across all the boards we support (not just Pixhawk). I suspect there are some Solo specific items in the old PX4Firmware driver that make it not work but I don’t think we will be releasing a 3.4.7… so better to focus on making it work for AC-3.6.

I use mp to update to the latest 355 firmware, and then check the turning window (not yet connected to the smart battery interface) bettery_cellx variable and found that the value is 66, how is this going?

Are you solve this problem?

@ShenMiaozhang are you using ArduCopter 4.0.6? What exactly is the Problem?

Servers by jDrones