Difference between revisions of "Quartz64 Model A Using a battery"

From PINE64
Jump to navigation Jump to search
(→‎Crimping one yourself: Add Amazon/eBay search links for crimp tools)
(→‎Crimping one yourself: Add information about ordering and which tool to choose)
Line 15: Line 15:
You will need:
You will need:
* an Engineer PA-20 ([https://www.amazon.com/s?k=Engineer+Pa-20 Amazon Search], [https://www.ebay.com/sch/i.html?kw=Engineer%20PA-20 eBay Search]) or Hozan P-707 ([https://www.amazon.com/s?k=Hozan+P-707 Amazon Search], [https://www.ebay.com/sch/i.html?kw=Hozan%20P-707 eBay Search]) or similar crimp tool (<$80, good to have around anyway)
* an Engineer PA-20 ([https://www.amazon.com/s?k=Engineer+Pa-20 Amazon Search], [https://www.ebay.com/sch/i.html?kw=Engineer%20PA-20 eBay Search]) or Hozan P-707 ([https://www.amazon.com/s?k=Hozan+P-707 Amazon Search], [https://www.ebay.com/sch/i.html?kw=Hozan%20P-707 eBay Search]) or similar crimp tool (<$80, good to have around anyway)
** The Hozan P-707 is also comparatively good at crimping "Dupont"-style terminals, in case you find yourself doing that a lot, because it provides round crimping holes in addition to rectangular ones.
* JST PHR-3 receptacles ([https://www.digikey.com/en/products/detail/jst-sales-america-inc/PHR-3/527357 ~$0.05 on digikey])
* JST PHR-3 receptacles ([https://www.digikey.com/en/products/detail/jst-sales-america-inc/PHR-3/527357 ~$0.05 on digikey])
* 3&times; JST SPH-002T-P0.5L crimp terminals ([https://www.digikey.com/en/products/detail/jst-sales-america-inc/SPH-002T-P0-5L/1300246 ~$0.03 on digikey per terminal])
* 3&times; JST SPH-002T-P0.5L crimp terminals ([https://www.digikey.com/en/products/detail/jst-sales-america-inc/SPH-002T-P0-5L/1300246 ~$0.03 on digikey per terminal])
** When ordering from digikey, try to hit the minimum order cost to qualify for free shipping; you'll get free fast courier shipping with all customs and duties pre-paid.
* a single-cell 3.7V lithium-polymer battery, ideally with a temperature probe
* a single-cell 3.7V lithium-polymer battery, ideally with a temperature probe
** 2800 mAh Renata ICP606168PRT on [https://www.conrad.de/de/p/renata-icp606168prt-spezial-akku-prismatisch-kabel-lipo-3-7-v-2800-mah-1214021.html Conrad Germany], [https://www.conrad.ch/de/p/renata-icp606168prt-spezial-akku-prismatisch-kabel-lipo-3-7-v-2800-mah-1214021.html Conrad Switzerland]
** 2800 mAh Renata ICP606168PRT on [https://www.conrad.de/de/p/renata-icp606168prt-spezial-akku-prismatisch-kabel-lipo-3-7-v-2800-mah-1214021.html Conrad Germany], [https://www.conrad.ch/de/p/renata-icp606168prt-spezial-akku-prismatisch-kabel-lipo-3-7-v-2800-mah-1214021.html Conrad Switzerland]

Revision as of 14:38, 10 February 2023

The Quartz64 Model A allows for it to be powered from a single-cell 3.7V lithium-polymer battery. Because of unfortunate incidents, batteries are not easy to ship internationally, so PINE Store does not sell a matching battery for the board.

Pin-out

Quartz64 Model A VBAT Connector Pinout.png

The pins on the board are a JST PH-3 compatible header labelled +VBAT-. As one might guess, the positive wire should be towards the +, and the ground wire towards -. The center pin of the connector is for a temperature probe.

Ways to get a battery

We will now go into various ways one might go about getting a working battery.

Crimping one yourself

You will need:

  • an Engineer PA-20 (Amazon Search, eBay Search) or Hozan P-707 (Amazon Search, eBay Search) or similar crimp tool (<$80, good to have around anyway)
    • The Hozan P-707 is also comparatively good at crimping "Dupont"-style terminals, in case you find yourself doing that a lot, because it provides round crimping holes in addition to rectangular ones.
  • JST PHR-3 receptacles (~$0.05 on digikey)
  • 3× JST SPH-002T-P0.5L crimp terminals (~$0.03 on digikey per terminal)
    • When ordering from digikey, try to hit the minimum order cost to qualify for free shipping; you'll get free fast courier shipping with all customs and duties pre-paid.
  • a single-cell 3.7V lithium-polymer battery, ideally with a temperature probe
    • 2800 mAh Renata ICP606168PRT on Conrad Germany, Conrad Switzerland
    • 2000 mAh Adafruit on Adafruit US (no temperature probe, pre-crimped with JST PHR-2; just lift up the plastic tabs and pull out the terminals and shove them back into a PHR-3 connector)
    • Aliexpress: try keywords "3.7v lithium battery temperature probe"

Crimp the terminals onto the wires, crimp the strain relief onto the insulation, slide them into the connector until they firmly click in place.

PINE64 18650 battery case

You will need:

TODO: Get one of these and document how to use them

Using the battery

Hardware

  1. Ensure the wires in the connector are in the right order.
  2. Turn off your Quartz64 Model A.
  3. Remove the BAT ON/OFF jumper.
  4. Plug in your battery.
  5. It is now ready to use if your device tree has been set up correctly.

Software

For the battery to be correctly detected, you will need to edit the device tree.

TODO: Either write this section detailing how to edit the device tree, or get FDT overlays working and write about how to make an overlay