ℹ️ General
The BMS test plan, should verify that the Arduino code correctly measures pack/cell voltage and pack temperature, computes battery state of charge, and drives the green and red LEDs according to the specified behavior.
The tester should understand:
- The analog inputs used for cell voltage, pack voltage, and thermistor sensing.
- The conditions to trigger a change in response from the green LED and red LED.
- Working threshold for temperature sensing (25 to 85 deg C).
Expected outcomes of testing:
- Confirm the measured voltages and temperatures are within specified accuracy for
- Confirm the LED behavior matches the defined logic for battery percentage and over-temperature.
🔡 Inputs and Outputs
1. Inputs and Outputs
1 Power Inputs
- Arduino 5 V / Vin (8.6 V ) - Main supply for MCU and sensing circuits.
2 Signal Inputs
- A0 - pack_volt_pin
- Measures pack voltage via resistor divider R1_pack_voltage, R2_pack_voltage.
- A2 - cell_volt_pin
- Measures cell voltage via resistor divider R1_cell_voltage, R2_cell_voltage.
- A1 - temp_volt_pin
- Measures thermistor divider voltage to compute pack_temp.
3 Signal Outputs