Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

RI battery charger fails when left over night. #700

Closed
dlech opened this issue Aug 9, 2022 · 3 comments
Closed

RI battery charger fails when left over night. #700

dlech opened this issue Aug 9, 2022 · 3 comments
Labels
bug Something isn't working hub: primehub/inventorhub Issues related to the LEGO SPIKE Prime hub and LEGO MINDSTORMS Robot Invetor hub software: pybricks-micropython Issues with Pybricks MicroPython firmware (or EV3 runtime) topic: battery Issues involving batteries

Comments

@dlech
Copy link
Member

dlech commented Aug 9, 2022

Describe the bug
What is the problem?

I left a Robot Inventor hub running over night with the USB plugged in to test some code changes. In the morning, the battery charger light was yellow, indicating that there is a problem with the charger. The battery voltage is currently 7.2V, so either the battery did not charge all the way or it did charge and has been discharging for a while.

This is at least the second time this has happened.

To reproduce
Steps to reproduce the behavior:

  1. Start an infinite program running (no motors) on the Robot inventor hub.
  2. Go to bed.
  3. Wake up.
  4. Check the hub.

Expected behavior
What did you expect to happen instead?

Battery charger should charge the battery all the way an not fail.

@dlech dlech added bug Something isn't working hub: primehub/inventorhub Issues related to the LEGO SPIKE Prime hub and LEGO MINDSTORMS Robot Invetor hub software: pybricks-micropython Issues with Pybricks MicroPython firmware (or EV3 runtime) labels Aug 9, 2022
@dlech
Copy link
Member Author

dlech commented Aug 9, 2022

Revisiting the data sheet, we can see that this means we have likely triggered the safety timer (yellow light is triggered by oscillating CHGOK signal).

image

So I guess the question is if this is working "as designed" or if we should stop charging when the battery is full to avoid triggering the fault.

@dlech
Copy link
Member Author

dlech commented Aug 9, 2022

I left this running a bit longer to confirm it was indeed discharging (now at 7.1V). Then unplugged and plugged the USB back in to clear the fault and start charging again.

@dlech
Copy link
Member Author

dlech commented Aug 10, 2022

Closing as duplicate of #647.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working hub: primehub/inventorhub Issues related to the LEGO SPIKE Prime hub and LEGO MINDSTORMS Robot Invetor hub software: pybricks-micropython Issues with Pybricks MicroPython firmware (or EV3 runtime) topic: battery Issues involving batteries
Projects
None yet
Development

No branches or pull requests

1 participant