Servers by jDrones

Pixhack 2.8.4 ADC and Virtual pin

Hello,

I’am building ArduRover 4.0 on Pixhack 2.4.8 and while trying to add my Maxbotics sonar for obstacle avoidance i have found out that with regards to hardware issue i cannot use it on ADC.

On pixhack board ADC 3,3V is where Virtual Pin 15 is

, so while setting all things up i get only half of the sonar range cause of 2:1 scale on Virtual Pin 15. I Cannot use another ADC port as they are 6,6V.

Is there any workaround for this? Best would be to change some parameters, but i believe it can be only done inside the code and rebuild. Or maybe i’am wrong with understending the issue?

Servers by jDrones