# Uavcan batterymonitor

**URL:** <https://forum.opencyphal.org/t/uavcan-batterymonitor/273>\
**Category:** Applications & Usage\
**Created:** [November 25, 2018, 10:13am UTC](https://forum.opencyphal.org/t/uavcan-batterymonitor/273 "2018-11-25T10:13:11Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![skyyuzhang](https://forum.opencyphal.org/user_avatar/forum.opencyphal.org/skyyuzhang/32/65_2.png) [@skyyuzhang](https://forum.opencyphal.org/u/skyyuzhang)\
**Post date:** [November 25, 2018, 10:13am UTC](https://forum.opencyphal.org/t/uavcan-batterymonitor/273/1 "2018-11-25T10:13:11Z")

</div>

Here is thing that I want to built a UAVCAN BatteryMonitor connected with my pixhawk. I think it must be a cool think cause GPS and ESC and BattMonitor . these three of them is a important part for every drone . for now ESC and GPS is done . the only thing left is BatteryMonitor . Image that all modules connected with one wire . it is simple for every hobbyst when building their drone . Ok let’s go back to UAVCAN BatteryMonitor . the hardware I have already done . simple stm32f103 with adc snalpe current and volt . I think my batterymonitor is working right cause I can get right data form uavcan gui tool . my pixhawk running copter-v3.6 . on the parameter I set BATT\_MONITOR to 8 which is UAVCAN\_BattInfo. Also I enable uavcan on the parameters. but after these setting I still can not get data form missionplanner . the volt and current always zero . I saw the source code of copter version 3.6 there is a UAVCAN code on it I am not sure the problem is my uavcan batterymonitor or the uavcan monitor function on ardupilot is a uncompleted function . so can anybody help me to figure out this problem . of course the source code will upload later

---

<div class="post-metadata">

**Author:** ![pavel.kirienko](https://forum.opencyphal.org/user_avatar/forum.opencyphal.org/pavel.kirienko/32/9_2.png) [@pavel.kirienko](https://forum.opencyphal.org/u/pavel.kirienko)\
**Post date:** [November 25, 2018, 10:26am UTC](https://forum.opencyphal.org/t/uavcan-batterymonitor/273/2 "2018-11-25T10:26:33Z")

</div>

I think you will have better luck asking this on the ArduPilot support forum. Also, check out this article by OlliW: [http://www.olliw.eu/2017/uavcan-for-hobbyists/](http://www.olliw.eu/2017/uavcan-for-hobbyists/) and [Some UAVCAN hardware from jDrones](https://forum.opencyphal.org/t/some-uavcan-hardware-from-jdrones/258/)

---

<div class="post-metadata">

**Author:** ![YGQ](https://forum.opencyphal.org/letter_avatar_proxy/v4/letter/y/97f17d/32.png) [@YGQ](https://forum.opencyphal.org/u/YGQ)\
**Post date:** [April 19, 2019, 8:32am UTC](https://forum.opencyphal.org/t/uavcan-batterymonitor/273/3 "2019-04-19T08:32:06Z")

</div>

Hello, I am also trying to do this. I don’t know how to define data messages at the moment. How do you implement it?
