Skip to content

Commit

Permalink
Merge pull request #2 from racerxdl/gh-pages
Browse files Browse the repository at this point in the history
Added docu for simple voltage sensor and compass calibration
  • Loading branch information
smurfy committed May 1, 2014
2 parents 0ddfc2c + 1d1dabd commit add7973
Show file tree
Hide file tree
Showing 4 changed files with 29 additions and 0 deletions.
22 changes: 22 additions & 0 deletions documentation/tipsntricks.md
Original file line number Diff line number Diff line change
Expand Up @@ -45,6 +45,28 @@ In most cases its not really needed, but you have the option.

After this changes, a compile and flash you also need to erase and reset to factory defaults via Mission Planner.

## Battery Voltage Meter on Analog PIN A1

That is just a hardware modification. Basicly you will need two resistors (R1 of 120k and R2 of 27k) hooked up like this:

![Resistor Voltage Divider](../images/battery_voltage_divider.png)

So now you can go to APM Planner -> Initial Setup -> Optional Setup -> Battery Monitor -> Advanced.
There you change these stuff:

Monitor => 3: Battery Voltage
Sensor => 0: Other
APM Version => 0: APM1
Voltage Pin => 1

So now it will start measuring battery voltage. But you need to calibrate the software. So get a multimeter and measure the voltage across the battery. I recomend to use a fully charged battery (3s will give arround 12.6V and 4s will give you arround 16.4V). After you get a reference, write it on field ```1. Measured Battery Voltage``` So now it should change automatically the parameter ```3. Voltage Divider (calced)``` and start measuring the correct voltage on ``` 2. Voltage from Autopilot (calced)```

![APM Planner Battery Monitor](../images/apm_battery_pin.png)

You can also use other Analog Ports ( I use A0 ) for Battery Measuring. Just change the Voltage Pin Number for that.

There is other stuff you can configure related to the Battery Voltage Monitor. For more details take a look on the oficial documentation for [Power Module set-up to measure battery voltage and current consumption](http://copter.ardupilot.com/wiki/common-measuring-battery-voltage-and-current-consumption-with-apm/)

## RSSI input on analog PIN A0

```config.h``` changes:
Expand Down
7 changes: 7 additions & 0 deletions documentation/troubleshooting.md
Original file line number Diff line number Diff line change
Expand Up @@ -16,3 +16,10 @@ There is a bug with old Arduino bootloaders, you have the following options:

If you can move your sticks and the flight controller seams to not register any of your inputs its most likely you forgot configuring your correct RC Input type.
Please refer the [General Configuration](general_configuration#rc_input_type_configuration) documentation.


## My quadcopter does not arm!

The Megapirate checks for magnetometer levels to be right. Try calibrate it first on APM Planner (See [Calibrate Compass](http://copter.ardupilot.com/wiki/initial-setup/configuring-hardware/#Calibrate_Compass). On CRIUS V1.1 it might be not arm even when calibrated, for that just get a magnet and make a circle arround the Crius Board and try again.

If you want to know more details about why it does not arm your quadcopter, take a look in [Pre-Arm Safety Check](http://copter.ardupilot.com/wiki/prearm_safety_check/)
Binary file added images/apm_battery_pin.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added images/battery_voltage_divider.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

0 comments on commit add7973

Please sign in to comment.