diff --git a/docs/Battery.md b/docs/Battery.md index b438fb5296..1adb4b0e28 100644 --- a/docs/Battery.md +++ b/docs/Battery.md @@ -36,7 +36,11 @@ fully charged and connect the output from it to S5_IN/PA0/RC5. S5_IN/PA0/RC5 is Pin 7 on the 8 pin connector, second to last pin, opposite end from the GND/+5/PPM signal input. Note: When battery monitoring is enabled on the CC3D RC5 can no-longer be used for PWM input. - + +### Sparky + +See Sparky board chapter. + ## Configuration Enable the `VBAT` feature. diff --git a/docs/Board - Sparky.md b/docs/Board - Sparky.md index 0bf5e74bca..12ee02352a 100644 --- a/docs/Board - Sparky.md +++ b/docs/Board - Sparky.md @@ -10,13 +10,10 @@ The Sparky is a very low cost and very powerful board. * MPU9150 I2C Acc/Gyro/Mag * Baro -# Status - -Flyable! - -Tested with revision 1 board. +Tested with revision 1 & 2 boards. ## TODO + * Sonar * Display (via Flex port) * SoftSerial - though having 3 hardware serial ports makes it a little redundant. @@ -180,3 +177,31 @@ USB VCP *can* be used at the same time as other serial ports (unlike Naze32). All USART ports all support automatic hardware inversion which allows direct connection of serial rx receivers like the FrSky X4RSB - no external inverter needed. +# Battery Monitoring Connections + +| Pin | Signal | Function | +| ---- | ------ | --------------- | +| PWM9 | PA4 | Battery Voltage | +| PWM8 | PA7 | Current Meter | + +## Voltage Monitoring + +The Sparky has no battery divider cricuit, PWM9 has an inline 10k resistor which has to be factored into the resistor calculations. +The divider circuit should eventally create a voltage between 0v and 3.3v (MAX) at the MCU input pin. + +WARNING: Double check the output of your voltage divider using a voltmeter *before* connecting to the FC. + +### Example Circuit + +For a 3Cell battery divider the following circuit works: + +`Battery (+) ---< R1 >--- PWM9 ---< R2 >--- Battery (-)` + +* R1 = 8k2 (Grey Red Red) +* R2 = 2k0 (Red Black Red) + +This gives a 2.2k for an 11.2v battery. The `vbat_scale` for this divider should be set around `52`. + +## Current Monitoring + +Connect a current sensor to PWM8/PA7 that gives a range between 0v and 3.3v out (MAX). \ No newline at end of file