adeept / Adeept_RaspTank

Example programs for Adeept RaspTank
MIT License
93 stars 92 forks source link

Reading the motor control board LEDs from the pi? #29

Open andyhines opened 2 years ago

andyhines commented 2 years ago

The motor control board has a set of LEDs that seem to indicate the current battery capacity - there are 4 LEDs and they appear to turn off as the batteries drain. Is there any way that the pi could query the current battery capacity readout so that it could be displayed in the web interface?

If these lights are not indicating the battery capacity, what do they indicate?

Screen Shot 2022-03-21 at 4 06 29 PM
adeept commented 2 years ago

Hello, Due to the step-down circuit in the Motor HAT circuit, the Raspberry Pi cannot obtain the voltage value of the power supply by reading the voltage of the pin. The battery indicator on the HAT is implemented through a circuit in the Motor HAT.

Technical Support @.***

On 3/22/2022 @.***> wrote:

The motor control board has a set of LEDs that seem to indicate the current battery capacity - there are 4 LEDs and they appear to turn off as the batteries drain. Is there any way that the pi could query the current battery capacity readout so that it could be displayed in the web interface? If these lights are not indicating the battery capacity, what do they indicate?

— Reply to this email directly, view it on GitHub, or unsubscribe. You are receiving this because you are subscribed to this thread.Message ID: @.***>