Join GitHub today
GitHub is home to over 40 million developers working together to host and review code, manage projects, and build software together.Sign up
Fire Hazard, Wrong bitmask is provided for 4208 #987
In the Power Management, there is a function for setting the cut off voltage which takes an integer and converts it to the appropriate bit mask.
When sending in 4.208 volts (the upper bound on the LiPo battery provided with spark kits) it sets the voltage to 4.4 volts. This has caused units on our test bench to fail, and could cause fires if using any other standard LiPo battery that doesn't have a limit circuit installed in the battery.
I am not sure how to complete all of the required steps to get this through your processes, but see this bug as a danger, and would appreciate any help in getting it implemented. Or if someone else can do the unit testing required to get it passed I would not mind them taking over the issue.
We really like that this could be variable, as we have some HV batteries and other sources we want to try in our systems, that the electron will be a part of. So I would love to expand this function to accept more values between 3504 and 4300 but 4400 is outside of any LiPo we can source.