battery power in android
#12
(08-03-2016, 09:50 PM)pfeerick Wrote:
(08-03-2016, 02:16 AM)UnixOutlaw Wrote: This really is a joke!  Surely you jest sir?

Do you mean my board is only partially assembled?

I got 2 x 2 GB boards - and ONLY ONE switch in the package and it was loose floating around in the packaging.

Seriously - if this was mentioned when I pledged to the kickstarter (you will have to partially assemble the board yourself with a soldering iron - NOTE - competence with board level soldering skills required to utilise this product) - I never would have backed it!  If I try to solder tiny little components - I can almost guarantee you that I will do more harm than good!

So you're telling me I need 4 x switches (only 1 supplied for 2 products in packaging) and that I need to locate a local "system board competent" solderer - just so I can use batteries?

Forget about it buddy!  Will use the batteries on CHIP instead.

Can someone suggest a reputable online retailer of suitable switches?  I might buy some anyway, perhaps solder jumpers onto the switches -and connect them via "EXA" headers...  Because there's NO WAY I am going to try and use a soldering iron near a system board!

The boards are completely assembled. One of the stretch goals was to add the facility for a power switch. Enough people asked for it to NOT be installed that instead it was provided as an extra. If you wanted to mount it on the board as provided for, you solder it on. If you want to mount it externally (maybe because you have a nice case), you connect any momentary-on switch to the EXP(ansion) header instead. Prior to that strech goal, you would only have been able to power it on or off by issuing a shutdown command, and switching off the power manually. Or just switching the power on or off at the wall, which is generally not recommended!!! Big Grin

For ease of installation, something like the switch xalius recommended is good, as it has the lead and jumper connector on it already, so you just need to plug it in. You only *need* the reset button if you have an aversion to switching the power supply off, or disconnecting it, as that resets most devices pretty well! :-O 

To get more switches like the one provided, you can get 20 for less than $2 on eBay.

I'll ask again - does your battery have a two or a three pin connector? If it only has a two pin connector, it will NOT charge (unless you consider 2-3 ma of current charging when charging a 2200mah cell!!!, although that is probably just measurement inaccuracy on the Pine64s part). This is why you need the third wire, which is connected to the thermistor on the battery so the pine64 knows the battery isn't about to set on fire. If you don't have a thermistor (temperature sensor) on the battery, you can trick the pine64 into charging by connecting the temperature sense pin to GND via a 10K resistor.

If your battery is charged, you can disconnect the power from the USB port, and the pine64 will continue to run from the battery. As you would have been expecting, due to the electrics being based on tablet designs, which do exactly the same thing. You can see if the battery is being charged or detected if you check the script I posted earlier in this thread. Note it will may say charging since that what the AXP803 chip is reporting but, if when you look at the current listing it says less than 5ma, so it ain't charging! In my case, when I add the 10k temperature sense trickery, it immediately starts charging, like shown below.

Code:
Pine64 reports battery detected!                                                                    
Status: Charging                                                                                    
Voltage: 4.20v                                                                                      
Current: 425ma                                                                                      
Capacity: 32%                                                                                       
Health: Good     

I agree that the Pine64 is not as refined or ready for use as the Chip is, but it is slowly improving, and it won't be long before it is just as refined and easy to use as the Raspberry Pi or Chip. Once the user generated documentation kicks off on Pine Pro, or somewhere else, it'll be a completely different environment.

Sorry I must have missed the first time you asked how many pins.

I actually asked here on another thread somewhere, what the specs were for connecting a battery - and NOBODY mentioned I needed a middle pin.  The main reason I asked was that NONE of the pictures in any of the doco actually tell which of the 3 pins is which.

So - I hooked up a two pin 8000 mah battery to the correct pins on the board using the correct "jack"...  Android charges it - but when I pull the power (micro USB) it shuts off (not cleanly - it just goes dead).

If what you're saying is correct - I will NEVER be able to use ANY of the two wire batteries I bought for projects like this (I have 4 x 2000, 2 x 2800, and 3 x 8000)?  ALL of them work with NTC CHIP.

How about if I ripped a battery out of an old cell phone and ran 3 wires from it?  I've got about 50 or more of the connectors (both genders)...  I've got probably a dozen old phones with batteries still in them...

