I'm currently using the ArduPilotMega and I'm trying to hook up an additional analog sensor to the board. I'm trying to connect a potentiometer in the fuel tank for measuring fuel levels. Connecting it to the board is pretty straight forward but I'm trying to figure out how to send that data to the ground station. Is it as simple as adding a few lines of code to the existing source code? How should I go about doing this?
I'm trying to do something similar. I want to expand the ArduPilotMega with an rpm sensor. I can read the expansion port with no problem. The problem is to sent the data to the ground station...
Hope someone with more knowledge than me could give some clue on how to solve this problem.
This should help:
Thank you very much John. I will try the described procedure and I will post here my results.