does anybody know the minimum operating voltage of the vex IQ brain?
Are you trying to power it off of something other then the battery pack?
Another item that needs to be answered is what are you using for motors/sensors as they all consume power differently.
just what voltage does the battery have to be before it doesn’t turn on
so that i can implement warning when the battery is to low, for the other teams in my club
I guess I am still not understanding what you are trying to do, if the battery is dead/ past certain point the brain will not turn on either way. So unless you are using something third party to test or give you a readout of the battery past certain points, it seems mute.
For all of the IQ stuff I dealt with we usually just used the LED indicator on the charger to tell what the battery is, Bad/Charging/Charged.
here is my code so you can try and see what I am doing, as a learning point for other teams in my club and to give me warning when my robot is going to go flat because it drains really fast
bool BatteryWarning(int MinimumVoltage = 6500, int WarningVoltage = 7000, int SafeVoltage = 7225, int WarningDelay = 0) {
if (nImmediateBatteryLevel<MinimumVoltage) {
delay(WarningDelay);
playRepetitiveSound(soundWrongWay, 10000);
setTouchLEDColor(LED, colorRed);
return true;
} else if (nImmediateBatteryLevel<WarningVoltage) {
delay(WarningDelay);
playRepetitiveSound(soundWrongWay, 10000);
setTouchLEDColor(LED, colorOrange);
return true;
}else if (nImmediateBatteryLevel>SafeVoltage) {
delay(WarningDelay);
playRepetitiveSound(soundWrongWay, 10000);
setTouchLEDColor(LED, colorOrange);
return true;
} else {
return false;
};
};
I believe 6V is the threshold for turning on the red led on the IQ brain, however, the best approach would be to decide based on measurements you make on your own robot.
thanks i will adjust me Minimum Voltage to that