Flysky IBUS Sensor

Hello,
I have a fs-ia6b receiver and I should like to build my own battery sensor.
Is it possible you share your code and may be your schematic please?
Thanks.

Pierre