Skip to content

battery_voltage #26

@Hugh20210

Description

@Hugh20210

Hi Man,

Don't understand how to set battery voltage. What's the default battery_voltage?
And how to connect Li battery to Arduino MLB pin? Can you explain detail. Thanks very much
bool isBatteryConnected() {
// Reduce noise with a low-pass filter (10Hz cutoff frequency)
battery_voltage = battery_voltage * 0.92 + (analogRead(0) + 65) * 0.09853;

return battery_voltage < 1240 && battery_voltage > 800;

}

Do you have any update plan on the Arduino Drone? Like GPS, Pan&Tilt...

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions