Servers by jDrones

Paid service offer for ArduPilot Codebase Build


(Mus) #1

Hello All,

I’m glad to be here & here’s my first message to seek out an individual who can help me. The link below is regarding a method to add custom sensors outside of the default ones and get them working:

http://ardupilot.org/dev/docs/code-overview-adding-a-new-log-message.html

If there’s anyone out there who can help me to write a code that’s compatible with the ArduPilot for data logging then please message me back for further details. I am happy to pay for your services should you accept to write me a code for what I’m trying to do.
Thank you very much for your time and I look forward to all who reply.


(Peter Hall) #2

Hi,

What sensors are you hoping to add? Adding logging for analog inputs for is straight forward, adding new sensory types on i2c or uart is more complex.

Peter


(Mus) #3

Hi Peter,

Basically I have a device that has an LED that lights up when triggered. I want to use the Ardupilot to wire it up to this LED to then store the data when the LED is triggered.
Similar to that of the Voltage/Current sensor by the power module but instead used to detect the LED when triggered. Is that a possibility? Many thanks for your reply


(Peter Hall) #4

The best way to do this within the current code would be to hook up the led to a analogue input and set it up as a rssi input. Then you would get logging of rssi level rather than voltage but would defiantly be a good proof of concept.

this would be done by setting
RSSI_TYPE to 1 for AnalogPin
RSSI_ANA_PIN to your pin connected to the led (you will have to be careful about voltage, must be less than 3.3v)

I’m not sure if this is available, or if it is that the settings would be the same for the older firmware version that runs on the APM, would defiantly recommend getting some current hardware.

I don’t have any experience of the best way to post process the data. But here are a couple of ideas

For reading the data out the quickest method may be to overwrite the altitude a data with the logged value, you could then get a snail trail giving a idea of the sensor readings and plot that on google earth.

The next step up would be to plot a 2d contours of the data and manually overlay that on google earth. (this may actually be less work than the first idea).

The real professional way to do this would be with commercial software such as px4d. The advantage here is the level of automation and the accuracy with which the data would be aligned to the map.


APM 2.8 - Questions