What sort of spec / product (links would be helpful) would I look for in a "10k resistor"?  I've no idea about electronics at this level.  I once had a job as storeman/two-way radio installer for a comms company...  I was forever giving the radio techs the wrong parts - because I'm colour blind - all the resistors and capacitors etc all looked kinda the same to me (or hard to tell apart anyway).
  Reply


Messages In This Thread
battery power in android - by UnixOutlaw - 07-31-2016, 02:54 AM
RE: battery power in android - by xalius - 07-31-2016, 03:36 AM
RE: battery power in android - by UnixOutlaw - 07-31-2016, 05:29 AM
RE: battery power in android - by xalius - 07-31-2016, 05:36 AM
RE: battery power in android - by UnixOutlaw - 08-01-2016, 09:44 PM
RE: battery power in android - by pfeerick - 08-02-2016, 02:55 AM
RE: battery power in android - by UnixOutlaw - 08-03-2016, 02:16 AM
RE: battery power in android - by pfeerick - 08-03-2016, 09:50 PM
RE: battery power in android - by UnixOutlaw - 08-08-2016, 12:40 AM
RE: battery power in android - by pfeerick - 08-08-2016, 02:00 AM
RE: battery power in android - by UnixOutlaw - 08-10-2016, 02:59 AM
RE: battery power in android - by Boring - 08-03-2016, 03:20 AM
RE: battery power in android - by UnixOutlaw - 08-12-2016, 10:32 PM
RE: battery power in android - by pfeerick - 08-13-2016, 02:09 AM
RE: battery power in android - by pfeerick - 08-14-2016, 06:21 PM
RE: battery power in android - by UnixOutlaw - 08-16-2016, 01:58 AM
RE: battery power in android - by pfeerick - 08-17-2016, 01:39 AM
RE: battery power in android - by gperez1234 - 08-31-2016, 07:21 PM
RE: battery power in android - by pfeerick - 08-31-2016, 08:25 PM
RE: battery power in android - by gperez1234 - 09-01-2016, 03:01 AM
RE: battery power in android - by pfeerick - 09-01-2016, 03:17 AM
RE: battery power in android - by dcmorley - 09-01-2016, 04:36 AM
RE: battery power in android - by dcmorley - 09-01-2016, 03:55 PM
RE: battery power in android - by pfeerick - 09-01-2016, 07:36 PM
RE: battery power in android - by dcmorley - 09-14-2016, 05:46 PM
RE: battery power in android - by pfeerick - 09-14-2016, 06:33 PM
RE: battery power in android - by dcmorley - 09-15-2016, 05:10 AM
RE: battery power in android - by dcmorley - 09-15-2016, 12:38 PM
RE: battery power in android - by Canyon - 09-20-2016, 11:44 AM
RE: battery power in android - by tllim - 09-20-2016, 06:42 PM
RE: battery power in android - by Canyon - 09-21-2016, 03:11 PM
RE: battery power in android - by tllim - 09-25-2016, 07:54 PM

Possibly Related Threads…
Thread Author Replies Views Last Post
Rainbow Lithium battery temperature readout? GregH 0 2,082 03-12-2020, 12:05 AM
Last Post: GregH
  Lithium 3.7 Volt Battery Ron Piggott 49 74,909 07-15-2017, 03:56 PM
Last Post: tllim
  Battery level measurement? HugoRabson 2 4,615 03-08-2017, 06:30 PM
Last Post: pfeerick
  Travelling with the Pine64 (and Lipo battery) psychedup 2 5,099 02-17-2017, 08:18 PM
Last Post: tllim
  CR2032 Battery holder - sanity check xalius 23 30,100 01-23-2017, 07:41 PM
Last Post: DonFL
  Battery temp pin? SvdSinner 1 4,241 12-13-2016, 11:35 AM
Last Post: MarkHaysHarris777
  RTC Backup Battery - CR sbentjies 6 10,580 07-15-2016, 06:35 PM
Last Post: jwouellette
  Battery Datasheet xalius 0 2,670 06-20-2016, 07:38 PM
Last Post: xalius
  Lithium 'salt and battery UnixOutlaw 0 2,584 05-29-2016, 09:32 PM
Last Post: UnixOutlaw
  Minor note about the RTC battery MichaelMeissner 12 20,094 02-18-2016, 05:17 AM
Last Post: German

Forum Jump:


Users browsing this thread: 9 Guest(s)