Playbox battery charge
#11
(12-06-2016, 12:26 PM)Jessica Spongekipper Wrote: OK. Sadly I have a similar problem. I have a 8000 mah 2 wire cell, but. I have had the plug in a socket on the bench and I have volts at 1 & 3 and 9.98k ohms between 2 and gnd. I have charge but according to the script taken from these august pages, only 2ma @ v volts. Any clues as to what I may have done wrong ?

At what voltage? Once the battery is fully, the (charge) current will drop to 2ma... i.e. my battery is sat at 4.18v, and is fully charged, with a 2ma charge current (although I doubt it is really 2ma... but is in fact 0ma at that point and the 2ma is just a accuracy error... I haven't bothered measuring the output from the PMIC to see how accurate it is yet). 

Try this script if you're  not getting charge state / current / voltage / capacity readings. Note it needs bc to display the voltage  (sudo apt-get install bc)... one of these days I'll get around to either removing that dependency or adding a check for it...  Wink

You'll be able to load it directly onto the pine64 if it has internet access with the following command:


Code:
wget https://gist.githubusercontent.com/pfeerick/05e5715733f00dcf303636c80abff598/raw/9bfca4be89ed219658426701b702a2663329f2df/pine64-battery.sh


Don't forget to do a chmod +x pine64-battery.sh afterwards to make it executable!
  Reply
#12
(12-06-2016, 07:49 PM)pfeerick Wrote:
(12-06-2016, 12:26 PM)Jessica Spongekipper Wrote: OK. Sadly I have a similar problem. I have a 8000 mah 2 wire cell, but. I have had the plug in a socket on the bench and I have volts at 1 & 3 and 9.98k ohms between 2 and gnd. I have charge but according to the script taken from these august pages, only 2ma @ v volts. Any clues as to what I may have done wrong ?

At what voltage? Once the battery is fully, the (charge) current will drop to 2ma... i.e. my battery is sat at 4.18v, and is fully charged, with a 2ma charge current (although I doubt it is really 2ma... but is in fact 0ma at that point and the 2ma is just a accuracy error... I haven't bothered measuring the output from the PMIC to see how accurate it is yet). 

Try this script if you're  not getting charge state / current / voltage / capacity readings. Note it needs bc to display the voltage  (sudo apt-get install bc)... one of these days I'll get around to either removing that dependency or adding a check for it...  Wink

You'll be able to load it directly onto the pine64 if it has internet access with the following command:


Code:
wget https://gist.githubusercontent.com/pfeerick/05e5715733f00dcf303636c80abff598/raw/9bfca4be89ed219658426701b702a2663329f2df/pine64-battery.sh


Don't forget to do a chmod +x pine64-battery.sh afterwards to make it executable!


Thanks. Output is:

Pine64 reports: battery detected
Status: Charging
Voltage: 3.61v
Current: 3ma
Capacity: 6%
Health: Good

The power supply is outputting 5.3v.

Now reading

Pine64 reports: battery detected
Status: Charging
Voltage: 3.19v
Current: 2ma
Capacity: 0%
Health: Good

I can't see a voltage between pins 1 and 3 on the battery socket when the USB is connected. Even with the pull-down resistor in place.
When new technology rolls over, you are either part of the steam roller... or part of the road.
  Reply
#13
(10-20-2016, 07:42 PM)jdmwrx94 Wrote: Hey! I just received a battery, I just installed it in the playbox.  Works good with or without the microusb.  I can unplug while it's on and I can boot on battery but it won't charge.  Or at least the charge icon works but the % indicator is'nt or something like that.  Any known issues regarding the battery monitor?

Mine always charges regardless of the jumper setting.  One setting will shut down the OS and then charge the battery.  The BAT will keep it running on the battery but not shutdown unless you OS supports it.
  Reply


Possibly Related Threads…
Thread Author Replies Views Last Post
  Playbox with DAC llungster 0 1,386 04-02-2019, 09:02 AM
Last Post: llungster
  playbox case ribbon cable too short pinoosh 7 5,983 02-22-2019, 03:24 AM
Last Post: GaryFunk
Information Giving the Pine a trunk, a Playbox pedestal tommypine 7 4,797 07-16-2017, 01:51 AM
Last Post: selina3
Rainbow (Cluster) Modified Playbox Enclosure Progress predominant 3 2,812 06-17-2017, 01:29 AM
Last Post: pfeerick
  playbox and camera jpfaubert 1 1,911 03-07-2017, 12:51 AM
Last Post: MarkHaysHarris777
  How is the battery Supposed to be mounted in the PlayBox enclosure? dbarbee 2 2,840 02-12-2017, 10:17 PM
Last Post: tllim
  Playbox case orderable? schindlb 8 6,842 10-02-2016, 08:20 AM
Last Post: schindlb
  Solution to awkward playbox cabling Visionrx7 2 2,191 09-13-2016, 11:46 PM
Last Post: Visionrx7
  Question regarding Playbox case jeffrey_ring 3 2,500 09-13-2016, 07:39 PM
Last Post: MarkHaysHarris777
  ABS Playbox came with no extension cable? kenhawkins 4 2,758 09-12-2016, 02:47 PM
Last Post: echild

Forum Jump:


Users browsing this thread: 1 Guest(s)