I suppose the PX4 with its IO kit has analogue ports to receive signals from the current and voltage sensor.
I looked in the wikis for info on this without success. Only info available referred to APM-boards.
Please, can anybody confirm that there is a proven way to connect the voltage and current sensor to PX4 and how to
- or that the PX4 is not yet ready (then I can stop trying).
Thanks / Tomas
Replies
Hi Tomas,
this page will help to find the analog input and the value that should be entered.
http://plane.ardupilot.com/wiki/common-analog-and-digital-pins-for-...
I didn't tried it, so be careful to put a correct divider as some inputs goes directly to the CPU Pins, and if you exceed 3.3V it will reset/reboot or die.
Ezio
By studying the board user manuals and schematics I have been able to find out the following:
[b]Battery monitoring [/b] Good and bad news: [b]Good[/b]: Battery voltage is per default measured on the battery Power input to the PX4 IO board, that two pole 7-18V Power in connector (see attached photo). Perfect if your motor battery voltage does not exceed 18volt (~4S LiPo)! [b]Bad[/b]: The measuring only works if you power the PX4 assembly direct from your motor battery and the max input voltage is 18 volts. If you Power the PX4IO from a BEC you will just see the BEC voltage :roll: In my present project I use 6SLiPo to Power the motor - too high to connect directly to the PX4IO. Consequently I have to power the PX4 with a BEC.
:idea: [b]Maybe [/b]there is a way to select an other ADC pin for voltage measurement by entering another value in the MP parameter list for BATT_VOLT_PIN (default value 100 for PX4) ?? In order to use the PX4 FMU multi function connector pin 5 "Battery monitor" instead ??? :geek:
Below: The multi connector pin 5 I would like to be able to select for battery voltage measurement.
Below: I guess this is the default Battery monitor voltage measurement point:
[b]Current sensor[/b] Good news: Connect it to the PX4IO "curr" solder pad, next to the Power in connector.